/* ========================================
   HOLO WEB - ESTILOS PRINCIPALES
   ======================================== */

/* --- RESET Y BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0b1220;
    color: #e6ecff;
    overflow-x: hidden;
}

/* --- PARTÍCULAS (FONDO ANIMADO) --- */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ========================================
   NAVBAR
   ======================================== */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: rgba(15, 27, 53, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e3a8a;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 22px;
    color: #4da3ff;
}

.logo img {
    width: 60px;
    height: 60px;
}

/* --- Navegación --- */
nav {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
}

nav a {
    color: #cbd5ff;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    padding-bottom: 6px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #4da3ff;
}

nav a.active {
    color: #4da3ff;
}

/* --- Indicador de navegación --- */
.nav-indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: #4da3ff;
    width: 0;
    left: 0;
    transition: all 0.35s ease;
    display: none; /* Oculto en móvil por defecto */
}

/* --- Selector de idioma --- */
.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #111c38;
    border: 1px solid #1e3a8a;
    color: white;
    padding: 8px 35px 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.lang-selector select:hover {
    border-color: #4da3ff;
}

.lang-selector select:focus {
    outline: none;
    border-color: #4da3ff;
}

/* Flecha personalizada */
.lang-selector::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #4da3ff;
    pointer-events: none;
}

/* ========================================
   CONTENIDO PRINCIPAL
   ======================================== */
main {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

/* --- Páginas --- */
.page {
    display: none;
    animation: fade 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Títulos y texto --- */
h1 {
    font-size: 34px;
    color: #4da3ff;
    margin-bottom: 20px;
}

h2 {
    font-size: 18px;
    color: #a9b4ff;
    font-weight: 400;
    margin-bottom: 30px;
}

p {
    line-height: 1.6;
    color: #a9b4ff;
}

/* ========================================
   GRID DE PROYECTOS
   ======================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #111c38;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid #1e3a8a;
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #4da3ff;
}

.card h3 {
    color: #e6ecff;
    margin-bottom: 8px;
}

/* ========================================
   SECCIÓN STAFF
   ======================================== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.staff-card {
    background: #111c38;
    border: 1px solid #1e3a8a;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: 0.25s ease;
    cursor: default;
}

.staff-card.clickable {
    cursor: pointer;
}

.staff-card.clickable:hover {
    transform: translateY(-6px);
    border-color: #4da3ff;
}

.staff-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 12px;
    object-fit: cover;
}

.staff-card h3 {
    color: #e6ecff;
    margin-bottom: 5px;
}

/* --- Rango del miembro --- */
.rank {
    color: #4da3ff;
    font-size: 13px;
    margin-bottom: 10px;
}

/* --- Etiqueta de portafolio --- */
.portfolio-link {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #1e3a8a, #4da3ff);
    border-radius: 20px;
    font-size: 12px;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(77, 163, 255, 0.3);
}

.no-portfolio {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    background: transparent;
    border: 1px dashed #3a4a6a;
    border-radius: 20px;
    font-size: 12px;
    color: #6a7a9a;
}

/* --- Habilidades --- */
.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.skills span {
    background: #0b1220;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 11px;
    color: #a9b4ff;
}

/* ========================================
   SECCIÓN PATROCINADORES
   ======================================== */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.sponsor-card {
    background: linear-gradient(145deg, #1a2a4a, #0f1a35);
    border: 2px solid #4da3ff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4da3ff, #a9b4ff, #4da3ff);
}

.sponsor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(77, 163, 255, 0.25);
    border-color: #a9b4ff;
}

.sponsor-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid #4da3ff;
    box-shadow: 0 0 20px rgba(77, 163, 255, 0.3);
}

.sponsor-card h3 {
    color: #e6ecff;
    font-size: 18px;
    margin-bottom: 5px;
}

.sponsor-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: linear-gradient(135deg, #4da3ff, #1e3a8a);
    border-radius: 20px;
    font-size: 11px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   SECCIÓN LAUNCHER
   ======================================== */
.launcher-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* --- Header del launcher --- */
.launcher-header {
    text-align: center;
    margin-bottom: 30px;
}

.launcher-title {
    font-size: 48px;
    background: linear-gradient(135deg, #4da3ff, #a9b4ff, #4da3ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    margin-bottom: 10px;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.launcher-version {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #a9b4ff;
    font-size: 14px;
}

.version-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Hero section --- */
.launcher-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.launcher-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.launcher-desc {
    color: #a9b4ff;
    line-height: 1.7;
    font-size: 15px;
}

/* --- Stats --- */
.launcher-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4da3ff;
    font-size: 14px;
}

.stat-item svg {
    opacity: 0.8;
}

.stat-item span:nth-child(2) {
    font-weight: 600;
    font-size: 18px;
}

.stat-item span:nth-child(3) {
    color: #a9b4ff;
    font-size: 13px;
}

/* --- Botón de instalación --- */
.launcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4da3ff, #1e3a8a);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 163, 255, 0.3);
}

.launcher-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(77, 163, 255, 0.4);
}

