:root {
    --bg-dark: #020617;
    --bg-card: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --accent-blue: #3b82f6;
    --border-color: #1e293b;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

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


.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
}

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

.btn-outline:hover {
    background: var(--accent-gold);
    color: #000;
}

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


.top-bar {
    background-color: #000;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.top-bar strong {
    color: var(--accent-gold);
}


.header {
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--accent-gold);
    margin-top: 4px;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--accent-gold);
}

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

.burger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}


.hero {
    min-height: 85vh;
    background: linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.9)), url('../img/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}


section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}


.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.features-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.features-list i {
    color: var(--accent-gold);
}


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

.step-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}


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

.game-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.game-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-gold);
}

.game-logo {
    height: 60px;
    background: #1e293b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.game-info {
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.game-info li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-small {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 15px;
    display: block;
}


.responsible-banner {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.resp-content {
    flex: 1;
}

.resp-content ul {
    margin-top: 15px;
    color: var(--text-muted);
}

.resp-content li {
    display: inline-block;
    margin-right: 20px;
}

.resp-content i {
    color: var(--accent-blue);
    margin-right: 5px;
}


.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: #020617;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 4px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--accent-gold);
}



.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.age-gate-modal {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.1);
}

.age-gate-modal i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.hidden {
    display: none !important;
}


@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu .auth-buttons {
        margin-top: 20px;
    }

    .burger-menu {
        display: block;
    }

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

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

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

.site-footer {
    background: linear-gradient(180deg, #020617 0%, #020617 100%);
    color: #d4d4d4;
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.8;
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.site-footer p {
    margin: 10px auto;
    max-width: 900px;
    color: #e5e7eb;
}

.site-footer strong {
    color: #ffffff;
    font-weight: 600;
}

.site-footer a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

.site-footer .footer-warning {
    color: #f97316;
    font-weight: bold;
    font-size: 15px;
}

.site-footer .footer-links {
    font-size: 13px;
}

.site-footer .footer-links a {
    color: #9ca3af;
    margin: 0 10px;
}

.site-footer .footer-links a:hover {
    color: #38bdf8;
}

.site-footer .footer-copyright {
    margin-top: 22px;
    font-size: 12px;
    color: #6b7280;
    padding-top: 18px;
    border-top: 1px solid #1f2937;
}

.success-message {
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
    padding: 20px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
    display: inline-block;
}

.legal-content h2 {
    color: var(--accent-gold);
    margin-top: 40px;
    font-size: 1.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.legal-content h3 {
    color: #fff;
    margin-top: 25px;
    font-size: 1.3rem;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content strong {
    color: #e2e8f0;
}

.last-updated {
    font-style: italic;
    color: var(--accent-blue);
    margin-bottom: 30px;
}

.browser-links li {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    list-style: none;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.browser-links i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.browser-links a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: underline;
}

.browser-links a:hover {
    color: #fff;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
    color: var(--text-muted);
}

.cookie-table th {
    background: #1e293b;
    color: #fff;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--accent-gold);
    padding: 20px 0;
    z-index: 9000;
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin: 0;
}

.cookie-text a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}


.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.cookie-modal {
    background: var(--bg-card);
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.cookie-modal-header {
    background: #020617;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.cookie-modal-body {
    padding: 20px;
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-option-info strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.cookie-option-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    padding-right: 15px;
}


.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #334155;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

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

input:checked+.slider:before {
    transform: translateX(20px);
}

.slider.disabled {
    background-color: #10b981;
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: #020617;
}


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

    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .cookie-buttons .btn {
        flex: 1;
    }
}