/* Reset y Base */
* { box-sizing: border-box; font-family: 'Arial', sans-serif; margin: 0; padding: 0; }

body {
    background: radial-gradient(circle, #b027b0 0%, #4a148c 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 0 20px #ffeb3b80;
    width: 100%;
    max-width: 500px;
    text-align: center;
    border: 2px solid #ffeb3b;
}

/* Logo */
.main-logo {
    width: 150px;
    border-radius: 50%;
    box-shadow: 0 0 15px #00e676;
    margin-bottom: 15px;
}

h1, h2, h3 {
    color: #ffeb3b;
    text-shadow: 2px 2px #4a148c;
    margin-bottom: 1rem;
}

/* Inputs y Botones */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 12px;
    background: #00e676;
    color: #004d40;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px #00bfa5;
}

button:hover { background: #69f0ae; transform: translateY(-2px); }
button:active { transform: translateY(0); }

/* Grid de Cartas */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.card-item {
    background: white;
    padding: 5px;
    border-radius: 10px;
}

.card-item img {
    width: 100%;
    border-radius: 5px;
}

.btn-download {
    display: block;
    background: #ffeb3b;
    color: #333;
    text-decoration: none;
    padding: 5px;
    margin-top: 5px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

/* Admin Styles */
.btn-logout { background: #ff5252; color: white; margin-top: 10px; box-shadow: none;}
.lista-jugadores { list-style: none; text-align: left; margin-top: 15px; max-height: 200px; overflow-y: auto; }
.lista-jugadores li { background: rgba(0,0,0,0.2); padding: 8px; margin-bottom: 5px; border-radius: 5px; border-left: 4px solid #ffeb3b; }
