/*
---------------------------------------------------------
Archivo        : estilos.css
Ubicación      : /public_html/
Autor          : Álvaro Llarenha
Fecha          : 2025
Versión        : 1.0
Descripción    : Estilos globales del Arcade Retro con
                 estética oscura, neón azul, efectos CRT
                 y tarjetas interactivas.
---------------------------------------------------------
*/

/* FUENTE RETRO */
@import url('https://fonts.cdnfonts.com/css/press-start-2p');

/* RESETEO GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', monospace;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* -----------------------------
   FONDO PRINCIPAL ARCADE
------------------------------*/
.bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url('imgju/fon.jpg') no-repeat center center/cover;
    filter: brightness(0.25);
    z-index: -5;
}

/* -----------------------------
   EFECTO SCANLINES (CRT)
------------------------------*/
.scanlines {
    pointer-events: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10;

    background: repeating-linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0px,
        rgba(0,0,0,0.15) 3px,
        rgba(255,255,255,0.03) 4px
    );
}

/* -----------------------------
   FORMULARIOS
------------------------------*/
.contenedor-form {
    width: 90%;
    max-width: 420px;
    margin: 120px auto;
    background: rgba(0,0,0,0.75);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #00eaff;
    box-shadow: 0 0 20px #00eaff;
}

.contenedor-form h1 {
    text-align: center;
    font-size: 22px;
    color: #00eaff;
    margin-bottom: 25px;
    text-shadow: 0 0 10px #00eaff;
}

.contenedor-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    color: #ffea00;
}

.contenedor-form input {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    border: 2px solid #00eaff;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 18px;
    outline: none;
    box-shadow: 0 0 10px #00eaff50;
}

.contenedor-form button {
    width: 100%;
    background: #00eaff;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.25s;
    text-shadow: none;
    box-shadow: 0 0 10px #00eaff;
}

.contenedor-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00eaff;
}

.link {
    display: block;
    margin-top: 15px;
    text-align: center;
    font-size: 11px;
    color: #00eaff;
    text-decoration: none;
}
.link:hover {
    text-shadow: 0 0 10px #00eaff;
}

/* -----------------------------
   TÍTULOS GENERALES
------------------------------*/
.titulo {
    text-align: center;
    font-size: 26px;
    margin-top: 40px;
    color: #00eaff;
    text-shadow: 0 0 15px #00eaff;
}

/* -----------------------------
   SALA ARCADE (GRID de juegos)
------------------------------*/
.grid-juegos {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 25px;
}

.juego-card {
    background: rgba(0,0,0,0.75);
    padding: 35px 10px;
    border-radius: 12px;
    border: 2px solid #00eaff;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    box-shadow: 0 0 15px #00eaff55;
}

.juego-card h2 {
    font-size: 16px;
    text-shadow: 0 0 8px #ffea00;
}

.juego-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #00eaff;
}

/* -----------------------------
   MENÚ INFERIOR (links)
------------------------------*/
.menu-links {
    width: 100%;
    text-align: center;
    margin: 40px 0;
}

.menu-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #00eaff;
    font-size: 12px;
}
.menu-links a:hover {
    text-shadow: 0 0 10px #00eaff;
}

/* -----------------------------
   TABLAS (Ranking)
------------------------------*/
.tabla-ranking {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
    font-size: 12px;
}

.tabla-ranking th {
    background: #001f29;
    padding: 14px;
    border: 2px solid #00eaff;
    color: #ffea00;
}

.tabla-ranking td {
    padding: 12px;
    border: 2px solid #00eaff;
}

.tabla-ranking tr:nth-child(even) {
    background: rgba(0,0,0,0.6);
}

/* -----------------------------
   PERFIL USUARIO
------------------------------*/
.perfil-box {
    width: 90%;
    max-width: 500px;
    margin: 80px auto;
    padding: 25px;
    background: rgba(0,0,0,0.7);
    border: 2px solid #00eaff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px #00eaff55;
}

.perfil-box p {
    margin: 10px 0;
    color: #ffea00;
}
