/* ==========================================================================
   KOKOLOGIKA - SYSTEM DESIGN SYSTEM (CYBERPUNK / UNDERGROUND / RETRO CRT)
   Hardware, Kaos, Botánica & Trueque
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600;700&family=Rajdhani:wght@500;700;800&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
    --neon-orange: #ff5500;
    --neon-orange-glow: rgba(255, 85, 0, 0.6);
    --cyber-cyan: #00ffcc;
    --cyber-cyan-glow: rgba(0, 255, 204, 0.6);
    --neon-purple: #b026ff;
    --neon-green: #39ff14;
    --bg-dark: #030305;
    --bg-surface: #0a0a0f;
    --bg-card: rgba(15, 15, 22, 0.85);
    --border-color: #222233;
    --text-primary: #e6e6f0;
    --text-muted: #9494ad;
    --font-heading: 'Rajdhani', 'Space Grotesk', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-mono);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(255, 85, 0, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(0, 255, 204, 0.07) 0%, transparent 45%),
        linear-gradient(to bottom, #030305, #08080c);
    background-attachment: fixed;
}

/* ==========================================================================
   EFECTO CRT SCANLINES (DESACTIVADO POR DEFECTO PARA MÁXIMA NITIDEZ)
   ========================================================================== */
#crt-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.crt-active #crt-overlay {
    opacity: 1;
}

/* Canvas de fondo Matriz Cyber */
#cyber-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
}

/* ==========================================================================
   NAVEGACIÓN SUPERIOR GLASSMORPHISM
   ========================================================================== */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--neon-orange);
    box-shadow: 0 4px 25px rgba(255, 85, 0, 0.25);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4%;
}

nav .brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav .logo {
    color: var(--neon-orange);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 12px var(--neon-orange-glow);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

nav .logo:hover {
    transform: scale(1.03);
    color: #fff;
    text-shadow: 0 0 20px var(--neon-orange);
}

.system-status-badge {
    font-size: 0.72rem;
    background: rgba(0, 255, 204, 0.1);
    color: var(--cyber-cyan);
    border: 1px solid var(--cyber-cyan);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--cyber-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyber-cyan);
    animation: blink 1.2s infinite alternate;
}

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

nav .nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

nav .nav-links a {
    color: var(--cyber-cyan);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0%; height: 2px;
    background: var(--neon-orange);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--neon-orange);
}

nav .nav-links a:hover {
    color: var(--neon-orange);
    text-shadow: 0 0 10px var(--neon-orange-glow);
}

nav .nav-links a:hover::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ctrl-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ctrl-btn:hover, .ctrl-btn.active {
    border-color: var(--cyber-cyan);
    color: var(--cyber-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--neon-orange);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   SECCIONES Y CONTENEDORES
   ========================================================================== */
section {
    padding: 90px 20px 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-title {
    color: var(--cyber-cyan);
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 0 0 12px var(--cyber-cyan-glow);
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-cyan), transparent);
    margin-top: 6px;
    box-shadow: 0 0 8px var(--cyber-cyan);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 750px;
    margin: 0 auto 40px auto;
    text-align: center;
}

/* ==========================================================================
   HERO SECTION (#inicio)
   ========================================================================== */
#inicio {
    padding-top: 130px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scorpio-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.scorpio {
    font-size: 130px;
    line-height: 120px;
    display: inline-block;
    filter: drop-shadow(0 0 25px var(--neon-orange)) drop-shadow(0 0 50px var(--neon-orange));
    animation: pulseScorpio 2s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
    user-select: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scorpio:hover {
    transform: scale(1.15) rotate(5deg);
}

@keyframes pulseScorpio {
    0% { transform: scale(1); filter: drop-shadow(0 0 20px var(--neon-orange)); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 40px var(--neon-orange)) drop-shadow(0 0 70px #ff3300); }
}

h1.glitch {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    font-weight: 800;
    color: var(--neon-orange);
    text-shadow: 0 0 20px var(--neon-orange-glow);
    letter-spacing: 6px;
    position: relative;
    display: inline-block;
    animation: glitchText 3s infinite;
}

@keyframes glitchText {
    0%, 100% { text-shadow: 3px 0 var(--neon-orange), -3px 0 var(--cyber-cyan); }
    25% { text-shadow: -3px 0 var(--neon-orange), 3px 0 var(--cyber-cyan); }
    50% { text-shadow: 3px -3px var(--neon-orange), -3px 3px var(--cyber-cyan); }
    75% { text-shadow: -2px 2px var(--neon-orange), 2px -2px var(--cyber-cyan); }
}

.tagline-dynamic {
    color: var(--cyber-cyan);
    font-size: 1.15rem;
    margin: 15px 0 25px 0;
    background: rgba(0, 255, 204, 0.05);
    border: 1px dashed var(--cyber-cyan);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    text-shadow: 0 0 8px var(--cyber-cyan);
    display: inline-block;
}

/* REDES SOCIALES EN PRIMERA LÍNEA */
.social-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 15px 0 35px 0;
    flex-wrap: wrap;
}

.social-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--neon-orange);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.social-item i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-item:hover {
    color: #000;
    background: var(--cyber-cyan);
    border-color: var(--cyber-cyan);
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--cyber-cyan);
}

