* {
    box-sizing: border-box;
}
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    background: rgba(7, 16, 56, 0.72);
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.14);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(10, 24, 78, 0.9);
    border-color: rgba(126, 231, 255, 0.24);
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.22);
}

.back-to-top:active {
    transform: translateY(1px);
}

.back-to-top:focus-visible {
    outline: 2px solid rgba(126, 231, 255, 0.45);
    outline-offset: 3px;
}

.back-to-top__chevron {
    width: 12px;
    height: 12px;
    border-left: 3px solid #ffffff;
    border-top: 3px solid #ffffff;
    transform: rotate(45deg);
    margin-top: 4px;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }

    .back-to-top__chevron {
        width: 10px;
        height: 10px;
        border-left-width: 2.5px;
        border-top-width: 2.5px;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #02051a;
    color: white;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
}

.section-grid-bg {
    position: relative;
}

.section-grid-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.28;
    pointer-events: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #f3d487;
    color: #022763;
    box-shadow: 0 0 24px rgba(243, 212, 135, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.glow-title {
    color: #ffffff;
    text-shadow:
        0 0 18px rgba(255,255,255,0.34),
        0 0 38px rgba(255,255,255,0.18);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(89, 162, 255, 0.22);
    background: rgba(18, 30, 74, 0.52);
    color: #eef6ff;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 24px rgba(62, 131, 255, 0.16);
}

.eyebrow::before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #59e8ff;
    box-shadow: 0 0 14px rgba(89, 232, 255, 0.85);
}

.corner-dots {
    display: flex;
    gap: 12px;
}

.corner-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffd83d;
    box-shadow: 0 0 12px rgba(255, 216, 61, 0.8);
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, 1400px);
    }

    .btn {
        width: 100%;
    }
}
body.modal-open {
    overflow: hidden;
}

.reveal-init {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-banner__content.reveal-init,
.rules-explained__header.reveal-init,
.footer-cta__content.reveal-init,
.news-article__header.reveal-init {
    transform: translateY(38px);
}

.video-card,
.rules-explained__card,
.rule-highlights__card,
.news-card {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.video-card:hover,
.rules-explained__card:hover,
.rule-highlights__card:hover,
.news-card:hover {
    box-shadow: 0 0 36px rgba(37, 99, 235, 0.18);
}