/* =====================================================================
   PRIME PLANET EVENT MANAGERS — Mr. & Miss. Taraba
   Public stylesheet: premium, minimal, mobile-first
   ===================================================================== */

:root {
  --primary: #8E2DE2;
  --primary-dark: color-mix(in srgb, var(--primary), #000 18%);
  --primary-soft: color-mix(in srgb, var(--primary), #fff 88%);
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #94a3b8;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --line: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, .14);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Royal luxe palette (homepage) */
  --gold: #D4AF37;
  --gold-bright: #F8E7A0;
  --gold-deep: #8C6D1F;
  --night: #0a0a0a;
  --night-soft: #141414;
  --mr-blue: #1b6ce0;
  --mr-blue-deep: #12469c;
  --miss-pink: #e83a8c;
  --miss-pink-deep: #b02062;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 300;
}
.skip-link:focus { left: 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 12px 26px; border-radius: 14px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
}
.btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary), #fff 12%) 0%, var(--primary) 55%, var(--primary-dark) 100%);
  box-shadow: 0 4px 0 var(--primary-dark), 0 10px 24px color-mix(in srgb, var(--primary), transparent 55%);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--primary-dark), 0 16px 32px color-mix(in srgb, var(--primary), transparent 45%); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--primary-dark), 0 4px 10px color-mix(in srgb, var(--primary), transparent 55%); }

/* Premium 3D glass VOTE button */
.btn-vote {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.10) 40%, rgba(0,0,0,.16) 100%), var(--primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 16px;
  padding: 14px 34px;
  font-size: 16px; font-weight: 800; letter-spacing: .12em;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.35),
    inset 0 -3px 6px rgba(0,0,0,.18),
    0 5px 0 var(--primary-dark),
    0 14px 28px color-mix(in srgb, var(--primary), transparent 50%);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn-vote:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -3px 6px rgba(0,0,0,.18), 0 7px 0 var(--primary-dark), 0 18px 36px color-mix(in srgb, var(--primary), transparent 40%); }
.btn-vote:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255,255,255,.25), inset 0 -2px 4px rgba(0,0,0,.2), 0 1px 0 var(--primary-dark); }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 2px solid var(--line); border-radius: 14px;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.header-inner { display: flex; align-items: center; gap: 16px; padding: 12px 20px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: .01em; }
.brand-credit { font-size: 11px; color: var(--muted); font-weight: 500; }

.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 14.5px; }
.desktop-nav a, .nav-support-link, .nav-dropdown-toggle { position: relative; padding: 4px 0; background: none; border: 0; font: inherit; color: var(--ink-soft); cursor: pointer; }
.desktop-nav a:hover, .nav-support-link:hover, .nav-dropdown-toggle:hover { color: var(--primary); }
.desktop-nav > a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--primary); border-radius: 2px; transition: width .2s ease; }
.desktop-nav > a:hover::after { width: 100%; }

/* Categories dropdown (desktop) */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { display: inline-flex; font-size: 10px; transition: transform .2s ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
  padding: 8px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 120;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.nav-dropdown-menu a:hover { background: var(--primary-soft); color: var(--primary); padding-left: 18px; }

.hamburger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-soft); border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }

/* ---------------- Mobile menu ---------------- */
.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 23, 42, .45);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .25s ease;
}
.mobile-menu-overlay.open { opacity: 1; }

.mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 210;
  width: min(320px, 84vw);
  background: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; padding: 0 0 20px;
  transform: translateX(-105%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); font-weight: 800; }
.mobile-menu-logo { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; }
.mobile-menu-close { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--bg); cursor: pointer; font-size: 15px; color: var(--ink-soft); }