.social-item:hover i {
    transform: scale(1.2) rotate(-5deg);
}

/* MANIFIESTO TERMINAL */
.manifesto-box {
    max-width: 900px;
    background: rgba(10, 10, 16, 0.9);
    border: 1px solid rgba(255, 85, 0, 0.4);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(255, 85, 0, 0.08);
    margin-bottom: 35px;
    overflow: hidden;
    text-align: left;
}

.terminal-header {
    background: rgba(20, 20, 30, 0.9);
    padding: 10px 16px;
    border-bottom: 1px solid #222233;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

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

.terminal-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.manifesto-content {
    padding: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.manifesto-content span.highlight {
    color: var(--neon-orange);
    font-weight: 700;
    text-shadow: 0 0 8px var(--neon-orange-glow);
}

.manifesto-content span.cyan {
    color: var(--cyber-cyan);
    font-weight: 700;
}

/* BOTONES CTAs */
.btn-cta-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-cyber {
    background: var(--neon-orange);
    color: #000;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--neon-orange);
    box-shadow: 0 0 20px var(--neon-orange-glow);
    cursor: pointer;
}

.btn-cyber:hover {
    background: var(--cyber-cyan);
    border-color: var(--cyber-cyan);
    color: #000;
    box-shadow: 0 0 30px var(--cyber-cyan);
    transform: translateY(-3px);
}

.btn-cyber-outline {
    background: transparent;
    color: var(--cyber-cyan);
    border: 2px solid var(--cyber-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.15);
}

.btn-cyber-outline:hover {
    background: var(--cyber-cyan);
    color: #000;
    box-shadow: 0 0 25px var(--cyber-cyan);
}

/* ==========================================================================
   SECCIÓN DE SOPORTE TÉCNICO & HARDWARE (#soporte-pc)
   ========================================================================== */
#soporte-pc {
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.9), rgba(12, 12, 18, 0.95));
    border-top: 2px solid var(--neon-orange);
    border-bottom: 2px solid var(--neon-orange);
    max-width: 100vw;
    width: 100%;
}

.soporte-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.soporte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.soporte-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.soporte-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--border-color);
    transition: var(--transition-fast);
}

.soporte-card:hover {
    border-color: var(--cyber-cyan);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 255, 204, 0.15);
}

.soporte-card:hover::before {
    background: var(--cyber-cyan);
    box-shadow: 0 0 12px var(--cyber-cyan);
}

.soporte-card.featured {
    border-color: var(--neon-orange);
}

.soporte-card.featured::before {
    background: var(--neon-orange);
    box-shadow: 0 0 12px var(--neon-orange);
}

.soporte-card i.icon {
    font-size: 3.2rem;
    color: var(--neon-orange);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--neon-orange-glow));
}

.soporte-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.soporte-card .precio {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cyber-cyan);
    text-shadow: 0 0 15px var(--cyber-cyan-glow);
    margin: 10px 0;
}

.soporte-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-card {
    width: 100%;
    background: var(--neon-orange);
    color: #000;
    font-weight: 800;
    padding: 14px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    display: block;
    text-align: center;
}

.btn-card:hover {
    background: var(--cyber-cyan);
    box-shadow: 0 0 20px var(--cyber-cyan);
}

