/* Theme: Dark Navy & Cyan/Teal 
   No Orange tones allowed.
*/
:root {
    --bg-dark: #020617;
    --bg-card: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #0ea5e9;
    --accent-secondary: #2dd4bf;
    --accent-gold: #fde047;
    --border-color: #1e293b;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s;
}

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

ul {
    list-style: none;
}


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

.text-accent {
    color: var(--accent-secondary);
}

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

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}


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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #0284c7);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--accent-secondary);
    color: var(--bg-dark);
}


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

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.badge-18 {
    font-size: 0.8rem;
    background: var(--border-color);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

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

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


.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}


.hero {

    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), var(--bg-dark)),
        url('https://images.unsplash.com/photo-1519817914152-22d216bb9170?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}


section {
    padding: 60px 0 !important;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 40px;
}


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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

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

.card:hover {
    border-color: var(--accent-primary);
}

.card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.card ul li::before {
    content: "•";
    color: var(--accent-secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}


.offer-list li::before {
    content: "✓";
    color: var(--accent-secondary);
}

.no-offer-list li::before {
    content: "✕";
    color: #ef4444;
}


.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.warning-box {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.warning-18 {
    display: inline-block;
    border: 1px solid var(--text-muted);
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: bold;
    color: #ef4444;
    border-color: #ef4444;
}


.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 20px;
}

.auth-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--border-color);
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: white;
    font-family: var(--font-body);
}

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

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-muted);
}


@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .nav-links,
    .nav-buttons {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active,
    .nav-buttons.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

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

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

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

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

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
    animation: slideIn 0.3s ease-out;
}

.modal-icon {
    font-size: 3rem;
    color: var(--accent-secondary);
    margin-bottom: 20px;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.legal-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-sidebar ul li {
    margin-bottom: 12px;
}

.legal-sidebar a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    padding: 5px 0;
}

.legal-sidebar a:hover,
.legal-sidebar a.active {
    color: var(--accent-secondary);
    transform: translateX(5px);
}

.legal-content h2 {
    color: var(--accent-primary);
    margin-top: 40px;
    font-size: 1.8rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

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

.legal-content p,
.legal-content li {
    color: #cbd5e1;
    margin-bottom: 15px;
    text-align: justify;
}

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


@media (max-width: 768px) {
    .legal-container {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

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

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

.cookie-table th {
    background-color: rgba(15, 23, 42, 0.8);
    color: var(--accent-secondary);
    font-weight: 600;
}

.cookie-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.05);
}/* --- AGE GATE OVERLAY --- */
.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;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.age-gate-overlay.active {
    opacity: 1;
    visibility: visible;
}

.age-gate-box {
    background: var(--bg-card);
    border: 1px solid var(--accent-secondary);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.2);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Ховаємо внизу */
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 20px;
    z-index: 5000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    transition: bottom 0.5s ease-in-out;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* --- COOKIE SETTINGS MODAL --- */
.cookie-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 6000;
    display: none;
    justify-content: center;
    align-items: center;
}

.cookie-settings-overlay.active {
    display: flex;
}

.cookie-settings-box {
    background: var(--bg-card);
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

.cookie-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

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

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

.cookie-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    text-align: right;
    background: rgba(0,0,0,0.2);
}

/* Toggle Switch Style */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.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: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-secondary);
}

input:disabled + .slider {
    background-color: #1e293b;
    cursor: not-allowed;
    opacity: 0.6;
}

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