/* ============================================================
   Miss Igbo Nigeria — Design System
   Inspired by the Bullbell Africa / NCQ pageant site
   Colors: primary green #22C358, accent gold #F9D006
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================================ */

:root {
    --background: #ffffff;
    --foreground: #000000;
    --card: #ffffff;
    --popover: #ffffff;
    --primary: #22c358;
    --primary-strong: #1aa04a;
    --primary-soft: rgba(34, 195, 88, 0.08);
    --primary-soft-2: rgba(34, 195, 88, 0.16);
    --primary-foreground: #ffffff;
    --secondary: #f9d006;
    --secondary-foreground: #000000;
    --accent: #f9d006;
    --accent-foreground: #000000;
    --gold: #f9d006;
    --gold-light: #fbde50;
    --gold-dark: #b89b0a;
    --navy: #000000;
    --navy-light: #333333;
    --muted: #f5f5f5;
    --muted-foreground: #737373;
    --border: #e6e6e6;
    --ring: #22c358;
    --radius: 12px;
    --cream: #fafafa;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 4px 20px -4px rgba(249, 208, 6, 0.35);
}

.dark {
    --background: #000000;
    --foreground: #ffffff;
    --card: #0d0d0d;
    --popover: #0d0d0d;
    --muted: #1a1a1a;
    --muted-foreground: #a6a6a6;
    --border: #333333;
    --navy-light: #262626;
    --cream: #0d0d0d;
    --primary-soft: rgba(34, 195, 88, 0.14);
    --primary-soft-2: rgba(34, 195, 88, 0.22);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--foreground);
    background-color: var(--background);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--foreground);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-strong);
}

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: 2rem;
}

.container-narrow {
    max-width: 860px;
}

section {
    position: relative;
}

/* ---------- Utilities ---------- */

.text-gold {
    color: var(--gold);
}

.eyebrow {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: var(--primary-soft);
    border: 1px solid var(--primary-soft-2);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.dark .eyebrow {
    color: var(--gold-light);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 1.9rem;
    font-size: 1.02rem;
}

.btn-hero {
    padding: 1.15rem 2.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 999px;
    box-shadow: 0 8px 30px -8px rgba(249, 208, 6, 0.55);
    position: relative;
}

.btn-hero:hover {
    box-shadow: 0 12px 40px -8px rgba(249, 208, 6, 0.7);
    transform: translateY(-2px) scale(1.02);
}

.btn-hero svg {
    transition: transform 0.25s ease;
}

.btn-hero:hover svg {
    transform: translateX(4px);
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-card);
}

.btn-primary:hover {
    background: var(--primary-strong);
    color: #fff;
    box-shadow: var(--shadow-card-hover);
}

.btn-gold {
    background: var(--gold);
    color: var(--secondary-foreground);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    color: #000;
    box-shadow: 0 8px 28px -6px rgba(249, 208, 6, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: var(--primary-soft);
}

.dark .btn-ghost:hover {
    color: var(--gold-light);
}

.btn-on-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-on-dark:hover {
    color: #fff;
    border-color: var(--gold);
    background: rgba(249, 208, 6, 0.12);
}

/* ---------- Header / Nav ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--background) 80%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0f7a36);
    color: #fff;
    box-shadow: var(--shadow-gold);
    flex-shrink: 0;
}

.brand-mark-img {
    background: #fff;
    overflow: hidden;
    padding: 3px;
}

.brand-mark-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: "Playfair Display", serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--foreground);
}

.brand-name em {
    font-style: normal;
    color: var(--gold);
    font-weight: 700;
}

.brand-tag {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
}

.nav-link {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--foreground);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: var(--primary-soft);
}

.icon-sun {
    display: none;
}

.dark .icon-moon {
    display: none;
}

.dark .icon-sun {
    display: block;
}

.nav-toggle {
    display: none;
}

/* ---------- Hero Slideshow ---------- */

.hero {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background: linear-gradient(160deg, #053b1f 0%, #0a5c2c 45%, #0e7a39 100%);
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s ease, visibility 1.1s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}

.slide.active .slide-bg {
    animation: kenburns 9s ease-out forwards;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, transparent 30%, transparent 75%, rgba(0, 0, 0, 0.25) 100%);
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.12);
    }
}

