/* Reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0b1120;
    color: #e5e7eb;
    line-height: 1.5;
}

/* Layout helpers */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #7f1d1d;
    color: #f9fafb;
    border-bottom: 1px solid rgba(0,0,0,0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
}
section {
    position: relative;
}
section .container {
    position: relative;
}
.background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../img/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.15;
    pointer-events: none;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.35);
}

.logo-mark img {
    width: 100%;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Navigation */
.nav-toggle {
    display: none;
    border: 1px solid rgba(248,250,252,0.7);
    background: transparent;
    border-radius: 999px;
    padding: 5px 9px;
    cursor: pointer;
}

.nav-toggle-line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #f9fafb;
    margin: 3px 0;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #f9fafb;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 8px;
    border-radius: 999px;
}

.nav-list a:hover {
    background: rgba(15,23,42,0.25);
}

.nav-auth a {
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    background: #f97316;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: #fb923c;
}

.btn-outline {
    border: 1px solid #f9fafb;
    background: transparent;
    color: #f9fafb;
}

.btn-outline:hover {
    background: rgba(15,23,42,0.3);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(148,163,184,0.7);
    color: #e5e7eb;
}

.btn-ghost:hover {
    background: rgba(15,23,42,0.4);
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    padding: 40px 0 32px;
    background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #020617 100%);
    min-height: 60vh;
    align-items: center;
    display: flex;
}

.hero-inner {
    display: grid;
    text-align: center;
    gap: 24px;
    align-items: center;
}

.hero-label {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 8px;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.9rem, 2.4vw, 2.4rem);
}

.hero-text {
    margin: 0 0 16px;
    color: #d1d5db;
    font-size: 0.96rem;
}

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

/* Hero feature cards */
.hero-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.feature-block {
    padding: 100px 0;
}
.feature-card {
    width: calc(33.3% - 12px);
    background: rgba(15,23,42,0.95);
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(55,65,81,0.8);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    font-size: 0.9rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.feature-icon i {
    color: #fee2e2;
}

.feature-card h2 {
    margin: 0 0 4px;
    font-size: 0.98rem;
}

.feature-card p {
    margin: 0;
    color: #d1d5db;
}

/* Sections */
.section {
    padding: 30px 0;
    background: #020617;
}

.section-alt {
    padding: 30px 0;
    background: #030712;
}

.section-head {
    margin-bottom: 16px;
}

.section-head h2 {
    margin: 0 0 6px;
    font-size: 1.3rem;
}

.section-head p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Games */
.game-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.game-item {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #020617;
    border: 1px solid #111827;
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}

.game-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.game-icon i {
    font-size: 22px;
    color: #f97316;
}

.game-icon img {
    width: 100%;
}

.game-content h3 {
    margin: 0 0 4px;
    font-size: 1.02rem;
}

.game-line {
    margin: 0 0 8px;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.game-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    font-size: 0.86rem;
    color: #d1d5db;
}

.game-columns h4 {
    margin: 0 0 4px;
    font-size: 0.86rem;
}

.game-columns ul {
    margin: 0 0 4px;
    padding-left: 18px;
}

.game-example {
    margin: 4px 0 0;
    color: #9ca3af;
}

/* Steps */
.steps {
    display: grid;
    gap: 12px;
}

.step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    background: #020617;
    border: 1px solid #111827;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    flex-shrink: 0;
}

.step-icon i {
    font-size: 18px;
}