.mobile-menu > a, .mobile-support-link, .mobile-menu-category-toggle {
  padding: 15px 20px; font-weight: 600; color: var(--ink-soft);
  border-bottom: 1px solid var(--bg); text-align: left; font: inherit; font-size: 15px;
  background: none; border-left: 0; border-right: 0; border-top: 0; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.mobile-menu > a:hover, .mobile-support-link:hover, .mobile-menu-category-toggle:hover { background: var(--primary-soft); color: var(--primary); }
.mobile-menu-foot { margin-top: auto; padding: 16px 20px 0; font-size: 12px; color: var(--muted); }

/* Mobile categories submenu */
.mobile-menu-category-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.mobile-menu-category-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.mobile-category-submenu { display: flex; flex-direction: column; background: var(--bg); }
.mobile-category-submenu[hidden] { display: none; }
.mobile-category-submenu a {
  padding: 13px 20px 13px 36px;
  font-weight: 500; font-size: 14.5px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
  transition: background .15s ease, color .15s ease;
}
.mobile-category-submenu a::before { content: '▸'; color: var(--primary); font-size: 12px; }
.mobile-category-submenu a:hover { background: var(--primary-soft); color: var(--primary); }

/* ---------------- Homepage header (dark luxe, sticky) ---------------- */
.site-header.site-header-hero {
  position: sticky;
  top: 0;
  background: rgba(5, 5, 5, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, .18);
}
.site-header-hero .brand-name { color: #fff; }
.site-header-hero .brand-credit { color: rgba(212, 175, 55, .9); letter-spacing: .12em; font-size: 10px; text-transform: uppercase; }
.site-header-hero .desktop-nav > a,
.site-header-hero .nav-support-link,
.site-header-hero .nav-dropdown-toggle { color: rgba(255,255,255,.8); }
.site-header-hero .desktop-nav > a:hover,
.site-header-hero .nav-support-link:hover,
.site-header-hero .nav-dropdown-toggle:hover { color: var(--gold-bright); }
.site-header-hero .desktop-nav > a::after { background: var(--gold); }
.site-header-hero .nav-dropdown-menu { background: #0d0d0d; border-color: rgba(212,175,55,.25); box-shadow: 0 18px 44px rgba(0,0,0,.55); }
.site-header-hero .nav-dropdown-menu a { color: rgba(255,255,255,.78); }
.site-header-hero .nav-dropdown-menu a:hover { background: rgba(212,175,55,.14); color: var(--gold-bright); }
.site-header-hero .hamburger { background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.35); }
.site-header-hero .hamburger span { background: var(--gold-bright); }

/* ---------------- Hero (UI/UX royal luxe) ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: #050505;
  color: #fff;
  overflow: hidden;
  padding: 90px 20px 90px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% 16%, rgba(212,175,55,.20), transparent 65%),
    radial-gradient(520px 320px at 12% 78%, rgba(212,175,55,.10), transparent 70%),
    radial-gradient(520px 320px at 88% 82%, rgba(212,175,55,.10), transparent 70%),
    radial-gradient(1200px 900px at 50% 120%, rgba(27,108,224,.12), transparent 60%),
    radial-gradient(1100px 800px at 50% 118%, rgba(232,58,140,.10), transparent 60%);
}

/* 3D floating orbs — perspective depth layer */
.hero-3d {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  perspective: 900px;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%,
    rgba(248,231,160,.95),
    rgba(212,175,55,.55) 45%,
    rgba(140,109,31,.18) 72%,
    transparent 78%);
  box-shadow:
    0 0 34px rgba(212,175,55,.35),
    0 0 90px rgba(212,175,55,.15);
  animation: orbFloat var(--orb-dur, 12s) ease-in-out var(--orb-delay, 0s) infinite;
}
.orb::after { /* glossy highlight */
  content: ''; position: absolute; left: 18%; top: 14%;
  width: 34%; height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.85), transparent 70%);
  transform: rotate(-24deg);
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(var(--orb-x, 14px), var(--orb-y, -26px), var(--orb-z, 80px)); }
}

