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

:root {
    --base-color-1: #545454;
    --base-color-2: #6E6E6E;
    --destacado-color: #DFAF5C;
    --negro: #000000;
    --blanco: #FFFFFF;
    --primary-color: #DFAF5C;
    --secondary-color: #6E6E6E;
    --accent-color: #DFAF5C;
    --dark-color: #000000;
    --light-color: #f8f9fa;
    --border-color: #6E6E6E;
    --success-color: #51cf66;
    --error-color: #ff6b6b;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #545454 0%, #6E6E6E 100%);
    --gradient-secondary: linear-gradient(135deg, #545454 0%, #6E6E6E 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('img/fondo1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 20px;
    color: var(--dark-color);
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(84, 84, 84, 0.3);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--blanco);
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    animation: fadeIn 0.5s ease-in;
    position: relative;
    z-index: 1;
    border: 2px solid var(--destacado-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    background: transparent;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cabecera-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: var(--blanco);
}

.titulo-principal {
    text-align: center;
    color: var(--destacado-color);
    font-size: 1.8rem;
    font-weight: 700;
    padding: 30px 40px;
    margin: 0;
    background: rgba(223, 175, 92, 0.1);
    border-bottom: 3px solid var(--destacado-color);
}

.instrucciones {
    padding: 40px;
    line-height: 1.8;
}

.instrucciones-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.instruccion-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
}

.instruccion-item.instruccion-boton {
    justify-content: center;
    align-items: center;
}

