/* ============================================================
   VoteNG — Global theme & components
   Premium black + gold. Supports dark / light (system-resolved).
   ============================================================ */

/* ---- Theme tokens ---- */
:root,
[data-theme="dark"] {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #9C7B2F;
  --yellow: #F5D742;
  --bg: #0D0D0D;
  --bg-soft: #1A1A1A;
  --surface: #161616;
  --surface-2: #202020;
  --charcoal: #2A2A2A;
  --border: rgba(201, 168, 76, 0.15);
  --border-strong: rgba(201, 168, 76, 0.45);
  --text: #FAF6EE;
  --text-muted: #8C8C8C;
  --shadow: 0 20px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(201, 168, 76, .08);
  --green: #22c55e;
  --red: #ef4444;
}

[data-theme="light"] {
  --gold: #B8923A;
  --gold-light: #C9A84C;
  --gold-dark: #8C6B22;
  --yellow: #D4A017;
  --bg: #F7F4EC;
  --bg-soft: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F1ECDE;
  --charcoal: #E7E0CE;
  --border: rgba(184, 146, 58, 0.25);
  --border-strong: rgba(184, 146, 58, 0.55);
  --text: #1A1408;
  --text-muted: #6B6450;
  --shadow: 0 16px 36px rgba(120, 96, 30, .14);
  --green: #15803d;
  --red: #dc2626;
}

/* ---- Icons ---- */
.ic { display: inline-block; vertical-align: middle; flex: none; }
.feature-card .ico svg, .wa-float svg { width: 26px; height: 26px; }
.search-box .ico svg { width: 18px; height: 18px; }
.share-btn svg { width: 22px; height: 22px; }
.socials-row a svg, .footer .ic, .nav-actions .ic, .pay-methods svg, .chip svg { width: 18px; height: 18px; }
.rank-badge svg { width: 17px; height: 17px; }
.detail-photo .rank-badge svg { width: 22px; height: 22px; }
.theme-toggle svg, .nav-burger svg { width: 20px; height: 20px; }
.faq-q .chev svg { width: 18px; height: 18px; }
.btn svg { width: 16px; height: 16px; }

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.serif { font-family: 'Cormorant Garamond', serif; }

/* ---- Layout helpers ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-label { font-size: .68rem; letter-spacing: .35em; color: var(--gold); text-transform: uppercase; margin-bottom: .6rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
.section-head { text-align: center; margin-bottom: 2.6rem; }
.section-head .divider { width: 64px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--yellow)); margin: .8rem auto 0; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.grid { display: grid; gap: 1.5rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; padding: .8rem 1.5rem; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; transition: all .25s; white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1a1408; }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(201, 168, 76, .35); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { padding: .55rem 1rem; font-size: .74rem; }

/* ---- Status badges ---- */
.status-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 100px; font-weight: 600; }
.badge-live { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); color: var(--green); }
.badge-ended { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: var(--red); }
.badge-upcoming, .badge-open { background: rgba(201,168,76,.12); border: 1px solid var(--border-strong); color: var(--gold); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: .6rem; font-family: 'Cormorant Garamond', serif; letter-spacing: .3em; text-transform: uppercase; font-size: .95rem; color: var(--gold); }
.nav-logo img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-size: .8rem; letter-spacing: .04em; color: var(--text-muted); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.theme-toggle { background: transparent; border: 1px solid var(--border); color: var(--text); width: 38px; height: 38px; border-radius: 9px; cursor: pointer; font-size: 1rem; display: grid; place-items: center; transition: border-color .2s; }
.theme-toggle:hover { border-color: var(--gold); }
.nav-burger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* Mobile sidebar */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.mobile-drawer .scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; }
.mobile-drawer .panel { position: absolute; top: 0; right: 0; height: 100%; width: min(78vw, 320px); background: var(--bg-soft); border-left: 1px solid var(--border); transform: translateX(100%); transition: transform .3s; padding: 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.mobile-drawer.open { pointer-events: auto; }
.mobile-drawer.open .scrim { opacity: 1; }
.mobile-drawer.open .panel { transform: translateX(0); }
.mobile-drawer .panel a { padding: .9rem .4rem; border-bottom: 1px solid var(--border); color: var(--text); font-size: .92rem; }
.mobile-drawer .panel .close { align-self: flex-end; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; margin-bottom: .5rem; }
.drawer-theme { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.drawer-theme-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: .6rem; }
.theme-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.theme-seg button { display: flex; align-items: center; justify-content: center; gap: .3rem; font-size: .72rem; padding: .6rem .3rem; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text-muted); cursor: pointer; transition: all .2s; }
.theme-seg button.active { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.1); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 88vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 1.25rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity .8s; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 60%, var(--bg) 100%); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(201,168,76,.18) 0%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 700; line-height: .98; letter-spacing: -.02em; margin-bottom: 1rem; }
.hero h1 .gradient { background: linear-gradient(135deg, var(--gold-light), var(--yellow), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: .82rem; letter-spacing: .22em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 3; }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: background .2s, width .2s; }
.hero-dots span.active { background: var(--gold); width: 22px; border-radius: 5px; }