/* 3D floating sparkles (star particles) */
.hero-sparkle {
  position: absolute;
  width: 10px; height: 10px;
  background: radial-gradient(circle, #fff 0%, rgba(248,231,160,.9) 45%, transparent 72%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 8px rgba(248,231,160,.9));
  animation: sparkleFloat var(--spk-dur, 9s) ease-in-out var(--spk-delay, 0s) infinite;
}
@keyframes sparkleFloat {
  0%, 100% { opacity: .35; transform: translate3d(0, 0, 0) scale(.8) rotate(0deg); }
  50%      { opacity: 1; transform: translate3d(var(--spk-x, 10px), var(--spk-y, -24px), 60px) scale(1.25) rotate(40deg); }
}

/* Floating crown rings — subtle depth circles */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,.22);
  box-shadow: inset 0 0 26px rgba(212,175,55,.12), 0 0 30px rgba(212,175,55,.08);
  animation: ringPulse var(--ring-dur, 10s) ease-in-out var(--ring-delay, 0s) infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .5; }
  50%      { transform: translate3d(0, -18px, 40px) scale(1.08); opacity: .9; }
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 22% 30%, rgba(248,231,160,.9), transparent 100%),
    radial-gradient(1.2px 1.2px at 68% 20%, rgba(248,231,160,.7), transparent 100%),
    radial-gradient(1.8px 1.8px at 84% 44%, rgba(248,231,160,.8), transparent 100%),
    radial-gradient(1.2px 1.2px at 40% 62%, rgba(248,231,160,.6), transparent 100%),
    radial-gradient(1.4px 1.4px at 12% 48%, rgba(248,231,160,.7), transparent 100%),
    radial-gradient(1.6px 1.6px at 92% 72%, rgba(248,231,160,.65), transparent 100%),
    radial-gradient(1.2px 1.2px at 32% 12%, rgba(248,231,160,.6), transparent 100%);
  background-size: 340px 340px;
}

.hero-inner { position: relative; z-index: 1; max-width: 980px; width: 100%; }

/* Animated crown */
.hero-crown {
  width: 96px; height: 96px; margin: 0 auto 26px;
  filter: drop-shadow(0 10px 34px rgba(212, 175, 55, .45));
  opacity: 0; transform: scale(.55);
  animation: heroCrown .9s cubic-bezier(.2, .8, .3, 1.25) forwards;
}
@keyframes heroCrown {
  to { opacity: 1; transform: scale(1); }
}

/* Contest name — elegant serif */
.hero-title {
  margin: 0 0 10px;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  font-weight: 700; letter-spacing: .04em; line-height: 1.05;
  text-transform: uppercase;
  opacity: 0; animation: heroUp .8s ease .4s forwards;
}
.hero-title .amp { color: var(--gold); }

.hero-tagline {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  font-size: 12.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(248, 231, 160, .92);
  opacity: 0; animation: heroUp .8s ease .55s forwards;
}
.hero-tagline::before, .hero-tagline::after {
  content: ''; width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.8));
}
.hero-tagline::after { background: linear-gradient(90deg, rgba(212,175,55,.8), transparent); }
.hero-tagline .star { color: var(--gold); font-size: 10px; animation: starTwinkle 2.4s ease-in-out infinite; }
@keyframes starTwinkle { 0%,100% { opacity: .55; } 50% { opacity: 1; text-shadow: 0 0 12px rgba(248,231,160,.9); } }

/* Welcome + headline */
.hero-eyebrow {
  display: block; margin: 46px auto 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  opacity: 0; animation: heroUp .8s ease .7s forwards;
}

