:root {
    --bg-color: #050508;
    --card-bg: rgba(15, 15, 26, 0.65);
    --card-border: rgba(0, 240, 255, 0.2);
    --primary-cyan: #00f0ff;
    --primary-purple: #7000ff;
    --text-main: #f0f4f8;
    --text-muted: #8a8f9e;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

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

body {
    /* Use dvh to prevent mobile browser address bar layout jumps */
    min-height: 100vh;
    min-height: 100dvh; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden; /* Prevents unwanted horizontal scrolling */
    position: relative;
    padding: 1.5rem; /* Prevents card from touching screen edges */
}

/* Ambient Glowing Background Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 0;
    animation: float 10s ease-in-out infinite alternate;
    pointer-events: none;
}

.orb-1 {
    width: min(50vw, 350px);
    height: min(50vw, 350px);
    background: var(--primary-cyan);
    top: 10%;
    left: 10%;
}

.orb-2 {
    width: min(60vw, 400px);
    height: min(60vw, 400px);
    background: var(--primary-purple);
    bottom: 10%;
    right: 10%;
    animation-delay: -5s;
}

/* Grid Overlay */
.background-grid {
    position: absolute;
    inset: 0;
    background-size: 30px 30px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: 1;
}

/* Glassmorphism Main Card */
main.card {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(0, 240, 255, 0.05);
    width: 100%;
    max-width: 480px;
}

/* Status Indicator */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
    color: var(--primary-cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    max-width: 100%;
    white-space: nowrap;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-cyan);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

/* Responsive Heading with Fluid Typography */
h1 {
    font-family: var(--font-heading);
    /* Fluid font-size scales automatically between mobile & desktop */
    font-size: clamp(2rem, 8vw, 3.25rem); 
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    word-break: break-word; /* Safety fallback for narrow screens */
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

p.subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.125rem);
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

/* Glowing Interactive Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #050508;
    background: var(--primary-cyan);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    max-width: 100%;
}

.cta-button svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cta-button:hover {
    background: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Mobile Specific Adjustments */
@media (max-width: 480px) {
    body {
        padding: 1rem;
    }
    
    .status-badge {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .cta-button {
        width: 100%; /* Full width button on small mobile screens */
    }
}

/* Keyframe Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}