*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #030D08;
    --bg-card: #0D1F13;
    --bg-card2: #0A1A0F;
    --border: #1A3320;
    --accent: #1DB954;
    --accent-dim: rgba(29, 185, 84, 0.12);
    --accent-glow: rgba(29, 185, 84, 0.25);
    --text: #ECECEC;
    --text-sec: #7A9480;
    --text-dim: #3D6045;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(3, 13, 8, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: .08em;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-sec);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--accent);
    color: #000 !important;
    padding: .45rem 1.2rem;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: .85rem !important;
    transition: background .2s, transform .15s !important;
}

.nav-cta:hover {
    background: #22d460 !important;
    transform: translateY(-1px);
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    padding: 100px clamp(1.5rem, 5vw, 4rem) 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent-dim);
    border: 1px solid rgba(29, 185, 84, .3);
    color: var(--accent);
    padding: .35rem 1rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
    content: '●';
    font-size: .5rem;
    animation: blink 1.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .2;
    }
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.0;
    letter-spacing: .02em;
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    color: var(--accent);
}

.hero-title .line-break {
    display: block;
}

.hero-desc {
    color: var(--text-sec);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    width: fit-content;
    box-shadow: 0 0 30px rgba(29, 185, 84, .3);
    transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-primary:hover {
    background: #22d460;
    transform: translateY(-2px);
    box-shadow: 0 0 45px rgba(29, 185, 84, .5);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-note {
    color: var(--text-dim);
    font-size: .8rem;
}

/* phone mock */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-glow {
    position: absolute;
    width: 340px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(29, 185, 84, .22) 0%, transparent 70%);
    filter: blur(40px);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: .6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.phone-frame {
    position: relative;
    z-index: 1;
    width: 260px;
    height: 520px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 38px;
    overflow: hidden;
    box-shadow:
        0 0 0 8px #0a1a0f,
        0 0 0 9px #1a3320,
        0 40px 80px rgba(0, 0, 0, .6);
}

.phone-notch {
    width: 90px;
    height: 26px;
    background: #030D08;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.phone-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}

.phone-slide.active {
    opacity: 1;
}

.phone-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.phone-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
    transition: background .3s;
}

.phone-dot.active {
    background: var(--accent);
}

/* ── STATS BAR ── */
.stats-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card2);
    padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    color: var(--text-sec);
    font-size: .8rem;
    margin-top: .25rem;
}

.stat-div {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ── SECTIONS ── */
section {
    padding: 100px clamp(1.5rem, 5vw, 4rem);
}

.section-max {
    max-width: 1200px;
    margin: 0 auto;
}

.section-eyebrow {
    color: var(--accent);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: .02em;
    margin-bottom: 1rem;
}

.section-title .accent {
    color: var(--accent);
}

.section-sub {
    color: var(--text-sec);
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.7;
}

/* ── FEATURES ── */
#features {
    background: transparent;
}

.features-header {
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, transform .3s;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}

.feature-card:hover {
    border-color: rgba(29, 185, 84, .4);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-dim);
    border: 1px solid rgba(29, 185, 84, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: .75rem;
    letter-spacing: .03em;
}

.feature-card p {
    color: var(--text-sec);
    font-size: .9rem;
    line-height: 1.65;
}

.feature-card.featured {
    border-color: rgba(29, 185, 84, .35);
    box-shadow: 0 0 30px rgba(29, 185, 84, .08);
}

.feature-tag {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--accent);
    color: #000;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    padding: .25rem .6rem;
    border-radius: 999px;
    text-transform: uppercase;
}

/* ── HOW IT WORKS ── */
#how {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card2) 50%, var(--bg) 100%);
}

.how-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 2.5rem;
}

.step:last-child {
    padding-bottom: 0;
}

.step::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 52px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--border), transparent);
}

.step:last-child::after {
    display: none;
}

.step-num {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent);
    background: var(--bg);
    position: relative;
    z-index: 1;
    transition: border-color .3s, background .3s;
}

.step:hover .step-num {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.step-body h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: .35rem;
    padding-top: .6rem;
}

.step-body p {
    color: var(--text-sec);
    font-size: .9rem;
    line-height: 1.6;
}