/* Marquee slider for the welcome line */
.hero-eyebrow.hero-marquee {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  margin: 46px 0 14px;
}
.hero-marquee .marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeSlide 16s linear infinite;
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-headline {
  margin: 0 auto 18px; max-width: 780px;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  font-weight: 600; line-height: 1.22;
  opacity: 0; animation: heroUp .8s ease .82s forwards;
}
.hero-headline .gold { color: var(--gold); }
.hero-sub {
  margin: 0 auto; max-width: 600px;
  color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.7;
  opacity: 0; animation: heroUp .8s ease .94s forwards;
}
.hero-divider { margin: 26px 0 8px; font-size: 15px; color: var(--gold); opacity: 0; animation: heroUp .8s ease 1.04s forwards; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Tiered golden platform + category buttons */
.hero-categories { position: relative; margin-top: 52px; }
.hero-platform {
  position: absolute; left: 50%; bottom: -42px; transform: translateX(-50%);
  width: min(760px, 96%); height: 190px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212,175,55,.30), rgba(212,175,55,.10) 55%, transparent 75%);
  opacity: 0; animation: heroUp .9s ease 1.1s forwards;
}
.hero-platform::before {
  content: ''; position: absolute; left: 50%; top: 74px; transform: translateX(-50%);
  width: 560px; height: 150px;
  background: radial-gradient(closest-side, rgba(212,175,55,.34), rgba(212,175,55,.14) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(6px);
}
.hero-platform::after {
  content: ''; position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%);
  width: min(640px, 92vw); height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.55), transparent);
}

.cat-buttons {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; align-items: stretch;
}
.cat-btn {
  position: relative;
  width: 270px; min-height: 118px;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 22px 22px 20px; border-radius: 22px;
  color: #fff; text-align: left;
  overflow: hidden;
  opacity: 0;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.cat-btn::after { /* glossy sheen */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 52%;
  background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.05));
  pointer-events: none;
}
.cat-btn:hover { transform: translateY(-6px) scale(1.02); filter: brightness(1.07); }
.cat-btn:active { transform: translateY(2px) scale(.99); }

