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

body {
    font-family: 'Inter', sans-serif;
    background-color: #030303; /* Extremely dark */
    overflow: hidden;
}

/* Center Element */
.choice-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 20; text-align: center; pointer-events: none;
    color: white; text-shadow: 0 0 30px rgba(0,0,0,1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.center-logo { width: 70px; margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(255,255,255,0.4)); }
.choice-center h1 { font-family: 'Orbitron', sans-serif; font-size: 3rem; letter-spacing: 6px; margin-bottom: 10px; }
.choice-center p { font-size: 1.4rem; font-style: italic; color: #ccc; letter-spacing: 3px; }

/* Split Container */
.split-container { display: flex; width: 100vw; height: 100vh; position: relative; }
.split-container:hover .choice-center { opacity: 0; transform: translate(-50%, -100%) scale(0.9); }

/* Panes */
.split-pane {
    position: relative; flex: 1; display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: white;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    background: rgba(8, 8, 8, 0.85);
    border-left: 1px solid rgba(255,255,255,0.02);
    border-right: 1px solid rgba(255,255,255,0.02);
    backdrop-filter: blur(4px);
}

.split-container .split-pane:hover { flex: 1.6; z-index: 10; box-shadow: 0 0 50px rgba(0,0,0,1); }

/* Content inside Pane */
.content { 
    position: relative; z-index: 5; text-align: center; 
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); 
    opacity: 0.6; /* Perfectly readable before hover */
    transform: translateY(30px); /* Subtle shift */
}
.split-pane:hover .content { transform: translateY(0) scale(1.05); opacity: 1; }

.icon { font-size: 5rem; margin-bottom: 1.5rem; transition: transform 0.4s ease; }
.split-pane:hover .icon { transform: translateY(-10px); }

h2 { font-family: 'Orbitron', sans-serif; font-size: 3.5rem; margin-bottom: 0.5rem; letter-spacing: 3px; }
p { font-size: 1.2rem; margin-bottom: 2.5rem; }

.btn {
    display: inline-block; padding: 15px 40px; border: 2px solid white; border-radius: 30px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    transition: all 0.4s ease; background: transparent; backdrop-filter: blur(5px);
}

/* Base Pill Indicator */
.pill-indicator {
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 25px; height: 60px; border-radius: 30px;
    z-index: 5; transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.split-pane:hover .pill-indicator { top: 50px; }


/* =========================================
   🔴 GAMER PANE (Red/Cyberpunk Aesthetic)
   ========================================= */
.gamer-pane {
    background: radial-gradient(circle at center, #110000 0%, #030000 100%);
}
/* Cyberpunk 3D Floor Grid */
.gamer-pane::before {
    content: ''; position: absolute; width: 200%; height: 200%; bottom: 0; left: -50%;
    background-image: 
        linear-gradient(rgba(220, 38, 38, 0.15) 2px, transparent 2px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.15) 2px, transparent 2px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMoveRed 5s linear infinite;
    opacity: 0.3; transition: opacity 0.5s;
    pointer-events: none;
}
@keyframes gridMoveRed { 
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); } 
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); } 
}

.gamer-pane:hover::before { opacity: 0.8; }
.red-pill { background: #dc2626; box-shadow: 0 0 50px #dc2626, inset -5px -5px 15px rgba(0,0,0,0.6), inset 5px 5px 15px rgba(255,255,255,0.6); }
.gamer-pane:hover .btn { background: #dc2626; border-color: #dc2626; color: white; box-shadow: 0 0 30px rgba(220, 38, 38, 0.8); }
.gamer-pane:hover h2, .gamer-pane:hover .icon { text-shadow: 0 0 30px #dc2626; color: #ff4444; }


/* =========================================
   🔵 PRO PANE (Blue/Blueprint Aesthetic)
   ========================================= */
.professional-pane {
    background: radial-gradient(circle at center, #000814 0%, #000205 100%);
}
/* Engineering Blueprint Grid */
.professional-pane::before {
    content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    opacity: 0.3; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
/* Tech Scanning Beam */
.professional-pane::after {
    content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 40%;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.2), transparent);
    animation: scanlineBlue 4s linear infinite;
    opacity: 0.1; transition: opacity 0.5s;
    pointer-events: none;
}
@keyframes scanlineBlue { 
    0% { top: -100%; } 
    100% { top: 200%; } 
}

.professional-pane:hover::before { opacity: 0.8; transform: scale(1.05); }
.professional-pane:hover::after { opacity: 0.6; }
.blue-pill { background: #2563eb; box-shadow: 0 0 50px #2563eb, inset -5px -5px 15px rgba(0,0,0,0.6), inset 5px 5px 15px rgba(255,255,255,0.6); }
.professional-pane:hover .btn { background: #2563eb; border-color: #2563eb; color: white; box-shadow: 0 0 30px rgba(37, 99, 235, 0.8); }
.professional-pane:hover h2, .professional-pane:hover .icon { text-shadow: 0 0 30px #2563eb; color: #60a5fa; }

@media (max-width: 768px) {

    body { overflow: hidden !important; }
    .split-container { flex-direction: column; height: 100vh !important; }
    .split-pane { flex: 1 !important; border-bottom: 2px solid rgba(255,255,255,0.1); min-height: 0; }
    .split-pane:hover { flex: 1 !important; }
    
    .choice-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0,0,0,0.95);
        padding: 5px 15px;
        border-radius: 20px;
        pointer-events: none;
        z-index: 50;
        border: 1px solid rgba(255,255,255,0.15);
    }
    .choice-center h1 { font-size: 1rem; letter-spacing: 2px; margin-bottom: 0; }
    .choice-center p { display: none; }
    .center-logo { width: 35px; margin-bottom: 2px; }

    /* Force content visible on mobile and scale it down to fit 50vh */
    .content { opacity: 1 !important; transform: translateY(0) !important; scale: 0.85; }
    
    .icon { font-size: 2.8rem; margin-bottom: 0.5rem; }
    h2 { font-size: 1.8rem; margin-bottom: 0.2rem; }
    p { font-size: 0.9rem; margin-bottom: 1rem; padding: 0 10px; }
    
    .btn { padding: 10px 25px; font-size: 0.85rem; border-width: 1px; }
    
    .pill-indicator { width: 40px; height: 80px; bottom: 10px; right: 10px; }
    .red-pill { top: 10px; right: 10px; bottom: auto; left: auto; }
}

/* =========================================
   Transition Overlay
   ========================================= */
.transition-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #000;
    z-index: 100;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.6s ease;
}
.transition-overlay.active {
    opacity: 1; pointer-events: all;
}
.transition-quote {
    color: white; font-size: 2.2rem; max-width: 900px; text-align: center;
    font-style: italic; font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px; line-height: 1.6;
    opacity: 0; transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    padding: 0 40px;
}
.transition-overlay.active .transition-quote {
    opacity: 1; transform: scale(1);
}

.continue-hint {
    position: absolute;
    bottom: 10%;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0;
    transition: opacity 1s ease 1s; /* Appears shortly after quote */
    animation: pulseHint 2s infinite;
    cursor: pointer;
}
.transition-overlay.active .continue-hint {
    opacity: 1;
}

@keyframes pulseHint {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

body, html { max-width: 100vw; overflow-x: hidden; }

