:root {
    --bg-dark: #020617;
    --bg-card: #0b1120;
    --bg-overlay: rgba(2, 6, 23, 0.85);

    --primary: #06b6d4;
    --primary-hover: #22d3ee;
    --gold: #facc15;
    --danger: #ef4444;

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

    --font-main: 'Inter', sans-serif;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

* {
    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;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}


h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-main);
}

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

.text-gold {
    color: var(--gold);
}

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


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

.section {
    padding: 80px 0;
}

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


.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

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

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

.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #000;
}


.top-strip {
    background-color: #000;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

header {
    background-color: var(--bg-dark);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #1e293b;
    transition: background 0.3s;
}

header.scrolled {
    background-color: rgba(2, 6, 23, 0.95);
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

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

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

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

.auth-buttons .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
}


.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #020617 100%);

    background-image: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.9)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-legal {
    font-size: 0.8rem;
    margin-top: 2rem;
    opacity: 0.7;
}


.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

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


.badge-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}


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

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

.cross-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.cross-list li::before {
    content: '✕';
    color: var(--danger);
    position: absolute;
    left: 0;
    font-weight: bold;
}


.form-container {
    max-width: 500px;
    margin: 60px auto;
    padding: 40px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: var(--radius);
    color: #fff;
    font-size: 1rem;
}

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

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

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


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

.faq-question {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
}


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

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    max-width: 500px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
}


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

    .nav-links,
    .auth-buttons {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero {
        height: auto;
        padding: 100px 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: 40px;
    font-size: 1.5rem;
}

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

.legal-content p,
.legal-content li {
    color: #cbd5e1;
    font-size: 0.95rem;
    text-align: justify;
}

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

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

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

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

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

.cookie-table th {
    background-color: #0f172a;
    color: var(--gold);
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
} 
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 17, 32, 0.98);  
    border-top: 1px solid #1e293b;
    padding: 20px;
    z-index: 9000; 
    display: none; 
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

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

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}
 
.cookie-settings-body {
    text-align: left;
    max-height: 70vh;
    overflow-y: auto;
}

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

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

.option-info h4 { margin-bottom: 5px; color: var(--text-main); font-size: 1rem; }
.option-info p { margin-bottom: 0; font-size: 0.85rem; color: #64748b; }
 
.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:focus + .slider { box-shadow: 0 0 1px var(--primary); }
input:checked + .slider:before { transform: translateX(24px); }
input:disabled + .slider { background-color: #1e293b; opacity: 0.5; cursor: not-allowed; }
 
@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-actions { flex-direction: column; width: 100%; }
    .cookie-actions .btn { width: 100%; }
}