/* ============================================================
   FESTIVAL CSS — Panagtapok Festival sa Apas 2026
   Landing page styles for pages/index.php
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
    --gold-1: #F0C040;
    --gold-2: #D4A017;
    --gold-3: #C9960A;
    --gold-dark: #7A5B00;
    --silver-1: #E8E8E8;
    --silver-2: #B0B0B0;
    --silver-3: #888888;
    --bg-deep: #0D0A05;
    --bg-dark: #140F07;
    --bg-card: #1C1409;
    --bg-card-2: #231A0C;
    --text-gold: #F0C040;
    --text-light: #EDE0C8;
    --text-muted: #9A8A6A;
    --border-gold: rgba(209, 160, 23, 0.35);
    --border-gold-glow: rgba(240, 192, 64, 0.6);
    --font-display: 'Cinzel', 'Georgia', serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 12px;
    --tr: 0.3s ease;
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-3);
    border-radius: 3px;
}

/* ── ORNAMENT DIVIDER ── */
.ornament-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 2.5rem;
    max-width: 480px;
}

.ornament-divider::before,
.ornament-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}

.ornament-divider span {
    color: var(--gold-1);
    font-size: 1.2rem;
}

/* ── SECTION UTILITIES ── */
.section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-2);
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #F0C040 0%, #D4A017 40%, #F0C040 70%, #C9960A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

section {
    padding: 6rem 1.5rem;
}

.section-center {
    text-align: center;
}

.section-max {
    max-width: 1100px;
    margin: 0 auto;
}

/* ── NAVBAR ── */
#mainNav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background var(--tr), padding var(--tr), box-shadow var(--tr);
}

#mainNav.scrolled {
    background: rgba(13, 10, 5, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.6rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(209, 160, 23, 0.25);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--gold-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-1);
    font-size: 1rem;
    background: rgba(209, 160, 23, 0.1);
}

.nav-brand-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-1);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.nav-brand-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
    transition: color var(--tr), background var(--tr);
}

.nav-links a:hover {
    color: var(--gold-1);
    background: rgba(240, 192, 64, 0.08);
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3)) !important;
    color: #0D0A05 !important;
    font-weight: 700 !important;
    padding: 0.45rem 1.1rem !important;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2)) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(209, 160, 23, 0.35) !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    background: none;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-1);
    border-radius: 2px;
    transition: var(--tr);
}

#mobileMenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 10, 5, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-gold);
    padding: 1rem 1.5rem;
}

#mobileMenu.open {
    display: block;
}

#mobileMenu a {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color var(--tr);
}

#mobileMenu a:hover {
    color: var(--gold-1);
}

#mobileMenu a:last-child {
    border-bottom: none;
}

/* ── HERO ── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../photos/panagtapok_background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(13, 10, 5, 0.25) 0%,
            rgba(13, 10, 5, 0.15) 40%,
            rgba(13, 10, 5, 0.5) 80%,
            rgba(13, 10, 5, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    max-width: 800px;
    width: 100%;
    animation: heroFadeUp 1.2s ease forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-1);
    background: rgba(209, 160, 23, 0.12);
    border: 1px solid rgba(209, 160, 23, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0C040 35%, #D4A017 60%, #F0C040 80%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 40px rgba(209, 160, 23, 0.35));
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--silver-1);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-event {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--gold-2);
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
}

.hero-event i {
    font-size: 0.75rem;
}

.hero-event-dot {
    width: 4px;
    height: 4px;
    background: var(--gold-2);
    border-radius: 50%;
}

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

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold-3) 100%);
    color: #0D0A05;
    box-shadow: 0 4px 20px rgba(209, 160, 23, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(209, 160, 23, 0.45);
    color: #0D0A05;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(240, 192, 64, 0.08);
    color: var(--gold-1);
    border: 1px solid rgba(209, 160, 23, 0.5);
    backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
    background: rgba(240, 192, 64, 0.15);
    border-color: var(--gold-1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(209, 160, 23, 0.2);
    color: var(--gold-1);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounceY 2s ease-in-out infinite;
}

@keyframes bounceY {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ── COUNTDOWN STRIP ── */
#countdown-strip {
    background: linear-gradient(90deg, var(--bg-dark) 0%, #1C1409 50%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 1.5rem;
}

.countdown-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.countdown-blocks {
    display: flex;
    gap: 0.75rem;
}

.cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
}

.cd-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-1);
    line-height: 1;
    text-shadow: 0 0 20px rgba(240, 192, 64, 0.4);
}

