@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #f29fc0;
    --primary-color-dark: #d87aa1;
    --secondary-color: #8A5FAC;
    --bg: transparent;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-strong: rgba(255, 255, 255, 0.92);
    --text: #5b5563;
    --muted: #8f8796;
    --line: rgba(241, 220, 230, 0.75);

    --success: #57be6a;
    --warning: #e7c97f;
    --danger: #dc3545;

    --shadow: 0 10px 40px rgba(220, 214, 255, 0.35);
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.06);

    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;

    --container: 1120px;
}

/* Base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Prompt", sans-serif;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

button,
input,
textarea,
select {
    font-family: "Prompt", sans-serif;
}

.container,
main {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    position: relative;
    z-index: 2;
}

section {
    margin-block: 24px;
}

.hidden {
    display: none !important;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.brand-badge {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffe6f2, #e8edff);
    box-shadow: var(--shadow-soft);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a,
.mobile-nav a {
    font-weight: 600;
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 999px;
}

.nav a.active,
.nav a:hover,
.mobile-nav a.active,
.mobile-nav a:hover {
    color: var(--secondary-color);
    background: rgba(138, 95, 172, 0.08);
}

.menu-toggle {
    display: none;
    border: none;
    background: rgba(255, 255, 255, 0.86);
    color: var(--secondary-color);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.mobile-nav {
    width: min(100% - 32px, var(--container));
    margin: 0 auto 12px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Cards */
.card,
.hero-card,
.kpi,
.cta-card,
.sport-card,
.glass-card {
    background: var(--panel);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
}

.card-header,
.card-body,
.hero-card {
    padding: 24px;
}

.hero-card {
    text-align: center;
}

.card-header h2,
.section-head h2,
.cta-card h2 {
    margin: 0 0 8px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.card-header p,
.section-head p,
.cta-card p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

/* Hero */
.hero-section {
    padding-top: 10px;
}

.hero-sport {
    position: relative;
    overflow: hidden;
    padding: 44px 28px 64px;
    background: linear-gradient(120deg, rgba(255, 230, 240, 0.88) 0%, rgba(230, 240, 255, 0.88) 100%);
}

.hero-sport::before,
.hero-sport::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    z-index: 0;
}

.hero-sport::before {
    width: 240px;
    height: 240px;
    top: -60px;
    left: -70px;
    background: radial-gradient(circle, rgba(242, 159, 192, 0.22), transparent 70%);
}

.hero-sport::after {
    width: 300px;
    height: 300px;
    bottom: -90px;
    right: -80px;
    background: radial-gradient(circle, rgba(142, 197, 252, 0.24), transparent 70%);
}

.hero-card>* {
    position: relative;
    z-index: 1;
}

.hero-badge-wrap {
    margin-bottom: 14px;
}

#heroTitle {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    background: linear-gradient(90deg, #8A5FAC, #f29fc0);
    -webkit-text-fill-color: transparent;
    margin: 0 0 14px;
    line-height: 1.15;
}

