/* Estilos en general de la pagina */
body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #0ff;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Estilos del formulario */
form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra los elementos */
    gap: 10px; /* Espacio uniforme entre elementos */
}

form label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

form input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}

/* Estilos del juego */
.game {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: auto;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.cell {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border: 2px solid rgba(0, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #0ff;
    text-shadow: 0 0 10px #0ff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cell:hover {
    background-color: #d0d0d0;
}

button {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    border: none;
    padding: 10px 20px;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px #fff;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: block; /* Asegura que ocupe el ancho sin desplazamientos */
    width: auto; /* Se adapta al contenido */
    padding: 12px 25px;
    transition: transform 0.2s ease, background 0.3s ease;
}

button:hover {
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    box-shadow: 0 0 20px #ff00ff;
    transform: scale(1.05);
}

@keyframes neon {
    0% { text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff; }
    50% { text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff; }
    100% { text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff; }
}

h1 {
    animation: neon 1.5s infinite alternate;
}

/* Estilos de la tabla de estadísticas */
.stats {
    margin-top: 20px;
}

.stats table {
    max-width: 90%;
    margin: auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: white;
}

th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #007bff;
    color: white;
}

/*Estilos boton rss*/

.rss-link {
    position: absolute;
    top: 10px;  /* Ajusta según lo necesites */
    right: 10px; /* Para la esquina superior derecha */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.rss-link img {
    width: 50px; /* Ajusta el tamaño del icono */
    transition: transform 0.3s ease-in-out;
}

.rss-link img:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}