/* Progress bar */
.hero-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 6;
    background: rgba(255, 255, 255, 0.12);
}

#heroProgressBar {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

#heroProgressBar.running {
    animation: heroProgress 7s linear forwards;
}

@keyframes heroProgress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.hero.paused #heroProgressBar {
    animation-play-state: paused;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-block: 6rem 8rem;
    width: 100%;
}

/* Slide copy with staggered entrance */
.slide-copy {
    display: none;
}

.slide-copy.active {
    display: block;
}

.slide-copy.active > * {
    animation: fadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.slide-copy.active .hero-eyebrow {
    animation-delay: 0.1s;
}

.slide-copy.active .hero-title {
    animation-delay: 0.28s;
}

.slide-copy.active .hero-sub {
    animation-delay: 0.48s;
}

.slide-copy.active .hero-actions {
    animation-delay: 0.68s;
}

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

.hero-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(249, 208, 6, 0.4);
    color: var(--gold-light);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.02;
    color: #fff;
    margin-bottom: 1.25rem;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero-title .text-gold {
    text-shadow: 0 0 40px rgba(249, 208, 6, 0.35);
}

.hero-sub {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 40rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(249, 208, 6, 0.1);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-stats {
    display: grid;
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 1.3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.5);
}

.stat-value {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
}

.float-card {
    animation: float 4s ease-in-out infinite;
}

.float-card:nth-child(2) {
    animation-delay: 0.6s;
}

.float-card:nth-child(3) {
    animation-delay: 1.2s;
}

.hero-counter {
    align-self: flex-end;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    letter-spacing: 0.08em;
}

.hero-counter-total {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    box-shadow: var(--shadow-gold);
    transform: translateY(-50%) scale(1.08);
}

.hero-prev {
    left: 1.4rem;
}

.hero-next {
    right: 1.4rem;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    width: 30px;
    background: var(--gold);
    box-shadow: 0 0 14px rgba(249, 208, 6, 0.6);
}

.scroll-hint {
    position: absolute;
    bottom: 1.1rem;
    right: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    animation: bob 1.8s ease-in-out infinite;
    z-index: 5;
    transform: translateX(0);
}

@keyframes float {
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

/* ---------- Sections ---------- */

.section {
    padding-block: 5rem;
}

.section-muted {
    background: var(--muted);
}

.section-tint {
    background: linear-gradient(180deg, var(--cream), var(--background));
}

.section-head {
    max-width: 720px;
    margin-bottom: 2.75rem;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--muted-foreground);
    font-size: 1.05rem;
}

.section-top {
    margin-top: 3rem;
}

.section-foot {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-foot p {
    color: var(--muted-foreground);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.align-center {
    align-items: center;
}

.prose p {
    margin-bottom: 1.4rem;
}

.lead-text {
    font-size: 1.13rem;
    color: var(--foreground);
}

p {
    color: var(--foreground);
}

.section-muted p,
.section-muted .lead-text {
    color: var(--foreground);
}

.muted-text {
    color: var(--muted-foreground);
}

/* ---------- Highlight cards (Who We Are) ---------- */

.highlight-cards {
    display: grid;
    gap: 1.1rem;
}

.highlight-card {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.highlight-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-soft-2);
    transform: translateY(-2px);
}

.hl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    flex-shrink: 0;
}

.highlight-card h3 {
    font-size: 1.12rem;
    margin-bottom: 0.3rem;
}

.highlight-card p {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

/* ---------- Vision & Mission ---------- */

.vision-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--foreground);
    border-left: 4px solid var(--gold);
    padding-left: 1.3rem;
    margin-top: 0.5rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
}

.mission-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.mission-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.mission-num {
    font-family: "Playfair Display", serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    background: var(--primary-soft);
    border-radius: 8px;
    padding: 0.25rem 0.6rem;
    display: inline-block;
    margin-bottom: 0.9rem;
}

