﻿:root {
    --bg-main: #0a0a0a;
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff8800;
    --neon-orange: #ff8800;
    --neon-green: #00ff66;
    
    --font-heading: 'Righteous', cursive;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body); background-color: var(--bg-main); color: var(--text-main); line-height: 1.6;
    overflow-x: hidden; position: relative;
}
body.loading { overflow: hidden; }

/* Clean styles (removed CRT & custom cursor) */

/* Preloader Elegant */
#preloader-elegant {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-main); z-index: 10000; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
.preloader-logo { 
    font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 4rem); color: #fff; 
    opacity: 0; transform: scale(0.9); animation: logoFadeIn 2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.preloader-logo .logo-accent { color: var(--neon-orange); text-shadow: 0 0 20px var(--neon-orange); }
@keyframes logoFadeIn {
    0% { opacity: 0; transform: scale(0.9); filter: blur(10px); }
    50% { opacity: 1; transform: scale(1.05); filter: blur(0); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Dynamic Backgrounds */
.bg-home::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 40%),
                radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.02), transparent 40%);
    z-index: -2; pointer-events: none;
}
.bg-home::after {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -3; pointer-events: none;
}

.bg-labs { background-color: #050a15; }
.bg-labs::before {
    content: "10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11 10 01 11 00 10 10 01 00 11";
    position: fixed; top: -100%; left: 0; width: 100%; height: 200%;
    color: rgba(0, 243, 255, 0.03); font-family: monospace; font-size: 20px;
    line-height: 40px; word-break: break-all; overflow: hidden;
    z-index: -2; pointer-events: none;
    animation: matrixScroll 60s linear infinite;
}
@keyframes matrixScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(50%); }
}

.bg-forge { background-color: #0a0505; }
.bg-forge::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 136, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 136, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -3; pointer-events: none;
}
.bg-forge::after {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 40%, #0a0505 100%);
    z-index: -2; pointer-events: none;
}

.bg-academie { background-color: #05100a; }
.bg-academie::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 255, 102, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(0, 255, 102, 0.05) 0%, transparent 40%);
    z-index: -2; pointer-events: none;
    animation: neuralPulse 8s ease-in-out infinite alternate;
}
@keyframes neuralPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.bg-game { background-color: #0a050a; overflow-x: hidden; }
.bg-game::before {
    content: ""; position: fixed; bottom: -10vh; left: -50vw; width: 200vw; height: 60vh;
    background-image: 
        linear-gradient(transparent 95%, rgba(255, 0, 255, 0.15) 100%),
        linear-gradient(90deg, transparent 95%, rgba(255, 0, 255, 0.15) 100%);
    background-size: 40px 40px;
    transform: perspective(600px) rotateX(60deg);
    animation: synthGrid 10s linear infinite;
    z-index: -3; pointer-events: none;
}
@keyframes synthGrid {
    0% { background-position: 0 0; }
    100% { background-position: 0 40px; }
}
.bg-game::after {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    z-index: -2; pointer-events: none;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; position: relative; z-index: 10; }
.section { padding: 120px 0; }

/* Typography */
h1, h2, h3, h4, .logo, .badge-retro { font-family: var(--font-heading); font-weight: normal; letter-spacing: 1px; }
h1 { font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1.1; margin-bottom: 2rem; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); text-align: center; margin-bottom: 0.5rem; }
.section-desc { text-align: center; color: var(--text-muted); margin-bottom: 3rem; }

/* Clean Gradient Text Effect */
.chrome-text {
    background: linear-gradient(135deg, #ffffff 0%, #dcdcdc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; position: relative; display: inline-block;
}
.chrome-text::after {
    display: none; /* Removed heavy synthwave reflection */
}

/* Softer Colored Texts */
.neon-text-magenta { color: var(--neon-magenta); text-shadow: 0 0 10px rgba(255, 0, 127, 0.3); }
.neon-text-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 243, 255, 0.3); }
.neon-text-orange { color: var(--neon-orange); text-shadow: 0 0 10px rgba(255, 136, 0, 0.3); }
.neon-text-green { color: var(--neon-green); text-shadow: 0 0 10px rgba(0, 255, 102, 0.3); }

/* Header */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: var(--transition);
}
header.scrolled { padding: 15px 0; background: rgba(11, 8, 24, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 136, 0, 0.3); }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2rem; color: #fff; text-decoration: none; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.logo-accent { color: var(--neon-orange); text-shadow: 0 0 15px var(--neon-orange); }

.hamburger { display: none; background: transparent; border: none; cursor: pointer; }

