/* RESET Y ESTILOS BASE - BLANCO Y NEGRO */
:root {
    --black: #000000;
    --white: #F5F5F5;
    --gray-dark: #0a0a0a;
    --gray-card: #111111;
    --gray-border: #2a2a2a;
    --purple: #A23BFF;
    --green: #3BFE57;
    --yellow: #FFD93B;
    --orange: #FF8C42;
    --red: #FF2D2D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--black);
    font-family: 'VT323', 'Courier New', monospace;
    color: var(--white);
    line-height: 1.6;
    position: relative;
}

/* SCANLINES EFECTO */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.02) 50%,
        rgba(0,0,0,0.05) 50%,
        rgba(0,0,0,0) 100%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 999;
    animation: scan 10s linear infinite;
}

@keyframes scan {
    0% { background-position: 0 0; }
    100% { background-position: 0 20px; }
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* HEADER - FONDO NEGRO */
header {
    background: var(--black);
    border-bottom: 3px solid var(--gray-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    image-rendering: pixelated;
}

.logo-texto h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    color: var(--white);
}

.logo-texto h1 span {
    font-family: 'VT323', monospace;
    color: var(--gray-border);
    font-size: 0.7rem;
    display: block;
    margin-top: 5px;
}

.pixel-logo {
    width: 32px;
    height: 32px;
    background: var(--white);
    box-shadow: 4px 4px 0 var(--gray-border);
    animation: parpadeo 1s infinite;
}

@keyframes parpadeo {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.pixel-btn {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    background: var(--gray-card);
    border: none;
    border-bottom: 3px solid var(--gray-border);
    transition: all 0.1s ease;
    display: inline-block;
}

.pixel-btn:hover {
    background: var(--white);
    color: var(--black);
    border-bottom-color: var(--purple);
    transform: translateY(-2px);
}

/* HERO */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--black);
    padding: 60px 0;
}

.hero-contenido {
    max-width: 600px;
}

.pixel-personaje {
    margin-bottom: 30px;
}

.pixel-cabeza {
    width: 32px;
    height: 32px;
    background: var(--white);
    box-shadow: 32px 0 var(--white), 0 32px var(--white), 32px 32px var(--white);
    animation: caminar 0.5s steps(4) infinite;
}

@keyframes caminar {
    0% { transform: translateX(0); }
    100% { transform: translateX(4px); }
}

.pixel-cuerpo {
    width: 64px;
    height: 32px;
    background: var(--gray-border);
    margin-top: 10px;
    box-shadow: 64px 0 var(--gray-border);
}

.titulo-pixel {
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 4px 4px 0 var(--gray-border);
}

.subtitulo {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: var(--purple);
    margin-bottom: 20px;
}

.descripcion {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.boton-pixel {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: var(--black);
    background: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border: none;
    border-bottom: 4px solid var(--gray-border);
    cursor: pointer;
    transition: all 0.1s ease;
    display: inline-block;
}

.boton-pixel.secundario {
    background: transparent;
    border: 2px solid var(--white);
    border-bottom: 4px solid var(--white);
    color: var(--white);
}

.boton-pixel:hover {
    background: var(--purple);
    color: var(--white);
    border-bottom-color: var(--white);
}

.boton-pixel.secundario:hover {
    background: var(--purple);
    border-color: var(--purple);
}

/* GALERÍA */
.galeria {
    padding: 80px 0;
    background: var(--gray-dark);
}

.seccion-titulo {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}

.seccion-subtitulo {
    font-family: 'VT323', monospace;
    text-align: center;
    color: var(--purple);
    margin-bottom: 40px;
    font-size: 1.3rem;
}

.grid-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tarjeta-arte {
    background: var(--gray-card);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.tarjeta-arte:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--purple);
}

.arte-imagen {
    width: 100%;
    height: 220px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-border);
}

.arte-imagen img, .arte-imagen video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--black);
}

.arte-info {
    padding: 15px;
}