.instruccion-imagen {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.instruccion-contenido {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: justify;
}

.instruccion-contenido h2,
.instruccion-contenido h3 {
    text-align: left;
}

.instrucciones h2 {
    color: var(--destacado-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.instrucciones h3 {
    color: var(--base-color-1);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.instrucciones p {
    margin-bottom: 10px;
    color: var(--base-color-1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--blanco);
    border: 2px solid var(--destacado-color);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin-top: 20px;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary:hover {
    background: var(--destacado-color);
    border-color: var(--destacado-color);
    color: var(--negro);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:active {
    transform: translateY(0);
}

.formulario-voto {
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

.formulario-voto.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.form-section {
    margin-bottom: 40px;
}

.form-section-destacada {
    background: rgba(223, 175, 92, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--destacado-color);
    margin-bottom: 40px;
}

.form-section h2 {
    color: var(--destacado-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--destacado-color);
    padding-bottom: 10px;
}

.form-section-destacada h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.titulo-destacado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.titulo-destacado .categoria-icono-img {
    flex-shrink: 0;
}

.titulo-texto {
    flex: 1;
    text-align: center;
}

.info-text {
    background: rgba(223, 175, 92, 0.2);
    border-left: 4px solid var(--destacado-color);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 5px;
    color: var(--base-color-1);
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.form-group label.campo-faltante {
    color: var(--error-color);
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.categoria-voto:has(select[disabled]) {
    position: relative;
}

.categoria-voto:has(select[disabled])::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: not-allowed;
}

/* Fallback para navegadores que no soportan :has() */
.categoria-voto-disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: not-allowed;
    background: transparent;
}

@media screen and (max-width: 768px) {
    .form-group input,
    .form-group select {
        font-size: 16px;
    }
}

.btn-seleccionar-club {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--blanco);
    color: var(--negro);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: left;
    min-height: 50px;
}

.btn-seleccionar-club:hover {
    border-color: var(--destacado-color);
    box-shadow: 0 0 0 3px rgba(223, 175, 92, 0.2);
}

.btn-seleccionar-club:focus {
    outline: none;
    border-color: var(--destacado-color);
    box-shadow: 0 0 0 3px rgba(223, 175, 92, 0.2);
}

.btn-icon {
    font-size: 0.8rem;
    color: var(--base-color-2);
    flex-shrink: 0;
}

#club-seleccionado-contenido {
    display: flex;
    align-items: center;
    flex: 1;
}

#club-seleccionado-texto {
    color: var(--negro);
}

.btn-seleccionar-club.club-seleccionado #club-seleccionado-texto {
    color: var(--base-color-1);
    font-weight: 600;
}

.club-logo-boton {
    max-height: 40px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-right: 10px;
    flex-shrink: 0;
}

.club-nombre-boton {
    color: var(--negro);
    font-weight: 600;
    flex: 1;
}

.btn-seleccionar-club.club-seleccionado {
    border-color: var(--destacado-color);
    background: rgba(223, 175, 92, 0.05);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--destacado-color);
    box-shadow: 0 0 0 3px rgba(223, 175, 92, 0.2);
}

.form-group input.input-error,
.form-group button.input-error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.mensaje-campo-error {
    display: block;
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 5px;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.categoria-voto {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--blanco);
    border-radius: 12px;
    border: 2px solid var(--base-color-2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.categoria-icono-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categoria-contenido {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.categoria-voto-destacada {
    background: var(--blanco);
    border: 3px solid var(--destacado-color);
    padding: 25px;
    box-shadow: 0 4px 12px rgba(223, 175, 92, 0.2);
}

.categoria-voto::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(223, 175, 92, 0.1), transparent);
    transition: left 0.5s ease;
}

.categoria-voto:hover::before {
    left: 100%;
}

.categoria-voto:hover {
    border-color: var(--destacado-color);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(223, 175, 92, 0.3);
}

.categoria-voto label {
    display: block;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.categoria-icono-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 10px;
    vertical-align: middle;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.categoria-voto:hover .categoria-icono-img {
    transform: scale(1.1);
}

.categoria-voto-destacada .categoria-icono-img {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 2px 4px rgba(223, 175, 92, 0.3));
}

.titulo-destacado .categoria-icono-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(223, 175, 92, 0.4));
    flex-shrink: 0;
}

.separador-categorias {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
}

.texto-separador {
    font-size: 2rem;
    font-weight: 700;
    color: var(--destacado-color);
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.texto-separador-descripcion {
    font-size: 1.1rem;
    color: var(--base-color-1);
    margin: 0 0 20px 0;
    padding: 0 20px;
    line-height: 1.6;
}

.separador-imagen {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.categoria-voto select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.categoria-voto select:focus {
    outline: none;
    border-color: var(--destacado-color);
    box-shadow: 0 0 0 3px rgba(223, 175, 92, 0.2);
}

/* Estilos para opciones deshabilitadas */
.categoria-voto select option.disabled-option,
.categoria-voto select option:disabled {
    color: var(--base-color-2);
    font-style: italic;
    background-color: #f5f5f5;
    text-decoration: line-through;
}

.categoria-voto select option:disabled:hover {
    background-color: #f5f5f5;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--base-color-2);
}

.mensaje-exito,
.mensaje-error {
    padding: 40px;
    text-align: center;
}

.mensaje-exito {
    background: var(--blanco);
    color: var(--negro);
    border: 3px solid var(--destacado-color);
    box-shadow: 0 4px 12px rgba(223, 175, 92, 0.3);
}

.mensaje-error {
    background: linear-gradient(135deg, var(--error-color) 0%, #ee5a6f 100%);
    color: white;
}

.mensaje-exito h2,
.mensaje-error h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--destacado-color);
}

.mensaje-exito p,
.mensaje-error p {
    font-size: 1.2rem;
}

.resumen-votos {
    margin-top: 25px;
    text-align: left;
    background: var(--blanco);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--base-color-2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resumen-item {
    margin-bottom: 12px;
    padding: 12px 15px;
    background: var(--blanco);
    border-radius: 8px;
    border: 2px solid var(--base-color-2);
    border-left: 4px solid var(--destacado-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.resumen-item:hover {
    background: rgba(223, 175, 92, 0.05);
    transform: translateX(5px);
    box-shadow: 0 2px 6px rgba(223, 175, 92, 0.2);
}

.resumen-item-icono {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.resumen-icono-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.resumen-item-contenido {
    flex: 1;
}

.resumen-item strong {
    display: inline-block;
    min-width: 200px;
    margin-right: 10px;
    color: var(--base-color-1);
}

.resumen-item:last-child {
    margin-bottom: 0;
}

/* ============================================
   VERSIÓN MÓVIL (Responsive)
   ============================================ */
@media (max-width: 768px) {
    body {
        padding: 10px;
        background-image: url('img/fondo1.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
    }

    .container {
        margin: 0 auto;
        border-radius: 15px;
        max-width: 100%;
    }

    header {
        padding: 20px 15px;
    }

    header::before {
        font-size: 100px;
        top: -20px;
        right: -20px;
    }

    header h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .titulo-principal {
        font-size: 1.3rem;
        padding: 20px 15px;
    }

    .instrucciones {
        padding: 25px 20px;
        line-height: 1.6;
    }

    .instrucciones-grid {
        gap: 25px;
    }

    .instruccion-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .instruccion-imagen {
        max-width: 100px;
        max-height: 100px;
        width: auto;
        height: auto;
        object-fit: contain;
        flex-shrink: 0;
        margin: 0;
    }

    .instruccion-contenido {
        text-align: justify;
        flex: 1;
        margin: 0;
        padding: 0;
    }

    .instrucciones h2 {
        font-size: 1.5rem;
        margin-top: 0 !important;
        margin-bottom: 10px;
    }

    .instrucciones h3 {
        font-size: 1.1rem;
        margin-top: 0 !important;
        margin-bottom: 8px;
    }

    .instrucciones p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .categoria-icono-img {
        width: 50px;
        height: 50px;
    }

    .categoria-voto-destacada .categoria-icono-img {
        width: 60px;
        height: 60px;
    }

    .titulo-destacado {
        gap: 10px;
    }

    .titulo-destacado .categoria-icono-img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .titulo-texto {
        font-size: 1.2rem;
    }

    .texto-separador {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .texto-separador-descripcion {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 15px;
    }

    .separador-imagen {
        max-height: 150px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        margin-top: 15px;
    }

    .formulario-voto {
        padding: 25px 20px;
    }

    .form-section {
        margin-bottom: 30px;
    }

    .form-section h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .info-text {
        padding: 12px;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .categoria-voto {
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 10px;
        gap: 15px;
    }

    .categoria-voto:hover {
        transform: none; /* Desactivar transform en móvil */
    }

    .categoria-icono-container {
        flex-shrink: 0;
    }

    .categoria-contenido {
        gap: 8px;
    }

    .categoria-voto label {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .categoria-voto select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .form-actions {
        margin-top: 30px;
        padding-top: 20px;
    }

    .mensaje-exito,
    .mensaje-error {
        padding: 30px 20px;
    }

    .mensaje-exito h2,
    .mensaje-error h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .mensaje-exito p,
    .mensaje-error p {
        font-size: 1rem;
    }

    .resumen-votos {
        margin-top: 20px;
        padding: 15px;
    }

    .resumen-item {
        margin-bottom: 10px;
        padding: 8px;
        font-size: 0.9rem;
        flex-direction: row;
        gap: 10px;
    }

    .resumen-item-icono {
        width: 40px;
        height: 40px;
    }

    .resumen-item strong {
        display: block;
        margin-bottom: 5px;
        min-width: auto;
    }
}

/* ============================================
   VERSIÓN TABLET (768px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }

    header h1 {
        font-size: 1.7rem;
    }

    .instrucciones,
    .formulario-voto {
        padding: 35px;
    }
}

/* ============================================
   VERSIÓN DESKTOP (más de 1024px)
   ============================================ */
@media (min-width: 1025px) {
    .container {
        max-width: 900px;
    }

    header {
        padding: 40px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .instrucciones {
        padding: 50px;
    }

    .instrucciones h2 {
        font-size: 2rem;
    }

    .instrucciones h3 {
        font-size: 1.4rem;
    }

    .formulario-voto {
        padding: 50px;
    }

    .form-section h2 {
        font-size: 1.6rem;
    }

    .categoria-voto {
        padding: 25px;
    }

    .categoria-voto:hover {
        transform: translateX(8px);
    }

    /* Mejoras visuales para desktop */
    .categoria-voto {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-primary {
        padding: 18px 50px;
        font-size: 1.15rem;
    }

    .modal-clubs-content {
        max-width: 300px;
    }

    .modal-clubs-header {
        padding: 10px 15px;
    }

    .modal-clubs-header h2 {
        font-size: 1.2rem;
    }

    .modal-clubs-body {
        padding: 15px;
    }

    .clubs-grid {
        gap: 10px;
    }

    .club-item {
        padding: 8px;
    }
}

/* ============================================
   CONFETI
   ============================================ */
.confeti {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--destacado-color);
    top: -10px;
    z-index: 10000;
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(223, 175, 92, 0.8);
    pointer-events: none;
}

@keyframes caer {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   VERSIÓN MÓVIL PEQUEÑA (menos de 480px)
   ============================================ */
/* Modal de selección de clubes */
.modal-clubs {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal-clubs.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-clubs-content {
    background-color: var(--blanco);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--destacado-color);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-clubs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 30px;
    border-bottom: 2px solid var(--base-color-2);
    background: var(--gradient-primary);
}

.modal-clubs-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-clubs-header h2 {
    color: var(--blanco);
    margin: 0;
    font-size: 1.5rem;
}

.modal-clubs-advertencia {
    font-size: 0.9rem;
    color: var(--error-color);
    margin: 5px 0 0 0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--blanco);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-clubs-body {
    padding: 30px;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
}

.club-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid var(--base-color-2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--blanco);
    width: 100%;
    min-width: 0;
    aspect-ratio: 1;
}

.club-item:hover {
    border-color: var(--destacado-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(223, 175, 92, 0.3);
    background: rgba(223, 175, 92, 0.1);
}

.club-item.selected {
    border-color: var(--destacado-color);
    background: rgba(223, 175, 92, 0.2);
    box-shadow: 0 0 0 3px rgba(223, 175, 92, 0.3);
}

.club-logo {
    width: 60%;
    max-width: 80px;
    max-height: 80px;
    height: auto;
    object-fit: contain;
    margin: 0;
}

.club-nombre {
    font-size: 0.9rem;
    color: var(--base-color-1);
    text-align: center;
    font-weight: 600;
    margin-top: 5px;
}

.club-item.selected .club-nombre {
    color: var(--destacado-color);
    font-weight: 700;
}

.club-placeholder {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--base-color-2);
    color: var(--blanco);
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .modal-clubs-content {
        max-width: 95%;
        margin: 10px;
    }

    .modal-clubs-header {
        padding: 20px;
    }

    .modal-clubs-header h2 {
        font-size: 1.2rem;
    }

    .modal-clubs-body {
        padding: 20px;
    }

    .clubs-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .club-logo {
        width: 60%;
        max-width: 70px;
        max-height: 70px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    header {
        padding: 15px 10px;
    }

    header::before {
        font-size: 80px;
        top: -15px;
        right: -15px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .instrucciones {
        padding: 20px 15px;
    }

    .instrucciones h2 {
        font-size: 1.3rem;
    }

    .instrucciones h3 {
        font-size: 1rem;
    }

    .instrucciones p {
        font-size: 0.9rem;
    }

    .formulario-voto {
        padding: 20px 15px;
    }

    .form-section h2 {
        font-size: 1.2rem;
    }

    .categoria-voto {
        padding: 12px;
    }

    .categoria-voto label {
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .clubs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .club-logo {
        width: 60%;
        max-width: 60px;
        max-height: 60px;
    }
}

