@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    /* Colors derived from Dark Theme */
    --color-bg: #0a0a0a;
    --color-text-primary: #f8f9fa;
    --color-text-secondary: #adb5bd;
    --color-cyan-accent: #00D9FF;
    --color-spectral-silver: #C0C0C0;
    
    /* Fonts */
    --font-family-heading: 'Orbitron', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-family-body: 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif;
    
    /* Sizes */
    --font-size-6xl: 3.75rem;
    --font-size-4xl: 2.25rem;
    --font-size-3xl: 1.875rem;
    --font-size-xl: 1.25rem;
    --font-size-lg: 1.125rem;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-bg);
    font-family: var(--font-family-body);
    display: flex;
    justify-content: center;
    align-items: center;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using the copied hero image */
    background-image: url('../images/hero-bg.jpeg'); 
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* Blur exactly as requested */
    filter: blur(15px); 
    transform: scale(1.1); /* Prevent blurred edges */
    z-index: 0;
    opacity: 0.5;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

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

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

/* 
 * LINE 1: Matches .hero__headline
 */
.redirect-headline {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-6xl);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--color-cyan-accent) 0%, var(--color-spectral-silver) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 217, 255, 0.3));
}

/* 
 * LINE 2: Matches requested style (New Domain)
 */
.redirect-subheadline {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-4xl); 
    font-weight: 500;
    margin: 0;
    color: var(--color-text-primary); 
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 
 * LINE 3: Matches .hero__subheadline
 */
.redirect-message {
    font-family: var(--font-family-body);
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin-top: 2rem;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .redirect-headline {
        font-size: var(--font-size-4xl);
    }
    
    .redirect-subheadline {
        font-size: var(--font-size-3xl);
    }
    
    .redirect-message {
        font-size: var(--font-size-lg);
    }
}

/* Loader */
.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 217, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-cyan-accent);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loader.active {
    opacity: 1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.redirect-headline.active {
    animation: glow-pulse 3s infinite alternate;
}

@keyframes glow-pulse {
    0% {
        filter: drop-shadow(0 2px 10px rgba(0, 217, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 2px 25px rgba(0, 217, 255, 0.7));
    }
}

.redirect-subheadline.active {
    animation: text-glow-pulse 3s infinite alternate;
}

.redirect-message.active {
    animation: text-glow-pulse 3s infinite alternate;
}

@keyframes text-glow-pulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(0, 217, 255, 0.4);
    }
}
