:root {
    --bg-deep: #0a1020;
    --bg-panel: rgba(23, 37, 84, 0.55);
    --bg-card: rgba(30, 41, 59, 0.7);
    --accent-1: #38bdf8;
    --accent-2: #8b5cf6;
    --accent-3: #22d3ee;
    --text-main: #f8fafc;
    --text-subtle: #cbd5e1;
    --border-glow: rgba(56, 189, 248, 0.45);
}
html {
    background-color: #0f172a; /* Fallback for fast scroll */
}
body {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    /* Set a solid base color to prevent white flash on scroll */
    background-color: #0f172a; 
    background: linear-gradient(170deg, #0a1020 0%, #0f172a 50%, #0a1020 100%);
    color: var(--text-main);
    overflow-x: hidden; 
    position: relative;
}
h1, h2, h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}
/* Custom gradient for the CTA button */
.btn-primary {
    background-image: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    transition: all 0.35s ease;
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.25), 0 5px 15px rgba(139, 92, 246, 0.15);
}
.btn-primary:hover {
    background-image: linear-gradient(120deg, var(--accent-3), var(--accent-1));
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 15px 45px rgba(34, 211, 238, 0.28), 0 8px 22px rgba(59, 130, 246, 0.35);
}

/* Marquee Styling */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #0f172a;
    border: none;
    box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.08);
    position: relative;
}
.marquee-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.12), transparent);
    pointer-events: none;
    opacity: 0.5;
}
.marquee {
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px 0;
}
.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 35s linear infinite;
    color: #c7d2fe;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

.payment-icon:hover { fill: #f8fafc; }
.footer-link { font-size: 0.75rem; color: #94a3b8; transition: color 0.2s; }
.footer-link:hover { color: #3b82f6; }

/* Language Link Styling */
.lang-link {
    color: #94a3b8;
    font-weight: 600;
    transition: color 0.2s;
    font-size: 0.9rem;
}
.lang-link:hover, .lang-link.active {
    color: #ffffff;
}
.lang-link-active {
    color: var(--accent-1);
}

/* Scrollbar for suggestions list */
#suggestions::-webkit-scrollbar { width: 8px; }
#suggestions::-webkit-scrollbar-track { background: #1e293b; }
#suggestions::-webkit-scrollbar-thumb { background: #475569; border-radius: 4px; }
#suggestions::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* Music Button Pulse Animation */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0; }
}
.music-playing::before {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid #3b82f6;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
/* Section + card polish */
.panel {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.7));
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 1;
}
.glow-card {
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 10px 35px rgba(56, 189, 248, 0.15), 0 20px 60px rgba(0, 0, 0, 0.45);
    background: linear-gradient(160deg, rgba(14, 165, 233, 0.08), rgba(139, 92, 246, 0.08));
}
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    border-color: var(--border-glow);
}
/* Fade + rise animation */
@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Disable fade/slide to avoid flash while scrolling */
.animate-rise { animation: none; opacity: 1; transform: none; }
.delay-1, .delay-2, .delay-3 { animation-delay: 0s; }

/* Cookie banner */
.cookie-banner {
    position: fixed;
    z-index: 60;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    max-width: 960px;
    width: calc(100% - 2rem);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.03);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    padding: 1rem 1.25rem;
    display: none;
}
.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
}
.cookie-btn {
    border-radius: 9999px;
    padding: 0.6rem 1.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn.primary {
    background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    color: #0b1325;
    box-shadow: 0 10px 30px rgba(56,189,248,0.35);
}
.cookie-btn.secondary {
    background: rgba(148, 163, 184, 0.12);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.35);
}
@media (max-width: 640px) {
    .cookie-banner { padding: 1rem; bottom: 1rem; }
    .cookie-banner__actions { flex-direction: column; align-items: stretch; }
    .cookie-btn { width: 100%; text-align: center; }
}

/* Space for mobile bottom bar */
@media (max-width: 768px) {
    body { padding-bottom: 70px; }
}