*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #f0f0f0;
    overflow-x: hidden;
}

#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-content {
    position: relative;
    z-index: 1;
}

/* ── Glass Panel ── */

.glass-panel {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 4rem 3rem;
}

/* ── Hero Section ── */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #c41e2a;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 200;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: #6b1520;
    margin: 0 auto 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(140, 20, 30, 0.3);
    border: 1px solid rgba(180, 30, 45, 0.5);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
}

.hero-cta:hover {
    background: rgba(180, 30, 45, 0.5);
    border-color: rgba(200, 40, 55, 0.7);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.3s;
}

.scroll-indicator .chevron {
    animation: bounceDown 2s ease infinite;
}

/* ── Section Shared ── */

section {
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #c41e2a;
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
}

.section-title .accent {
    color: #c41e2a;
}

.section-divider {
    width: 40px;
    height: 2px;
    background: #6b1520;
    margin: 0 auto 3rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── About Section ── */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #c41e2a;
    margin-bottom: 1rem;
}

.about-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #fff;
}

.about-heading .accent {
    color: #c41e2a;
    font-style: italic;
}

.about-text {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #c41e2a;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.about-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
}

.season-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    text-align: right;
    animation: floatBadge 3s ease-in-out infinite;
}

.season-badge-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c41e2a;
}

.season-badge-name {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
}

/* ── Features Section ── */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(100, 100, 100, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 1.25rem;
    color: #c41e2a;
    line-height: 0;
}

.feature-eyebrow {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c41e2a;
    margin-bottom: 0.75rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}

/* ── Format Section ── */

.format-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.format-description a {
    color: #c41e2a;
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 30, 42, 0.3);
    transition: border-color 0.2s;
}

.format-description a:hover {
    border-color: #c41e2a;
}

.format-steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.format-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
}

.format-step.right {
    flex-direction: row-reverse;
    text-align: right;
}

.step-number-block {
    flex-shrink: 0;
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(196, 30, 42, 0.3);
    position: absolute;
    top: -4px;
    left: 0;
}

.step-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(196, 30, 42, 0.4);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c41e2a;
    line-height: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.75rem;
}

.step-text {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}

/* ── FAQ Section ── */

.faq-list {
    max-width: 700px;
    margin: 2rem auto 0;
}

.faq-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: rgba(255, 255, 255, 0.8);
}

.faq-chevron {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding-bottom: 1.5rem;
    border-left: 2px solid #6b1520;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}

/* ── Rules Page ── */

.rules-header {
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #c41e2a;
}

.rules-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #c41e2a;
    margin-bottom: 1rem;
}

.rules-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}

.rules-title .accent {
    color: #c41e2a;
}

.rules-divider {
    width: 40px;
    height: 2px;
    background: #6b1520;
    margin: 0 auto 1.5rem;
}

.rules-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

.rules-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

.rules-placeholder {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 4rem 3rem;
    text-align: center;
}

.placeholder-icon {
    font-size: 2rem;
    color: rgba(196, 30, 42, 0.4);
    margin-bottom: 1.5rem;
}

.placeholder-heading {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.placeholder-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

/* ── Rules Content ── */

.rules-toc {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
}

.rules-toc-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c41e2a;
    margin-bottom: 1.25rem;
}

.rules-toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    gap: 0.6rem 2rem;
    counter-reset: toc-counter;
}

.rules-toc-list li {
    counter-increment: toc-counter;
}

.rules-toc-list li a::before {
    content: "§" counter(toc-counter) ". ";
    color: #c41e2a;
    font-weight: 500;
}

.rules-toc-list a {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.6;
}

.rules-toc-list a:hover {
    color: #c41e2a;
}

.rule-section {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 2rem 2.5rem;
    margin-bottom: 1.25rem;
}

.rule-section-heading {
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.rule-section-heading .accent {
    color: #c41e2a;
}

.rule-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.75rem;
}

.rule-text:last-child {
    margin-bottom: 0;
}

.rule-text strong {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.rule-text em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
}

.rule-list {
    list-style: none;
    margin: 0.5rem 0 0.75rem 1.25rem;
}

.rule-list li {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    position: relative;
    padding-left: 1rem;
}

.rule-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c41e2a;
}

.rule-note {
    font-size: 0.9rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.rules-updated {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .rule-section {
        padding: 1.5rem 1.25rem;
    }

    .rules-toc-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ── Footer ── */

.site-footer {
    text-align: center;
    padding: 4rem 2rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #c41e2a;
}

.footer-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.footer-disclaimer {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.05em;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── Animations ── */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.rules-header .fade-in:nth-child(1) { animation-delay: 0.1s; }
.rules-header .fade-in:nth-child(2) { animation-delay: 0.2s; }
.rules-header .fade-in:nth-child(3) { animation-delay: 0.3s; }
.rules-header .fade-in:nth-child(4) { animation-delay: 0.4s; }
.rules-header .fade-in:nth-child(5) { animation-delay: 0.5s; }

.rules-container > .fade-in:nth-child(1) { animation-delay: 0.3s; }
.rules-container > .fade-in:nth-child(2) { animation-delay: 0.4s; }
.rules-container > .fade-in:nth-child(3) { animation-delay: 0.5s; }
.rules-container > .fade-in:nth-child(4) { animation-delay: 0.55s; }
.rules-container > .fade-in:nth-child(5) { animation-delay: 0.6s; }
.rules-container > .fade-in:nth-child(6) { animation-delay: 0.65s; }
.rules-container > .fade-in:nth-child(7) { animation-delay: 0.7s; }
.rules-container > .fade-in:nth-child(8) { animation-delay: 0.75s; }
.rules-container > .fade-in:nth-child(9) { animation-delay: 0.8s; }
.rules-container > .fade-in:nth-child(10) { animation-delay: 0.85s; }
.rules-container > .fade-in:nth-child(11) { animation-delay: 0.9s; }
.rules-container > .fade-in:nth-child(12) { animation-delay: 0.95s; }

/* ── Responsive ── */

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .format-step,
    .format-step.right {
        flex-direction: column;
        text-align: left;
    }

    .glass-panel {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 600px) {
    section {
        padding: 4rem 1rem;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .hero-title {
        letter-spacing: 0.12em;
    }

    .glass-panel {
        padding: 2rem 1.25rem;
    }
}
