/* --- VARIABLES DE DISEÑO NEGRO/ROJO --- */
:root {
    --bg-0: #000000;
    --bg-1: #0b0b0b;
    --accent: #e50914; 
    --muted: #9aa0a6;
    --card: #0f0f10;
    --glass: rgba(255,255,255,0.03);
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg, var(--bg-0) 0%, #120202 60%, #1b0606 100%);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.25));
    border-bottom: 1px solid rgba(255,255,255,0.03);
    backdrop-filter: blur(4px);
}
.navbar .menu-mobile { display: flex; align-items: center; gap: 12px; }
.navbar .log { width: 36px; height: 36px; background: var(--accent); border-radius: 6px; box-shadow: 0 6px 18px rgba(233,9,20,0.18); }
.navbar .links a { color: #ddd; margin-left: 12px; text-decoration: none; font-weight: 600; }
.navbar .links a.active { color: var(--accent); }

/* --- SECCIÓN PRINCIPAL --- */
section#fondo1 { padding: 40px 12px 80px; position: relative; z-index: 10; min-height: calc(100vh - 120px); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 24px; font-weight: 700; color: var(--accent); text-shadow: 0 4px 20px rgba(233,9,20,0.22); margin-bottom: 24px; }

/* --- LAYOUT Y GRID --- */
.row { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.col-sm-4 { flex: 0 0 320px; max-width: 320px; }
.col-sm-8 { flex: 1 1 640px; min-width: 280px; }

/* --- PLATAFORMAS (CARDS) --- */
.link-plataformas {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 14px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    display: block;
    color: #fff;
}
.link-plataformas:hover { transform: translateY(-6px); border-color: rgba(233,9,20,0.18); }
.tituloplataformas { margin: 0 0 6px 0; font-size: 18px; color: #fff; font-weight: 700; }
.link-description .description { margin: 0; color: var(--muted); font-size: 13px; }
.link-plataformas .icono-netflix, .link-plataformas .icono-disney, .link-plataformas .icono-primevideo, .link-plataformas .icono-hbo {
    float: right; opacity: 0.9; font-size: 20px; color: var(--muted);
}

/* Estilos específicos */
.animacionnetflix { border-left: 4px solid rgba(233,9,20,0.95); }
.animaciondisney { border-left: 4px solid #4A84D5; }
.animacionstar { border-left: 4px solid #00A8E1; }
.animacionhbo { border-left: 4px solid #6F2DA8; }

/* Sombras al Hover */
a[href*="tipo=netflix"] .link-plataformas:hover { box-shadow: 0 10px 25px rgba(229, 9, 20, 0.4); border-color: rgba(229, 9, 20, 0.4); }
a[href*="tipo=disney"] .link-plataformas:hover { box-shadow: 0 10px 25px rgba(74, 132, 213, 0.4); border-color: rgba(74, 132, 213, 0.5); }
a[href*="tipo=prime"] .link-plataformas:hover { box-shadow: 0 10px 25px rgba(0, 168, 225, 0.4); border-color: rgba(0, 168, 225, 0.5); }
a[href*="tipo=hbo"] .link-plataformas:hover { box-shadow: 0 10px 25px rgba(111, 45, 168, 0.4); border-color: rgba(111, 45, 168, 0.5); }

/* --- RESULTADO / EMAIL BODY --- */
.email-body, .contenido-relevante {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    padding: 18px;
    border-radius: 10px;
    color: #e6e6e6;
    margin-top: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    max-width: 100%;
    overflow-wrap: break-word;
}

/* --- ALERTAS --- */
.alertanocorreoborde { border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; margin-top: 20px; padding: 0; }
.alertanocorreo, .alert-warning {
    background: linear-gradient(90deg,#1b1200,#120b00);
    border: 1px solid rgba(255,165,0,0.12);
    color: #ffd87a;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 30px rgba(0,0,0,0.6);
}
.alert-danger { background: linear-gradient(90deg,#220000,#120000); color: #ffc7c7; border-radius: 10px; padding: 14px; border: 1px solid rgba(233,9,20,0.12); }
.alert-success { 
    /* Un gradiente un poco más claro para que no se pierda en el negro */
    background: linear-gradient(90deg, #0b2418, #07120b); 
    
    /* El color del texto ahora es un verde lima más brillante */
    color: #00ff41; 
    
    border-radius: 10px; 
    padding: 14px; 
    
    /* Aumentamos el brillo del borde con un verde más intenso */
    border: 1px solid rgba(0, 255, 65, 0.4); 
    
    /* Añadimos un resplandor exterior (glow) para que 'salte' a la vista */
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.15), inset 0 0 10px rgba(0, 255, 65, 0.05);
    
    text-align: center;
    font-weight: 600;
}

/* --- FORMULARIO --- */
input.form-control {
    background: rgba(255,255,255,0.02);
    border: 1px solid #ffffff;
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}
input.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 0.25rem rgba(229, 9, 20, 0.25); }
input::placeholder { color: rgba(255,255,255,0.3); }

.btn.btn-success { background: var(--accent); border: none; font-weight: 700; box-shadow: 0 10px 30px rgba(233,9,20,0.16); }
.btn.btn-primary { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.04); color: #fff; }

.text-cambios { color: var(--accent); font-weight: 700; text-shadow: 0 0 5px rgba(229, 9, 20, 0.6), 0 0 15px rgba(229, 9, 20, 0.5); }

/* --- FOOTER --- */
footer#footer { margin-top: 40px; padding: 18px 12px; color: #bdbdbd; text-align: center; border-top: 1px solid rgba(255,255,255,0.02); }

/* --- PARTICULAS --- */
#tsparticles-css { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; overflow: hidden; }
.particle { position: absolute; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; opacity: 0.9; box-shadow: 0 0 8px rgba(233,9,20,0.6); animation: fall linear infinite; }
@keyframes fall {
    0% { transform: translateY(-10px); opacity: 1; }
    100% { transform: translateY(110vh); opacity: 0; }
}

.whatsapp-link { color: #25D366 !important; text-shadow: 0 0 5px rgba(37, 211, 102, 0.4); }