.cd-unit {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.cd-sep {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold-3);
    line-height: 1;
    align-self: flex-start;
    padding-top: 0.1rem;
}

/* ── FESTIVAL OVERVIEW ── */
#overview {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

#overview::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(209, 160, 23, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.overview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--tr);
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
    opacity: 0;
    transition: opacity var(--tr);
}

.overview-card:hover {
    border-color: rgba(209, 160, 23, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.overview-card:hover::before {
    opacity: 1;
}

.overview-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(209, 160, 23, 0.15), rgba(209, 160, 23, 0.05));
    border: 1px solid rgba(209, 160, 23, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold-1);
    margin-bottom: 1.25rem;
}

.overview-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-1);
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
}

.overview-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── ANNOUNCEMENTS / NEWS ── */
#announcements {
    background: var(--bg-deep);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--tr);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(209, 160, 23, 0.4);
}

.news-card-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-card-2), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-gold);
    position: relative;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-img-placeholder {
    font-size: 2.5rem;
    color: rgba(209, 160, 23, 0.2);
}

.news-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #0D0A05;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

.news-card-body {
    padding: 1.25rem;
}

.news-card-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.news-card-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.news-card-excerpt {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-2);
    text-decoration: none;
    margin-top: 0.85rem;
    letter-spacing: 0.06em;
    transition: gap var(--tr), color var(--tr);
}

.news-card:hover .news-card-link {
    gap: 0.6rem;
    color: var(--gold-1);
}

/* ── BARANGAY HISTORY ── */
#history {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

#history::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(209, 160, 23, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.history-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 1rem;
}

.history-img-wrap {
    position: relative;
}

.history-img-frame {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.history-img-frame::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(209, 160, 23, 0.2);
    border-radius: 8px;
    pointer-events: none;
}

.history-img-icon {
    font-size: 3.5rem;
    color: rgba(209, 160, 23, 0.15);
}

.history-img-caption {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.75rem;
}

.history-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--gold-3);
    border-style: solid;
    opacity: 0.6;
}

.history-corner.tl {
    top: -4px;
    left: -4px;
    border-width: 2px 0 0 2px;
}

.history-corner.tr {
    top: -4px;
    right: -4px;
    border-width: 2px 2px 0 0;
}

.history-corner.bl {
    bottom: -4px;
    left: -4px;
    border-width: 0 0 2px 2px;
}

.history-corner.br {
    bottom: -4px;
    right: -4px;
    border-width: 0 2px 2px 0;
}

.history-text {
    text-align: left;
}

.history-text .section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-align: left;
}

.history-text .ornament-divider {
    margin: 0 0 1.5rem;
}

.history-paragraph {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.history-stat-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.history-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.history-stat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-1);
}

.history-stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── CLUSTER SHOWCASE ── */
#clusters {
    background: var(--bg-deep);
}

.clusters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.cluster-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--tr);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.cluster-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(209, 160, 23, 0.5);
    border-color: rgba(209, 160, 23, 0.6);
}

.cluster-thumb {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-card-2) 0%, #2A1E0D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-gold);
}

.cluster-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cluster-card:hover .cluster-thumb img {
    transform: scale(1.06);
}

.cluster-thumb-icon {
    font-size: 3rem;
    color: rgba(209, 160, 23, 0.2);
}

.cluster-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(13, 10, 5, 0.7) 100%);
}

.cluster-tag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(13, 10, 5, 0.8);
    color: var(--gold-1);
    border: 1px solid rgba(209, 160, 23, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    backdrop-filter: blur(6px);
}

.cluster-body {
    padding: 1.25rem;
}

.cluster-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-1);
    margin-bottom: 0.4rem;
    letter-spacing: 0.04em;
}

.cluster-zone {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.cluster-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.cluster-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-2);
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: gap var(--tr), color var(--tr);
}

.cluster-card:hover .cluster-link {
    gap: 0.7rem;
    color: var(--gold-1);
}

/* ── SPONSORS ── */
#sponsors {
    background: var(--bg-dark);
    padding: 4rem 1.5rem;
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}

.sponsors-label {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.sponsors-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: opacity var(--tr), transform var(--tr);
    filter: grayscale(50%);
}

.sponsor-item:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0);
}

.sponsor-logo {
    width: 80px;
    height: 60px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(209, 160, 23, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--gold-2);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    padding: 0.5rem;
}

.sponsor-logo-sm {
    font-size: 0.6rem;
}

