:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #14b8a6;
    --accent-hover: #0d9488;
    --danger: #ef4444;
    --border: #334155;
    --header-h: 80px;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

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

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

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

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

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--accent);
}

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

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

.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-tags {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature-item i {
    color: var(--accent);
}

section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

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

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.card h3 {
    margin-bottom: 15px;
    color: #fff;
}

.card p,
.card li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 20px;
}

.game-type {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.responsible-warning {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

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

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--accent);
}

.help-block {
    background: rgba(20, 184, 166, 0.1);
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    margin-top: 40px;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
}


.auth-form {
    max-width: 400px;
    margin: 60px auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.auth-form.wide {
    max-width: 600px;
}

.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-dark);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
}

.form-check {
    display: flex;
    gap: 10px;
    align-items: start;
    font-size: 0.85rem;
    margin-bottom: 15px;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.overlay-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    border: 1px solid var(--border);
}

.overlay-content h2 {
    margin-bottom: 20px;
    color: var(--accent);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-top: 1px solid var(--accent);
    padding: 20px;
    z-index: 5000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.text-content h2 {
    color: var(--accent);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

@media (max-width: 768px) {
    .header-inner nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 20px;
        flex-direction: column;
        border-bottom: 1px solid var(--border);
    }

    .header-inner nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

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

    .mobile-toggle {
        display: block;
    }

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

.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-text h2 {
    font-size: 1.5rem;
    color: var(--accent);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-text h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-top: 25px;
    margin-bottom: 10px;
}

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

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

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

.legal-box {
    background: rgba(30, 41, 59, 0.5);
    padding: 20px;
    border-left: 3px solid var(--accent);
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 4px solid var(--accent);
    border-radius: 0 0 12px 12px;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.2rem;
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto;
}



.rg-section h2 {
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: 15px;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.rg-section h3 {
    color: #fff;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.rg-section p,
.rg-section li {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.rg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.rg-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

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

.rg-card i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 20px;
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    padding: 25px;
    border-radius: 8px;
    color: #fca5a5;
    display: flex;
    align-items: start;
    gap: 15px;
    margin: 30px 0;
}

.check-list ul {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
}

.test-box {
    background: #1e293b;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.test-question {
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    color: #e2e8f0;
}

.test-question:last-child {
    border-bottom: none;
}

.contact-resource {
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
}

.contact-resource img {
    width: 50px;
    height: 50px;
    background: #334155;
    border-radius: 50%;
    margin-right: 15px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-content h1 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.legal-content h2 {
    color: var(--accent);
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

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

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


.cookie-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: var(--bg-card);
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cookie-table th {
    background-color: #0f172a;
    color: #fff;
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

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

.info-box {
    background: rgba(20, 184, 166, 0.1);
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}