nav ul { display: flex; list-style: none; gap: 2rem; align-items: center; }
nav a { text-decoration: none; color: #fff; font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; font-family: var(--font-heading); transition: var(--transition); }
nav a:hover { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }

/* Dropdown Menu */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: rgba(11, 8, 24, 0.95);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
    padding: 10px 0; min-width: 240px; display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition); z-index: 1000;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
    display: block; padding: 10px 20px; font-size: 0.85rem;
    font-family: var(--font-body); text-transform: none; font-weight: normal; letter-spacing: 0;
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--neon-cyan); }

/* Buttons */
.btn-neon-solid, .btn-neon-ghost, .btn-neon-outline {
    display: inline-block; text-decoration: none; font-family: var(--font-heading); font-size: 1.1rem;
    padding: 12px 30px; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; border-radius: 16px;
}
.btn-neon-solid {
    background: linear-gradient(45deg, var(--neon-magenta), #9000ff); color: #fff;
    box-shadow: 0 0 20px rgba(255, 136, 0, 0.4); border: 1px solid rgba(255,255,255,0.2);
}
.btn-neon-solid:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 136, 0, 0.8); }

.btn-neon-ghost { background: transparent; color: var(--neon-cyan); border: 2px solid var(--neon-cyan); box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.2), 0 0 10px rgba(0, 243, 255, 0.2); }
.btn-neon-ghost:hover { background: rgba(0, 243, 255, 0.1); box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.5), 0 0 15px rgba(0, 243, 255, 0.5); text-shadow: 0 0 5px var(--neon-cyan); }

.btn-neon-outline { border: 2px solid var(--neon-magenta); padding: 8px 20px; color: var(--neon-magenta); }
.btn-neon-outline:hover { background: var(--neon-magenta); color: #fff; box-shadow: 0 0 15px var(--neon-magenta); }
.w-100 { width: 100%; text-align: center; }

/* Hero Modern */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; padding-bottom: 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.badge-modern {
    display: inline-block; padding: 6px 16px; background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; font-size: 0.85rem;
    color: #fff; margin-bottom: 2rem; font-weight: 600; letter-spacing: 1px; backdrop-filter: blur(10px);
}
.text-accent { 
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; 
}
.subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 550px; margin-bottom: 3rem; line-height: 1.7; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-modern-solid, .btn-modern-outline {
    display: inline-block; text-decoration: none; font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    padding: 14px 28px; transition: var(--transition); border-radius: 16px;
}
.btn-modern-solid { background: #fff; color: #000; }
.btn-modern-solid:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255,255,255,0.1); }
.btn-modern-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-modern-outline:hover { background: rgba(255,255,255,0.05); border-color: #fff; transform: translateY(-2px); }

.hero-visual { position: relative; width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; }
.code-window {
    width: 320px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    animation: floatWindow 6s ease-in-out infinite;
}
.cw-header {
    height: 36px; border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; padding: 0 15px; gap: 8px;
    background: rgba(255,255,255,0.03);
}
.cw-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.cw-dot:nth-child(1) { background: rgba(255, 95, 86, 0.4); }
.cw-dot:nth-child(2) { background: rgba(255, 189, 46, 0.4); }
.cw-dot:nth-child(3) { background: rgba(39, 201, 63, 0.4); }
.cw-body { padding: 30px 20px; display: flex; flex-direction: column; gap: 16px; }
.cw-line { height: 6px; background: rgba(255,255,255,0.1); border-radius: 16px; }
.cw-line.indent { margin-left: 20px; }
.w-70 { width: 70%; }
.w-90 { width: 90%; }
.w-50 { width: 50%; }
.w-80 { width: 80%; background: rgba(255,255,255,0.3); }
.w-40 { width: 40%; }

@keyframes floatWindow {
    0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(-20px); }
}

