:root {
    --background-dark: #02131f;
    --background-secondary: #03293f;
    --background-panel: rgba(3, 41, 63, 0.8);
    --primary-color: #00d4ff;
    --primary-accent: #26ffe6;
    --success-color: #1dd3a7;
    --danger-color: #ff5555;
    --text-light: #eaf6ff;
    --text-muted: #8fb4c9;
    --border-color: rgba(0, 212, 255, 0.35);
    --glow-color: rgba(0, 212, 255, 0.55);
    --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.35);
    --container-width: min(1200px, 100%);
    --transition-base: all 0.3s ease;
    --header-height: 76px;
    --radius-large: 28px;
    --radius-medium: 18px;
    --radius-small: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box !important;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    color: var(--text-light);
    background: linear-gradient(180deg, #010d16 0%, #021f33 40%, #011523 100%);
    min-height: 100%;
    overflow-x: hidden !important;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover,
a:focus {
    color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Montserrat", "Poppins", system-ui, sans-serif;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.2;
}

p {
    line-height: 1.7;
    margin: 0 0 1rem;
    color: var(--text-light);
}

.container {
    width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--radius-medium);
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    color: #021520;
    border-color: transparent;
    box-shadow: 0 12px 25px rgba(0, 212, 255, 0.35);
}

.btn.secondary {
    background: rgba(0, 212, 255, 0.12);
}

.btn.ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-light);
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(0, 212, 255, 0.25);
}

.btn.ghost:hover,
.btn.ghost:focus {
    background: rgba(255, 255, 255, 0.08);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(1, 15, 24, 0.85);
    border-bottom: 1px solid rgba(0, 212, 255, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: var(--container-width);
    margin: 0 auto;
    padding: 1rem clamp(1rem, 4vw, 2rem);
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.brand-name {
    white-space: nowrap;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: fixed;
    inset: 0;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
    overflow: visible;
}

.nav-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250vh;
    background: #01060d;
    z-index: -1;
    pointer-events: none;
}

.nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.nav-menu a {
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.burger {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    background: rgba(0, 212, 255, 0.12);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    padding: 130px 0 80px;
    background: radial-gradient(at top, rgba(0, 212, 255, 0.12), rgba(2, 27, 43, 0.88));
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
}

.tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--primary-accent);
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    margin-top: 0.5rem;
    text-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-figure {
    width: min(320px, 90%);
    margin: 0 auto;
    filter: drop-shadow(0 18px 32px rgba(0, 212, 255, 0.22));
}

.benefits,
.games,
.leaderboard,
.testimonials,
.faq {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(2, 30, 46, 0.8), rgba(1, 10, 16, 0.92));
}

.benefits h2,
.games h2,
.leaderboard h2,
.testimonials h2,
.faq h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.card-grid {
    display: grid;
    gap: 1.5rem;
}

.benefit-card,
.game-card,
.leader-card,
.testimonial-card {
    position: relative;
    padding: 1.75rem;
    border-radius: var(--radius-large);
    background: rgba(2, 33, 52, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.16);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.benefit-card .card-bg {
    position: absolute;
    inset: -10%;
    opacity: 0.1;
    pointer-events: none;
}

.benefit-card h3 {
    position: relative;
    font-size: 1.45rem;
}

.benefit-card p {
    position: relative;
    color: var(--text-muted);
}

.game-card {
    display: grid;
    gap: 1.25rem;
    text-align: left;
    background: rgba(2, 30, 46, 0.85);
}

.game-icon {
    width: 128px;
    height: 128px;
    border-radius: 25px;
    margin: 0 auto;
    box-shadow: 0 18px 40px rgba(0, 212, 255, 0.22);
}

.game-info h3 {
    font-size: 1.5rem;
}

.game-info p {
    color: var(--text-muted);
}

.game-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.game-tags li {
    background: rgba(0, 212, 255, 0.15);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-small);
    font-weight: 600;
    color: var(--primary-accent);
}

.leaderboard-grid,
.testimonials-grid {
    background: rgba(0, 16, 24, 0.55);
    border-radius: var(--radius-large);
    padding: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.12);
}