.sponsor-logo-xs {
    font-size: 0.55rem;
    line-height: 1.3;
}

.sponsor-name {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── FOOTER ── */
#footer {
    background: var(--bg-deep);
    padding: 3rem 1.5rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 2rem;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-1);
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
}

.footer-brand-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.83rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--tr);
}

.footer-links a:hover {
    color: var(--gold-1);
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(209, 160, 23, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all var(--tr);
}

.footer-social-btn:hover {
    background: rgba(209, 160, 23, 0.12);
    border-color: rgba(209, 160, 23, 0.4);
    color: var(--gold-1);
    transform: translateY(-2px);
}

/* ── SCROLL ANIMATIONS ── */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .history-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .history-text {
        text-align: center;
    }

    .history-text .section-title {
        text-align: center;
    }

    .history-text .ornament-divider {
        margin: 0 auto 1.5rem;
    }

    .history-stat-row {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    section {
        padding: 4rem 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

    .countdown-blocks {
        gap: 0.5rem;
    }

    .cd-num {
        font-size: 1.5rem;
    }

    .cd-block {
        min-width: 48px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-gold,
    .btn-outline-gold {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .sponsors-row {
        gap: 1.5rem;
    }
}

/* ============================================================
   MODERN GLASS THEME (overrides — keep at end of file)
   ============================================================ */
:root {
    --font-display: 'DM Sans', system-ui, sans-serif;
    --ink: #FFF8E7;
    --glass: rgba(255, 255, 255, .055);
    --glass-line: rgba(255, 255, 255, .12);
}

body {
    font-family: var(--font-body);
}

.section-eyebrow,
.ornament-divider {
    display: none;
}

.hero-badge,
.hero-subtitle,
.countdown-label,
.cd-unit,
.news-card-badge,
.news-card-meta,
.cluster-tag,
.cluster-zone,
.history-stat-label,
.history-img-caption,
.sponsors-label,
.sponsor-name,
.footer-col-title,
.btn-gold,
.btn-outline-gold {
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
}

/* Navigation — classic: transparent on top, solid dark after scrolling */
#mainNav {
    padding: 0;
    background: none;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background var(--tr), border-color var(--tr), box-shadow var(--tr);
}

#mainNav.scrolled {
    padding: 0;
    background: rgba(13, 10, 5, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(209, 160, 23, .25);
    box-shadow: 0 2px 30px rgba(0, 0, 0, .6);
}

.nav-inner {
    max-width: 1280px;
    min-height: 84px;
    padding: 1rem 2rem;
}

#mainNav.scrolled .nav-inner {
    min-height: 72px;
}

.nav-brand {
    min-width: 56px;
    min-height: 56px;
}

.nav-brand img {
    height: 56px;
    width: auto;
    display: block;
}

.nav-links {
    gap: .35rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 6px;
    letter-spacing: 0;
    padding: .65rem 1.1rem;
}

.nav-links a:hover {
    color: var(--gold-1);
    background: rgba(240, 192, 64, .08);
}

.nav-cta {
    font-size: 1rem !important;
    padding: .7rem 1.5rem !important;
    margin-left: .5rem;
    border-radius: 6px !important;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3)) !important;
    color: #0D0A05 !important;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2)) !important;
}

.nav-hamburger span {
    background: var(--gold-1);
}

#mobileMenu {
    top: 100%;
    left: 0;
    right: 0;
    border: 0;
    border-top: 1px solid var(--border-gold);
    border-radius: 0;
    background: rgba(13, 10, 5, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#mobileMenu a {
    color: var(--text-light);
}

/* Hero: drifting light + title rise */
.hero-bg {
    background-color: var(--bg-deep);
}

.hero-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}

.orb.o1 {
    width: 46vw;
    height: 46vw;
    background: #F0C040;
    opacity: .3;
    top: -14%;
    left: -8%;
    animation: drift1 18s ease-in-out infinite alternate;
}

.orb.o2 {
    width: 40vw;
    height: 40vw;
    background: #E2571E;
    opacity: .32;
    right: -10%;
    top: 18%;
    animation: drift2 23s ease-in-out infinite alternate;
}

.orb.o3 {
    width: 34vw;
    height: 34vw;
    background: #7A1F3D;
    opacity: .4;
    bottom: -18%;
    left: 32%;
    animation: drift3 27s ease-in-out infinite alternate;
}

@keyframes drift1 {
    to {
        transform: translate(28vw, 18vh) scale(1.2);
    }
}