/* Grid / Cards */
.grid { display: grid; gap: 2rem; }
.cards-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.arcade-card {
    background: rgba(20, 15, 40, 0.8); border: 2px solid #333;
    padding: 2px; /* border gradient trick space */ position: relative;
    transition: transform 0.3s;
}
.arcade-card::before {
    content: ""; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #333, #111); z-index: -1; transition: opacity 0.3s;
}
.arcade-card:hover { transform: translateY(-10px); }
.card-labs:hover::before { background: linear-gradient(45deg, var(--neon-cyan), transparent); box-shadow: 0 0 20px rgba(0,243,255,0.3); }
.card-forge:hover::before { background: linear-gradient(45deg, var(--neon-orange), transparent); box-shadow: 0 0 20px rgba(255,136,0,0.3); }
.card-academy:hover::before { background: linear-gradient(45deg, var(--neon-green), transparent); box-shadow: 0 0 20px rgba(0,255,102,0.3); }
.card-game:hover::before { background: linear-gradient(45deg, #ff00ff, transparent); box-shadow: 0 0 20px rgba(255,0,255,0.3); }

.card-inner { background: rgba(15, 12, 30, 0.9); padding: 2.5rem; height: 100%; backdrop-filter: blur(10px); }
.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.arcade-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: #fff; }
.card-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; font-family: var(--font-heading); letter-spacing: 1px; }
.card-list { list-style: none; }
.card-list li { padding-left: 1.5rem; position: relative; margin-bottom: 0.8rem; font-size: 0.95rem; color: #ddd; }
.card-list li::before { content: '>'; position: absolute; left: 0; color: var(--neon-magenta); font-family: var(--font-heading); }

/* Features */
.features-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature-item { text-align: center; padding: 2rem; border: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.3); }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; filter: drop-shadow(0 0 10px rgba(255,136,0,0.5)); }
.feature-item h4 { font-size: 1.3rem; margin-bottom: 1rem; color: #fff; }

/* Pricing */
.pricing-grid { display: grid; gap: 3rem; margin-top: 2rem; }
.pricing-category { min-width: 0; }
.pricing-category h3 { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; font-size: 1.5rem; font-family: var(--font-heading); }
.pricing-table-wrapper { overflow-x: auto; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,136,0,0.3); box-shadow: inset 0 0 20px rgba(255,136,0,0.1); border-radius: 16px; }
.neon-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.neon-table td { padding: 1.5rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.1rem; }
.neon-table td strong { color: #fff; font-family: var(--font-heading); letter-spacing: 0.5px; }
.pricing-details { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; font-family: var(--font-body); max-width: 500px; }
.neon-table tr:hover { background: rgba(255,136,0,0.05); }
.neon-table td:last-child { text-align: right; font-family: var(--font-heading); white-space: nowrap; }
.neon-table .price span { font-size: 1.5rem; color: #fff; margin-left: 0.5rem; }
.neon-table .price small { font-size: 0.8rem; color: var(--text-muted); margin-left: 5px; }
.neon-table .free { color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green); font-size: 1.5rem; }

/* Background Utilities */
.bg-darker { background-color: rgba(5, 4, 12, 0.5); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden; }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; padding: 1.5rem;
    color: #fff; font-size: 1.1rem; font-family: var(--font-heading); display: flex; justify-content: space-between; align-items: center;
    transition: background 0.3s;
}
.faq-question:hover { background: rgba(255,255,255,0.05); }
.faq-icon { font-size: 1.5rem; transition: transform 0.3s; color: var(--neon-cyan); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner, .faq-answer p { padding: 0 1.5rem 1.5rem 1.5rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* Contact */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; background: rgba(15,12,30,0.8); border: 1px solid var(--neon-cyan); box-shadow: inset 0 0 30px rgba(0,243,255,0.1); padding: 4rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-method { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; text-decoration: none; transition: transform 0.3s; }
.contact-method:hover { transform: translateX(10px); }
.cm-icon { font-size: 1.5rem; text-shadow: 0 0 10px var(--neon-magenta); }
.cm-label { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-heading); letter-spacing: 1px; }
.cm-value { font-size: 1.1rem; color: #fff; font-weight: 600; }

.retro-form .form-header { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 2rem; color: var(--neon-orange); border-bottom: 2px solid var(--neon-orange); padding-bottom: 0.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; font-family: var(--font-heading); letter-spacing: 1px; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-family: var(--font-body); transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0,243,255,0.3);
}
.form-status { margin-top: 1rem; font-family: var(--font-heading); text-align: center; display: none; }
.form-status.success { display: block; color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green); }
.form-status.error { display: block; color: #ff0044; text-shadow: 0 0 10px #ff0044; }

/* Footer */
footer { padding: 3rem 0; border-top: 2px solid rgba(255,136,0,0.3); background: #000; text-align: center; }
.footer-brand .logo { font-size: 1.5rem; }
.footer-brand p { font-family: var(--font-heading); color: var(--neon-magenta); margin-top: 0.5rem; letter-spacing: 2px; }
.footer-links { margin-top: 2rem; color: #555; font-size: 0.8rem; }

/* Reveal Animations */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-up.active { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 900px) { .contact-wrapper { grid-template-columns: 1fr; padding: 2rem; } }
@media (max-width: 768px) {
    .hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; background: none; border: none; z-index: 1001; }
    .hamburger span { width: 100%; height: 2px; background: #fff; transition: 0.3s; }
    nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: rgba(11, 8, 24, 0.98); display: flex; align-items: center; justify-content: center; transition: 0.4s; z-index: 999; }
    nav.active { right: 0; }
    nav ul { flex-direction: column; font-size: 1.5rem; }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: none; padding-left: 20px; box-shadow: none; display: none; }
    .dropdown.active .dropdown-menu { display: flex; }
    h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    #cursor-retro { display: none; } /* Hide custom cursor on mobile */
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .subtitle { margin: 0 auto 3rem auto; }
    .hero-cta { justify-content: center; }
    .hero-visual { height: 250px; }
    .code-window { width: 260px; transform: perspective(1000px) rotateY(0) rotateX(0); animation: floatWindowMobile 6s ease-in-out infinite; }
    @keyframes floatWindowMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }
}