.leader-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.leader-card p {
    color: var(--text-muted);
    margin: 0;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(0, 22, 34, 0.92);
}

.quote {
    font-style: italic;
    color: var(--text-light);
}

.author {
    color: var(--primary-accent);
    font-weight: 600;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(1, 15, 24, 0.9);
    border-radius: var(--radius-medium);
    border: 1px solid rgba(0, 212, 255, 0.18);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: transparent;
    color: var(--text-light);
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 240px;
    padding: 0 1.5rem 1.25rem;
}

.disclaimer-section {
    background: linear-gradient(180deg, rgba(2, 50, 70, 0.95), rgba(1, 16, 25, 0.95));
    padding: 75px 0;
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

.disclaimer-content {
    background: rgba(0, 18, 30, 0.92);
    border-radius: var(--radius-large);
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid rgba(0, 212, 255, 0.22);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
}

.disclaimer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.disclaimer-badges .badge {
    background: rgba(0, 212, 255, 0.18);
    color: var(--primary-accent);
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-small);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.tab-btn {
    flex: 1;
    min-width: 180px;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    color: #021520;
    border-color: transparent;
}

.tab-panels {
    background: rgba(0, 25, 38, 0.92);
    border-radius: var(--radius-large);
    border: 1px solid rgba(0, 212, 255, 0.16);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.tab-panel {
    display: none;
    padding: clamp(2rem, 4vw, 3rem);
}

.tab-panel.active {
    display: block;
}

.account-form {
    display: grid;
    gap: 1rem;
}

.account-form h2 {
    margin: 0 0 0.5rem;
}

.account-form input,
.account-form select,
.account-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(0, 212, 255, 0.18);
    background: rgba(2, 32, 48, 0.75);
    color: var(--text-light);
    font-size: 1rem;
}

.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
    outline: 2px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}

.account-form textarea {
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    margin-top: 0.2rem;
}

.form-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.site-footer {
    background: #010c15;
    border-top: 2px solid rgba(0, 212, 255, 0.18);
    margin-top: 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
}

.footer-brand-link {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-nav ul,
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.footer-nav a,
.footer-links a {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-nav a:hover,
.footer-links a:hover {
    color: var(--primary-color);
}

.compliance-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.compliance-logo {
    height: 40px;
    background: var(--text-light);
    padding: 8px;
    border-radius: 8px;
    opacity: 0.9;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.compliance-logo:hover {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 12px var(--glow-color);
}

.support-line {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 9, 14, 0.9);
}

.free-badge {
    background: var(--success-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.free-tag {
    background: var(--success-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    animation: bounce 3s infinite;
}

.no-money-tag {
    background: var(--danger-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    animation: bounce 3s infinite 0.5s;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 10, 17, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 2rem;
}

.modal {
    background: rgba(0, 22, 34, 0.95);
    border-radius: var(--radius-large);
    padding: 2rem;
    width: min(420px, 100%);
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.modal h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal p {
    color: var(--text-muted);
}

.modal-actions {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 340px;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.cookie-content h3 {
    margin-bottom: 0.75rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hidden {
    display: none !important;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(29, 211, 167, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 18px rgba(29, 211, 167, 0.6);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (min-width: 600px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .hero-figure {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .nav-menu {
        position: static;
        flex-direction: row;
        background: none;
        transform: none;
        opacity: 1;
        pointer-events: all;
        gap: 1.5rem;
    }

    .nav-menu::before {
        display: none;
    }

    .nav-menu a {
        font-size: 0.95rem;
        letter-spacing: 0.05em;
    }

    .burger {
        display: none;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .leaderboard-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        align-items: flex-start;
    }

    .hero {
        background-image: url("../images/hero-desktop.png");
        background-size: cover;
        background-position: center top;
        background-attachment: scroll;
    }
}

@media (max-width: 520px) {
    .cookie-banner {
        right: 50%;
        transform: translateX(50%);
        width: calc(100% - 2.5rem);
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 140px !important;
        margin-top: 60px !important;
    }

    .hero-figure {
        max-width: 280px;
    }

    .footer-grid {
        padding: 2.5rem 1rem;
    }
}