@keyframes drift2 {
    to {
        transform: translate(-30vw, 22vh) scale(.85);
    }
}

@keyframes drift3 {
    to {
        transform: translate(-22vw, -20vh) scale(1.25);
    }
}

.hero-badge {
    border-radius: 8px;
    color: var(--ink);
    background: var(--glass);
    border: 1px solid var(--glass-line);
    font-size: .8rem;
    font-weight: 500;
    padding: .5rem 1.1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 5.4vw, 5.6rem);
    line-height: .95;
    letter-spacing: -.045em;
    background: none;
    filter: none;
    -webkit-text-fill-color: currentColor;
    color: var(--ink);
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 40px rgba(0, 0, 0, .5);
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(48px);
    animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero-title .line:nth-child(2) {
    animation-delay: .15s;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    color: rgba(255, 248, 231, .75);
}

.hero-event {
    font-family: var(--font-body);
    color: var(--gold-1);
    font-size: 1rem;
    letter-spacing: 0;
}

.btn-gold,
.btn-outline-gold {
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    padding: .9rem 1.9rem;
}

.btn-gold {
    background: var(--gold-1);
    box-shadow: 0 8px 30px rgba(240, 192, 64, .3);
}

.btn-gold:hover {
    background: #fff;
}

.btn-outline-gold {
    color: var(--ink);
    background: var(--glass);
    border: 1px solid var(--glass-line);
}

.btn-outline-gold:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .3);
}

.hero-scroll-indicator {
    animation: none;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(var(--gold-1), transparent);
    transform-origin: top;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
    }

    50% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(1);
        opacity: 0;
    }
}

/* Marquee */
.marquee {
    overflow: hidden;
    background: var(--bg-deep);
    padding: 1.4rem 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
}

.marquee-group span {
    font-size: clamp(1.6rem, 3.6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.03em;
    white-space: nowrap;
}

.marquee-group .solid {
    color: var(--ink);
}

.marquee-group .outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 248, 231, .5);
}

.marquee-group .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold-1);
    flex: none;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* Countdown tiles */
#countdown-strip {
    background: var(--bg-deep);
    border: 0;
    padding: 1rem 1.5rem 4rem;
}

.countdown-label {
    font-size: .9rem;
    color: var(--text-muted);
    width: 100%;
    text-align: center;
}

.cd-block {
    min-width: 84px;
    padding: 1rem .5rem;
    border-radius: 14px;
    background: var(--glass);
    border: 1px solid var(--glass-line);
}

.cd-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: -.03em;
    color: var(--ink);
    text-shadow: none;
    font-variant-numeric: tabular-nums;
}

.cd-sep {
    display: none;
}

.countdown-blocks {
    gap: .75rem;
}

/* Headings */
.section-title,
.history-text .section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    letter-spacing: -.035em;
    line-height: 1.05;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--ink);
    margin-bottom: 1rem;
}

.history-text .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-subtitle {
    font-size: 1.05rem;
}

section {
    padding: 7rem 1.5rem;
}

/* Glass cards + cursor glow */
.overview-card,
.news-card,
.cluster-card {
    position: relative;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, .07) 100%);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 12px 40px rgba(0, 0, 0, .3);
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, background .3s ease;
}

.overview-card::before,
.news-card::before,
.cluster-card::before {
    content: '';
    position: absolute;
    inset: 0;
    height: auto;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity .3s ease;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 192, 64, .13), transparent 60%);
}

.overview-card:hover::before,
.news-card:hover::before,
.cluster-card:hover::before {
    opacity: 1;
}

.overview-card:hover,
.news-card:hover,
.cluster-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 192, 64, .35);
    background: rgba(255, 255, 255, .075);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.overview-card {
    padding: 2.25rem;
}

.overview-card h3,
.news-card-title,
.cluster-name {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -.02em;
}

.overview-card h3 {
    font-size: 1.4rem;
    margin-bottom: .75rem;
}

.news-card-title {
    font-size: 1.1rem;
}

.cluster-name {
    font-size: 1.25rem;
}

.overview-card p,
.news-card-excerpt,
.cluster-desc {
    font-size: .92rem;
}

.news-card-link,
.cluster-link {
    color: var(--gold-1);
    letter-spacing: 0;
    font-size: .85rem;
}

.news-card-meta,
.cluster-zone {
    letter-spacing: 0;
    font-size: .8rem;
    font-weight: 500;
}