/* ---- Countdown ---- */
.countdown { display: flex; gap: .6rem; justify-content: center; }
.cd-box { display: flex; flex-direction: column; align-items: center; }
.cd-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; line-height: 1; background: color-mix(in srgb, var(--text) 6%, transparent); border: 1px solid var(--border-strong); border-radius: 8px; width: 60px; height: 60px; display: grid; place-items: center; }
.cd-unit { font-size: .55rem; letter-spacing: .2em; color: var(--text-muted); text-transform: uppercase; margin-top: .4rem; }
.cd-label { font-size: .66rem; letter-spacing: .28em; color: var(--gold); text-transform: uppercase; margin-bottom: .7rem; text-align: center; }

/* ============================================================
   Event cards (listing)
   ============================================================ */
.event-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.event-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; display: flex; flex-direction: column; }
.event-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.event-card .banner { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg-soft), var(--charcoal)); background-size: cover; background-position: center; position: relative; }
.event-card .banner .status-badge { position: absolute; top: .8rem; left: .8rem; }
.event-card .cat-tag { position: absolute; top: .8rem; right: .8rem; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(0,0,0,.55); color: #fff; padding: .3rem .6rem; border-radius: 100px; }
.event-card .body { padding: 1.2rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.event-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.event-card .mini-cd { display: flex; gap: .55rem; }
.event-card .mini-cd .cd-num { width: 46px; height: 46px; font-size: 1.4rem; }
.event-card .mini-cd .cd-unit { font-size: .5rem; }
.event-card .foot { margin-top: auto; }

/* ============================================================
   Contestant cards (event detail)
   ============================================================ */
.contestant-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
/* per-category leaderboards (awards: Best Actor, Best Comedian, …) */
.cat-leaderboards { display: flex; flex-direction: column; gap: 2.8rem; }
.cat-block { position: relative; }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); }
.cat-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.1; display: flex; align-items: center; gap: .5rem; color: var(--text); }
.cat-title .ic { color: var(--gold); }
.cat-sub { font-size: .82rem; color: var(--text-muted); margin-top: .25rem; }
.cat-sub strong { color: var(--gold); }
.cat-count { font-size: .72rem; letter-spacing: .04em; color: var(--text-muted); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: .35rem .8rem; white-space: nowrap; }

/* ============================================================
   Registration stage (pre-voting phase) — flyer as full background
   ============================================================ */