/* WIZARD DE PRESUPUESTOS DE PC */
.pc-wizard-box {
    margin-top: 55px;
    background: rgba(14, 14, 22, 0.95);
    border: 1px solid var(--cyber-cyan);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.1);
    text-align: left;
}

.pc-wizard-box h3 {
    color: var(--cyber-cyan);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wizard-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.wizard-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.wizard-select {
    width: 100%;
    background: #05050a;
    border: 1px solid var(--border-color);
    color: var(--cyber-cyan);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 1rem;
    outline: none;
    cursor: pointer;
}

.wizard-select:focus {
    border-color: var(--cyber-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

.wizard-result {
    background: #050508;
    border: 1px dashed var(--neon-orange);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.wizard-result.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SECCIÓN EL HUERTO (#katalogo)
   ========================================================================== */
#katalogo {
    text-align: center;
}

.huerto-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active, .tab-btn:hover {
    border-color: var(--neon-orange);
    color: var(--neon-orange);
    background: rgba(255, 85, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.2);
}

.huerto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 30px;
    width: 100%;
}

.huerto-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: left;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.huerto-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyber-cyan);
    box-shadow: 0 10px 25px rgba(0, 255, 204, 0.15);
}

.card-badge {
    position: absolute;
    top: 15px; right: 15px;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
}

.badge-trueque {
    background: rgba(0, 255, 204, 0.15);
    color: var(--cyber-cyan);
    border: 1px solid var(--cyber-cyan);
}

.badge-stock {
    background: rgba(255, 85, 0, 0.15);
    color: var(--neon-orange);
    border: 1px solid var(--neon-orange);
}

.huerto-card i.card-icon {
    font-size: 2.8rem;
    color: var(--neon-orange);
    margin-bottom: 15px;
}

.huerto-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
}

.huerto-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-specs {
    list-style: none;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #b0b0cc;
}

.card-specs li {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    flex: 1;
    padding: 10px;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

/* ==========================================================================
   LA TABERNA (#taberna) & TORNEO DE MUS
   ========================================================================== */
#taberna {
    text-align: center;
}

.mus-banner-box {
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.9), rgba(200, 50, 0, 0.95));
    color: #000;
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 0 35px var(--neon-orange-glow);
    position: relative;
    overflow: hidden;
}

.mus-banner-box h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.time-block {
    background: rgba(0, 0, 0, 0.85);
    color: var(--cyber-cyan);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    min-width: 80px;
    border: 1px solid var(--cyber-cyan);
}

.time-block .number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.time-block .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* KALIMOTXO BAR / TIP JAR */
.kalimotxo-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    margin-top: 45px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.kalimotxo-bar h3 {
    color: var(--neon-orange);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.kali-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.kali-card {
    background: rgba(5, 5, 10, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.kali-card:hover, .kali-card.selected {
    border-color: var(--neon-orange);
    background: rgba(255, 85, 0, 0.15);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.2);
}

.kali-card i {
    font-size: 2rem;
    color: var(--neon-orange);
    margin-bottom: 8px;
}

.kali-card .kali-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.kali-card .kali-price {
    color: var(--cyber-cyan);
    font-size: 1.2rem;
    font-weight: 800;
}

/* ==========================================================================
   MODALES (TRUEQUE & REGLAS MUS)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--bg-surface);
    border: 2px solid var(--neon-orange);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    padding: 30px;
    box-shadow: 0 0 40px var(--neon-orange-glow);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--neon-orange);
}

/* FORMULARIOS */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--cyber-cyan);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: #05050a;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    outline: none;
}

.form-control:focus {
    border-color: var(--neon-orange);
    box-shadow: 0 0 10px var(--neon-orange-glow);
}

/* ==========================================================================
   FOOTER & RESPONSIVE
   ========================================================================== */
footer {
    text-align: center;
    padding: 35px 20px;
    background: #030305;
    border-top: 1px solid #151522;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

footer a {
    color: var(--cyber-cyan);
    text-decoration: none;
}

footer a:hover {
    color: var(--neon-orange);
}

@media (max-width: 868px) {
    nav .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: rgba(5, 5, 8, 0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 2px solid var(--neon-orange);
    }
    
    nav .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1.glitch { font-size: 3.2rem; }
    .scorpio { font-size: 90px; line-height: 90px; }
}
