:root {
    --bg-color: #020617;
    --card-bg: rgba(15, 23, 42, 0.7);
    --accent-blue: #22d3ee;
    --accent-pink: #f472b6;
    --accent-violet: #a78bfa;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    height: -webkit-fill-available;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: env(safe-area-inset-top, 2rem) 1rem env(safe-area-inset-bottom, 2rem);
}

/* Background & Overlays */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) saturate(1.2);
    z-index: -2;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, transparent 20%, var(--bg-color) 80%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    z-index: 10;
    display: flex;
    flex-col: column;
    align-items: center;
    gap: 3rem;
    display: flex;
    flex-direction: column;
}

/* Logo */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInDown 1s ease-out;
}

.logo-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 15px var(--accent-blue));
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glow-pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Card */
.content-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: pulse 1.5s infinite;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.slogan {
    font-size: 1.1rem;
    color: var(--accent-violet);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.divider {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    margin: 0 auto 2rem;
}

.description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Progress */
.progress-container {
    width: 100%;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 85%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-violet));
    box-shadow: 0 0 10px var(--accent-blue);
    position: relative;
    animation: progressLoad 2s ease-out forwards;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Footer */
.footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    animation: fadeIn 1s ease-out 1s both;
}

.footer-links {
    margin-top: 0.5rem;
}

.system-status span {
    color: #4ade80;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(74, 222, 128, 0.5);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

@keyframes progressLoad {
    from { width: 0; }
    to { width: 85%; }
}

/* Floating Elements */
.floating-elements .element {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s infinite alternate ease-in-out;
}

.e1 { width: 300px; height: 300px; background: var(--accent-blue); top: -100px; left: -100px; }
.e2 { width: 400px; height: 400px; background: var(--accent-pink); bottom: -150px; right: -150px; animation-delay: -2s; }
.e3 { width: 250px; height: 250px; background: var(--accent-violet); top: 50%; right: -100px; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(10deg); }
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    body {
        padding-top: max(3rem, env(safe-area-inset-top));
        padding-bottom: max(3rem, env(safe-area-inset-bottom));
        justify-content: flex-start;
    }
    .container {
        gap: 1.5rem;
        padding: 0;
    }
    .content-card { 
        padding: 1.5rem; 
        border-radius: 1.5rem; 
    }
    .main-title { 
        font-size: 2rem; 
    }
    .logo-text { 
        font-size: 1.75rem; 
    }
    .logo-icon { 
        width: 50px; 
        height: 50px; 
    }
    .description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    .status-badge {
        margin-bottom: 1rem;
    }
    .slogan {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}