/* Mr. Taraba — glossy blue */
.cat-btn.theme-blue {
  background: linear-gradient(160deg, #3d8bf5 0%, var(--mr-blue) 46%, var(--mr-blue-deep) 100%);
  border: 1px solid rgba(140, 185, 255, .7);
  box-shadow:
    0 0 0 1px rgba(27,108,224,.55),
    0 0 26px rgba(27,108,224,.55),
    0 14px 34px rgba(0,0,0,.5),
    inset 0 2px 0 rgba(255,255,255,.4);
  animation: catIn .7s cubic-bezier(.2, .8, .3, 1.1) 1.15s forwards;
}
.cat-btn.theme-blue:hover {
  box-shadow:
    0 0 0 1px rgba(140,185,255,.9),
    0 0 44px rgba(27,108,224,.85),
    0 22px 46px rgba(0,0,0,.55),
    inset 0 2px 0 rgba(255,255,255,.4);
}

/* Miss Taraba — glossy pink */
.cat-btn.theme-pink {
  background: linear-gradient(160deg, #f26cb4 0%, var(--miss-pink) 46%, var(--miss-pink-deep) 100%);
  border: 1px solid rgba(255, 170, 214, .7);
  box-shadow:
    0 0 0 1px rgba(232,58,140,.5),
    0 0 26px rgba(232,58,140,.55),
    0 14px 34px rgba(0,0,0,.5),
    inset 0 2px 0 rgba(255,255,255,.4);
  animation: catIn .7s cubic-bezier(.2, .8, .3, 1.1) 1.32s forwards;
}
.cat-btn.theme-pink:hover {
  box-shadow:
    0 0 0 1px rgba(255,170,214,.9),
    0 0 44px rgba(232,58,140,.85),
    0 22px 46px rgba(0,0,0,.55),
    inset 0 2px 0 rgba(255,255,255,.4);
}

/* Other categories fall back to gold */
.cat-btn.theme-gold {
  background: linear-gradient(160deg, #e9cd6d 0%, var(--gold) 46%, var(--gold-deep) 100%);
  border: 1px solid rgba(248,231,160,.7);
  box-shadow:
    0 0 0 1px rgba(212,175,55,.5),
    0 0 26px rgba(212,175,55,.5),
    0 14px 34px rgba(0,0,0,.5),
    inset 0 2px 0 rgba(255,255,255,.4);
  animation: catIn .7s cubic-bezier(.2, .8, .3, 1.1) 1.5s forwards;
}

.cat-btn-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.25);
}
.cat-btn-icon svg { width: 30px; height: 30px; display: block; }

.cat-btn-text { flex: 1; min-width: 0; }
.cat-btn-title {
  display: block; font-size: 17px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.cat-btn-sub {
  display: block; margin-top: 3px; font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; opacity: .85;
}

.cat-btn-arrow {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.55);
  font-size: 13px; color: #fff;
  transition: transform .22s ease, background .22s ease;
}
.cat-btn:hover .cat-btn-arrow { transform: translateX(3px); background: rgba(255,255,255,.32); }

@keyframes catIn {
  from { opacity: 0; transform: translateY(34px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Extra dynamic categories (beyond the first two) stack below the platform */
.cat-btn.cat-btn-extra { width: auto; min-height: 0; padding: 14px 24px; border-radius: 999px; gap: 10px; }
.cat-btn.cat-btn-extra .cat-btn-icon { width: 34px; height: 34px; }
.cat-btn.cat-btn-extra .cat-btn-icon svg { width: 20px; height: 20px; }
.cat-btn.cat-btn-extra .cat-btn-title { font-size: 14px; }
.cat-btn.cat-btn-extra .cat-btn-sub { display: none; }
.cat-btn.cat-btn-extra .cat-btn-arrow { width: 26px; height: 26px; font-size: 11px; }

/* Hero footer line (removed — credit lives in the site footer only) */
@keyframes heartBeat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.18); } 24% { transform: scale(1); } }

/* ---------------- Section scaffolding ---------------- */
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-title { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; margin: 0 0 8px; }
.section-sub { color: var(--ink-soft); margin: 0; }

/* ---------------- How Voting Works — directional slide-ins ---------------- */
.how-card { opacity: 0; }
.how-card.in-view.slide-from-left   { animation: howCardFromLeft .8s cubic-bezier(.2, .8, .3, 1.05) forwards; }
.how-card.in-view.slide-from-bottom { animation: howCardFromBottom .85s cubic-bezier(.2, .8, .3, 1.05) forwards; }
.how-card.in-view.slide-from-right  { animation: howCardFromRight .8s cubic-bezier(.2, .8, .3, 1.05) forwards; }
.how-card.in-view:nth-child(2) { animation-delay: .12s; }
.how-card.in-view:nth-child(3) { animation-delay: .24s; }

@keyframes howCardFromLeft {
  from { opacity: 0; transform: translate3d(-70px, 24px, 0) rotate(-2deg); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg); }
}
@keyframes howCardFromBottom {
  from { opacity: 0; transform: translate3d(0, 70px, 0) scale(.94); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes howCardFromRight {
  from { opacity: 0; transform: translate3d(70px, 24px, 0) rotate(2deg); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg); }
}

/* ---------------- Live Score Ranking section ---------------- */
.section-ranking {
  background:
    radial-gradient(900px 400px at 50% -10%, color-mix(in srgb, var(--primary), transparent 88%), transparent 70%),
    var(--bg);
}
.ranking-wrap {
  max-width: 860px; margin: 0 auto;
  overflow: visible;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ranking-table { min-width: 0; }
.ranking-table th {
  background: linear-gradient(180deg, #fbfcff, var(--bg));
  border-bottom: 2px solid var(--line);
}
.ranking-table td { word-break: break-word; }
.ranking-table tbody tr:first-child td {
  background: linear-gradient(90deg, rgba(212,175,55,.14), rgba(248,231,160,.05));
  font-weight: 700;
}
.ranking-table tbody tr:nth-child(2) td { background: rgba(148,163,184,.08); }
.ranking-table tbody tr:nth-child(3) td { background: rgba(180,120,60,.07); }

/* ---------------- How Voting Works section ---------------- */
.section-how {
  background:
    radial-gradient(760px 320px at 85% -10%, color-mix(in srgb, var(--primary), transparent 90%), transparent 70%),
    linear-gradient(180deg, #ffffff, var(--bg));
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.how-icon {
  width: 58px; height: 58px; margin: 0 auto 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  border-radius: 16px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--primary), #fff 20%), var(--primary) 55%, var(--primary-dark));
  box-shadow:
    0 8px 18px color-mix(in srgb, var(--primary), transparent 55%),
    inset 0 1px 0 rgba(255,255,255,.35);
}
.how-card .card-body { align-items: center; text-align: center; }

/* ---------------- Contestant cards ---------------- */
.contestants-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
}

.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 2px 6px rgba(15, 23, 42, .05),
    0 12px 28px rgba(15, 23, 42, .08),
    0 30px 60px -20px rgba(15, 23, 42, .16);
  border: 1px solid rgba(226, 232, 240, .9);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--primary), transparent 55%);
  box-shadow:
    0 4px 10px rgba(15, 23, 42, .06),
    0 20px 44px rgba(15, 23, 42, .12),
    0 44px 90px -24px color-mix(in srgb, var(--primary), transparent 62%);
}

