/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables para SOMEE */
:root {
    --somee-primary: #ff6b35;
    --somee-secondary: #f7931e;
    --somee-accent: #c5c5c5;
    
    --bg-main: #0d1421;
    --bg-secondary: #1a2332;
    --bg-card: #253447;
    --bg-hover: #2c3e50;
    
    --text-primary: #ecf0f1;
    --text-secondary: #bdc3c7;
    --text-muted: #7f8c8d;
    
    --border-color: #34495e;
    --shadow-color: rgba(0, 0, 0, 0.4);
    
    --gradient-warm: linear-gradient(135deg, var(--somee-primary), var(--somee-secondary));
    --gradient-bg: linear-gradient(145deg, var(--bg-main), var(--bg-secondary));
}

/* Estilos base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Espaciador para mensaje de SOMEE */
.somee-spacer {
    height: 60px;
    background: transparent;
}

.site-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

/* Header */
.site-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.hosting-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-warm);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-icon {
    font-size: 1rem;
}

.site-title {
    font-size: 3.5rem;
    font-weight: 100;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.site-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Contenido principal */
.content-area {
    margin-bottom: 3rem;
}

.student-section {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 3px;
    background: var(--gradient-warm);
    margin: 0 auto;
    border-radius: 2px;
}

/* Detalles del estudiante */
.student-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-card {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.detail-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.detail-card:hover {
    background: var(--bg-hover);
    border-color: var(--somee-primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.card-left {
    margin-right: 1.5rem;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-warm);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-main {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.footer-tech {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--somee-primary);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--somee-primary);
    }
    50% {
        box-shadow: 0 0 15px var(--somee-primary), 0 0 25px var(--somee-primary);
    }
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .somee-spacer {
        height: 80px;
    }
    
    .site-wrapper {
        padding: 1.5rem;
    }
    
    .site-title {
        font-size: 2.5rem;
    }
    
    .student-section {
        padding: 2rem;
    }
    
    .detail-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem;
    }
    
    .card-left {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .card-right {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .somee-spacer {
        height: 100px;
    }
    
    .site-wrapper {
        padding: 1rem;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .site-subtitle {
        font-size: 1rem;
    }
    
    .student-section {
        padding: 1.5rem;
    }
    
    .detail-card {
        padding: 1.5rem;
    }
    
    .detail-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .detail-value {
        font-size: 1.1rem;
    }
    
    .hosting-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Efectos adicionales */
.detail-card:nth-child(1) { transition-delay: 0.1s; }
.detail-card:nth-child(2) { transition-delay: 0.2s; }
.detail-card:nth-child(3) { transition-delay: 0.3s; }

/* Compatibilidad con SOMEE */
body::before {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

/* Asegurar que el contenido esté por debajo del mensaje de SOMEE */
.site-wrapper {
    position: relative;
    z-index: 1;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}