*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
    --bg: #0a0e17;
    --bg-alt: #0f1422;
    --surface: #151b2b;
    --surface-hover: #1c2438;
    --border: #1e2740;
    --border-accent: #2a3a5c;
    --text: #c8d0e0;
    --text-dim: #7a8599;
    --text-bright: #eaf0ff;
    --accent: #00e68a;
    --accent-dim: #00c775;
    --accent-glow: rgba(0, 230, 138, .15);
    --amber: #ffb020;
    --amber-glow: rgba(255, 176, 32, .12);
    --red: #ff4757;
    --red-glow: rgba(255, 71, 87, .12);
    --green: #00e68a;
    --yellow: #ffb020;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
    --header-h: 60px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
strong { color: var(--text-bright); font-weight: 600; }

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(10, 14, 23, .85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-bright);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo__icon { display: flex; align-items: center; color: var(--accent); }

/* Burger */
.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 110;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-bright);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav */
.nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100dvh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 80px 24px 32px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 105;
}
.nav.open { transform: translateX(0); }
.nav__link {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: background .2s, color .2s;
}
.nav__link:hover, .nav__link:focus {
    background: var(--accent-glow);
    color: var(--accent);
}
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 102;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

@media(min-width: 768px) {
    .burger { display: none; }
    .nav {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        background: none;
        border: none;
        padding: 0;
        transform: none;
        gap: 2px;
    }
    .nav__link {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 20px) 0 40px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(10,14,23,0) 0%, rgba(10,14,23,.4) 40%, var(--bg) 100%),
        radial-gradient(ellipse at 50% 30%, rgba(0, 230, 138, .06) 0%, transparent 70%),
        var(--bg);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 230, 138, .015) 2px,
            rgba(0, 230, 138, .015) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.hero__scanlines {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.02) 0px,
            rgba(255,255,255,.02) 1px,
            transparent 1px,
            transparent 3px
        );
    pointer-events: none;
    z-index: 2;
    animation: scanMove 8s linear infinite;
}
@keyframes scanMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(6px); }
}

.hero__rec {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    z-index: 5;
    letter-spacing: 1px;
}
.hero__rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .2; }
}

.hero__cam-id {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    z-index: 5;
    letter-spacing: .5px;
}

.hero__content {
    position: relative;
    z-index: 10;
}
.hero__img {
    position: relative;
    display: block;
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.hero__img:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 40px rgba(0, 230, 138, .15);
}
.hero__img picture { display: block; }
.hero__img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.hero__title {
    font-size: clamp(24px, 6vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-bright);
    margin-bottom: 20px;
}
.accent { color: var(--accent); }
.hero__sub {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 16px;
    max-width: 680px;
}
.hero__btn {
    display: inline-flex;
    margin-top: 8px;
}

/* Traffic animation in hero */
.hero__traffic {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 3;
    overflow: hidden;
    opacity: .15;
}
.hero__car {
    position: absolute;
    bottom: 20px;
    width: 40px;
    height: 16px;
    background: var(--accent);
    border-radius: 4px;
    animation: driveCar linear infinite;
}
.hero__car--1 { animation-duration: 6s; bottom: 10px; width: 36px; height: 14px; background: #ff6b6b; }
.hero__car--2 { animation-duration: 4.5s; bottom: 30px; animation-delay: -1.5s; }
.hero__car--3 { animation-duration: 7s; bottom: 45px; width: 48px; height: 18px; background: var(--amber); animation-delay: -3s; }
.hero__car--4 { animation-duration: 5s; bottom: 18px; width: 32px; animation-delay: -2s; background: #74b9ff; }

@keyframes driveCar {
    0% { left: -60px; }
    100% { left: 110%; }
}

/* ===== BUTTON ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .15s;
    text-decoration: none;
    letter-spacing: .3px;
}
.btn:hover {
    background: var(--accent-dim);
    box-shadow: 0 0 24px var(--accent-glow);
    transform: translateY(-1px);
}
.btn--play {
    padding: 16px 44px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: playPulse 2s ease-in-out infinite;
}
@keyframes playPulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 36px rgba(0, 230, 138, .3); }
}
.btn--play:hover {
    box-shadow: 0 0 40px rgba(0, 230, 138, .4);
}
.btn--outline {
    background: transparent;
    color: var(--text-bright);
    border: 1px solid var(--border-accent);
}
.btn--outline:hover {
    background: var(--surface-hover);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: none;
}
.btn--nav {
    margin-top: 12px;
    width: 100%;
    text-align: center;
}
@media(min-width: 768px) {
    .btn--nav { display: none; }
}

.btn--header {
    padding: 8px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    animation: none;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 56px 0;
}
.section--alt {
    background: var(--bg-alt);
}
.section__badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 100px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 230, 138, .2);
}
.section__title {
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-bright);
    margin-bottom: 24px;
}
.section__subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-bright);
    margin: 28px 0 16px;
}

/* ===== CONTENT CARD ===== */
.content-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}
.content-card p {
    margin-bottom: 14px;
}
.content-card p:last-child {
    margin-bottom: 0;
}
.content-card--highlight {
    border-color: rgba(0, 230, 138, .25);
    background: linear-gradient(135deg, rgba(0, 230, 138, .04), var(--surface));
}

/* ===== FEATURES GRID (Principle section) ===== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
@media(min-width: 480px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-bright);
    transition: border-color .2s, background .2s;
}
.feature-item:hover {
    border-color: var(--accent);
    background: var(--surface-hover);
}
.feature-item__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.feature-item__icon svg { width: 24px; height: 24px; }

/* ===== TABLE ===== */
.table-wrap {
    overflow-x: auto;
    margin-bottom: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 480px;
}
.data-table th {
    background: var(--surface);
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr {
    transition: background .15s;
}
.data-table tbody tr:hover {
    background: var(--surface-hover);
}

/* Tags */
.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.tag--accent {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(0, 230, 138, .2);
}
.tag--green {
    background: rgba(0, 230, 138, .1);
    color: #00e68a;
    border: 1px solid rgba(0, 230, 138, .2);
}
.tag--yellow {
    background: var(--amber-glow);
    color: var(--amber);
    border: 1px solid rgba(255, 176, 32, .2);
}
.tag--red {
    background: var(--red-glow);
    color: var(--red);
    border: 1px solid rgba(255, 71, 87, .2);
}

/* ===== STEPS ===== */
.steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    counter-reset: none;
}
.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color .2s;
}
.step:hover { border-color: var(--accent); }
.step__num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--bg);
    font-weight: 800;
    font-size: 14px;
    border-radius: 50%;
}
.step__text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-bright);
    line-height: 1.5;
    padding-top: 5px;
}
.steps--compact .step {
    padding: 12px 16px;
}