.mission-card p {
    color: var(--foreground);
    font-size: 0.98rem;
}

.mission-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.mission-list li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.mission-list p {
    color: var(--foreground);
}

.gain-dot {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 0.5rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold));
    box-shadow: 0 0 0 4px var(--primary-soft);
}

/* ---------- Story / Background ---------- */

.story-visual {
    position: relative;
    min-height: 420px;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #0a5c2c;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-card-hover);
}

.story-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 40%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0%, transparent 100%);
}

.story-caption {
    position: absolute;
    left: 1.5rem;
    bottom: 1.25rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    max-width: 70%;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.story-shade {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold), transparent 70%);
    opacity: 0.25;
}

.story-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius);
    padding: 1rem 1.4rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card-hover);
}

.story-badge .stat-value {
    color: var(--primary);
}

.story-badge .stat-label {
    color: var(--muted-foreground);
    font-size: 0.85rem;
}

/* ---------- Gains ---------- */

.gains-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.gain-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.gain-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
    border-color: var(--primary-soft-2);
}

.gain-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.gain-card p {
    color: var(--muted-foreground);
    font-size: 0.92rem;
}

/* ---------- Gallery ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    display: block;
    padding: 0;
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--muted);
    box-shadow: var(--shadow-card);
    aspect-ratio: 4 / 3;
    transition: all 0.25s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 45%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-gold);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-stage {
    max-width: min(92vw, 1100px);
    max-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.lightbox-img {
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.open .lightbox-img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.lightbox-close:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.lightbox-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.lightbox-prev {
    left: 1.4rem;
}

.lightbox-next {
    right: 1.4rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

body.lightbox-locked {
    overflow: hidden;
}

/* ---------- FAQ ---------- */

.faq-list {
    display: grid;
    gap: 0.9rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
    border-color: var(--gold);
    box-shadow: var(--shadow-card-hover);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    color: var(--foreground);
    transition: color 0.2s ease;
}

.faq-q:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-a {
    grid-template-rows: 1fr;
}

.faq-a-inner {
    overflow: hidden;
}

.faq-a-inner p {
    padding: 0 1.5rem 1.4rem;
    color: var(--muted-foreground);
}

/* ---------- Notice card ---------- */

.notice-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--primary-soft);
    border: 1px solid var(--primary-soft-2);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    margin-bottom: 3rem;
}

.notice-card p {
    color: var(--foreground);
}

.notice-card strong {
    color: var(--primary);
}

/* ---------- Steps ---------- */

.steps {
    display: grid;
    gap: 1.4rem;
    margin-top: 1rem;
}

