/* estilo.css - Estilos para la Agenda Deportiva */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f172a;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    padding: 30px;
    background: #1e293b;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid #334155;
}

h1 {
    color: #60a5fa;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    color: #94a3b8;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat {
    background: #0f172a;
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid #334155;
    text-align: center;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #60a5fa;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9em;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    padding: 20px;
    background: #1e293b;
    border-radius: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    background: #0f172a;
    color: #cbd5e1;
    border: 2px solid;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.filter-btn.active {
    color: white;
}

.eventos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.evento-card {
    background: #1e293b;
    border-radius: 15px;
    padding: 25px;
    border-left: 6px solid;
    transition: all 0.3s;
    border: 1px solid #334155;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.evento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #334155;
}

.evento-hora {
    background: #0f172a;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    color: #94a3b8;
    font-size: 1.1em;
    border: 1px solid #334155;
}

.evento-deporte {
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    text-transform: uppercase;
}

.evento-titulo {
    font-size: 1.4em;
    font-weight: 600;
    margin: 25px 0;
    color: #f1f5f9;
    line-height: 1.4;
}

.enlaces-container {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.enlaces-titulo {
    color: #94a3b8;
    font-size: 1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.enlaces-titulo span {
    background: rgba(96, 165, 250, 0.1);
    padding: 5px 15px;
    border-radius: 15px;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.enlaces-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.enlace-item {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.enlace-item:hover {
    background: rgba(96, 165, 250, 0.05);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateX(5px);
}

.enlace-numero {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    flex-shrink: 0;
}

.enlace-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.enlace-hash {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    color: #cbd5e1;
    font-size: 0.9em;
    word-break: break-all;
    padding: 8px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 6px;
    border: 1px solid #334155;
}

.enlace-acciones {
    display: flex;
    gap: 10px;
}

.btn-abrir, .btn-copiar {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.btn-abrir {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-abrir:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.btn-copiar {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.btn-copiar:hover {
    background: linear-gradient(135deg, #818cf8, #6366f1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.sin-eventos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 1.3em;
    background: #1e293b;
    border-radius: 15px;
    border: 2px dashed #334155;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    color: #94a3b8;
    border-top: 1px solid #334155;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .eventos-container {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    
    .evento-titulo {
        font-size: 1.2em;
    }
    
    .enlace-acciones {
        flex-direction: column;
    }
    
    .enlace-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .enlace-numero {
        align-self: center;
    }
}

/* Estilos para las notificaciones */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 10000;
    font-weight: 600;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}