.how-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.score-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.score-header .tag {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .15em;
    color: var(--accent);
    text-transform: uppercase;
}

.score-header .live-badge {
    background: #e63946;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    padding: .2rem .6rem;
    border-radius: 999px;
    letter-spacing: .1em;
    animation: blink-bg 1.5s infinite;
}

@keyframes blink-bg {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.score-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.team-block {
    flex: 1;
    text-align: center;
}

.team-flag {
    font-size: 2rem;
}

.team-name {
    font-weight: 600;
    font-size: .95rem;
    margin-top: .25rem;
}

.score-display {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    color: var(--accent);
    letter-spacing: .1em;
}

.score-divider {
    color: var(--text-dim);
    font-size: .7rem;
    font-weight: 500;
    text-align: center;
}

.score-minute {
    color: var(--text-sec);
    font-size: .8rem;
    text-align: center;
    margin-bottom: 1rem;
}

.score-bets {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.bet-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, .03);
    border-radius: 10px;
    padding: .6rem .9rem;
}

.bet-user {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
}

.bet-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
}

.bet-prediction {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1rem;
}

.bet-pts {
    font-size: .75rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 6px;
}

.pts-hit {
    background: rgba(29, 185, 84, .15);
    color: var(--accent);
}

.pts-miss {
    background: rgba(255, 100, 100, .1);
    color: #ff6b6b;
}

.pts-pend {
    background: rgba(255, 255, 255, .06);
    color: var(--text-sec);
}

/* ── SCREENSHOTS ── */
#screenshots {
    overflow: hidden;
}

.screen-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.screens-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.screen-card {
    flex-shrink: 0;
    width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform .3s, border-color .3s;
}

.screen-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(29, 185, 84, .35);
}

.screen-card img {
    width: 100%;
    display: block;
}

.screen-card-label {
    padding: .9rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-sec);
    text-align: center;
}

/* ── DOWNLOAD ── */
#download {
    background: var(--bg-card2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.dl-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.dl-inner .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.dl-inner .section-sub {
    margin: 1rem auto 2.5rem;
}

.dl-requirements {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.dl-req-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--text-sec);
}

.dl-req-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.dl-btn-wrap {
    display: flex;
    justify-content: center;
}

.btn-primary-xl {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--accent);
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 1.2rem 2.8rem;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 0 50px rgba(29, 185, 84, .35);
    transition: background .2s, transform .2s, box-shadow .2s;
}

.btn-primary-xl:hover {
    background: #22d460;
    transform: translateY(-3px);
    box-shadow: 0 0 70px rgba(29, 185, 84, .5);
}

.btn-primary-xl svg {
    width: 24px;
    height: 24px;
}

.dl-version {
    margin-top: 1rem;
    color: var(--text-dim);
    font-size: .8rem;
}

/* ── FOOTER ── */
footer {
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: .08em;
}

.footer-logo span {
    color: var(--accent);
}

.footer-copy {
    color: var(--text-dim);
    font-size: .8rem;
}

.footer-by {
    color: var(--text-dim);
    font-size: .8rem;
}

.footer-by a {
    color: var(--text-sec);
    text-decoration: none;
}

.footer-by a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-sec, #fff);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: rgba(3, 13, 8, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        gap: 2rem;
        transition: right 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    #hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 80px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        align-items: center;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .phone-glow {
        width: 260px;
        height: 380px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .how-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .screen-title-row {
        flex-direction: column;
        gap: .5rem;
        align-items: flex-start;
    }

    .stat-div {
        display: none;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-d1 {
    transition-delay: .1s;
}

.reveal-d2 {
    transition-delay: .2s;
}

.reveal-d3 {
    transition-delay: .3s;
}

/* ── COUNTER ANIMATION ── */
@keyframes count-up {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.counting {
    animation: count-up .3s ease;
}

/* ── AMBIENT BG ── */
.ambient {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 185, 84, .06) 0%, transparent 65%);
    top: -200px;
    right: -200px;
}

.ambient-2 {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 185, 84, .04) 0%, transparent 65%);
    bottom: 0;
    left: -100px;
}