﻿/* --- RESET ANÁRQUICO --- */
* { 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; animation: jitter 0.15s infinite; }

/* --- CUERPO --- */
main { margin-top: 100px; padding: 15px; }
.about-manifesto { background: #111111; border-right: 8px solid #ff2a2a; border-bottom: 8px solid #ffffff; padding: 30px 20px; margin: 15px 0 40px 0; transform: rotate(0.5deg); }
.glitch-title { font-size: 2.8rem; color: #ff2a2a; letter-spacing: -1px; margin-bottom: 20px; text-shadow: 3px 3px 0px #ffffff; }
.manifesto-text { font-family: 'Courier New', Courier, monospace; font-size: 1.15rem; font-weight: bold; color: #ffffff; text-align: justify; line-height: 1.4; }
.manifesto-text .highlight { background: #ff2a2a; color: #000000; padding: 1px 4px; }

/* --- TRIPULACIÓN --- */
.team-section { margin-bottom: 50px; }
.section-title { font-size: 2.5rem; color: #ffffff; text-align: center; margin-bottom: 35px; text-shadow: 3px 3px 0px #ff2a2a; letter-spacing: 1px; }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.team-card { background: #0b0b0b; border: 3px dashed #ffffff; padding: 20px; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease; }

.photo-frame { position: relative; width: 200px; height: 200px; border: 8px solid transparent; border-image: linear-gradient(to bottom, #ff2a2a 33%, #ffffff 33%, #ffffff 66%, #000000 66%) 20; overflow: hidden; margin-bottom: 20px; background: #222; }
.team-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(130%); transition: filter 0.3s ease, transform 0.3s ease; }
.team-card:hover .team-img { filter: grayscale(0%) contrast(100%); transform: scale(1.08) rotate(2deg); }
.team-card:hover { transform: scale(1.02); border-color: #ff2a2a; }
.team-info h3 { font-size: 1.8rem; color: #ff2a2a; text-align: center; margin-bottom: 10px; }
.team-info p { font-family: sans-serif; font-size: 0.95rem; color: #cccccc; line-height: 1.4; text-align: justify; }

.contact-pirate-box { background: linear-gradient(45deg, #ff2a2a -50%, #000000 70%); border: 4px solid #ffffff; padding: 30px 20px; text-align: center; margin: 60px 0 20px 0; transform: rotate(-1deg); }
.contact-pirate-box h2 { font-size: 1.8rem; color: #ff2a2a; margin-bottom: 10px; }
.contact-instruction { font-family: 'Courier New', monospace; font-size: 1.1rem; color: #ffffff; margin-bottom: 25px; }
.contact-details { display: flex; flex-direction: column; gap: 15px; align-items: center; }
.contact-item { font-family: 'Courier New', monospace; font-size: 1rem; background: #ffffff; color: #000000; padding: 8px 15px; font-weight: bold; width: 100%; max-width: 500px; text-transform: uppercase; }
.contact-item span { color: #ff2a2a; }

/* --- 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%); transition: transform 0.2s ease; }

/* --- 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; }
    .about-manifesto { padding: 50px; margin-bottom: 60px; } .glitch-title { font-size: 4.5rem; } .manifesto-text { font-size: 1.4rem; line-height: 1.5; }
    .section-title { font-size: 4rem; margin-bottom: 50px; } .team-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .team-card { padding: 25px; min-height: 480px; align-items: stretch; } .photo-frame { width: 100%; height: 250px; } .team-info h3 { text-align: left; }
    .contact-pirate-box { padding: 50px; } .contact-pirate-box h2 { font-size: 3rem; } .contact-item { font-size: 1.2rem; }
    .footer-nav { gap: 30px; margin-bottom: 30px; } .footer-nav a { font-size: 0.9rem; }
}
@keyframes jitter { 0% { transform: rotate(-2deg) translate(1px, 1px); } 25% { transform: rotate(-1deg) translate(-1px, -1px); } 50% { transform: rotate(-3deg) translate(2px, -1px); } 75% { transform: rotate(-2deg) translate(-1px, 2px); } 100% { transform: rotate(-2deg) translate(1px, 1px); } }
