/* ==========================================================================
   Roicard Premium Splash Page Stylesheet
   ========================================================================== */

/* --- 1. Variables & Design Tokens --- */
:root {
    --roicard-red: #E63946;
    --roicard-orange: #FF8C42;
    --bg-dark: #111111;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.65);
    
    --brand-gradient: linear-gradient(135deg, var(--roicard-red), var(--roicard-orange));
    --brand-gradient-hover: linear-gradient(135deg, #f24b58, #ff9f5e);
    
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(20px);
    
    --font-primary: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.theme-dark {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: hidden; /* Locks scrolling for splash page */
    text-rendering: optimizeLegibility;
}

/* Subtle Grid Background */
body.theme-dark::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        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: 40px 40px;
    z-index: -2;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Tactile Noise Overlay */
body.theme-dark::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 3. Typography & Gradients --- */
h1 {
    color: var(--text-primary);
    line-height: 1.1;
}

p {
    letter-spacing: -0.01em; 
}

.text-gradient {
    display: inline-block;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 4. Global Components (Buttons) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 100px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    min-height: 48px;
}

.btn--primary {
    background: var(--brand-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.25);
    position: relative;
    overflow: hidden;
}

.btn--primary:hover {
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.4);
}

.btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite cubic-bezier(0.64, 0.04, 0.35, 1);
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

/* --- 5. Ambient Background Effects --- */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-layer {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
}

.glow-red {
    background: var(--roicard-red);
    top: -20%;
    left: -10%;
}

.glow-orange {
    background: var(--roicard-orange);
    bottom: -20%;
    right: -10%;
}

/* --- 6. Splash Hero Section --- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 24px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(17, 17, 17, 0.4) 100%);
    pointer-events: none;
    z-index: -1;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    max-width: 900px;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto 12px;
    font-weight: 400;
    line-height: 1.7;
}

.hero__launch-date {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0 auto 22px;
}

.hero__launch-date strong {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Premium Launching Soon Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.badge__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--roicard-orange);
    box-shadow: 0 0 12px var(--roicard-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(255, 140, 66, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0); }
}

/* --- Inline Splash Timer --- */
.hero__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px; 
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.timer-block__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.timer-block__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-top: 8px;
}

.timer-divider {
    font-size: 2rem;
    font-weight: 800;
    color: var(--roicard-red);
    opacity: 0.5;
    padding-bottom: 14px; 
}

/* --- 7. Media Queries --- */
@media (max-width: 768px) {
    .hero__cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero__timer {
        padding: 16px;
        gap: 8px;
        margin-bottom: 32px;
    }
    .timer-block {
        min-width: 45px;
    }
    .timer-block__number {
        font-size: 1.5rem;
    }
    .timer-block__label {
        font-size: 0.6rem;
    }
    .timer-divider {
        font-size: 1.5rem;
        padding-bottom: 12px;
    }
    .hero__badge {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
    .badge__dot {
        width: 8px;
        height: 8px;
    }
}