:root {
  --black: #050505;
  --black-2: #0d0b08;
  --card: #110e09;
  --gold: #d4af37;
  --gold-light: #f5d97a;
  --gold-dark: #9c7a1e;
  --text: #e9e4d8;
  --muted: #a39b8a;
  --grad-gold: linear-gradient(135deg, #f8e08e 0%, #d4af37 35%, #a8841f 65%, #f5d97a 100%);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: radial-gradient(ellipse at top, #1a1408 0%, var(--black) 55%) fixed, var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

#particles {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

header, main, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

.gold-text {
  background: var(--grad-gold);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ---------- TOPBAR ---------- */
.topbar {
  position: sticky; top: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 6vw;
  background: rgba(5, 5, 5, .7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, .15);
  z-index: 50;
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 1px;
  display: flex; align-items: center;
  color: #fff;
}
.logo-o {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.05em; height: 1.05em;
  border: 3px solid var(--gold);
  border-radius: 50%;
  margin: 0 1px;
}
.logo-o svg { width: .45em; fill: var(--gold); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .3px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  cursor: pointer;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }

.btn-gold {
  background: var(--grad-gold);
  background-size: 200% auto;
  color: #1a1204;
  box-shadow: 0 8px 30px rgba(212, 175, 55, .35), inset 0 1px 0 rgba(255,255,255,.4);
  position: relative; overflow: hidden;
}
.btn-gold::after {
  content: ''; position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg);
  animation: sweep 3.5s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -75%; } 100% { left: 130%; } }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(212, 175, 55, .55); background-position: right center; }

.btn-outline { border: 1px solid var(--gold); color: var(--gold-light); }
.btn-outline:hover { background: var(--gold); color: #1a1204; }
.btn-ghost { color: var(--muted); border: 1px solid rgba(255,255,255,.12); }
.btn-ghost:hover { color: var(--gold-light); border-color: var(--gold); }
.btn-sm { padding: 9px 20px; font-size: .9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ---------- HERO ---------- */
.hero {
  min-height: calc(100vh - 72px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 6vw;
  position: relative;
}
.hero-glow {
  position: absolute; top: 15%; left: 50%;
  width: 600px; height: 600px; max-width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212,175,55,.18) 0%, transparent 65%);
  filter: blur(20px);
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse { 50% { opacity: .5; transform: translateX(-50%) scale(1.1); } }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 50px;
  background: rgba(212,175,55,.06);
  color: var(--gold-light);
  font-size: .85rem; text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 30px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212,175,55,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(212,175,55,0); } 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); } }

h1 { font-family: 'Cinzel', serif; line-height: 1.1; margin-bottom: 24px; }
.h1-small { display: block; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 500; color: #fff; letter-spacing: 2px; margin-bottom: 10px; }
h1 .gold-text { display: block; font-size: clamp(3rem, 10vw, 7rem); font-weight: 900; letter-spacing: 3px; }

.lead { max-width: 620px; color: var(--muted); font-size: 1.15rem; margin-bottom: 40px; }
.lead strong { color: var(--gold-light); font-weight: 600; }

.progress { width: 100%; max-width: 460px; margin-bottom: 40px; }
.progress-head { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.progress-head span:last-child { color: var(--gold-light); font-weight: 600; }
.progress-track { height: 6px; border-radius: 10px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress-bar {
  width: 0; height: 100%;
  background: var(--grad-gold);
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(212,175,55,.7);
  transition: width 2.2s cubic-bezier(.22,1,.36,1);
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 50px; }

.pillars { list-style: none; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; color: var(--muted); text-transform: uppercase; letter-spacing: 4px; font-size: .8rem; }
.pillars li:not(:last-child)::after { content: '•'; color: var(--gold); margin-left: 14px; }

/* ---------- SECTION HEAD ---------- */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.eyebrow { display: inline-block; color: var(--gold); text-transform: uppercase; letter-spacing: 4px; font-size: .8rem; font-weight: 600; margin-bottom: 14px; }
h2 { font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 700; color: #fff; line-height: 1.2; }
.section-head p { color: var(--muted); margin-top: 6px; }
.divider { width: 90px; height: 2px; margin: 22px auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- GALLERY ---------- */
.info { padding: 100px 6vw; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1300px; margin: 0 auto;
}
.card {
  background: linear-gradient(160deg, #16120a, var(--card));
  border: 1px solid rgba(212,175,55,.18);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .4s, box-shadow .4s;
  outline: none;
}
.card:hover, .card:focus-visible {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 25px 60px rgba(0,0,0,.6), 0 0 40px rgba(212,175,55,.18);
}
.card-img { aspect-ratio: 2 / 3; overflow: hidden; position: relative; }
.card-img::after {
  content: '⤢'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--gold-light);
  background: rgba(0,0,0,.45);
  opacity: 0; transition: opacity .4s;
}
.card:hover .card-img::after { opacity: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.card:hover .card-img img { transform: scale(1.07); }

figcaption { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-top: 1px solid rgba(212,175,55,.15); }
.num { font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 700; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
figcaption h3 { font-size: 1.05rem; color: #fff; font-weight: 600; margin-bottom: 4px; }
figcaption p { font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* ---------- CTA ---------- */
.cta { padding: 40px 6vw 110px; }
.cta-box {
  max-width: 900px; margin: 0 auto;
  text-align: center;
  padding: 70px 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,175,55,.18), transparent 60%),
    linear-gradient(160deg, #15110a, #0a0806);
  border: 1px solid rgba(212,175,55,.35);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: -1px; border-radius: 28px; padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 70%, var(--gold-light), transparent 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
  pointer-events: none;
}
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
.cta-box p { color: var(--muted); max-width: 520px; margin: 18px auto 36px; font-size: 1.05rem; }

/* ---------- FOOTER ---------- */
.footer { text-align: center; padding: 20px 6vw 50px; }
.footer-logo { font-family: 'Cinzel', serif; font-weight: 900; font-size: 1.5rem; letter-spacing: 6px; color: var(--gold); }
.tagline { text-transform: uppercase; letter-spacing: 4px; font-size: .75rem; color: var(--muted); margin: 6px 0 20px; }
.copy { font-size: .8rem; color: #6d675b; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.94);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 88vh;
  border-radius: 10px;
  border: 1px solid rgba(212,175,55,.4);
  box-shadow: 0 0 60px rgba(212,175,55,.15);
  transform: scale(.94); transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.lightbox.open img { transform: scale(1); }
.lb-btn {
  position: absolute;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(212,175,55,.5);
  background: rgba(10,8,5,.8);
  color: var(--gold-light);
  font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s, transform .3s;
}
.lb-btn:hover { background: var(--gold); color: #1a1204; transform: scale(1.08); }
.lb-close { top: 24px; right: 24px; font-size: 1.2rem; }
.lb-prev { left: 24px; top: 50%; translate: 0 -50%; }
.lb-next { right: 24px; top: 50%; translate: 0 -50%; }
.lb-counter { position: absolute; bottom: 20px; color: var(--muted); letter-spacing: 3px; font-size: .85rem; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  .topbar { padding: 14px 5vw; }
  .logo { font-size: 1.3rem; }
  .btn-header-hide { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-box { padding: 50px 22px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; translate: none; }
  .lb-prev { left: 20px; } .lb-next { right: 20px; }
  .lb-counter { bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
