﻿/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Impact', 'Arial Black', sans-serif; -webkit-tap-highlight-color: transparent; }
body { background-color: #000000; color: #ffffff; overflow-x: hidden; line-height: 1.2; }

/* --- HEADER STICKY --- */
#main-header { position: fixed; top: 0; left: 0; width: 100%; background-color: #000000; border-bottom: 5px dashed #ff2a2a; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; z-index: 9999; transition: all 0.3s ease; }
#main-header.shrink { padding: 8px 15px; background-color: rgba(0, 0, 0, 0.95); border-bottom-style: dotted; border-bottom-color: #ffffff; }
.nav-logo { height: 50px; transition: height 0.3s ease; filter: drop-shadow(0 0 6px #ff2a2a); }
#main-header.shrink .nav-logo { height: 35px; }

.menu-trigger { background: #ff2a2a; color: #000000; padding: 8px 15px; font-size: 1rem; cursor: pointer; transform: rotate(-2deg); border: 2px solid #ffffff; text-decoration: none; display: inline-block; text-align: center; box-shadow: 4px 4px 0px #ffffff; }
.menu-trigger:hover, .menu-trigger:active { background: #ffffff; color: #ff2a2a; box-shadow: -4px -4px 0px #ff2a2a; transform: scale(1.03) rotate(1deg); }

/* --- HERO --- */
main { margin-top: 100px; padding: 10px; }
.tv-hero { text-align: center; padding: 30px 15px; background: #0c0c0c; border-bottom: 4px dashed #ff2a2a; margin-bottom: 30px; }
.tv-main-title { font-size: 2rem; color: #ffffff; text-shadow: 2px 2px 0px #ff2a2a; }
.tv-subtitle { font-family: 'Courier New', monospace; font-size: 1.05rem; margin-top: 10px; color: #cccccc; }

/* --- TV SYSTEM GRID --- */
.tv-system-container { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 15px; align-items: center; justify-items: center; }
.tv-wrapper { width: 100%; max-width: 550px; }
.tv-frame { background: #151515; border: 6px solid #ff2a2a; border-radius: 8px; padding: 10px; box-shadow: 0px 0px 20px rgba(255, 42, 42, 0.3); position: relative; }
.tv-screen { width: 100%; aspect-ratio: 16 / 9; background: #050505; position: relative; overflow: hidden; border: 3px solid #000; }
.tv-screen video { width: 100%; height: 100%; object-fit: cover; display: none; }
.tv-screen video.active { display: block; }
.tv-static-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #222; display: none; justify-content: center; align-items: center; font-family: 'Courier New', monospace; font-size: 1.2rem; font-weight: bold; color: #00ff00; text-align: center; }
.tv-static-active { display: flex; animation: staticBlink 0.2s infinite; }
.channel-number-tag { position: absolute; top: 15px; right: 15px; background: rgba(0, 0, 0, 0.8); color: #00ff00; font-family: 'Courier New', monospace; padding: 5px 10px; font-size: 1.3rem; font-weight: bold; border-radius: 4px; display: none; z-index: 20; }
.channel-number-tag.show { display: block; }
.tv-base { width: 140px; height: 15px; background: #ff2a2a; margin: 0 auto; border-radius: 0 0 10px 10px; border: 2px solid #ffffff; border-top: none; }

/* --- CONTROL REMOTO --- */
.remote-wrapper { width: 100%; max-width: 220px; }
.remote-control { background: #111111; border: 4px solid #ffffff; border-radius: 20px; padding: 25px 15px; box-shadow: 5px 5px 0px #ff2a2a; display: flex; flex-direction: column; align-items: center; gap: 18px; transform: rotate(1deg); }
.remote-header { font-size: 1.4rem; color: #ff2a2a; letter-spacing: 1px; }
.power-btn { background: #ff2a2a; color: #ffffff; border: 2px solid #ffffff; font-size: 1.1rem; padding: 8px 15px; border-radius: 30px; cursor: pointer; font-weight: bold; width: 85%; }
.power-btn:active { background: #ffffff; color: #ff2a2a; }
.remote-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.channel-btn { background: #222222; color: #ffffff; border: 2px solid #333333; font-size: 1.3rem; padding: 12px 0; border-radius: 8px; cursor: pointer; transition: 0.1s; }
.channel-btn:active, .channel-btn.pressed { background: #ff2a2a; color: #000000; border-color: #ffffff; transform: scale(0.92); }
.remote-footer { font-family: 'Courier New', monospace; font-size: 0.8rem; color: #666; font-weight: bold; text-transform: uppercase; }

/* --- FORMULARIO DONACIÓN --- */
.donation-box-form { background: linear-gradient(180deg, #000000 0%, #ff2a2a 120%); border: 4px dashed #ffffff; padding: 40px 15px; text-align: center; margin: 40px 15px; transform: rotate(-0.5deg); }
.donation-box-form h2 { font-size: 1.6rem; color: #ffffff; margin-bottom: 12px; }
.donation-box-form p { font-family: 'Courier New', monospace; font-size: 1rem; color: #dddddd; margin-bottom: 30px; font-weight: bold; }
.button-donation-group { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.donate-tier { background: #ffffff; color: #000000; text-decoration: none; padding: 15px 25px; font-size: 1.3rem; width: 100%; max-width: 450px; box-shadow: 4px 4px 0px #ff2a2a; border: 2px solid #000000; display: inline-block; }
.donate-tier.tier-heavy { background: #ff2a2a; color: #ffffff; box-shadow: 4px 4px 0px #ffffff; border-color: #ffffff; }

/* --- FOOTER GENERAL --- */
footer { border-top: 4px dashed #ff2a2a; background: #000000; padding: 35px 15px; text-align: center; margin-top: 50px; }
.anti-copy { font-size: 1.1rem; margin-bottom: 20px; letter-spacing: 0.5px; font-weight: bold; }
.social-links { display: flex; justify-content: center; gap: 25px; }
.social-links a img { height: 38px; filter: invert(100%); }

/* --- ADICIÓN: DISEÑO DEL NUEVO MENÚ EN EL PIE DE PÁGINA --- */
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 25px; padding: 0 10px; }
.footer-nav a { font-family: Arial, Helvetica, sans-serif; font-size: 0.85rem; color: #aaaaaa; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s ease; }
.footer-nav a:hover, .footer-nav a:active { color: #ff2a2a; }

/* --- ESCRITORIO --- */
@media (min-width: 768px) {
    #main-header { padding: 20px 40px; } .nav-logo { height: 70px; } .menu-trigger { font-size: 1.3rem; padding: 10px 20px; } main { margin-top: 140px; padding: 40px; }
    .tv-hero { padding: 50px; } .tv-main-title { font-size: 3.5rem; } .tv-subtitle { font-size: 1.3rem; }
    .tv-system-container { grid-template-columns: 65fr 35fr; gap: 40px; padding: 20px 40px; width: 100%; max-width: 1100px; margin: 0 auto; }
    .tv-wrapper { max-width: 100%; } .remote-wrapper { max-width: 100%; } .remote-control { width: 220px; padding: 35px 20px; }
    .donation-box-form { padding: 60px; } .donation-box-form h2 { font-size: 2.8rem; } .donation-box-form p { font-size: 1.25rem; }
    .button-donation-group { flex-direction: row; justify-content: center; gap: 30px; } .donate-tier { width: auto; }
    .footer-nav { gap: 30px; margin-bottom: 30px; } .footer-nav a { font-size: 0.9rem; }
}
@keyframes staticBlink { 0% { background-color: #111; color: #00ff00; } 50% { background-color: #222; color: #00aa00; } 100% { background-color: #181818; color: #00ff00; } }
