:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --accent: #ec4899;
    --background: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Animations */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: move 20s infinite alternate ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

/* Container & Glass Card */
.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typography */
.logo {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.logo-img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    animation: floating 3s infinite ease-in-out;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.slogan {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff; /* Fallback */
}

.description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Sound Wave Animation */
.loader-container {
    margin-bottom: 3rem;
}

.sound-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 60px;
}

.sound-wave span {
    display: block;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 10px;
    animation: wave 1s infinite ease-in-out;
}

.sound-wave span:nth-child(1) { height: 20px; animation-delay: 0.1s; }
.sound-wave span:nth-child(2) { height: 40px; animation-delay: 0.2s; }
.sound-wave span:nth-child(3) { height: 60px; animation-delay: 0.3s; }
.sound-wave span:nth-child(4) { height: 40px; animation-delay: 0.4s; }
.sound-wave span:nth-child(5) { height: 20px; animation-delay: 0.5s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/* Footer */
footer {
    margin-top: 4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
    .glass-card {
        padding: 2.5rem 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .logo-img {
        max-width: 150px;
    }
}

/* Footer Links */
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    margin-top: 0.5rem;
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #1e293b;
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid var(--glass-border);
    width: 80%;
    max-width: 700px;
    border-radius: 2rem;
    color: var(--text-main);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-height: 80vh;
    overflow-y: auto;
}

.modal-body h3 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.modal-body p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-main);
}

/* Responsive Modal */
@media (max-width: 640px) {
    .modal-content {
        width: 95%;
        padding: 2rem;
        margin: 10% auto;
    }
}

/* Content Pages (Legal, Privacy, etc.) */
.content-page {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    padding: 4rem 2rem;
    display: block;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 4rem;
}

.content-container h1 {
    margin-bottom: 3rem;
    text-align: center;
}

.content-container h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.content-container p, .content-container li {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-container ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 600px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    z-index: 2000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-main);
    margin: 0;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

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

.btn-cookie {
    padding: 0.6rem 1.2rem;
    border-radius: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cookie.primary {
    background: var(--primary);
    color: white;
}

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

.btn-cookie.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-cookie.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

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