.card-media {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 3.6;
  background: #0f172a;
  cursor: pointer;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .55s cubic-bezier(.25, .8, .3, 1), filter .55s ease;
}
.card:hover .card-media img, .card.revealed .card-media img {
  transform: scale(1.12) translateY(14px);
  filter: brightness(.55);
}

/* Hover overlay — bio + votes */
.card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 20px;
  background: linear-gradient(180deg, rgba(15,23,42,.05) 0%, rgba(15,23,42,.88) 68%);
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.card:hover .card-overlay, .card.revealed .card-overlay { opacity: 1; transform: translateY(0); }

.card-bio {
  color: rgba(255,255,255,.88); font-size: 13.5px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 12px;
}
.card-votes { display: flex; flex-direction: column; }
.card-votes-label { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; }
.card-votes-num {
  font-size: 34px; font-weight: 900; line-height: 1.05; color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
}

.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { font-size: 18px; font-weight: 800; margin: 0; line-height: 1.2; }
.card-nickname { color: var(--primary); font-size: 13px; font-weight: 600; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-soft); }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-quote {
  font-size: 13px; color: var(--ink-soft); font-style: italic;
  border-left: 3px solid var(--primary-soft); padding-left: 10px; margin: 4px 0 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-actions { margin-top: auto; padding-top: 10px; }

.card-vote-count-inline { text-align: center; font-size: 13px; font-weight: 700; color: var(--primary); padding-top: 4px; }

/* Mobile tap indicator */
.card-tap-hint {
  display: none;
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,.5); color: #fff; font-size: 11px;
  padding: 4px 10px; border-radius: 999px; pointer-events: none;
}

/* ---------------- Category page ---------------- */
.page-banner {
  background:
    radial-gradient(900px 400px at 50% -20%, color-mix(in srgb, var(--primary), transparent 78%), transparent 70%),
    var(--ink);
  color: #fff; padding: 56px 20px; text-align: center;
}
.page-banner h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; }
.page-banner p { margin: 0 auto; max-width: 620px; color: rgba(255,255,255,.75); }

/* Category page — royal luxe banner to match the dark sticky header */
.page-banner.royal-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 50% -12%, rgba(212,175,55,.22), transparent 68%),
    radial-gradient(560px 340px at 10% 110%, rgba(212,175,55,.10), transparent 70%),
    radial-gradient(560px 340px at 90% 110%, rgba(212,175,55,.10), transparent 70%),
    #050505;
  color: #fff;
  padding: 64px 20px 56px;
}
.royal-banner::before {
  content: ''; position: absolute; left: 50%; top: 100%; transform: translate(-50%, -50%);
  width: min(760px, 96vw); height: 150px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212,175,55,.30), rgba(212,175,55,.10) 55%, transparent 75%);
  filter: blur(4px);
}
.royal-banner h1 {
  position: relative;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  margin: 0 0 10px;
  animation: heroUp .7s ease forwards;
}
.royal-banner p {
  position: relative;
  max-width: 620px; margin: 0 auto;
  color: rgba(255,255,255,.62); font-size: 14.5px;
  animation: heroUp .7s ease .12s both;
}

