:root {
    --bg-dark: #18181b;
    --bg-card: #27272a;
    --bg-light: #ffffff;
    --bg-gray: #f3f4f6;
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --accent-green: #16a34a;
    --accent-red: #ef4444;
    --text-main: #111827;
    --text-light: #e5e7eb;
    --border-color: #d1d5db;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;


    --accent: #f59e0b;
    --accent-soft: rgba(245, 158, 11, 0.12);
    --text-muted: #4b5563;
    --bg-white: #ffffff;
    --border-soft: #e5e7eb;
    --overlay-bg: rgba(0, 0, 0, 0.6);
    --radius-lg: 18px;
    --radius-sm: 999px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.16);
    --transition-fast: 0.2s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-gold {
    color: var(--primary);
}

.hidden {
    display: none !important;
}


.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

.btn-green {
    background-color: var(--accent-green);
    color: white;
}

.btn-green:hover {
    background-color: #15803d;
}

.btn-danger {
    background-color: var(--accent-red);
    color: white;
}

.btn-block {
    width: 100%;
    display: block;
}


header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.main-nav a:hover {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


.hero {
    background: linear-gradient(rgba(24, 24, 27, 0.7), rgba(24, 24, 27, 0.7)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-icons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.5rem;
    color: var(--primary);
}


section {
    padding: 60px 0;
}

.bg-gray {
    background-color: var(--bg-gray);
}

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

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}


.game-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6b7280;
}

.tab-btn.active {
    color: var(--bg-dark);
    border-bottom: 4px solid var(--primary);
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.grid-num {
    height: 45px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.grid-num:hover {
    border-color: var(--primary);
}

.grid-num.selected {
    background-color: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.grid-num.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-panel {
    background: var(--bg-dark);
    color: white;
    padding: 20px;
    border-radius: 8px;
    position: sticky;
    top: 100px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bonus-grid-container {
    background: #fef3c7;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid var(--primary);
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.auth-card {
    max-width: 450px;
    margin: 50px auto;
}


footer {
    background-color: var(--bg-dark);
    color: #9ca3af;
    padding: 40px 0;
    margin-top: auto;
    font-size: 0.9rem;
}

.footer-links a {
    margin: 0 10px;
}

.disclaimer {
    border-top: 1px solid #374151;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
}


@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        padding-top: 20px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .grid-buy {
        display: block;
    }

    .cart-panel {
        margin-top: 30px;
        position: static;
    }
}

.footer-imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-imgs img {
    padding: 12px;
    margin: 12px;
    height: 55px;
    background: white;
    border-radius: 10px;
}

.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate-modal {
    background: var(--bg-white);
    color: var(--text-main);
    max-width: 520px;
    width: 90%;
    padding: 32px 28px 26px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    position: relative;
    text-align: left;
    border: 1px solid var(--border-soft);
}

.age-gate-badge {
    position: absolute;
    top: -20px;
    left: 24px;
    background: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
}

.age-gate-modal h2 {
    margin-top: 6px;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.age-gate-modal p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.age-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 10px;
}

.age-gate-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    border-top: 1px dashed var(--border-soft);
    padding-top: 8px;
}


.btn-primary,
.btn-secondary,
.btn-outline {
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast),
        box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.5);
}

.btn-primary:hover {
    background: #d97706;
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f9fafb;
    color: var(--text-main);
    border: 1px solid var(--border-soft);
}

.btn-secondary:hover {
    background: #f3f4f6;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-soft);
}


.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    max-width: 960px;
    width: calc(100% - 24px);
    z-index: 9998;
    display: none;
}

.cookie-banner-inner {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 16px 18px;
    border: 1px solid var(--border-soft);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner-text h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 640px;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 720px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-banner-actions .btn-primary,
    .cookie-banner-actions .btn-outline {
        flex: 1;
        justify-content: center;
    }
}


.cookie-settings-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cookie-settings-modal {
    background: var(--bg-white);
    color: var(--text-main);
    max-width: 600px;
    width: calc(100% - 32px);
    padding: 24px 22px 18px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
}

.cookie-settings-modal h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.cookie-settings-desc {
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cookie-option {
    padding: 10px 0;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cookie-option:first-of-type {
    border-top: none;
}

.cookie-option h4 {
    margin: 0 0 2px;
    font-size: 0.95rem;
}

.cookie-option p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cookie-switch-label.locked {
    font-size: 0.86rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
}

.cookie-settings-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}


.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #d1d5db;
    transition: var(--transition-fast);
    border-radius: 999px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: var(--transition-fast);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.25);
}

.cookie-switch input:checked+.cookie-slider {
    background-color: var(--accent);
}

.cookie-switch input:checked+.cookie-slider:before {
    transform: translateX(18px);
}


.cookie-settings-fab {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9997;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.cookie-settings-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
    background: #fef9c3;
}

.buy-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media(max-width: 768px) {
    .buy-layout {
        grid-template-columns: 1fr;
    }
}

#game-container {
    margin: 80px auto;
}

.contact-header {
    background-color: var(--bg-dark);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    background-image: linear-gradient(rgba(24, 24, 27, 0.9), rgba(24, 24, 27, 0.8)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.contact-header p {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.info-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    background-color: #fffbeb;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background-color: var(--primary);
    color: white;
}

.info-content h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.faq-details {
    background: white;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-details:hover {
    border-color: var(--primary);
}

.faq-summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 40px;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

details[open] .faq-summary::after {
    content: '-';
}

details[open] .faq-summary {
    border-bottom: 1px solid #f3f4f6;
    background-color: #fffbeb;
}

.faq-body {
    padding: 20px;
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
        gap: 20px;
    }

    .contact-header {
        padding: 60px 0;
    }
}

.legal-header {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.legal-content {
    background: white;
    padding: 50px;
    margin-top: -40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.legal-content h2 {
    color: var(--text-main);
    margin-top: 40px;
    font-size: 1.8rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
}

.legal-content h3 {
    color: var(--primary);
    margin-top: 25px;
    font-size: 1.3rem;
}

.legal-content p {
    margin-bottom: 15px;
    color: #4b5563;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    color: #4b5563;
}

.legal-content li::marker {
    color: var(--primary);
}

.last-updated {
    font-style: italic;
    color: #9ca3af;
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
        margin-top: 0;
    }
}

.tip-box {
    background-color: #ecfdf5;
    border-left: 5px solid var(--accent-green);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.tip-box h4 {
    color: #065f46;
    margin-bottom: 10px;
}

.warning-box {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.myth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.myth-card {
    background: #f9fafb;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--bg-dark);
}

.myth-title {
    font-weight: bold;
    color: var(--accent-red);
    margin-bottom: 5px;
    display: block;
}

.fact-title {
    font-weight: bold;
    color: var(--accent-green);
    margin-bottom: 5px;
    display: block;
    margin-top: 15px;
}

.resource-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.helpline-number {
    font-weight: bold;
    color: var(--text-main);
    font-size: 1.2rem;
    display: block;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .content-card {
        padding: 30px;
        margin-top: -30px;
    }

    .myth-grid {
        grid-template-columns: 1fr;
    }
}