:root {
    --bg-dark: #0b1120;
    --bg-card: #111827;
    --bg-input: #1f2937;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-gold: #d4af37;
    --accent-teal: #14b8a6;
    --error: #ef4444;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 8px;
    --nav-height: 70px;
}

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

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

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

ul {
    list-style: none;
}


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

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

.section-title h2 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}


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

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

.btn-primary:hover {
    background-color: #b5952f;
}

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

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

.btn-outline {
    border: 1px solid var(--text-main);
}

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


.main-header {
    background-color: rgba(11, 17, 32, 0.95);
    height: var(--nav-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1f2937;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
    padding: 2px 5px;
    border-radius: 4px;
}

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

.nav-link {
    color: var(--text-main);
    font-size: 0.95rem;
}

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

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

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

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


.hero {
    height: 90vh;
    background: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.9)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

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

.hero-badge {
    background-color: var(--accent-teal);
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

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

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

.hero-bullets {
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}


.section {
    padding: 80px 0;
}

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


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

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

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

.step-number {
    font-size: 3rem;
    color: var(--accent-gold);
    opacity: 0.3;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1;
}

.step-card h3 {
    margin-bottom: 10px;
}

.step-note {
    margin-top: 40px;
    text-align: center;
    color: var(--accent-teal);
    font-weight: 600;
}


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

.game-card {
    background: #1a2336;
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid #2d3748;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-logo {
    width: 60px;
    height: 60px;
    background: #2d3748;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

.price-tag {
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--accent-gold);
}


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

.feature-item {
    text-align: left;
    padding: 20px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-teal);
    margin-bottom: 15px;
}

.feature-item h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}


.resp-preview {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    border-left: 5px solid var(--accent-gold);
    padding: 40px;
    border-radius: var(--border-radius);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.resp-content ul {
    margin-top: 10px;
    margin-left: 20px;
    list-style: disc;
    color: var(--text-muted);
}


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

.faq-question {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    margin-top: 15px;
    color: var(--text-muted);
    display: none;
    border-top: 1px solid #2d3748;
    padding-top: 15px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active {
    border-color: var(--text-muted);
}


.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at center, #1a2336 0%, #0b1120 100%);
}

.auth-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    border: 1px solid #2d3748;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--accent-gold);
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid #374151;
    border-radius: 4px;
    color: var(--text-main);
    font-size: 1rem;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

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

.form-footer a {
    color: var(--accent-teal);
    font-weight: bold;
}


.resp-page-content {
    max-width: 800px;
    margin: 0 auto;
}

.resp-block {
    margin-bottom: 40px;
}

.resp-block h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 10px;
}

.alert-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}


footer {
    background: #020617;
    padding: 60px 0 20px;
    border-top: 1px solid #1f2937;
    margin-top: 40px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1f2937;
    padding-top: 20px;
    color: var(--text-muted);
}

.warning-18 {
    display: inline-block;
    border: 1px solid var(--error);
    color: var(--error);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 10px;
}


@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        display: none;
        border-bottom: 1px solid #374151;
    }

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

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

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

    .resp-preview {
        flex-direction: column;
        text-align: center;
    }
}

.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;
}

.legal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.legal-sidebar {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid #1f2937;
    position: sticky;
    top: 100px;
}

.legal-sidebar h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2d3748;
}

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

.legal-sidebar ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
    padding: 5px 0;
}

.legal-sidebar ul li a:hover,
.legal-sidebar ul li a.active {
    color: var(--accent-teal);
    padding-left: 5px;
}

.legal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #1f2937;
    color: var(--text-muted);
}

.legal-content h1 {
    color: var(--text-main);
    margin-bottom: 10px;
}

.legal-date {
    display: block;
    margin-bottom: 30px;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--accent-gold);
}

.legal-content h2 {
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-content h3 {
    color: var(--text-main);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-content a {
    color: var(--accent-teal);
    text-decoration: underline;
}

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

    .legal-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

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

.cookie-table th,
.cookie-table td {
    border: 1px solid #2d3748;
    padding: 12px;
    text-align: left;
}

.cookie-table th {
    background-color: #1f2937;
    color: var(--accent-gold);
}

.cookie-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

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

    .legal-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}

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

.modal-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 450px;
    width: 90%;
    text-align: center;
    border: 1px solid #2d3748;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

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

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


.age-card h2 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.age-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media(min-width: 480px) {
    .modal-actions {
        flex-direction: row;
        justify-content: center;
    }
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a2336;
    border-top: 1px solid var(--accent-gold);
    padding: 20px;
    z-index: 9000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    display: none;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    color: var(--accent-gold);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}


.settings-card {
    text-align: left;
    max-width: 500px;
}

.settings-card h3 {
    color: var(--text-main);
    margin-bottom: 10px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #2d3748;
}

.switch-label {
    padding-right: 20px;
}


.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

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

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

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

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

input:disabled+.slider {
    background-color: #2d3748;
    opacity: 0.5;
    cursor: not-allowed;
}

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