@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Outfit:wght@300;400;600;700&display=swap');

/* === VARIABLES Y TEMAS === */
:root {
    --bg-dark: #05080c;
    --bg-card: rgba(8, 12, 20, 0.75);
    --border-glass: rgba(255, 255, 255, 0.06);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Variables dinámicas (Cambiadas por JS según el tema) */
    --theme-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-fire {
    --accent: #00f0ff;
    --accent-rgb: 0, 240, 255;
    --accent-secondary: #0066ff;
    --accent-secondary-rgb: 0, 102, 255;
    --glow-color: rgba(0, 240, 255, 0.35);
    --bg-radial: radial-gradient(circle at 50% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
}

body.theme-cosmos {
    --accent: #0066ff;
    --accent-rgb: 0, 102, 255;
    --accent-secondary: #7f00ff;
    --accent-secondary-rgb: 127, 0, 255;
    --glow-color: rgba(0, 102, 255, 0.35);
    --bg-radial: radial-gradient(circle at 50% 30%, rgba(0, 102, 255, 0.08) 0%, transparent 60%);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: var(--theme-transition);
}

/* Fondo radial animado y Canvas de partículas */
.space-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-image: var(--bg-radial);
    transition: var(--theme-transition);
}

#starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === INTERFAZ COMÚN / GLASSMORPHISM === */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.glass-panel:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.15);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--theme-transition);
}

.glow-text {
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
}

.btn-futuristic {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #030303;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
}

.btn-futuristic:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.7);
}

.btn-futuristic::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.btn-futuristic:hover::after {
    left: 120%;
    opacity: 1;
}

/* === ENCABEZADO (HEADER) === */
header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.4);
    transition: var(--theme-transition);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

/* Conmutador de Órbita (Theme Switcher) */
.orbit-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
}

.orbit-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    color: var(--text-muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.orbit-btn.active {
    color: #030303;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.5);
}

/* === SECCIÓN HERO === */
.hero {
    max-width: 1200px;
    margin: 2rem auto 6rem;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 5;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    transition: var(--theme-transition);
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Countdown */
.countdown-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.countdown-box {
    padding: 1rem;
    min-width: 80px;
    text-align: center;
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

.countdown-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    transition: var(--theme-transition);
}

.countdown-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.3rem;
    letter-spacing: 1px;
}

/* Oso Flotante Hero */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bear-avatar-container {
    width: 450px;
    height: 450px;
    position: relative;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.bear-avatar-container:active {
    cursor: grabbing;
}

.bear-glow-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
    animation: pulseGlow 4s infinite alternate;
    transition: var(--theme-transition);
}

.bear-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.1s ease-out, border-color var(--theme-transition);
    border: 2px solid rgba(var(--accent-rgb), 0.15);
    box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.1);
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1.2; }
}

/* AI Presenters in Hero */
.hosts-avatar-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hosts-glow-bg {
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(25px);
    z-index: 1;
    animation: pulseGlow 4s infinite alternate;
    transition: var(--theme-transition);
}

.hosts-img-hero, .hosts-video-hero {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.hud-status {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 13, 13, 0.95);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3);
    z-index: 10;
    transition: var(--theme-transition);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #39ff14;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #39ff14;
    animation: pulseDotAnimation 1.5s infinite alternate;
}

.sound-toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(13, 13, 13, 0.85);
    border: 1px solid var(--accent);
    color: var(--accent);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}

.sound-toggle-btn:hover {
    background: var(--accent);
    color: #030303;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.5);
}

@keyframes pulseDotAnimation {
    0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 4px #39ff14; }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #39ff14; }
}

/* === SECCIÓN PRESENTADORES === */
.section-hosts {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

.hosts-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hosts-image-wrap {
    flex: 1;
    position: relative;
}

.hosts-hud-frame {
    position: relative;
    padding: 1rem;
    border: 1px dashed rgba(var(--accent-rgb), 0.3);
    border-radius: 20px;
    transition: var(--theme-transition);
}

.hosts-hud-frame::before, .hosts-hud-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent);
    border-style: solid;
    transition: var(--theme-transition);
}

.hosts-hud-frame::before {
    top: -2px; left: -2px;
    border-width: 2px 0 0 2px;
}

.hosts-hud-frame::after {
    bottom: -2px; right: -2px;
    border-width: 0 2px 2px 0;
}

.hosts-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.hosts-details {
    flex: 1.2;
}

.hosts-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hosts-details p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hosts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.host-mini-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}

.host-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    transition: var(--theme-transition);
}

