/* ==================== FONDO DE LA PORTADA ====================
   Pon tu imagen en  Media/fondos/  con uno de estos nombres y aparece sola (no hay que tocar nada mas):
     fondo.webp | fondo.jpg | fondo.png | fondo.gif        -> computadora / pantallas grandes
     fondo-movil.webp | .jpg | .png | .gif   (opcional)    -> celular (pantallas de hasta 700px). Si no existe, el celular usa fondo.*
   Si NO hay imagen, se queda el degradado azul de siempre (no se rompe nada).
   Las imagenes que no existan se ignoran; si ya elegiste formato, puedes dejar solo esa linea para evitar peticiones de mas. */
:root {
    --fondo-oscuridad: 0.45;      /* 0 = imagen tal cual, 1 = negro total. Sube el numero si el texto no se lee bien */
    --fondo-posicion: center;     /* que parte de la imagen se ve al recortar: center, top, bottom, left, right, "50% 20%"... */
    --fondo-escritorio:
        url('../Media/fondos/fondo.webp'),
        url('../Media/fondos/fondo.jpg'),
        url('../Media/fondos/fondo.png'),
        url('../Media/fondos/fondo.gif');
    --fondo-movil:
        url('../Media/fondos/fondo-movil.webp'),
        url('../Media/fondos/fondo-movil.jpg'),
        url('../Media/fondos/fondo-movil.png'),
        url('../Media/fondos/fondo-movil.gif'),
        var(--fondo-escritorio);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Capa fija detras de todo el contenido (position:fixed funciona tambien en iPhone, a diferencia de background-attachment:fixed).
   Lleva encima un velo oscuro para que el titulo y el texto se lean sobre cualquier imagen. */
body::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(6, 9, 17, var(--fondo-oscuridad)), rgba(6, 9, 17, var(--fondo-oscuridad))),
        var(--fondo-escritorio);
    background-size: cover;
    background-position: center, var(--fondo-posicion);
    background-repeat: no-repeat;
    pointer-events: none;
}

@media (max-width: 700px) {
    body::before {
        background-image:
            linear-gradient(rgba(6, 9, 17, var(--fondo-oscuridad)), rgba(6, 9, 17, var(--fondo-oscuridad))),
            var(--fondo-movil);
    }
}

body {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-family: Arial, sans-serif;
    color: white;
    background: radial-gradient(circle at center, #102b44, #060911 75%);
    overflow-x: hidden;
}

.inicio {
    padding: 20px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: clamp(38px, 8vw, 75px);
    color: #d8b4fe;
    text-shadow: 0 0 15px #4ae1f5,
                 0 0 35px #167579;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

p {
    font-size: clamp(15px, 3vw, 20px);
    color: #c4b5fd;
    margin-bottom: 40px;
}

.boton {
    display: inline-block;
    padding: 16px 45px;
    background: #3364ea;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    border: 2px solid #8490fc;
    transition: 0.3s;
    box-shadow: 0 0 15px #3336ea66;
}

.boton:hover {
    background: #77b0f1;
    box-shadow: 0 0 30px #96b8f7;
    transform: scale(1.08);
}
.arcade-footer {
    width: 100%;
    margin-top: 0;
    margin-top: auto;
    padding: 40px 20px 25px;
    flex-shrink: 0;
    background: #0a0a12;
    border-top: 1px solid #00f0ff;
    box-shadow: 0 -5px 25px rgba(0, 240, 255, 0.15);
    text-align: center;
}

.footer-content h2 {
    margin: 0;
    color: white;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.footer-content h2 span {
    color: #00f0ff;
    text-shadow: 0 0 12px #00f0ff;
}

.footer-content p {
    color: #aaa;
    margin: 10px 0 25px;
}

/* Botones */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    text-decoration: none;
    color: white;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid;
}

/* Instagram */
.instagram {
    border-color: #ff2bd6;
    box-shadow: 0 0 10px rgba(255, 43, 214, 0.3);
}

.instagram:hover {
    background: #ff2bd6;
    box-shadow: 0 0 20px #ff2bd6;
    transform: translateY(-3px);
}

/* YouTube */
.youtube {
    border-color: #ff0033;
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.3);
}

.youtube:hover {
    background: #ff0033;
    box-shadow: 0 0 20px #ff0033;
    transform: translateY(-3px);
}

/* Copyright */
.copyright {
    margin-top: 30px !important;
    font-size: 13px;
    color: #666 !important;
}