.btn-lg { padding: .95rem 1.8rem; font-size: 1rem; border-radius: 12px; }
.reg-stage { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; background-repeat: no-repeat; padding: 5rem 1.25rem; overflow: hidden; }
.reg-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,4,.72) 0%, rgba(8,7,4,.55) 40%, rgba(8,7,4,.88) 100%); backdrop-filter: blur(1.5px); }
.reg-stage-inner { position: relative; z-index: 1; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.reg-logo { width: 96px; height: 96px; object-fit: contain; border-radius: 16px; background: rgba(255,255,255,.06); padding: .4rem; margin-bottom: 1.1rem; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.reg-badge { margin-bottom: 1rem; }
.reg-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; line-height: 1.05; color: #fff; margin-bottom: .5rem; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.reg-edition { font-size: 1.05rem; color: var(--gold-light); margin-bottom: 1rem; letter-spacing: .02em; }
.reg-desc { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 2rem; }
.reg-cta { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.4rem; }
.reg-cd .cd-label { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .8rem; }
.reg-cd .cd-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: .7rem 1rem; min-width: 64px; }
.reg-cd .cd-num { color: #fff; }
.reg-note { color: rgba(255,255,255,.7); font-size: .9rem; }
.reg-dates { margin-top: 1.6rem; font-size: .8rem; color: rgba(255,255,255,.72); line-height: 1.8; }
.reg-dates strong { color: var(--gold-light); font-weight: 600; }
.c-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; position: relative; transition: transform .3s, border-color .3s, box-shadow .3s; }
.c-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.c-card.r1 { border-color: var(--gold); }
.c-card.r2 { border-color: #aaa; }
.c-card.r3 { border-color: #cd7f32; }
.rank-badge { position: absolute; top: .75rem; left: .75rem; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700; z-index: 2; background: var(--charcoal); color: var(--text-muted); }
.r1 .rank-badge { background: var(--gold); color: #1a1408; }
.r2 .rank-badge { background: #cfcfcf; color: #1a1408; }
.r3 .rank-badge { background: #cd7f32; color: #1a1408; }
.c-img, .c-img-ph { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--charcoal); cursor: pointer; }
.c-img-ph { display: grid; place-items: center; font-size: 4rem; color: var(--border-strong); }
.c-body { padding: 1.1rem; }
.c-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; margin-bottom: .15rem; cursor: pointer; }
.c-code { font-size: .66rem; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin-bottom: .8rem; }
.bar-bg { background: color-mix(in srgb, var(--text) 8%, transparent); border-radius: 100px; height: 5px; overflow: hidden; margin-bottom: .35rem; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--yellow)); border-radius: 100px; transition: width 1s ease; }
.vote-row { display: flex; justify-content: space-between; font-size: .72rem; color: var(--text-muted); margin-bottom: .9rem; }
.vote-row strong { color: var(--text); }
.card-actions { display: flex; gap: .5rem; }
.card-actions .btn { flex: 1; }

/* ============================================================
   Feature / step / testimonial cards
   ============================================================ */
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem; transition: border-color .3s, transform .3s; }
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.feature-card .ico { font-size: 1.8rem; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,168,76,.1); border: 1px solid var(--border); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p { font-size: .86rem; color: var(--text-muted); }

.steps { counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.step { position: relative; padding: 1.6rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 1.2rem; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1a1408; font-family: 'Cormorant Garamond', serif; font-weight: 700; display: grid; place-items: center; }
.step h4 { margin: .7rem 0 .35rem; font-size: 1rem; }
.step p { font-size: .82rem; color: var(--text-muted); }

.testimonial-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.testimonial { scroll-snap-align: center; flex: 0 0 min(420px, 85vw); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.testimonial p { font-style: italic; color: var(--text); margin-bottom: 1.2rem; }
.testimonial .who { display: flex; align-items: center; gap: .9rem; }
.testimonial .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial .who .name { font-weight: 600; }
.testimonial .who .pos { font-size: .75rem; color: var(--text-muted); }

/* ---- Accordion (FAQ) ---- */
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: .8rem; overflow: hidden; background: var(--surface); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-size: .95rem; font-weight: 600; padding: 1.1rem 1.2rem; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-q .chev { color: var(--gold); transition: transform .3s; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; padding: 0 1.2rem; color: var(--text-muted); font-size: .88rem; }
.faq-item.open .faq-a { max-height: 320px; padding: 0 1.2rem 1.2rem; }

/* ============================================================
   Forms
   ============================================================ */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); padding: .85rem 1rem; font-family: inherit; font-size: .9rem; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }

/* ============================================================
   Modals / overlays
   ============================================================ */
.overlay { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; padding: 1.25rem; backdrop-filter: blur(4px); }
.overlay.open { display: flex; }
.modal { background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: 18px; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; padding: 1.8rem; position: relative; }
.modal h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; margin-bottom: .3rem; }
.modal .close-x { position: absolute; top: 1rem; right: 1.1rem; background: none; border: none; color: var(--text-muted); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.modal .close-x:hover { color: var(--text); }

/* ---- Package picker ---- */
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1rem 0; }
.pkg { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; cursor: pointer; text-align: center; transition: all .2s; position: relative; background: var(--surface); }
.pkg:hover { border-color: var(--border-strong); }
.pkg.sel { border-color: var(--gold); background: rgba(201,168,76,.08); }
.pkg .amt { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.pkg .vts { font-size: .76rem; color: var(--text-muted); }
.pkg .tag { position: absolute; top: -9px; right: -6px; background: var(--gold); color: #1a1408; font-size: .55rem; font-weight: 700; padding: .15rem .5rem; border-radius: 100px; letter-spacing: .08em; }
.pay-methods { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .7rem; color: var(--text-muted); margin: .6rem 0 1rem; }
.pay-methods span { border: 1px solid var(--border); border-radius: 8px; padding: .3rem .6rem; }

/* ---- Bank transfer box ---- */
.acct-box { background: var(--surface); border: 1px dashed var(--border-strong); border-radius: 12px; padding: 1rem 1.1rem; margin: .8rem 0; }
.acct-row { display: flex; justify-content: space-between; align-items: center; padding: .35rem 0; font-size: .85rem; }
.acct-row .k { color: var(--text-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.acct-row .v { font-weight: 600; }
.copy-mini { background: none; border: 1px solid var(--border); color: var(--gold); border-radius: 7px; padding: .25rem .55rem; font-size: .68rem; cursor: pointer; }

/* ---- Share row ---- */
.share-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: 1rem; }
.share-btn { aspect-ratio: 1; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.share-btn:hover { border-color: var(--gold); transform: translateY(-3px); }
.share-link { display: flex; gap: .5rem; margin-top: 1rem; }
.share-link input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: .7rem .9rem; font-size: .82rem; }

/* ============================================================
   Contestant detail page
   ============================================================ */
.detail-wrap { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 2.5rem; align-items: start; }
.detail-photo { border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); aspect-ratio: 3/4; background: var(--charcoal); position: relative; }
.detail-photo .rank-badge { width: 40px; height: 40px; font-size: 1.2rem; }
.detail-info h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
.detail-meta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1rem 0 1.4rem; }
.chip { font-size: .74rem; padding: .4rem .8rem; border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); }
.chip strong { color: var(--gold); }
.detail-stats { display: flex; gap: 2rem; margin: 1.4rem 0; }
.detail-stats .stat .n { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.detail-stats .stat .l { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.socials-row { display: flex; gap: .7rem; margin: 1.2rem 0; }
.socials-row a { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; font-size: 1.1rem; transition: all .2s; }
.socials-row a:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   Stats strip
   ============================================================ */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem; text-align: center; }
.stat-box .n { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-box .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-top: .35rem; }

/* ============================================================
   Search & filters
   ============================================================ */
.toolbar { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.search-box { flex: 1; min-width: 240px; position: relative; }
.search-box input { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; color: var(--text); padding: .9rem 1rem .9rem 2.7rem; font-size: .9rem; }
.search-box input:focus { outline: none; border-color: var(--gold); }
.search-box .ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.filter-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill { background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); border-radius: 100px; padding: .55rem 1.1rem; font-size: .78rem; cursor: pointer; transition: all .2s; }
.pill:hover { border-color: var(--border-strong); }
.pill.active { background: var(--gold); border-color: var(--gold); color: #1a1408; font-weight: 600; }

/* ============================================================
   Footer + WhatsApp float + toast
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer a { display: block; color: var(--text-muted); font-size: .85rem; margin-bottom: .6rem; transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer .brand-blurb { color: var(--text-muted); font-size: .86rem; max-width: 320px; }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: .78rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ---- Advertisement slots (compact / minimal, 3 styles) ---- */
.ad-slot { display: block; margin: 1rem auto; max-width: 460px; }
.ad-slot .ad-link { position: relative; display: block; overflow: hidden; text-decoration: none; }
.ad-slot .ad-tag { position: absolute; top: .4rem; left: .4rem; font-size: .52rem; text-transform: uppercase; letter-spacing: .12em; background: rgba(0,0,0,.55); color: #fff; padding: .12rem .45rem; border-radius: 5px; z-index: 2; }
.ad-slot .ad-text { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: .9rem 1rem; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; text-align: center; }

/* 1 · Glass card — translucent, gradient gold border, soft glow, hover lift */
.ad-glass .ad-link {
  border: 1px solid transparent; border-radius: 16px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(135deg, var(--gold), rgba(201,168,76,.18) 55%, transparent) border-box;
  box-shadow: 0 6px 20px rgba(0,0,0,.16); backdrop-filter: blur(8px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ad-glass .ad-link:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201,168,76,.20); }
.ad-glass .ad-link img { width: 100%; max-height: 120px; object-fit: cover; display: block; border-radius: 15px 15px 0 0; }
.ad-glass .ad-caption { display: block; padding: .55rem .85rem; font-size: .82rem; font-weight: 600; color: var(--text); }

/* 2 · Animated gradient banner — slow shimmer sheen across it */
.ad-banner .ad-link { border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.ad-banner .ad-link img { width: 100%; max-height: 92px; object-fit: cover; display: block; }
.ad-banner .ad-link::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.16) 50%, transparent 70%);
  transform: translateX(-100%); animation: adShine 3.4s ease-in-out infinite;
}
@keyframes adShine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .ad-banner .ad-link::after { animation: none; } }