.hero-desc {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.03rem;
    line-height: 1.8;
    color: var(--text);
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-floating-cards {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.mini-float-card {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
    color: var(--secondary-color);
    font-weight: 700;
    animation: floating 4.5s ease-in-out infinite;
}

.mini-float-card:nth-child(2) {
    animation-duration: 5.2s;
}

.mini-float-card:nth-child(3) {
    animation-duration: 5.8s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

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

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.badge.success {
    background: #eafaf0;
    border-color: #c3e6cb;
    color: var(--success);
}

.badge.warning {
    background: #fff8e6;
    border-color: #ffeeba;
    color: #b8860b;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 22px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
}

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

.btn-primary {
    background: linear-gradient(90deg, #70a1d7 0%, #b4e1e8 100%);
    color: #594a98;
    box-shadow: 0 4px 15px rgba(112, 161, 215, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #b4e1e8 0%, #70a1d7 100%);
    color: #8A5FAC;
    box-shadow: 0 6px 20px rgba(112, 161, 215, 0.6);
}

.btn-secondary {
    background: #ffffff;
    color: var(--secondary-color);
    border: 2px solid #ececec;
}

.btn-secondary:hover {
    border-color: #a78bfa;
    color: #594a98;
}

/* Grids */
.grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* KPI */
.kpi {
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.kpi .n {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.kpi .t {
    color: var(--muted);
    font-weight: 500;
    margin-top: 6px;
}

/* Promo video */
/* Promo video */
.video-feature {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 22px;
    align-items: stretch;
}

.video-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #000;
    min-height: unset;
    margin: 0 auto;
}

.video-frame iframe,
.video-frame #promoPlayer,
.video-frame #promoPlayer iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

.video-side-info {
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.video-side-info h3 {
    margin: 0;
    color: var(--secondary-color);
}

.video-side-info p {
    margin: 0;
    line-height: 1.7;
}

/* Section head */
.section-head {
    margin-bottom: 16px;
}

/* Sport cards accordion */
.sports-stack {
    display: grid;
    gap: 18px;
}

.sport-card {
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sport-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(138, 95, 172, 0.14);
}

.sport-toggle {
    width: 100%;
    border: none;
    background: transparent;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.sport-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sport-main h3 {
    margin: 0 0 4px;
    color: var(--secondary-color);
}

.sport-main p {
    margin: 0;
    color: var(--muted);
}

.sport-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    background: linear-gradient(135deg, #ffe6f2, #e6f0ff);
    box-shadow: var(--shadow-soft);
    flex: 0 0 auto;
}

.sport-toggle-indicator {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(138, 95, 172, 0.1);
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 700;
    transition: transform 0.35s ease, background 0.3s ease;
    flex: 0 0 auto;
}

.sport-card.open .sport-toggle-indicator {
    transform: rotate(45deg);
    background: rgba(242, 159, 192, 0.16);
}

.sport-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.sport-content-inner {
    padding: 0 24px 24px;
}

.sport-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.sport-detail {
    margin: 0 0 14px;
    line-height: 1.8;
}

.sport-video-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: flex-start;
}

.sport-pill {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fdf0f7, #eef3ff);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

/* Pretty list */
.pretty-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    line-height: 1.7;
}

/* Timeline */
.timeline {
    position: relative;
    display: grid;
    gap: 18px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f29fc0, #8ec5fc);
    opacity: 0.55;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
    align-items: start;
}

.timeline-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f29fc0, #8ec5fc);
    box-shadow: 0 4px 14px rgba(138, 95, 172, 0.2);
    position: relative;
    z-index: 1;
}

.timeline-content {
    padding: 18px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.timeline-content h3 {
    margin: 0 0 6px;
    color: var(--secondary-color);
}

.timeline-content p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

/* Rules */
.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.rule-box {
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
}

.rule-box h3 {
    margin: 0 0 12px;
    color: var(--secondary-color);
}

.rule-links {
    display: grid;
    gap: 10px;
}

.rule-links a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 600;
    color: var(--secondary-color);
}

.rule-links a:hover {
    transform: translateX(4px);
    background: #faf7ff;
}

/* CTA */
.cta-card {
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(120deg, rgba(255, 245, 249, 0.88), rgba(235, 244, 255, 0.88));
}

/* Footer */
.footer {
    text-align: center;
    padding: 34px 16px 42px;
    color: var(--muted);
    font-weight: 600;
}

/* Reveal animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(32px);
}

.reveal-left {
    transform: translateX(-34px);
}

.reveal-right {
    transform: translateX(34px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

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

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

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

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

/* Responsive */
@media (max-width: 980px) {

    .video-feature,
    .sport-grid,
    .rules-grid,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-card {
        display: grid;
    }

    .video-frame {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero-sport {
        padding: 36px 18px 48px;
    }

    #heroTitle {
        font-size: 2rem;
    }

    .sport-toggle {
        padding: 18px;
        align-items: flex-start;
    }

    .sport-main {
        align-items: flex-start;
    }

    .sport-content-inner {
        padding: 0 18px 18px;
    }

    .sport-grid {
        padding: 16px;
    }

    #promo .card {
        overflow: hidden;
    }

    #promo .card-header {
        padding-bottom: 10px;
    }

    #promo .card-body {
        padding: 16px;
    }

    .video-feature {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .video-frame {
        width: min(88vw, 420px);
        max-width: 420px;
        aspect-ratio: 9 / 16;
        border-radius: 18px;
    }

    .video-side-info {
        padding: 16px;
    }

    .timeline-item {
        grid-template-columns: 24px 1fr;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-dot {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 560px) {

    .container,
    main {
        width: min(100% - 20px, var(--container));
    }

    section {
        margin-block: 18px;
    }

    .card-header,
    .card-body,
    .hero-card {
        padding: 18px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .mini-float-card {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .sport-main {
        gap: 12px;
    }

    .sport-icon {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .sport-toggle-indicator {
        width: 38px;
        height: 38px;
    }

    #promo {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    #promo .card {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    #promo .card-header {
        padding: 18px 16px 10px;
    }

    #promo .card-body {
        padding: 0 0 16px;
    }

    .video-frame {
        width: min(92vw, 430px);
        aspect-ratio: 9 / 16;
        border-radius: 18px;
        margin: 0 auto;
    }

    .video-side-info {
        margin: 16px;
        border-radius: 18px;
        padding: 18px;
    }

    .rule-box {
        padding: 18px;
    }

    .cta-card {
        padding: 22px 18px;
    }
}