/* ======== EXPERTISE PAGES OVERHAUL ======== */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
@media (max-width: 900px) {
    .split-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.split-content {
    text-align: left;
}
.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.split-content p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.split-content ul {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0;
}
.split-content li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.split-content li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
    line-height: 1;
}

.split-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    animation: floatImage 6s ease-in-out infinite;
}
.split-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.split-image-container:hover img {
    transform: scale(1.05);
}
.split-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
    pointer-events: none;
}
@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Page Specific Accents */
.page-labs { --accent-color: #00f0ff; }
.page-forge { --accent-color: #ff6a00; }
.page-academie { --accent-color: #00ff88; }
.page-game { --accent-color: #ff00ff; }

/* Subpage Hero Overrides */
.subpage-hero {
    min-height: 40vh;
    padding-top: 180px;
    padding-bottom: 50px;
    text-align: center;
}
.subpage-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.subpage-hero .subtitle {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}


/* =======================================
   MASSIVE OVERHAUL UI/UX UPDATES
   ======================================= */

/* Staggered Grids */
.staggered-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}
.staggered-grid > *:nth-child(even) {
    margin-top: 3rem;
}
@media (max-width: 768px) {
    .staggered-grid > *:nth-child(even) {
        margin-top: 0;
    }
}

/* Alternate Split Sections */
.split-section.reverse {
    direction: rtl;
}
.split-section.reverse .split-content,
.split-section.reverse .split-image-container {
    direction: ltr;
}

/* Glassmorphism Contact Form */
.glass-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.02);
    max-width: 600px;
    margin: 0 auto;
}
.glass-form-container .form-group {
    margin-bottom: 2rem;
    position: relative;
}
.glass-form-container input,
.glass-form-container textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.glass-form-container textarea {
    resize: vertical;
    min-height: 150px;
}
.glass-form-container input:focus,
.glass-form-container textarea:focus {
    outline: none;
    border-color: var(--accent-color, var(--primary-color));
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
}
.glass-form-container label {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 1rem;
}
.glass-form-container input:focus ~ label,
.glass-form-container input:valid ~ label,
.glass-form-container textarea:focus ~ label,
.glass-form-container textarea:valid ~ label {
    top: -0.8rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--accent-color, var(--primary-color));
    background: #0d1117; /* match body background roughly to clip line */
    padding: 0 0.4rem;
    border-radius: 4px;
}

/* Dynamic Hero Layout */
.hero-dynamic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 90vh;
    padding-top: 100px;
}
.hero-dynamic-content {
    text-align: left;
}
.hero-dynamic-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-dynamic-visual {
    position: relative;
    height: 600px;
}
.floating-hero-img {
    position: absolute;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-img-1 {
    width: 80%;
    right: 0;
    top: 50px;
    animation: floatImage 8s ease-in-out infinite;
    z-index: 2;
}
.hero-img-2 {
    width: 50%;
    left: 0;
    bottom: 50px;
    animation: floatImage 6s ease-in-out infinite reverse;
    z-index: 3;
    border-color: rgba(0, 255, 255, 0.3);
}

@media (max-width: 992px) {
    .hero-dynamic {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
    }
    .hero-dynamic-content {
        text-align: center;
    }
    .hero-dynamic-visual {
        height: 400px;
    }
}


/* =======================================
   CLICK FEEDBACK & USER SELECT PREVENTIONS
   ======================================= */

/* Prevent text selection and I-beam cursor on interactive elements */
.btn-neon-solid, .btn-neon-outline, .btn-modern-solid, .btn-modern-outline, .btn-neon-ghost,
.faq-question, #nav-menu a, .hamburger, .arcade-card, .contact-method {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Add tactile feedback (scale down on click) */
.btn-neon-solid:active, .btn-neon-outline:active, .btn-modern-solid:active, .btn-modern-outline:active, .btn-neon-ghost:active,
.faq-question:active, #nav-menu a:active, .hamburger:active, .contact-method:active {
    transform: scale(0.95) !important;
    transition: transform 0.1s ease !important;
}

/* Ensure arcade cards have a slight press effect too */
.arcade-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.arcade-card:active {
    transform: translateY(-5px) scale(0.98);
}