/* ---------------- Voting form ---------------- */
.vote-layout { display: grid; gap: 24px; grid-template-columns: 320px 1fr; align-items: start; padding: 44px 0; }
@media (max-width: 860px) { .vote-layout { grid-template-columns: 1fr; } }

.vote-summary {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  position: sticky; top: 90px;
}
.vote-summary img { width: 100%; aspect-ratio: 3/3.4; object-fit: cover; object-position: top center; }
.vote-summary-body { padding: 18px; }
.vote-summary-body h2 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.vote-summary-body .cat { color: var(--primary); font-weight: 700; font-size: 13.5px; }

.vote-panel { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 30px; }

.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--ink); }
.form-control {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
textarea.form-control { resize: vertical; min-height: 90px; }

.form-error { color: var(--danger); font-size: 13px; margin-top: 5px; }

/* Quantity stepper */
.qty-row { display: flex; align-items: stretch; gap: 12px; }
.qty-btn {
  width: 52px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--bg);
  font-size: 22px; font-weight: 700; color: var(--ink); cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.qty-btn:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--primary); }
.qty-input { text-align: center; font-size: 20px; font-weight: 800; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.price-summary {
  background: var(--primary-soft); border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 4px 0 22px;
}
.price-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 6px 0; color: var(--ink-soft); }
.price-row.total { border-top: 1px dashed color-mix(in srgb, var(--primary), transparent 60%); margin-top: 8px; padding-top: 12px; font-size: 19px; font-weight: 900; color: var(--ink); }
.price-row.total span:last-child { color: var(--primary); }

/* ---------------- Alerts ---------------- */
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; margin: 0 0 14px;
  border: 1px solid transparent;
}
.alert-icon { font-size: 15px; }
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.flash-stack { max-width: 640px; margin: 16px auto 0; padding: 0 20px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.75); padding: 40px 0; margin-top: 60px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; background: rgba(255,255,255,.08); }
.footer-name { font-weight: 800; color: #fff; }
.footer-credit { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-contact a { color: rgba(255,255,255,.75); font-weight: 600; font-size: 14px; }
.footer-contact a:hover { color: #fff; }
.footer-heart { margin-left: 8px; display: inline-block; color: var(--miss-pink); animation: heartBeat 1.8s ease-in-out infinite; }

/* ---------------- Voting closed banner ---------------- */
.voting-closed-banner {
  background: var(--warning); color: #fff; text-align: center;
  font-weight: 700; padding: 12px 16px; font-size: 14.5px;
}

/* ---------------- Support widget ---------------- */
.support-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 250;
  display: flex; align-items: center; gap: 9px;
  background: var(--primary); color: #fff;
  padding: 14px 20px; border-radius: 999px;
  font-weight: 800; font-size: 14.5px; cursor: pointer;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--primary), transparent 40%);
  transition: transform .2s ease, box-shadow .2s ease;
}
.support-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 34px color-mix(in srgb, var(--primary), transparent 30%); }
.support-fab-icon { font-size: 19px; }

.support-window {
  position: fixed; right: 20px; bottom: 88px; z-index: 260;
  width: min(380px, calc(100vw - 32px));
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: min(560px, calc(100vh - 110px));
  animation: supportIn .25s cubic-bezier(.2, .8, .3, 1.1);
}
.support-window[hidden] { display: none; }
.support-window.is-open { display: flex; flex-direction: column; }
@keyframes supportIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

