@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@500;600;700&display=swap');

:root {

    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-input: #334155;


    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --accent-color: #60a5fa;


    --text-main: #f8fafc;
    --text-muted: #94a3b8;


    --warning: #f59e0b;
    --success: #10b981;
    --border-color: #334155;


    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;


    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px rgba(59, 130, 246, 0.15);
}


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

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    padding-top: 32px;
}

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

ul {
    list-style: none;
}


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


.top-bar {
    background: linear-gradient(90deg, #7c2d12 0%, #b45309 100%);
    color: #ffffff;
    text-align: center;
    font-size: 0.85rem;
    padding: 6px 0;
    font-weight: 700;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


header {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 32px;
    z-index: 900;
}

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


.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-main span {
    color: var(--primary-color);
    font-weight: 700;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}


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

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}


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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.05);
}


.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.hero {
    background: radial-gradient(circle at top right, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 60%),
        url('../img/hero.png') center center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-main);
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

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

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

.legal-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
}


.trust-strip {
    background-color: #172033;
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}


section {
    padding: 80px 0 !important;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}


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


.info-block,
.game-card,
.step-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-card);
}

.info-block:hover,
.game-card:hover,
.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.info-block h3,
.game-card h3 {
    color: var(--text-main);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block i {
    color: var(--primary-color);
}

.info-block ul {
    margin-top: 15px;
}

.info-block li {
    margin-bottom: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
}


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

.step-card {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-card) 0%, #161e2e 100%);
}

.step-number {
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.step-card h4 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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


.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
    transition: background-color 0.2s;
}

.accordion-header:hover {
    background-color: #27354f;
}

.accordion-content {
    display: none;
    padding: 0 20px 20px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    line-height: 1.7;
}

.accordion-content.active {
    display: block;
}


.page-content {
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin: 40px auto;
}

.page-content h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    font-family: var(--font-heading);
}

.page-content h2 {
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

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


.auth-card {
    max-width: 480px;
    margin: 60px auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.register-card {
    max-width: 700px;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-check input {
    margin-top: 5px;
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}



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

.age-gate-content {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    max-width: 550px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.age-gate-content h2 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border-top: 2px solid var(--primary-color);
    padding: 25px;
    z-index: 9990;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    color: var(--text-muted);
}

.cookie-content a {
    color: var(--primary-color);
}


.bg-light {
    background-color: #161e2e !important;
}


@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        display: none;
        border-bottom: 1px solid var(--border-color);
    }

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

    .nav-link {
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
    }

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

    .steps-container {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

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

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

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

.cookie-table th {
    background-color: #1e293b;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.cookie-table td {
    color: var(--text-muted);
    background-color: rgba(30, 41, 59, 0.5);
}

.cookie-table tr:hover td {
    background-color: rgba(59, 130, 246, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
    font-size: 0.95rem;
}

.data-table th,
.data-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background-color: #1e293b;
    color: var(--primary-color);
    font-family: var(--font-heading);
    width: 30%;
}

.data-table td {
    color: var(--text-muted);
    background-color: rgba(30, 41, 59, 0.5);
}

.highlight-box {
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.resource-card {
    background-color: #1e293b;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.15);
}

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

.resource-title {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.resource-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}


.rules-list {
    list-style: none;
    counter-reset: rule-counter;
}

.rules-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.rules-list li::before {
    counter-increment: rule-counter;
    content: counter(rule-counter);
    position: absolute;
    left: 0;
    top: -2px;
    width: 32px;
    height: 32px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-weight: bold;
    font-family: var(--font-heading);
}


.test-box {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border-left: 4px solid var(--warning);
}

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

.auth-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    background: rgba(59, 130, 246, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--success);
    margin-top: 20px;
    background: rgba(16, 185, 129, 0.1);
    padding: 8px;
    border-radius: 6px;
}

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

.form-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    float: right;
}

.forgot-link:hover {
    color: var(--primary-color);
}

.form-section-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.info-note {
    background-color: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 30px;
    border-left: 3px solid var(--warning);
}