/* ===== BET TYPES ===== */
.bet-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
}
@media(min-width: 480px) {
    .bet-types { grid-template-columns: 1fr 1fr; }
}
.bet-type {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-bright);
    transition: border-color .2s;
}
.bet-type:hover { border-color: var(--amber); }
.bet-type__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
}
.bet-type__icon svg { width: 20px; height: 20px; }

/* ===== PHASE TIMELINE ===== */
.phase-timeline {
    position: relative;
    padding-left: 28px;
    margin-bottom: 24px;
}
.phase-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-accent);
}
.phase-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
}
.phase-item__marker {
    position: relative;
    flex-shrink: 0;
    z-index: 2;
}
.phase-item__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 800;
    font-size: 13px;
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
}
.phase-item__body strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}
.phase-item__body p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ===== CHECK LIST ===== */
.check-list {
    list-style: none;
    margin: 16px 0;
}
.check-list li {
    position: relative;
    padding: 6px 0 6px 28px;
    font-size: 14px;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 16px;
    height: 16px;
    background: var(--accent-glow);
    border: 1.5px solid var(--accent);
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6l2 2 4-4' stroke='%2300e68a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.check-list--warn li::before {
    border-color: var(--amber);
    background: var(--amber-glow);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3v4M6 9h.01' stroke='%23ffb020' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== RULES COLS ===== */
.rules-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media(min-width: 680px) {
    .rules-cols { grid-template-columns: 1fr 1fr; }
}

/* ===== TAG LIST (features section) ===== */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 16px 0;
}
.tag-list li {
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-bright);
    transition: border-color .2s;
}
.tag-list li:hover {
    border-color: var(--accent);
}

/* ===== FEATURE BLOCKS ===== */
.feature-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    margin-bottom: 20px;
    transition: border-color .3s;
}
.feature-block:hover { border-color: var(--border-accent); }
.feature-block__icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}
.feature-block__icon-wrap--lightning {
    background: var(--amber-glow);
    color: var(--amber);
    border: 1px solid rgba(255, 176, 32, .2);
}
.feature-block__icon-wrap--multi {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(0, 230, 138, .2);
}
.feature-block__icon-wrap--daily {
    background: rgba(116, 185, 255, .1);
    color: #74b9ff;
    border: 1px solid rgba(116, 185, 255, .2);
}
.feature-block__icon-wrap--levels {
    background: rgba(162, 155, 254, .1);
    color: #a29bfe;
    border: 1px solid rgba(162, 155, 254, .2);
}
.feature-block__icon-wrap--free {
    background: rgba(253, 121, 168, .1);
    color: #fd79a8;
    border: 1px solid rgba(253, 121, 168, .2);
}
.feature-block__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.feature-block p {
    margin-bottom: 12px;
}
.feature-block p:last-child {
    margin-bottom: 0;
}

/* ===== ADVANTAGES ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
@media(min-width: 560px) {
    .advantages-grid { grid-template-columns: repeat(3, 1fr); }
}
.adv-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-bright);
    transition: border-color .2s, transform .2s;
}
.adv-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.adv-card svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item.active { border-color: var(--accent); }
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-bright);
    text-align: left;
    gap: 12px;
}
.faq-item__arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--text-dim);
    transition: transform .3s, color .3s;
}
.faq-item.active .faq-item__arrow {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 20px;
}
.faq-item.active .faq-item__a {
    max-height: 200px;
    padding: 0 20px 16px;
}
.faq-item__a p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}
.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-bright);
}
.footer__copy {
    font-size: 12px;
    color: var(--text-dim);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ===== GLOW LINE DECORATION ===== */
.section::before {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0 auto 20px 20px;
    box-shadow: 0 0 12px var(--accent-glow);
}
.section--alt::before {
    margin-left: 20px;
}

@media(min-width: 768px) {
    body { font-size: 16px; }
    .section { padding: 72px 0; }
    .content-card { padding: 28px 32px; }
    .feature-block { padding: 32px; }
    .hero { padding-bottom: 60px; }
    .hero__traffic { height: 80px; }
}
