/* 🐉 NEXUS-BEAST STYLES v3.0 */
/* Estilos para sistema multi-sesión */

/* RESET Y BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.5s ease;
}

/* CONTENEDOR PRINCIPAL */
.beast-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* HEADER */
.beast-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid;
    transition: all 0.3s ease;
}

.header-left h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    color: #f8fafc;
}

.header-left h1 i {
    margin-right: 15px;
    color: #FFD700;
}

.subtitle {
    color: #94a3b8;
    font-size: 1.1em;
}

.time-display {
    text-align: right;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    min-width: 200px;
}

.time-label {
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.time-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #f8fafc;
    font-family: 'Roboto Mono', monospace;
}

.date-value {
    color: #cbd5e1;
    font-size: 0.9em;
    margin-top: 5px;
}

/* PANEL DE SESIÓN */
.session-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.session-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.session-icon {
    font-size: 3em;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.session-info {
    flex: 1;
}

.session-label {
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.session-name {
    font-size: 2.2em;
    color: #f8fafc;
    margin: 5px 0;
}

.session-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
}

.session-timer {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
    min-width: 150px;
}

.timer-label {
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.timer-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #f8fafc;
    font-family: 'Roboto Mono', monospace;
}

/* PROGRESS BAR */
.session-progress-container {
    margin-top: 30px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.progress-bar-container {
    position: relative;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, currentColor, transparent);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-percentage {
    text-align: right;
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #f8fafc;
}

/* ESTRATEGIA PANEL */
.strategy-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy-header h3 {
    font-size: 1.6em;
    color: #f8fafc;
}

.strategy-header h3 i {
    margin-right: 10px;
    color: #FFD700;
}

.strategy-intensity {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1em;
}

.strategy-content {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strategy-loading {
    text-align: center;
    color: #94a3b8;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.strategy-details {
    width: 100%;
}

.strategy-title {
    font-size: 1.8em;
    color: #f8fafc;
    margin-bottom: 15px;
    font-weight: bold;
}

.strategy-description {
    color: #cbd5e1;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.strategy-notes {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    color: #f8fafc;
}

.strategy-notes i {
    margin-right: 10px;
    color: #FFD700;
}

/* PARÁMETROS GRID */
.parameters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.param-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.param-card:hover {
    transform: translateY(-5px);
    border-color: currentColor;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.param-icon {
    font-size: 2.5em;
    color: #FFD700;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
}

.param-info {
    flex: 1;
}

.param-label {
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.param-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #f8fafc;
    margin-bottom: 5px;
}

.param-desc {
    color: #cbd5e1;
    font-size: 0.9em;
}

/* CALENDARIO DE SESIONES */
.sessions-calendar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sessions-calendar h3 {
    font-size: 1.6em;
    color: #f8fafc;
    margin-bottom: 25px;
}

.sessions-calendar h3 i {
    margin-right: 10px;
    color: #FFD700;
}

.sessions-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.session-slot {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.session-slot.active {
    border-color: currentColor;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.slot-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.slot-icon {
    font-size: 1.8em;
}

.slot-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #f8fafc;
    flex: 1;
}

.slot-status {
    font-size: 0.8em;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slot-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.slot-time {
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Roboto Mono', monospace;
}

.slot-strategy {
    color: #cbd5e1;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.slot-stats {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.calendar-note {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.calendar-note i {
    color: #FFD700;
    font-size: 1.2em;
    margin-top: 2px;
}

.calendar-note p {
    color: #f8fafc;
    font-size: 0.95em;
    line-height: 1.5;
}

/* PANEL DE INTEGRACIÓN */
.integration-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-panel h3 {
    font-size: 1.6em;
    color: #f8fafc;
    margin-bottom: 10px;
}

.integration-panel h3 i {
    margin-right: 10px;
    color: #FFD700;
}

.integration-desc {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 1.1em;
}

.integration-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.btn-beast-primary, .btn-beast-secondary {
    display: block;
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.btn-beast-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border-color: #FFD700;
    grid-column: span 2;
}

.btn-beast-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-beast-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
}

.btn-beast-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
}

.btn-beast-primary i, .btn-beast-secondary i {
    font-size: 1.5em;
    margin-right: 15px;
    vertical-align: middle;
}

.btn-beast-primary span, .btn-beast-secondary span {
    font-size: 1.2em;
    font-weight: bold;
    vertical-align: middle;
}

.btn-beast-primary small {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    opacity: 0.9;
}

.integration-code {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header {
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.integration-code pre {
    color: #10b981;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.95em;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

/* ESTADÍSTICAS */
.stats-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-panel h3 {
    font-size: 1.6em;
    color: #f8fafc;
    margin-bottom: 25px;
}

.stats-panel h3 i {
    margin-right: 10px;
    color: #FFD700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-title {
    color: #94a3b8;
    font-size: 0.9em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2.2em;
    font-weight: bold;
    color: #f8fafc;
    margin-bottom: 15px;
}

.stat-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 3px;
    transition: width 1s ease;
}

.stat-trend, .stat-desc {
    color: #cbd5e1;
    font-size: 0.9em;
    margin-top: 10px;
}

/* FOOTER */
.beast-footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-left p {
    color: #f8fafc;
    margin-bottom: 5px;
}

.footer-left p i {
    margin-right: 10px;
    color: #FFD700;
}

.footer-note {
    color: #94a3b8;
    font-size: 0.9em;
    margin-top: 10px;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f8fafc;
    margin-bottom: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
}

.status-indicator.active {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

.update-time {
    color: #94a3b8;
    font-size: 0.9em;
    font-family: 'Roboto Mono', monospace;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .parameters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sessions-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .beast-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .session-header {
        flex-direction: column;
        text-align: center;
    }
    
    .session-timer {
        width: 100%;
    }
    
    .parameters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sessions-timeline {
        grid-template-columns: 1fr;
    }
    
    .integration-buttons {
        grid-template-columns: 1fr;
    }
    
    .btn-beast-primary {
        grid-column: span 1;
    }
    
    .beast-footer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .parameters-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 10px;
    }
    
    .session-name {
        font-size: 1.8em;
    }
    
    .param-value {
        font-size: 1.6em;
    }
}