.news-card-badge,
.cluster-tag {
    border-radius: 10px;
    letter-spacing: 0;
    font-size: .72rem;
    font-weight: 600;
    padding: .3rem .8rem;
}

.news-card-badge {
    background: var(--gold-1);
}

.cluster-tag {
    background: rgba(255, 255, 255, .12);
    color: var(--ink);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(12px);
}


/* Animated gradient placeholders (replace icons; real photos cover them) */
.news-card-img,
.cluster-thumb,
.history-img-frame {
    background: linear-gradient(125deg, #2A1E0D, #6a2f12, #3a1226, #2A1E0D);
    background-size: 300% 300%;
    animation: gradShift 14s ease infinite;
    border-bottom: 0;
}

.history-img-frame {
    border-radius: 18px;
    border: 1px solid var(--glass-line);
}

.history-img-frame::before,
.history-corner {
    display: none;
}

@keyframes gradShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.history-stat-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: -.03em;
    color: var(--ink);
}

.history-stat-label {
    letter-spacing: 0;
    font-size: .8rem;
}

#overview,
#history,
#sponsors {
    background: var(--bg-deep);
}

#sponsors,
#footer {
    border-color: rgba(255, 255, 255, .07);
}

.footer-brand-name {
    color: var(--ink);
    letter-spacing: -.01em;
}

.footer-col-title {
    color: var(--ink);
    font-size: .85rem;
    letter-spacing: 0;
}

/* Softer scroll reveal */
.fade-in-up {
    transform: translateY(24px) scale(.98);
    filter: blur(6px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease;
}

.fade-in-up.visible {
    transform: none;
    filter: none;
}

@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .cd-block {
        min-width: 66px;
    }

    .cd-num {
        font-size: 1.7rem;
    }

    section {
        padding: 5rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .fade-in-up,
    .hero-title .line {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* Ambient liquid background (page-wide) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(45vw 45vw at 12% 18%, rgba(240, 192, 64, .16), transparent 65%),
        radial-gradient(40vw 40vw at 88% 55%, rgba(226, 87, 30, .14), transparent 65%),
        radial-gradient(48vw 48vw at 40% 100%, rgba(122, 31, 61, .26), transparent 65%);
    background-size: 140% 140%;
    animation: ambient 26s ease-in-out infinite alternate;
}

@keyframes ambient {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 100% 100%;
    }
}

#overview,
#announcements,
#history,
#clusters,
#sponsors,
#footer,
#countdown-strip,
.marquee {
    background: transparent;
}

/* Hero layout: photo centered, your title image + details at the bottom */
#hero {
    align-items: flex-end;
}

.hero-content {
    max-width: 1200px;
    padding: 8rem 1.5rem 4.5rem;
    text-align: center;
    display: block;
}

.hero-title-img {
    display: block;
    max-width: min(720px, 90%);
    height: auto;
    margin: 0 auto 1.5rem;
}

.hero-badge {
    margin-bottom: 1.25rem;
}

.hero-event {
    margin-bottom: 1.75rem;
}

.hero-actions {
    justify-content: center;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(13, 10, 5, .2) 0%, rgba(13, 10, 5, .05) 45%, rgba(13, 10, 5, .6) 78%, rgba(13, 10, 5, 1) 100%);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero title image (front_text.png) — large, centered over the photo */
.hero-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 3rem;
}

.hero-title-wrap {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 0;
    line-height: 0;
    width: max-content;
    max-width: 100vw;
    pointer-events: none;
    z-index: 1;
}

.hero-title-img {
    display: block;
    width: min(98vw, 104vh, 1365px);
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .8)) drop-shadow(0 0 14px rgba(0, 0, 0, .6)) drop-shadow(0 10px 30px rgba(0, 0, 0, .5));
    animation: titleFloat 8s ease-in-out infinite;
}

.hero-event,
.hero-actions {
    position: relative;
    z-index: 3;
}

@keyframes titleFloat {
    50% {
        transform: translateY(-8px);
    }
}

.hero-overlay {
    background:
        radial-gradient(ellipse 55% 62% at 50% 52%, rgba(13, 10, 5, .22), transparent 78%),
        linear-gradient(180deg, rgba(13, 10, 5, .3) 0%, rgba(13, 10, 5, .24) 50%, rgba(13, 10, 5, .6) 70%, rgba(13, 10, 5, .92) 88%, rgba(13, 10, 5, 1) 100%);
}