/* 3 · Minimal inline strip — one row: thumb · title · Ad → */
.ad-strip { max-width: 420px; }
.ad-strip .ad-link { display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .45rem .7rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); transition: border-color .2s, background .2s; }
.ad-strip .ad-link:hover { border-color: var(--border-strong); background: var(--surface-2); }
.ad-strip .ad-thumb { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ad-strip .ad-strip-title { flex: 1; font-size: .85rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-strip .ad-strip-meta { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.ad-strip .ad-tag-inline { font-size: .54rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); border: 1px solid var(--border); padding: .1rem .35rem; border-radius: 5px; }
.ad-strip .ad-arrow { color: var(--gold); font-size: 1.05rem; line-height: 1; }

/* position-specific width tweaks */
.ad-slot[data-ad="sidebar"] { max-width: 300px; }
.ad-slot[data-ad="dashboard_banner"] { max-width: 640px; }

.wa-float { position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 150; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); padding: .85rem 1.4rem; border-radius: 100px; font-size: .85rem; z-index: 400; transition: transform .35s; box-shadow: var(--shadow); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- Skeleton loaders ---- */
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 12px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--text-muted); }
.empty-state .ico { font-size: 3rem; margin-bottom: .8rem; opacity: .6; }

/* ---- Page header (interior pages) ---- */
.page-hero { padding: 3.5rem 0 2.5rem; text-align: center; position: relative; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .6rem; }
.page-hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ---- Event detail header ---- */
.event-header { position: relative; border-radius: 0 0 24px 24px; overflow: hidden; padding: 0; }
.event-header .cover { aspect-ratio: 21/8; min-height: 240px; background-size: cover; background-position: center; position: relative; background-color: var(--charcoal); }
.event-header .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--bg) 92%, transparent) 100%); }
.event-header .head-body { position: relative; margin-top: -70px; z-index: 2; text-align: center; padding: 0 1.25rem; }
.event-logo { width: 110px; height: 110px; border-radius: 18px; object-fit: cover; border: 3px solid var(--bg); margin: 0 auto 1rem; background: var(--charcoal); box-shadow: var(--shadow); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-inner { position: relative; }
  .nav-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn-gold { display: none; } /* moved into the sidebar */
  .detail-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 3rem 0; }
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .share-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-stats { gap: 1.3rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