.support-head {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.support-title { font-weight: 800; font-size: 16px; }
.support-sub { font-size: 12px; opacity: .8; }
.support-close { background: rgba(255,255,255,.18); color: #fff; border: 0; width: 32px; height: 32px; border-radius: 10px; cursor: pointer; font-size: 13px; }

.support-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; background: #f8fafc; }
.support-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.support-msg.visitor { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.support-msg.admin { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.support-msg-time { display: block; font-size: 10.5px; opacity: .65; margin-top: 4px; }

.support-form { display: flex; flex-direction: column; gap: 9px; padding: 14px; border-top: 1px solid var(--line); }
.support-form input, .support-form textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 14px;
  border: 1.5px solid var(--line); border-radius: 11px;
}
.support-form input:focus, .support-form textarea:focus { outline: none; border-color: var(--primary); }
.support-status { padding: 0 14px 12px; font-size: 12.5px; min-height: 18px; color: var(--success); font-weight: 600; }
.support-status.error { color: var(--danger); }

/* ---------------- Empty states ---------------- */
.empty-state {
  text-align: center; padding: 64px 20px;
  background: var(--surface); border: 1.5px dashed var(--line);
  border-radius: var(--radius); color: var(--ink-soft);
}
.empty-state .empty-icon { font-size: 40px; margin-bottom: 10px; }
.empty-state h3 { margin: 0 0 6px; font-weight: 800; color: var(--ink); }
.empty-state p { margin: 0 0 16px; font-size: 14px; }

/* ---------------- Tables (simple public) ---------------- */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 13px 16px; background: var(--bg); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.data-table td { padding: 13px 16px; border-top: 1px solid var(--bg); vertical-align: middle; }
.data-table tr:hover td { background: #fafbfe; }

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.text-muted { color: var(--ink-soft); }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* ---------------- Payment result page ---------------- */
.payment-body { background: var(--bg); display: block; }

/* ---------------- Responsive ---------------- */
@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .card-tap-hint { display: block; }
}

@media (max-width: 560px) {
  .section { padding: 40px 0; }
  .container { padding: 0 14px; }
  .vote-panel { padding: 20px 16px; }
  .qty-btn { width: 46px; }
  .support-fab { padding: 13px 16px; }
  .support-fab-label { display: none; }
  .support-window { right: 8px; bottom: 74px; width: calc(100vw - 16px); }
  .footer-inner { flex-direction: column; text-align: center; justify-content: center; }

  .hero { padding: 80px 14px 80px; }
  .hero-crown { width: 78px; height: 78px; margin-bottom: 20px; }
  .hero-eyebrow { margin-top: 34px; }
  .hero-tagline { font-size: 10px; letter-spacing: .22em; gap: 7px; }
  .hero-tagline::before, .hero-tagline::after { width: 18px; }
  .hero-marquee .marquee-track { font-size: 10.5px; letter-spacing: .2em; }
  .hero-categories { margin-top: 38px; }
  .cat-buttons { flex-direction: column; align-items: center; gap: 18px; }
  .cat-btn { width: min(320px, 100%); }
  .hero-platform { width: 100%; height: 230px; bottom: -66px; }
  .hero-platform::before { width: 320px; height: 130px; top: 96px; }
  .hero-platform::after { bottom: 56px; }

  .ranking-table { font-size: 13px; }
  .ranking-table th, .ranking-table td { padding: 10px 8px; }
  .ranking-table th:first-child, .ranking-table td:first-child { padding-left: 12px; }
  .ranking-table th:last-child, .ranking-table td:last-child { padding-right: 12px; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-crown, .hero-title, .hero-tagline, .hero-eyebrow, .hero-headline, .hero-sub,
  .hero-divider, .hero-platform, .cat-btn { opacity: 1 !important; transform: none !important; }
  .hero-marquee .marquee-track { animation: none !important; white-space: normal; }
  .orb, .hero-sparkle, .hero-ring { animation: none !important; }
  .how-card { opacity: 1 !important; animation: none !important; }
}