/* ============ Festival energy ============ */
.hero-rays {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 170vmax;
    height: 170vmax;
    margin: -85vmax 0 0 -85vmax;
    pointer-events: none;
    will-change: transform;
    background: repeating-conic-gradient(from 0deg, rgba(240, 192, 64, .22) 0deg 5deg, transparent 5deg 15deg);
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 42%);
    mask-image: radial-gradient(circle, #000 0%, transparent 42%);
    animation: raysSpin 120s linear infinite;
}

@keyframes raysSpin {
    to {
        transform: rotate(360deg);
    }
}

.bunting {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
    z-index: 1;
}

.bunting svg {
    display: block;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45));
}

.flag {
    transform-box: fill-box;
    transform-origin: 50% 0;
    animation: flagSway 3.2s ease-in-out infinite alternate;
}

@keyframes flagSway {
    from {
        transform: rotate(-7deg);
    }

    to {
        transform: rotate(7deg);
    }
}

#heroConfetti {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Ribbon band */
.marquee {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 2.5rem 0 1.5rem;
    padding: 1.1rem 0;
    background: linear-gradient(90deg, #D6285B, #E2571E, #F0C040, #E2571E, #D6285B);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

.marquee-group .solid {
    color: #1A0F05;
}

.marquee-group .outline {
    -webkit-text-stroke: 1.5px rgba(26, 15, 5, .85);
}

.marquee-group .dot {
    background: #1A0F05;
}

/* Significance + October 25 sections */
.history-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gold-1);
    margin: -.25rem 0 1.5rem;
}

.celebration-text {
    max-width: 760px;
    margin: 0 auto;
}

.celebration-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.celebration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2.5rem auto;
}

.celebration-closing {
    text-align: center;
    margin-top: 4rem;
}

.celebration-closing h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.6rem);
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: .75rem;
}

.celebration-closing p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.celebration-closing span {
    display: inline-block;
}

.celebration-closing strong {
    display: inline-block;
    color: var(--gold-1);
    font-weight: 600;
}

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

/* Cluster grid: exactly four clusters */
.clusters-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .clusters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .clusters-grid {
        grid-template-columns: 1fr;
    }
}

/* Video in the significance section */
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
    background: #000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.history-img-caption a {
    color: var(--gold-1);
}

/* Clusters with photos */
.cluster-thumb {
    height: 260px;
}

.cluster-tag {
    text-transform: none;
    letter-spacing: 0;
    font-size: .75rem;
}

.clusters-note {
    max-width: 760px;
    margin: 4rem auto 0;
}

.clusters-note p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.clusters-quote {
    margin: 2rem 0;
    padding: 0;
    border: 0;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.3;
    letter-spacing: -.02em;
    color: var(--gold-1);
}

.clusters-note .clusters-questions {
    color: var(--ink);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Event details + Hotelista theme */
.event-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-top: 1.25rem;
}

.event-facts span {
    padding: .45rem 1rem;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
}

.theme-body .event-facts {
    justify-content: flex-start;
    margin: 1.5rem 0;
}

.theme-feature {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1080px;
    margin: 3rem auto;
    padding: 1.5rem;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 40px rgba(0, 0, 0, .3);
}

.theme-photo img,
.theme-photo-empty {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
}

