:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --primary: #fbbf24;
    --primary-hover: #d97706;
    --accent: #38bdf8;
    --border-color: #334155;
    --font-main: 'Inter', sans-serif;
    --spacing-md: 2rem;
    --radius: 8px;
    --header-height: 70px;
}


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

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

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

ul {
    list-style: none;
}

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


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

.section {
    padding: 4rem 0;
}

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


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

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}


.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-darker);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-darker);
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}


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

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.lighthouse-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

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

.auth-buttons {
    display: flex;
    gap: 1rem;
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}


.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}


.trust-strip {
    background-color: var(--primary);
    color: var(--bg-darker);
    padding: 1rem 0;
    font-weight: 600;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.about-grid,
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.card:hover,
.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #334155;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.game-badge.highlight {
    background-color: var(--primary);
    color: var(--bg-darker);
}

.game-info {
    margin: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.game-info li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.game-info li span {
    color: var(--text-muted);
}


.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    background-color: var(--bg-card);
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}


.banner-responsible {
    background: linear-gradient(45deg, #1e293b, #0f172a);
    border-left: 5px solid var(--accent);
}


.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.accordion-header.active::after {
    content: '-';
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body p {
    padding-bottom: 1.5rem;
}


.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius);
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

input,
select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    color: #fff;
    font-family: inherit;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-check input {
    width: auto;
    margin-top: 4px;
}

.auth-info {
    max-width: 400px;
}

.warning-box,
.info-box {
    background-color: rgba(251, 191, 36, 0.1);
    padding: 1rem;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    margin-top: 1rem;
}


.hero-small {
    background-color: var(--bg-card);
    padding: 4rem 0 2rem;
    text-align: center;
}

.text-content article {
    margin-bottom: 3rem;
}

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

.tool-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.legal-notice-box {
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}



.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.age-gate-overlay.hidden {
    display: none;
}

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

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.age-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}


@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-card);
        flex-direction: column;
        padding-top: 5rem;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.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-content h2 {
    color: var(--primary);
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: #fff;
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

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

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content p {
    text-align: justify;
    margin-bottom: 1.2rem;
}

.last-update {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: block;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

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

.cookie-table th {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 600;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 2.5rem;
}

.legal-content h3 {
    color: #fff;
    margin-top: 1.5rem;
}

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

.legal-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.rg-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.rg-section {
    margin-bottom: 4rem;
}

.rg-list {
    list-style: none;
    padding: 0;
}

.rg-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.rg-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.warning-sign-list li::before {
    content: '⚠️';
    color: #ef4444;
}

.help-box {
    background-color: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--accent);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.external-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.98);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    display: none;
}

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

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

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}


.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.cookie-modal.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.cookie-modal-content {
    background-color: var(--bg-card);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.cookie-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.cookie-body {
    padding: 1.5rem;
    overflow-y: auto;
}

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

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

.option-info {
    padding-right: 1rem;
}

.option-info strong {
    display: block;
    color: #fff;
    margin-bottom: 0.25rem;
}

.option-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cookie-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.2);
}


.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: #334155;
    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(--primary);
}

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


.slider.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}


@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
        display: flex;
        gap: 1rem;
    }

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