/* BASE VARIABLES - "QUANTUM NEON CASINO" */
:root {
    /* Colors */
    --bg-deep-purple: #1A0033;
    --bg-electric-blue: #001F5B;
    --neon-pink: #FF007A;
    --lime-pop: #C6FF00;
    --pulse-orange: #FF6A00;
    --text-light: #F8F9FA;
    --text-muted: #A0AEC0;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(15px);
    
    /* Fonts */
    --font-heading: 'Orbitron', 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--bg-deep-purple) 0%, var(--bg-electric-blue) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.neon-text {
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 0, 122, 0.5), 0 0 20px rgba(255, 0, 122, 0.3);
}

.lime-pop { color: var(--lime-pop); }
.neon-pink { color: var(--neon-pink); }
.pulse-orange { color: var(--pulse-orange); }

/* GLASSMORPHISM UTILITY */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* BUTTON SYSTEM */
button, .btn-primary, .btn-ghost {
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--lime-pop);
    color: #000;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    box-shadow: 0 0 15px rgba(198, 255, 0, 0.4);
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 25px rgba(198, 255, 0, 0.8);
    background: #d4ff33;
}

.btn-ghost {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 14px;
    backdrop-filter: var(--glass-blur);
}

.btn-ghost:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 122, 0.3);
}

.btn-massive {
    font-size: 1.5rem;
    padding: 20px 40px;
    border-radius: 18px;
}

/* 2010 TOGGLE */
.time-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.time-switch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 40px;
}

.time-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.time-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.time-slider:before {
    position: absolute;
    content: "";
    height: 32px;
    width: 50px;
    left: 4px;
    bottom: 3px;
    background-color: var(--neon-pink);
    border-radius: 16px;
    transition: .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 10px var(--neon-pink);
}

input:checked + .time-slider:before {
    transform: translateX(60px);
    background-color: var(--lime-pop);
    box-shadow: 0 0 10px var(--lime-pop);
}

.time-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}
.time-label.legacy { color: var(--text-muted); }
.time-label.modern { color: #000; }

input:checked + .time-slider .legacy { color: var(--text-light); }
input:checked + .time-slider .modern { color: #000; }

/* HEADER & NAV */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    margin: 20px auto;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

.hero-bg-transition {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mix-blend-mode: luminosity;
    transition: all 2s ease;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
}

.prompt-console {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    text-align: left;
    overflow: hidden;
}

.console-header {
    background: rgba(0,0,0,0.5);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.console-title {
    margin-left: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.console-body {
    padding: 20px;
    font-family: monospace;
    font-size: 1rem;
    color: var(--lime-pop);
}

.prompt-prefix {
    color: var(--neon-pink);
    margin-right: 10px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* NEURAL TICKER */
.neural-ticker-wrapper {
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
    padding: 15px 0;
    position: relative;
}

.neural-ticker {
    display: flex;
    white-space: nowrap;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin: 0 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    transition: color 0.3s ease;
    cursor: default;
}

.ticker-item:hover {
    color: var(--lime-pop);
}

.status-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--lime-pop);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--lime-pop);
}

/* MAIN GAME SECTION */
.game-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.game-container {
    position: relative;
    padding: 10px;
    border-color: rgba(0, 31, 91, 0.5);
}

.game-container.neon-border {
    border: 2px solid rgba(255, 0, 122, 0.3);
    box-shadow: 0 0 30px rgba(0, 31, 91, 0.8), inset 0 0 20px rgba(255, 0, 122, 0.2);
}

.slot-iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    background: #000;
    position: relative;
    z-index: 2;
}

.game-glow {
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: radial-gradient(circle at center, rgba(255,0,122,0.2) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* VELOCITY GRID */
.velocity-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 20px;
}

.benchmark-container {
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.video-engine-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.benchmark-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.timer-ui {
    background: rgba(0,0,0,0.7);
    padding: 20px 40px;
    border-radius: 12px;
    border: 1px solid var(--lime-pop);
    box-shadow: 0 0 20px rgba(198,255,0,0.2);
}

.timer-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timer-countdown {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--pulse-orange);
    text-shadow: 0 0 10px var(--pulse-orange);
    display: block;
    margin-top: 5px;
}

.timer-comparison {
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.velocity-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.stat-card {
    padding: 30px;
    text-align: center;
}

.stat-card h4 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

/* BENTO GRID (PAGE 2) */
.bento-section {
    padding: 100px 20px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-card {
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 31, 91, 0.6);
    border-color: var(--neon-pink);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.auto-seo {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255,0,122,0.1), rgba(0,31,91,0.2));
}

.auto-seo h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.auto-seo .tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.highlight-offer {
    display: inline-block;
    background: rgba(198,255,0,0.1);
    color: var(--lime-pop);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--lime-pop);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

/* PRICING ENGINE (PAGE 3) */
.pricing-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(26,0,51,0.8) 0%, rgba(0,0,0,0) 70%);
}

