:root {
    --bg-dark: #0a0a0f;
    --bg-card: #15151e;
    --text-main: #e0e0e0;
    --text-muted: #a0a0b0;
    --accent-gold: #d4af37;
    --accent-gold-glow: rgba(212, 175, 55, 0.4);
    --accent-purple: #8a2be2;
    --accent-purple-glow: rgba(138, 43, 226, 0.4);
    --accent-kids: #ff7e67;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.highlight {
    color: var(--accent-gold);
    text-shadow: 0 0 10px var(--accent-gold-glow);
}

.highlight-kids {
    color: var(--accent-kids);
    text-shadow: 0 0 10px rgba(255, 126, 103, 0.4);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

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

nav a {
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-gold), #ffd700);
    color: #000;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-gold-glow);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--accent-kids);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 126, 103, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 20px 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1a2e 0%, var(--bg-dark) 70%);
}

.bg-mandala {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    background-image: repeating-conic-gradient(from 0deg, transparent 0deg 15deg, #fff 15deg 30deg);
    mask-image: radial-gradient(circle, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
}

.m1 {
    width: 800px;
    height: 800px;
    top: -200px;
    left: -200px;
    animation: spin 60s linear infinite;
}

.m2 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -150px;
    animation: spin 45s linear infinite reverse;
}

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

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

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

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.affiliate-hint {
    font-size: 0.75rem !important;
    color: #666 !important;
    margin-top: 10px;
}

/* Benefits Section */
.benefits {
    padding: 100px 5%;
    text-align: center;
}

.benefits h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.card {
    background: transparent;
    padding: 20px 10px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
}

/* Categories */
.category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 5%;
}

.category-content {
    padding: 40px;
}

.category h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.features {
    list-style: none;
    margin-bottom: 40px;
}

.features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.features li::before {
    content: '✦';
    color: var(--accent-gold);
    margin-right: 10px;
}

.kids-category .features li::before {
    color: var(--accent-kids);
    content: '★';
}

.category-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mandala-showcase {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    background-size: cover;
    background-position: center;
    position: relative;
    border: 2px solid rgba(255,255,255,0.1);
}

.adult-showcase {
    /* Using CSS patterns to simulate a complex mandala since we don't have images */
    background: radial-gradient(circle at center, transparent 30%, rgba(138, 43, 226, 0.2) 30%, rgba(138, 43, 226, 0.2) 35%, transparent 35%),
                repeating-conic-gradient(from 0deg, #15151e 0deg 10deg, #1f1f2e 10deg 20deg);
    animation: slowspin 100s linear infinite;
}

.kids-showcase {
    background: radial-gradient(circle at center, transparent 40%, rgba(255, 126, 103, 0.2) 40%, rgba(255, 126, 103, 0.2) 50%, transparent 50%),
                repeating-conic-gradient(from 0deg, #15151e 0deg 30deg, #252028 30deg 60deg);
    animation: slowspin 60s linear infinite reverse;
}

/* Footer & Legal */
footer {
    background: #050508;
    padding: 60px 5% 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.footer-info p {
    color: var(--text-muted);
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.legal-notice {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.legal-notice p {
    margin-bottom: 5px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    z-index: 2000;
    max-width: 90%;
    width: 600px;
    transition: transform 0.5s, opacity 0.5s;
}

.cookie-banner.hidden {
    transform: translate(-50%, 150%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-grow: 1;
}

.cookie-banner a {
    color: var(--accent-gold);
    text-decoration: underline;
}

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

/* Animations */
@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes slowspin {
    100% { transform: rotate(360deg); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .category { grid-template-columns: 1fr; text-align: center; padding: 50px 20px; }
    .category:nth-child(even) .category-visual { order: -1; }
    .mandala-showcase { width: 300px; height: 300px; margin-bottom: 30px; }
    .features li { justify-content: center; }
    header { flex-direction: column; gap: 15px; }
    nav a { margin: 0 10px; }
    .cta-group { flex-direction: column; }
    .cookie-banner { flex-direction: column; text-align: center; }
}


/* --- TEXT LOGO STYLES --- */
a.logo {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0052D4, #6FB1FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none !important;
    display: inline-block !important;
    transition: transform 0.3s ease, filter 0.3s ease;
    border: none !important;
}
a.logo:hover {
    transform: scale(1.03);
    filter: brightness(1.2);
}
/* ------------------------ */


/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    /* Prevent hiding the nav links, show them stacked or wrapped */
    .nav-links, .nav-content .nav-links {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px !important;
        padding-top: 15px;
        width: 100%;
        margin-top: 10px;
    }
    
    /* Make headers flexible */
    .navbar, header.navbar, header, .top-bar, .nav-content {
        flex-direction: column !important;
        height: auto !important;
        text-align: center;
        padding: 15px !important;
    }
    
    /* Center the language switch */
    .lang-switch {
        margin: 10px auto !important;
        border-left: none !important;
        padding-left: 0 !important;
        justify-content: center;
        width: 100%;
    }
    
    /* Ensure the logo is centered */
    a.logo {
        margin: 0 auto !important;
    }
    
    /* Scale down large typography */
    h1, .hero h1 {
        font-size: 2.2rem !important;
    }
    h2, .hero h2 {
        font-size: 1.8rem !important;
    }
    
    /* Make cards fit screen */
    .tv-card, .feature-card, .step, .legal-content {
        padding: 1.5rem !important;
        margin: 1rem auto !important;
    }
    
    /* Ensure buttons fit */
    .amazon-btn, .btn-primary, .btn-large {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
        padding: 1rem !important;
    }
    
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden !important;
    }
    
    /* Fix hero visual overlaps */
    .hero, .hero-content {
        padding-top: 2rem !important;
        gap: 2rem !important;
    }
    .hero-visual .glass-card {
        width: 100% !important;
        max-width: 300px;
        height: auto;
        padding: 2rem;
    }
}
/* -------------------------- */


/* --- COOKIE BANNER STYLES --- */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    color: #f5f5f5;
    font-family: 'Inter', sans-serif;
    gap: 20px;
}
#cookie-banner * {
    box-sizing: border-box;
}
.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ddd;
    text-align: left;
}
.cookie-link {
    color: #4da6ff;
    text-decoration: underline;
    font-weight: 500;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}
.cookie-btn-accept {
    background-color: #4da6ff;
    color: #ffffff;
}
.cookie-btn-accept:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}
.cookie-btn-decline {
    background-color: transparent;
    color: #aaa;
    border: 1px solid #555;
}
.cookie-btn-decline:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        padding: 20px 15px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: stretch;
        margin-top: 5px;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 12px;
    }
}
/* -------------------------- */
