/* TIPOGRAFÍA */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Oxanium', sans-serif;

    /* --- FONDO DE IMAGEN --- */
    background: url("fondo.jpg") no-repeat center center fixed;
    background-size: cover;

    color: #fff;
    overflow: hidden;
    position: relative;
}

/* ============================================================
   A) LUCES ANIMADAS SOBRE EL FONDO
   ============================================================ */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, #ff00ff33, transparent),
        radial-gradient(circle at 80% 80%, #00ffff33, transparent),
        radial-gradient(circle at 40% 90%, #00ff2a33, transparent);
    mix-blend-mode: screen;
    animation: rgbmove 12s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes rgbmove {
    0% { transform: translate(0,0); }
    50% { transform: translate(-3%, 2%); }
    100% { transform: translate(2%, -3%); }
}

/* ============================================================
   B) SCANLINES (CRT)
   ============================================================ */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.03) 0,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 3px
    );
    opacity: 0.25;
    pointer-events: none;
    z-index: 2;
}

/* ============================================================
   C) GLITCH RGB (PS1 VIBE)
   ============================================================ */
.glitch {
    position: fixed;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,0,0,0.04) 0px,
        rgba(0,255,255,0.04) 2px,
        transparent 4px
    );
    animation: glitchfx 0.4s infinite steps(2);
    z-index: 3;
}

@keyframes glitchfx {
    0% { transform: translate(0,0); }
    50% { transform: translate(-2px, 1px); }
    100% { transform: translate(1px, -1px); }
}

/* ============================================================
   ESTILO GENERAL DE TU PÁGINA
   ============================================================ */

.header {
    text-align: center;
    padding: 40px 20px;
    z-index: 10;
    position: relative;
}

.subtitle {
    opacity: 0.9;
    margin-top: 10px;
}

.gallery {
    margin: 40px auto;
    max-width: 900px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 10;
}

.gallery img {
    width: 100%;
    border: 2px solid #ffffff55;
    backdrop-filter: blur(2px);
    transition: 0.2s;
}

.gallery img:hover {
    transform: scale(1.05);
    filter: brightness(1.3);
}

.section {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 20px;
    background: rgba(0,0,0,0.45);
    border: 1px solid #ffffff33;
    backdrop-filter: blur(8px);
    z-index: 10;
    position: relative;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* LINKTREE */
.linktree {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-link {
    padding: 15px;
    border: 2px solid #fff;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: rgba(0,0,0,0.6);
    font-weight: 700;
    transition: 0.2s;
}

.btn-link:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}