.theme-photo-empty {
    background: linear-gradient(125deg, #2A1E0D, #6a2f12, #3a1226, #2A1E0D);
    background-size: 300% 300%;
    animation: gradShift 14s ease infinite;
}

.theme-kicker {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: var(--gold-1);
    margin-bottom: .5rem;
}

.theme-body h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.theme-body p {
    font-size: .98rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.theme-body .theme-questions {
    color: var(--ink);
    font-weight: 600;
}

.theme-body a {
    color: var(--gold-1);
}

@media (max-width: 900px) {
    .theme-feature {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Slightly brighter text site-wide (still soft, easier to read) */
:root {
    --text-muted: #C6BBA3;
    --text-light: #F3EBDA;
}

img,
iframe,
video {
    max-width: 100%;
}

/* Grand video + description below */
.video-hero {
    max-width: 1200px;
    margin: 3rem auto 0;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #000 center / cover no-repeat;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 120px rgba(240, 192, 64, .14);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.history-img-caption {
    font-size: .85rem;
    letter-spacing: 0;
    text-transform: none;
}

.significance-body {
    max-width: 1100px;
    margin: 4rem auto 0;
}

.significance-text {
    column-count: 2;
    column-gap: 3.5rem;
}

.significance-text .history-paragraph {
    font-size: 1.05rem;
    line-height: 1.95;
    break-inside: avoid-column;
}

.significance-body .history-stat-row {
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.significance-body .history-stat {
    align-items: center;
}

@media (max-width: 900px) {
    .significance-text {
        column-count: 1;
    }

    .video-hero {
        margin-top: 2rem;
    }

    .video-frame {
        border-radius: 14px;
    }

    .significance-body {
        margin-top: 2.5rem;
    }

    .significance-body .history-stat-row {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .significance-text .history-paragraph {
        font-size: 1rem;
        line-height: 1.85;
    }

    .history-subtitle {
        font-size: 1rem;
    }
}

/* ============ Richer page background + straight ribbon ============ */
/* Straight ribbon */
.marquee {
    transform: none;
    width: 100%;
    margin: 0;
    border-block: 1px solid rgba(255, 255, 255, .28);
}

/* Hero fades into the page instead of ending in a hard black edge */
.hero-bg,
.hero-orbs,
.hero-rays,
.hero-overlay {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
}

/* Colorful, slowly drifting glow behind the whole page */
body::before {
    background:
        radial-gradient(55vw 50vw at 8% 8%, rgba(240, 192, 64, .24), transparent 62%),
        radial-gradient(50vw 50vw at 96% 30%, rgba(214, 40, 91, .22), transparent 62%),
        radial-gradient(55vw 50vw at 12% 70%, rgba(226, 87, 30, .20), transparent 62%),
        radial-gradient(50vw 50vw at 88% 92%, rgba(31, 169, 160, .16), transparent 62%),
        radial-gradient(45vw 45vw at 50% 50%, rgba(122, 31, 61, .22), transparent 65%);
    background-size: 140% 140%;
}

/* Each section gets its own tint so scrolling feels layered, with a glowing top line */
#announcements,
#significance,
#clusters,
#celebration {
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(240, 192, 64, .45), transparent) 1;
}

#announcements {
    background: linear-gradient(180deg, transparent 0%, rgba(122, 31, 61, .24) 50%, transparent 100%);
}

#significance {
    background: radial-gradient(ellipse 80% 55% at 50% 20%, rgba(240, 192, 64, .10), transparent 70%);
}

#clusters {
    background: linear-gradient(180deg, transparent 0%, rgba(226, 87, 30, .14) 50%, transparent 100%);
}

#celebration {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(214, 40, 91, .18), transparent 70%),
        radial-gradient(ellipse 70% 45% at 50% 100%, rgba(240, 192, 64, .12), transparent 70%);
}


/* ============================================================
   EVENT TIMELINE (Final Venue & Event Flow section)
   Straight line, alternating points, name always visible,
   photo + description reveal on hover / tap.
   ============================================================ */
.route-timeline {
    position: relative;
    max-width: 880px;
    margin: 3.5rem auto 0;
    padding: 0.5rem 0;
}

.route-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 2px;
    transform: translateX(-50%);
    background-image: repeating-linear-gradient(to bottom,
            var(--gold-1) 0 10px,
            transparent 10px 18px);
    opacity: 0.7;
    z-index: 0;
}

.tl-item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 52px 1fr;
    align-items: start;
    column-gap: 1.5rem;
    margin-bottom: 2.5rem;
    outline: none;
}

.tl-item:last-child {
    margin-bottom: 0;
}

.tl-node {
    grid-column: 2;
    display: flex;
    justify-content: center;
    padding-top: 0.1rem;
}

.tl-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold-1);
    color: #1A0F05;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .9rem;
    border: 3px solid var(--bg-deep);
    box-shadow: 0 0 0 4px rgba(240, 192, 64, .22), 0 4px 14px rgba(0, 0, 0, .5);
    position: relative;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tl-dot::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(240, 192, 64, .45);
    animation: pinPulse 2.4s ease-out infinite;
}

.tl-item:hover .tl-dot,
.tl-item:focus-within .tl-dot,
.tl-item.active .tl-dot {
    transform: scale(1.12);
    box-shadow: 0 0 0 5px rgba(240, 192, 64, .3), 0 6px 18px rgba(0, 0, 0, .55);
}

.tl-content {
    cursor: pointer;
}

.tl-item.tl-left .tl-content {
    grid-column: 1;
    text-align: right;
}

.tl-item.tl-right .tl-content {
    grid-column: 3;
    text-align: left;
}

.tl-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gold-1);
    margin-bottom: .3rem;
}