.step-row {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.step-row h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.step-row p {
    color: var(--muted-foreground);
    font-size: 0.97rem;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    padding: 5.5rem 0 4rem;
    background:
        radial-gradient(800px 400px at 90% -20%, rgba(34, 195, 88, 0.18), transparent 60%),
        radial-gradient(600px 350px at -5% 110%, rgba(249, 208, 6, 0.14), transparent 60%),
        linear-gradient(160deg, #053b1f 0%, #0a5c2c 55%, #0e7a39 100%);
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 46rem;
    margin: 0 auto;
    font-size: 1.06rem;
}

.page-hero .hero-eyebrow {
    margin-bottom: 1.2rem;
}

/* ---------- Contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3rem;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem 1.5rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    transition: all 0.2s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.contact-card h3 {
    font-size: 1.15rem;
}

.contact-card p {
    color: var(--muted-foreground);
    word-break: break-word;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.contact-link {
    display: block;
    color: var(--primary);
    word-break: break-word;
}

.contact-link:hover {
    color: var(--primary-strong);
}

/* ---------- CTA banner ---------- */

.cta-banner {
    margin: 5rem 0;
}

.cta-inner {
    background: linear-gradient(120deg, #0a5c2c, #0e7a39);
    border-radius: 1.5rem;
    padding: 3rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-card-hover);
    background-image:
        radial-gradient(600px 300px at 100% 0%, rgba(249, 208, 6, 0.25), transparent 60%),
        linear-gradient(120deg, #0a5c2c, #0e7a39);
}

.cta-title {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0.6rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 36rem;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #052a14;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 5rem;
    border-top: 4px solid var(--gold);
}

.dark .site-footer {
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
    padding-block: 3.5rem 2.5rem;
}

.footer-brand .brand-name {
    color: #fff;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-top: 1.1rem;
    max-width: 30rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-contact svg {
    color: var(--gold);
    flex-shrink: 0;
}

.socials {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: 1.4rem;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- Back to top ---------- */

.back-to-top {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 40;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
}

/* ---------- Reveal animation ---------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-counter {
        align-self: flex-start;
    }

    .gains-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        inset: 76px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--background);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem 1.5rem;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
        box-shadow: var(--shadow-card-hover);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        margin-bottom: 1rem;
    }

    .nav-link {
        display: block;
        padding: 0.7rem 0.85rem;
    }

    .main-nav .btn {
        width: 100%;
    }

    .btn-nav {
        display: none;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .gains-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.2rem 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding-block: 3.5rem;
    }

    .hero-inner {
        padding-block: 4rem 6.5rem;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;
    }

    .hero-prev {
        left: 0.9rem;
    }

    .hero-next {
        right: 0.9rem;
    }

    .scroll-hint {
        display: none;
    }
}

@media (max-width: 520px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-arrow {
        display: none;
    }

    .hero-title {
        font-size: clamp(2.3rem, 11vw, 3.2rem);
    }

    .hero-counter {
        font-size: 0.95rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding-inline: 1.25rem;
    }

    .brand-tag {
        display: none;
    }
}

/* ---------- Registration form ---------- */

.reg-wrap {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.reg-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    padding: 2rem 2.2rem 2.4rem;
    box-shadow: var(--shadow-card-hover);
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0.75rem;
}

.step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--muted);
    border: 2px solid var(--border);
    color: var(--muted-foreground);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.step-dot.active,
.step-dot.done {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

.step-dot.done .step-num {
    display: none;
}

.step-dot.done::after {
    content: "\2713";
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 0.8rem;
    transition: background 0.3s ease;
}

.step-line.filled {
    background: var(--primary);
}

.step-labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

.step-labels span {
    transition: color 0.3s ease;
}

.step-labels span:last-child {
    text-align: right;
}

.step-labels span.active {
    color: var(--gold-dark);
}

.dark .step-labels span.active {
    color: var(--gold);
}

.step-panel {
    display: grid;
    gap: 1.1rem;
}

.step-panel[hidden] {
    display: none;
}

.step-title {
    font-size: 1.5rem;
}

.step-sub {
    color: var(--muted-foreground);
    font-size: 0.97rem;
    margin-top: -0.4rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    font-size: 0.92rem;
    font-weight: 600;
}

.field label .opt {
    color: var(--muted-foreground);
    font-weight: 400;
    font-size: 0.85rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: var(--muted);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.78rem 1rem;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--foreground);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.6rem;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted-foreground);
    opacity: 0.75;
}

.field textarea {
    resize: vertical;
    min-height: 92px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea,
.field.invalid .photo-zone {
    border-color: #dc2626;
}

.field-error {
    display: none;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 500;
}

.field.invalid .field-error {
    display: block;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 640px) {
    .field-row,
    .field-row-3 {
        grid-template-columns: 1fr;
    }
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.85rem;
    margin-top: 0.6rem;
}

.form-actions .btn-wizard {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.btn-arrow {
    display: inline-flex;
}

.btn-arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn-wizard:hover .btn-arrow svg {
    transform: translateX(3px);
}

.form-alert {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: #dc2626;
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.form-note {
    color: var(--muted-foreground);
    font-size: 0.92rem;
    font-style: italic;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--muted-foreground);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--foreground);
    background: var(--primary-soft);
}

.eye-closed {
    display: none;
}

.password-visible .eye-open {
    display: none;
}

.password-visible .eye-closed {
    display: block;
}

.photo-zone {
    display: block;
    cursor: pointer;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem 1rem;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
    position: relative;
}

.photo-zone:hover,
.photo-zone.has-photo {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.photo-zone input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.photo-placeholder {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.photo-placeholder svg {
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.photo-placeholder strong {
    color: var(--foreground);
    font-weight: 600;
}

.photo-zone.has-photo .photo-placeholder {
    display: none;
}

.photo-preview {
    position: relative;
    display: inline-block;
    max-width: 180px;
    border-radius: var(--radius);
    overflow: hidden;
}

.photo-preview img {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
}

.photo-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.photo-remove:hover {
    background: #dc2626;
}

.reg-note {
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.92rem;
    margin-top: 1.6rem;
}

/* ---------- Registration success ---------- */

.success-card {
    text-align: center;
    padding: 3.4rem 2rem;
}

.success-check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin: 0 auto 1.4rem;
}

.success-card .section-title {
    margin-bottom: 0.8rem;
}

.success-text {
    color: var(--muted-foreground);
    max-width: 34rem;
    margin: 0 auto 1.8rem;
}

.success-card .btn-row {
    justify-content: center;
}

/* ========== Contestant Grid ========== */
.contestant-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contestant-search {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--foreground);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.contestant-search:focus {
    outline: none;
    border-color: var(--gold);
}

.contestant-sort-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--foreground);
    font-size: 0.95rem;
    cursor: pointer;
}

.contestant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.contestant-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.contestant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.contestant-rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.rank-1 { background: linear-gradient(135deg, #f9d006, #e6b800); color: #1a1a1a; }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a8a8a8); color: #1a1a1a; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #b8690e); color: #fff; }

.contestant-photo-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--muted);
}

.contestant-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.contestant-card:hover .contestant-photo {
    transform: scale(1.05);
}

.contestant-info {
    padding: 1rem 1.2rem 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.contestant-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.contestant-state {
    font-size: 0.82rem;
    color: var(--gold-dark, #b8940a);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contestant-bio {
    font-size: 0.88rem;
    color: var(--muted-foreground);
    margin: 0.2rem 0 0;
    line-height: 1.45;
}

.contestant-votes {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--gold-dark, #b8940a);
    margin-top: 0.3rem;
}

.contestant-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.contestant-socials a {
    color: var(--muted-foreground);
    transition: color 0.2s;
}

.contestant-socials a:hover {
    color: var(--gold);
}

.contestant-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted-foreground);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
}

.btn-w-full {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ========== Vote Page ========== */
.vote-success-card {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2rem;
    max-width: 520px;
    margin: 0 auto;
}

.vote-success-card .success-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(34, 195, 88, 0.1);
    color: var(--primary, #22c358);
    margin-bottom: 1rem;
}

.vote-success-card .success-check.failed {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.payment-details {
    margin: 1.5rem auto;
    max-width: 380px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.payment-details div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.payment-details div + div {
    border-top: 1px solid var(--border);
}

.payment-details span {
    color: var(--muted-foreground);
}

.payment-details strong {
    text-align: right;
}

.demo-card {
    margin: 1.5rem 0;
    border: 1px dashed var(--border);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    background: var(--muted, #f7f7f7);
}

.demo-card-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    padding: 0.35rem 0;
}

.demo-card-row span {
    color: var(--muted-foreground);
}

.vote-success-card h2 {
    margin: 0 0 0.5rem;
}

.vote-success-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.vote-page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .vote-page-layout {
        grid-template-columns: 1fr;
    }
}

.vote-contestant-profile {
    text-align: center;
}

.vote-photo-wrap {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1rem;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid var(--gold);
}

.vote-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vote-contestant-name {
    font-size: 1.6rem;
    margin: 0 0 0.3rem;
}

.vote-contestant-bio {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.8rem 0;
}

.vote-count-display {
    justify-content: center;
    font-size: 1.1rem;
    margin: 1rem 0;
}

.vote-form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.vote-form-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1.3rem;
}

.vote-price-info {
    color: var(--muted-foreground);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.vote-qty-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.vote-qty-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--muted, #f0f0f0);
    border: none;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--foreground);
    transition: background 0.2s;
}

.vote-qty-btn:hover {
    background: var(--gold);
    color: #1a1a1a;
}

.vote-qty-wrap input {
    width: 80px;
    height: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--card);
    color: var(--foreground);
    -moz-appearance: textfield;
}

.vote-qty-wrap input::-webkit-outer-spin-button,
.vote-qty-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.vote-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--muted, #f7f7f7);
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1rem 0 1.5rem;
}

.vote-total-amount {
    font-size: 1.3rem;
    color: var(--gold-dark, #b8940a);
    font-weight: 800;
}

/* ========== Results / Leaderboard ========== */
.results-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.result-stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2.5rem;
    text-align: center;
    min-width: 160px;
}

.result-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-dark, #b8940a);
}

.result-stat-label {
    font-size: 0.88rem;
    color: var(--muted-foreground);
    margin-top: 0.3rem;
    display: block;
}

/* Podium */
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.podium-item {
    text-align: center;
    flex: 0 1 180px;
}

.podium-crown {
    margin-bottom: 0.5rem;
    color: var(--gold, #f9d006);
}

.podium-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--muted, #f0f0f0);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--foreground);
}

.podium-photo-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.5rem;
    border: 3px solid var(--border);
}