.pricing-calculator {
    max-width: 600px;
    margin: 0 auto 60px;
    padding: 40px;
    text-align: center;
}

.neon-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    outline: none;
    margin: 30px 0 15px;
}

.neon-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lime-pop);
    cursor: pointer;
    box-shadow: 0 0 15px var(--lime-pop);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.price-display {
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.price-display span {
    font-size: 2.5rem;
    font-weight: 900;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    flex: 1;
    padding: 50px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price-amount {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 20px;
}

.price-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.highlight-card {
    border-color: rgba(198,255,0,0.4);
    box-shadow: 0 0 30px rgba(198,255,0,0.1);
    position: relative;
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lime-pop);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
}

/* ARCHITECTS & DEPLOYMENT (PAGE 4) */
.architects-section {
    padding: 100px 20px;
    text-align: center;
}

.architects-content {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 50px;
}

.architects-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.architects-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.raw-spec-container {
    margin-top: 30px;
}

.raw-spec-box {
    margin-top: 20px;
    background: #000;
    border: 1px solid var(--lime-pop);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    color: var(--lime-pop);
    font-family: monospace;
}

.hidden {
    display: none !important;
}

.deployment-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

.deploy-shield {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-core {
    width: 40px; height: 40px;
    background: var(--lime-pop);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--lime-pop);
}

.shield-ring {
    position: absolute;
    width: 100%; height: 100%;
    border: 2px dashed rgba(198,255,0,0.5);
    border-radius: 50%;
}

.deploy-status {
    font-family: monospace;
    color: var(--text-muted);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    margin-top: 50px;
    background: rgba(0,0,0,0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-heading);
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--neon-pink);
}

/* X-RAY MODAL */
.xray-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xray-content {
    width: 90%;
    max-width: 800px;
    background: rgba(0, 20, 0, 0.8);
    border: 1px solid var(--lime-pop);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 50px rgba(198,255,0,0.1);
}

.xray-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(198,255,0,0.3);
    padding-bottom: 10px;
}

.xray-header h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.btn-close:hover {
    color: var(--neon-pink);
}

.xray-code {
    color: #4af626;
    font-family: monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    line-height: 1.5;
}

.xray-status {
    margin-top: 20px;
    font-family: monospace;
    color: var(--lime-pop);
    border-top: 1px dashed rgba(198,255,0,0.3);
    padding-top: 10px;
}

/* LEGACY MODE OVERRIDES (2010 MODE) */
body.legacy-mode {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: "Times New Roman", Times, serif !important;
}

body.legacy-mode .glass-panel {
    background: #f0f0f0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.legacy-mode h1, body.legacy-mode h2, body.legacy-mode h3, body.legacy-mode h4 {
    font-family: "Times New Roman", Times, serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #000 !important;
    text-shadow: none !important;
}

body.legacy-mode .btn-primary, body.legacy-mode .btn-ghost {
    background: #e0e0e0 !important;
    color: #0000EE !important;
    border: 1px solid #000 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-decoration: underline !important;
    text-transform: none !important;
}

body.legacy-mode .neon-text, body.legacy-mode .lime-pop, body.legacy-mode .pulse-orange, body.legacy-mode .neon-pink {
    color: #000 !important;
    text-shadow: none !important;
}

body.legacy-mode .scanline, body.legacy-mode .game-glow, body.legacy-mode .shield-ring {
    display: none !important;
}

body.legacy-mode .hero-bg-img {
    display: none !important;
}

body.legacy-mode .top-nav {
    border-bottom: 2px solid #000;
    margin: 0; padding: 10px;
}

body.legacy-mode .logo-text {
    background: none !important;
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
}