.tl-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink, var(--text-light));
    line-height: 1.3;
    transition: color .2s ease;
}

.tl-item:hover .tl-name,
.tl-item:focus-within .tl-name,
.tl-item.active .tl-name {
    color: var(--gold-1);
}

.tl-more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .45s ease, opacity .35s ease, margin-top .35s ease;
}

.tl-item:hover .tl-more,
.tl-item:focus-within .tl-more,
.tl-item.active .tl-more {
    max-height: 320px;
    opacity: 1;
    margin-top: .85rem;
}

.tl-photo {
    width: 100%;
    max-width: 260px;
    height: 140px;
    border-radius: 12px;
    background: linear-gradient(125deg, #2A1E0D, #6a2f12, #3a1226, #2A1E0D);
    background-size: 300% 300%, cover;
    background-position: center;
    animation: gradShift 14s ease infinite;
    margin-bottom: .6rem;
}

.tl-item.tl-left .tl-photo,
.tl-item.tl-left .tl-desc {
    margin-left: auto;
}

.tl-item.tl-right .tl-photo,
.tl-item.tl-right .tl-desc {
    margin-right: auto;
}

.tl-desc {
    max-width: 300px;
    font-size: .86rem;
    line-height: 1.7;
    color: var(--text-muted);
}

@media (max-width: 700px) {
    .route-timeline::before {
        left: 20px;
    }

    .tl-item {
        grid-template-columns: 40px 1fr;
        column-gap: 1rem;
    }

    .tl-node {
        grid-column: 1;
        justify-content: flex-start;
        padding-left: 3px;
    }

    .tl-item.tl-left .tl-content,
    .tl-item.tl-right .tl-content {
        grid-column: 2;
        text-align: left;
    }

    .tl-item.tl-left .tl-photo,
    .tl-item.tl-left .tl-desc,
    .tl-item.tl-right .tl-photo,
    .tl-item.tl-right .tl-desc {
        margin-left: 0;
        margin-right: auto;
    }

    .tl-dot {
        width: 30px;
        height: 30px;
        font-size: .8rem;
    }
}

/* ============================================================
   VOTING "COMING SOON" MODAL
   ============================================================ */
.vote-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(8, 6, 3, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.vote-modal.open {
    opacity: 1;
    visibility: visible;
}

.vote-modal-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    text-align: center;
    padding: 2.5rem 2rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(209, 160, 23, .15);
    transform: translateY(18px) scale(.95);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.vote-modal.open .vote-modal-box {
    transform: none;
}

.vote-modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s ease;
}

.vote-modal-close:hover {
    background: rgba(240, 192, 64, .15);
    color: var(--gold-1);
}

.vote-modal-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #0D0A05;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    border-radius: 50%;
    box-shadow: 0 0 28px rgba(240, 192, 64, .35);
}

.vote-modal-tag {
    display: inline-block;
    margin-bottom: .6rem;
    padding: .2rem .8rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold-1);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
}

.vote-modal-box h2 {
    margin: 0 0 .6rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-gold);
}

.vote-modal-box p {
    margin: 0 0 1.6rem;
    font-size: .95rem;
    line-height: 1.6;
    color: var(--text-light);
}

body.vote-modal-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {

    .vote-modal,
    .vote-modal-box {
        transition: none;
    }
}

/* ============================================================
   NEWS & ANNOUNCEMENTS — plain text list (no images, no cards)
   ============================================================ */
.news-list {
    max-width: 780px;
    margin: 3rem auto 0;
}

.news-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-gold);
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item-date {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 0.4rem;
}

.news-item-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-light);
    margin: 0 0 0.5rem;
}

.news-item-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================
   PARTNERS & SPONSORS — image logos (p1 – p4)
   ============================================================ */
.sponsor-img-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 160px;
    transition: transform var(--tr);
}

.sponsor-img-item:hover {
    transform: scale(1.06);
}

.sponsor-img-item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.sponsor-img-name {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .sponsor-img-item {
        width: 120px;
    }

    .sponsor-img-item img {
        height: 80px;
    }
}

/* ── Partners & Sponsors label: make it clearly visible ── */
#sponsors .sponsors-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 2.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-gold);
    text-align: center;
}

#sponsors .sponsors-label::before,
#sponsors .sponsors-label::after {
    content: "";
    flex: 0 1 70px;
    height: 1px;
    background: var(--border-gold-glow);
}

@media (max-width: 600px) {
    #sponsors .sponsors-label {
        font-size: 1rem;
    }
}