.arte-info h3 {
    font-family: 'Press Start 2P', monospace;
    color: var(--white);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.arte-info p {
    font-family: 'VT323', monospace;
    color: var(--gray-border);
    font-size: 0.9rem;
}

.arte-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.arte-tags span {
    font-family: 'VT323', monospace;
    background: var(--gray-border);
    color: var(--white);
    padding: 2px 8px;
    font-size: 0.7rem;
}

/* SERVICIOS */
.servicios {
    padding: 80px 0;
    background: var(--black);
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servicio-item {
    text-align: center;
    padding: 30px;
    background: var(--gray-card);
    border: 1px solid var(--gray-border);
    transition: transform 0.1s ease;
}

.servicio-item:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--orange);
}

.icono-pixel {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(4px 4px 0 var(--gray-border));
}

.servicio-item h3 {
    font-family: 'Press Start 2P', monospace;
    color: var(--white);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.servicio-item p {
    font-family: 'VT323', monospace;
    margin-bottom: 15px;
    color: var(--gray-border);
}

.progress {
    font-family: 'Press Start 2P', monospace;
    color: var(--green);
    font-size: 0.7rem;
}

/* VLOG */
.vlog {
    padding: 80px 0;
    background: var(--gray-dark);
}

.grid-vlog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.entrada-vlog {
    background: var(--gray-card);
    border: 1px solid var(--gray-border);
    overflow: hidden;
}

.vlog-imagen {
    width: 100%;
    height: 200px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-border);
}

.vlog-imagen img, .vlog-imagen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vlog-contenido {
    padding: 20px;
}

.fecha-vlog {
    font-family: 'Press Start 2P', monospace;
    color: var(--yellow);
    margin-bottom: 10px;
    font-size: 0.6rem;
}

.vlog-contenido h3 {
    font-family: 'Press Start 2P', monospace;
    color: var(--white);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.vlog-contenido p {
    font-family: 'VT323', monospace;
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--gray-border);
}

.leer-mas {
    font-family: 'Press Start 2P', monospace;
    color: var(--green);
    text-decoration: none;
    font-size: 0.6rem;
    display: inline-block;
    border-bottom: 2px solid var(--green);
}

/* CONTACTO */
.contacto {
    padding: 80px 0;
    background: var(--black);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-contacto {
    background: var(--gray-card);
    padding: 30px;
    border: 1px solid var(--gray-border);
}

.info-contacto p {
    font-family: 'VT323', monospace;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--white);
}

.info-contacto .label {
    font-family: 'Press Start 2P', monospace;
    color: var(--purple);
    margin-right: 10px;
    font-size: 0.7rem;
}

.email-valor {
    font-family: 'Press Start 2P', monospace;
    color: var(--yellow);
    font-size: 0.8rem;
    background: var(--black);
    padding: 5px 10px;
    border: 1px solid var(--gray-border);
    word-break: break-all;
}

.estado-abierto {
    color: var(--green);
    animation: parpadeo 1s infinite;
}

.admin-link {
    color: var(--orange);
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
}

.formulario-pixel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-pixel {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    padding: 12px;
    background: var(--gray-card);
    border: 1px solid var(--gray-border);
    color: var(--white);
}

.input-pixel:focus {
    outline: none;
    border-color: var(--purple);
}

/* FOOTER */
footer {
    background: var(--black);
    border-top: 1px solid var(--gray-border);
    padding: 40px 0;
    text-align: center;
}

footer p {
    font-family: 'VT323', monospace;
    margin-bottom: 20px;
    color: var(--gray-border);
}

.social-pixel {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-pixel a {
    font-family: 'Press Start 2P', monospace;
    color: var(--white);
    text-decoration: none;
    padding: 5px 10px;
    background: var(--gray-card);
    border-bottom: 2px solid var(--gray-border);
    transition: all 0.1s ease;
    font-size: 0.7rem;
}

.social-pixel a:hover {
    background: var(--white);
    color: var(--black);
    border-bottom-color: var(--purple);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .titulo-pixel {
        font-size: 1.5rem;
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .email-valor {
        font-size: 0.6rem;
    }
}