.host-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === GALERÍA DEL OLIMPO === */
.section-olympus {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.olympus-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-family: 'Orbitron', sans-serif;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(var(--accent-rgb), 0.5);
}

.filter-btn.active {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
    transition: var(--theme-transition);
}

.guardians-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.guardian-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 380px;
}

.guardian-media {
    position: relative;
    width: 100%;
    height: 60%;
    overflow: hidden;
    background: #000;
}

.guardian-media img, .guardian-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.guardian-media video {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.guardian-card:hover .guardian-media video {
    opacity: 1;
}

.guardian-card:hover .guardian-media img {
    transform: scale(1.1);
}

.guardian-card-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.guardian-group {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    transition: var(--theme-transition);
}

.guardian-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.guardian-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.guardian-card-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    transition: var(--theme-transition);
}

/* Icono Play */
.play-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.4);
    transition: var(--theme-transition);
}

.play-icon svg {
    width: 12px;
    height: 12px;
    fill: #030303;
    margin-left: 2px;
}

.guardian-card:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.8);
}

/* === SECCIÓN OTROS PILARES (GRID) === */
.section-features {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 320px;
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--theme-transition);
}

.feature-icon-wrap svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent);
    fill: none;
    transition: var(--theme-transition);
}

.feature-card:hover .feature-icon-wrap {
    background: rgba(var(--accent-rgb), 0.2);
    border-color: var(--accent);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === SIMULADOR SÉ QUIÉN QUIERAS === */
.face-swap-container {
    grid-column: span 3;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.swap-interactive {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 2px dashed rgba(var(--accent-rgb), 0.3);
    border-radius: 16px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--theme-transition);
}

.swap-interactive.dragover {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.05);
}

.swap-input-file {
    display: none;
}

.swap-init-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.upload-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--theme-transition);
}

.upload-icon svg {
    width: 32px;
    height: 32px;
}

.swap-interactive:hover .upload-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

/* Barra de carga de escaneo */
.swap-scanning-state {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    box-shadow: 0 0 15px var(--accent);
    animation: scanAnimation 2s linear infinite;
    z-index: 5;
}

@keyframes scanAnimation {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

.progress-bar-wrap {
    width: 80%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--accent), var(--accent-secondary));
    box-shadow: 0 0 10px var(--accent);
    transition: width 0.1s linear;
}

.progress-text {
    font-family: 'Orbitron', sans-serif;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    transition: var(--theme-transition);
}

/* Estado de resultado */
.swap-result-state {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.swap-result-frame {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    border: 2px solid var(--accent);
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.4);
    transition: var(--theme-transition);
}

.swap-result-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swap-info {
    flex: 1.2;
}

.swap-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.swap-info p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* === FORMULARIO DE REGISTRO / RADAR === */
.section-radar {
    max-width: 800px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    text-align: center;
}

.radar-card {
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.radar-glow-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.radar-form {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 2.5rem auto 0;
    display: flex;
    gap: 1rem;
}

.radar-input-group {
    flex: 1;
    position: relative;
}

.radar-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.radar-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}

.radar-submit-btn {
    flex-shrink: 0;
}

.radar-success-message {
    display: none;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    font-family: 'Orbitron', sans-serif;
    color: #4caf50;
    font-weight: 700;
    font-size: 1.1rem;
    animation: fadeIn 0.5s forwards;
}

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

/* === FOOTER === */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(3, 3, 3, 0.95);
    position: relative;
    z-index: 5;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-img {
    height: 40px;
}

.footer-logo .logo-text {
    font-size: 1.3rem;
}

.social-radar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.social-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-item:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.4);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === MODAL REPRODUCTOR HOLOGRÁFICO === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-wrapper {
    width: 90%;
    max-width: 900px;
    position: relative;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.3);
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    padding: 1.2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 13, 13, 0.9);
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    transition: var(--theme-transition);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close-btn:hover {
    color: #ff3b30;
    background: rgba(255, 59, 48, 0.1);
}

.modal-body {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.modal-body iframe, .modal-body video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Efecto CRT Scanlines */
.crt-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0.15;
}

/* === RESPONSIVIDAD (MEDIA QUERIES) === */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-desc {
        text-align: center;
    }
    
    .hosts-layout {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .section-features {
        grid-template-columns: 1fr 1fr;
    }
    
    .face-swap-container {
        grid-column: span 2;
        flex-direction: column;
        padding: 2rem;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-features {
        grid-template-columns: 1fr;
    }
    
    .face-swap-container {
        grid-column: span 1;
    }
    
    .hosts-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .countdown-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .radar-form {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .bear-avatar-container {
        width: 320px;
        height: 320px;
    }
}