.podium-pos-1 .podium-photo-wrap {
    width: 120px;
    height: 120px;
    border-color: var(--gold, #f9d006);
    box-shadow: 0 0 20px rgba(249, 208, 6, 0.3);
}

.podium-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podium-name {
    font-size: 1rem;
    margin: 0 0 0.2rem;
}

.podium-state {
    font-size: 0.78rem;
    color: var(--gold-dark, #b8940a);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.podium-votes {
    font-size: 0.92rem;
    margin-top: 0.4rem;
    color: var(--muted-foreground);
}

.podium-votes strong {
    color: var(--foreground);
}

.podium-bar {
    width: 100%;
    margin-top: 0.6rem;
    border-radius: 8px 8px 0 0;
    min-height: 20px;
}

.podium-pos-1 .podium-bar { background: linear-gradient(180deg, #f9d006, #e6b800); }
.podium-pos-2 .podium-bar { background: linear-gradient(180deg, #c0c0c0, #a8a8a8); }
.podium-pos-3 .podium-bar { background: linear-gradient(180deg, #cd7f32, #b8690e); }

.podium-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    color: var(--muted-foreground);
}

/* Leaderboard Table */
.leaderboard-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-top: 1.5rem;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.leaderboard-table th {
    background: var(--muted, #f5f5f5);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted-foreground);
    font-weight: 600;
}

.leaderboard-table tbody tr:hover {
    background: var(--muted, #fafafa);
}

.lb-rank {
    font-weight: 700;
    width: 60px;
}

.lb-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.lb-medal-1 { background: #f9d006; color: #1a1a1a; }
.lb-medal-2 { background: #c0c0c0; color: #1a1a1a; }
.lb-medal-3 { background: #cd7f32; color: #fff; }

.lb-contestant {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.lb-thumb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.lb-votes {
    font-weight: 700;
}

.lb-bar-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
}

.lb-bar-track {
    flex: 1;
    height: 8px;
    background: var(--muted, #eee);
    border-radius: 4px;
    overflow: hidden;
}

.lb-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold, #f9d006), var(--gold-dark, #b8940a));
    border-radius: 4px;
    transition: width 0.6s ease;
}

.lb-pct {
    font-size: 0.82rem;
    color: var(--muted-foreground);
    white-space: nowrap;
    min-width: 40px;
}

/* Vote browse grid */
.vote-browse-grid {
    max-width: 900px;
    margin: 0 auto;
}

/* ========== Home Vote Banner ========== */
.vote-banner {
    background: linear-gradient(135deg, #1a2e1f 0%, #22c358 55%, #f9d006 130%);
    padding: 4rem 0;
}

.vote-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.vote-banner-title {
    color: #fff;
    font-size: 2.1rem;
    margin: 0.4rem 0;
}

.vote-banner-text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.dark .vote-banner {
    background: linear-gradient(135deg, #0f1f13 0%, #12703a 60%, #8a7200 130%);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