.step-red { background: #f97373; }
.step-yellow { background: #fde68a; }
.step-green { background: #a7f3d0; }
.step-blue { background: #bfdbfe; }

.step-body h3 {
    margin: 0 0 3px;
    font-size: 0.98rem;
}

.step-body p {
    margin: 0;
    font-size: 0.9rem;
    color: #d1d5db;
}

/* FAQ */
.faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border-radius: 10px;
    background: #020617;
    border: 1px solid #111827;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    float: right;
    color: #9ca3af;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    margin: 6px 0 0;
    color: #d1d5db;
}

/* Responsible play */
.responsible {
    display: flex;
    justify-content: flex-start;
}

.responsible-card {
    max-width: 520px;
    background: #020617;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #111827;
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
    font-size: 0.9rem;
}

.responsible-card h3 {
    margin: 0 0 8px;
    font-size: 0.98rem;
}

.responsible-card h3 i {
    margin-right: 6px;
    color: #f97316;
}

.responsible-card ul {
    margin: 0 0 8px;
    padding-left: 18px;
}

.responsible-note {
    margin: 0 0 4px;
    color: #d1d5db;
}

.responsible-age {
    margin: 0;
    color: #fca5a5;
    font-size: 0.84rem;
}

/* Footer */
.site-footer {
    background: #020617;
    border-top: 1px solid #111827;
    padding: 16px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.84rem;
    color: #9ca3af;
}

.footer-brand {
    margin: 0 0 4px;
    color: #e5e7eb;
    font-weight: 600;
}

.footer-text {
    margin: 0;
}

.footer-copy {
    margin: 0;
    font-size: 0.8rem;
}

.footer-email {
    color: #e5e7eb;
}

/* Auth pages */
.auth-body {
    background: #020617;
}

.auth-main {
    padding: 30px 0;
}

.auth-shell {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #020617;
    border-radius: 18px;
    padding: 18px 16px 16px;
    border: 1px solid #111827;
    box-shadow: 0 18px 40px rgba(0,0,0,0.65);
    font-size: 0.9rem;
}

.auth-card h1 {
    margin: 0 0 6px;
    font-size: 1.4rem;
}

.auth-text {
    margin: 0 0 14px;
    color: #9ca3af;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field span {
    font-size: 0.86rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    border-radius: 10px;
    border: 1px solid #111827;
    padding: 7px 9px;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.9rem;
    font-family: inherit;
}

input:focus,
select:focus {
    outline: 1px solid #f97316;
    outline-offset: 1px;
}

.checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.84rem;
    color: #d1d5db;
}

.checkbox input {
    margin-top: 3px;
}

.auth-note {
    margin: 4px 0 4px;
    color: #9ca3af;
    font-size: 0.82rem;
}

.auth-alt {
    margin: 0;
    font-size: 0.86rem;
}

.auth-alt a {
    color: #f97316;
    text-decoration: none;
}

.auth-alt a:hover {
    text-decoration: underline;
}

.auth-footer {
    background: #020617;
    border-top: none;
}
.age18-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.age18-overlay.age18-visible {
    opacity: 1;
    pointer-events: auto;
}

.age18-dialog {
    max-width: 420px;
    width: 100%;
    background: #020617;
    color: #e5e7eb;
    border-radius: 16px;
    padding: 20px 18px 16px;
    border: 1px solid #111827;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.age18-badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #b91c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #f9fafb;
    box-shadow: 0 0 0 3px rgba(248, 250, 252, 0.08);
}

.age18-dialog h2 {
    margin: 0 0 6px;
    font-size: 1.3rem;
}

.age18-text {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: #d1d5db;
}

.age18-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.age18-btn {
    min-width: 120px;
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

.age18-btn-primary {
    background: #f97316;
    color: #111827;
}

.age18-btn-primary:hover {
    background: #fb923c;
}

.age18-btn-secondary {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid #4b5563;
}

.age18-btn-secondary:hover {
    background: #111827;
}

.age18-note {
    margin: 0;
    font-size: 0.78rem;
    color: #9ca3af;
}

.nav-block {
    display: flex;
    flex-wrap: wrap;
    gap: 15px
}
.nav-links {
    width: calc(50% - 15px);
}
.footer-main {
    display: flex;
    gap: 15px
}
.nav-block {
    width: 100%
}
.nav-links .label-nav {
    margin-bottom: 10px;
}
.nav-links a {
    width: 100%;
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 5px;
}
.nav-pages {
    width: 50%;
}
.logo-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}
.age18 {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 3px solid #f00;
    user-select: none;
    background: #fff2
}
.logo-trust a {
    height: 50px;
    padding: 7px;
    border-radius: 10px;
    display: block;
    margin: 0;
    background: #fff2
}
.logo-trust img {
    height: 100%;
}
.border-top {
    border-top: 1px solid #888;
}
.mt-4 {
    margin-top: 1.5rem
}

.legal-shell {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 32px 28px 36px;
    border-radius: 24px;
    background: #ffffff;
    color: #0f172a;
    box-shadow:
            0 30px 80px rgba(15, 23, 42, 0.16),
            0 0 0 1px rgba(148, 163, 184, 0.25);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .legal-shell {
        padding: 22px 18px 26px;
        margin: 24px auto 40px;
        border-radius: 18px;
    }
}

.legal-shell h1,
.legal-shell h2,
.legal-shell h3,
.legal-shell h4 {
    color: #0f172a;
    margin-bottom: 16px;
    font-weight: 600;
}

.legal-shell h1 {
    font-size: 1.9rem;
}

.legal-shell h2 {
    font-size: 1.35rem;
    margin-top: 32px;
}

.legal-shell h3 {
    font-size: 1.15rem;
}

.legal-shell p {
    margin-bottom: 16px;
    color: #475569;
    font-size: 0.95rem;
}

.legal-shell ul,
.legal-shell ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.legal-shell li {
    margin-bottom: 8px;
    color: #475569;
    font-size: 0.95rem;
}

.legal-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 12px;
    display: block;
}

.legal-divider {
    height: 1px;
    background: rgba(148, 163, 184, 0.35);
    margin: 32px 0;
    border-radius: 4px;
}

.legal-shell a {
    color: #2563eb;
    text-decoration: none;
}

.legal-shell a:hover {
    text-decoration: underline;
}

.legal-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 8px;
}

.legal-badge {
    display: inline-block;
    font-size: 0.75rem;
    background: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    margin-bottom: 12px;
}


.contact-form {
    margin-top: 24px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.contact-form label {
    font-size: 0.92rem;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid rgba(100, 116, 139, 0.35);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.95rem;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.cf-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cf-btn:hover {
    background: #1d4ed8;
}

.form-note {
    margin-top: 12px;
    font-size: 0.83rem;
    color: #64748b;
    text-align: center;
}

@media (max-width: 600px) {
    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 9px 11px;
    }

    .cf-btn {
        font-size: 0.9rem;
        padding: 11px 14px;
    }
}



@media (max-width: 480px) {
    .age18-dialog {
        margin: 0 14px;
        padding-inline: 14px;
    }
}
/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0,1fr);
    }

    .hero {
        padding-top: 28px;
    }
    .feature-card {
        width: calc(50% - 12px);
    }
    .nav-pages {
        width: 100%
    }
    .footer-main {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .feature-card {
        width: 100%
    }
    .nav-toggle {
        display: inline-block;
    }

    .nav-list {
        position: absolute;
        right: 16px;
        top: 60px;
        flex-direction: column;
        align-items: flex-start;
        background: #111827;
        border-radius: 12px;
        padding: 8px;
        border: 1px solid #020617;
        box-shadow: 0 18px 40px rgba(0,0,0,0.7);
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.16s ease, transform 0.16s ease;
    }

    .nav-list.nav-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-auth a {
        width: 100%;
        justify-content: center;
    }

    .game-columns {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        padding-bottom: 24px;
    }

    .auth-card {
        margin-top: 8px;
    }
}