.launcher-btn svg {
    width: 18px;
    height: 18px;
}

/* --- Badges --- */
.launcher-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-secure {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-fast {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-api {
    background: rgba(77, 163, 255, 0.15);
    color: #4da3ff;
    border: 1px solid rgba(77, 163, 255, 0.3);
}

/* --- Carrusel --- */
.launcher-carousel {
    position: relative;
    background: #111c38;
    border-radius: 16px;
    border: 1px solid #1e3a8a;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.carousel-container {
    display: flex;
    height: 100%;
    transition: none;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0f1a35, #1a2a4a);
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #4da3ff;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(77, 163, 255, 0.7);
}

/* --- Features --- */
.launcher-features {
    margin-bottom: 30px;
}

.launcher-features h3 {
    color: #4da3ff;
    margin-bottom: 20px;
    font-size: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #111c38;
    border: 1px solid #1e3a8a;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: 0.3s ease;
}

.feature-card:hover {
    border-color: #4da3ff;
    transform: translateY(-3px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(77, 163, 255, 0.2), rgba(30, 58, 138, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4da3ff;
}

.feature-card h4 {
    color: #e6ecff;
    margin-bottom: 8px;
    font-size: 16px;
}

.feature-card p {
    color: #a9b4ff;
    font-size: 13px;
    line-height: 1.5;
}

/* --- Lista de características detallada --- */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-section {
    background: #111c38;
    border: 1px solid #1e3a8a;
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s ease;
}

.feature-section:hover {
    border-color: #4da3ff;
}

.section-title {
    color: #4da3ff;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1e3a8a;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: #a9b4ff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(30, 58, 138, 0.3);
    line-height: 1.5;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li:hover {
    color: #e6ecff;
}

/* --- Footer del launcher --- */
.launcher-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #111c38;
    border-radius: 12px;
    border: 1px solid #1e3a8a;
}

.requirements {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a9b4ff;
    font-size: 13px;
}

.requirements svg {
    color: #4da3ff;
}

.credits {
    font-size: 13px;
    color: #a9b4ff;
}

.credits .highlight {
    color: #4da3ff;
    font-weight: 600;
    font-size: 15px;
    margin-left: 5px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    text-align: center;
    padding: 25px;
    border-top: 1px solid #1e3a8a;
    color: #7f8cff;
    font-size: 13px;
    margin-top: 40px;
}

/* ========================================
   RESPONSIVE - MÓVIL
   ======================================== */
@media (max-width: 700px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        font-size: 13px;
        padding: 5px 10px;
    }

    /* Ocultar indicador en móvil */
    .nav-indicator {
        display: none !important;
    }

    /* Resaltar enlace activo en móvil */
    nav a.active {
        background: rgba(77, 163, 255, 0.15);
        border-radius: 6px;
    }

    .lang-selector {
        margin-top: 5px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 16px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }
}
