﻿/* ============================================
   CICLO ADELANTO - ESTILOS COMPLETOS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;600;700;800&display=swap');

:root {
    --gold: #f5a623;
    --gold-light: #ffd700;
    --gold-dark: #c47a00;
    --gold-glow: rgba(255, 215, 0, 0.3);
    --dark-bg: #0a0a1a;
    --text-primary: #ffffff;
    --text-secondary: #a4abd4;
    --glass-bg: rgba(10, 15, 36, 0.75);
    --glass-border: rgba(255, 215, 0, 0.12);
    --neon-cyan: #00f0ff;
    --neon-purple: #b026ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
}

/* ============================================
   HERO SECTION - ÉPICO
   ============================================ */
.hero-adelanto {
    position: relative;
    padding: 140px 0 70px;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%), linear-gradient(180deg, #0a0a1a 0%, #141430 50%, #0a0a1a 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}

.hero-adelanto-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Anillos orbitales decorativos */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 215, 0, 0.05);
    border-radius: 50%;
    animation: rotateRing 30s linear infinite;
}

.orbital-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border: 1px solid rgba(255, 215, 0, 0.03);
    border-radius: 50%;
    animation: rotateRing 45s linear infinite reverse;
}

@keyframes rotateRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Estrellas decorativas */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

    .star:nth-child(1) {
        top: 10%;
        left: 5%;
        animation-delay: 0s;
    }

    .star:nth-child(2) {
        top: 20%;
        right: 10%;
        animation-delay: 0.5s;
        width: 3px;
        height: 3px;
    }

    .star:nth-child(3) {
        top: 40%;
        left: 15%;
        animation-delay: 1s;
    }

    .star:nth-child(4) {
        bottom: 30%;
        right: 20%;
        animation-delay: 1.5s;
        width: 4px;
        height: 4px;
        background: var(--gold-light);
    }

    .star:nth-child(5) {
        top: 60%;
        left: 8%;
        animation-delay: 2s;
    }

    .star:nth-child(6) {
        bottom: 10%;
        left: 30%;
        animation-delay: 0.8s;
        width: 3px;
        height: 3px;
        background: var(--gold-light);
    }

    .star:nth-child(7) {
        top: 80%;
        right: 5%;
        animation-delay: 1.8s;
    }

    .star:nth-child(8) {
        top: 30%;
        left: 50%;
        animation-delay: 1.2s;
        width: 5px;
        height: 5px;
        background: var(--gold-light);
    }

    .star:nth-child(9) {
        top: 50%;
        left: 45%;
        animation-delay: 2.5s;
        width: 2px;
        height: 2px;
    }

    .star:nth-child(10) {
        bottom: 40%;
        right: 30%;
        animation-delay: 0.3s;
        width: 3px;
        height: 3px;
        background: var(--gold-light);
    }

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    position: relative;
}

    .hero-badge i {
        font-size: 0.7rem;
    }

.hero-badge-pulse {
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), transparent, rgba(255, 215, 0, 0.3));
    animation: pulseBorder 3s ease-in-out infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes pulseBorder {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold) 70%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerTitle 4s ease-in-out infinite;
}

@keyframes shimmerTitle {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-title::after {
    content: '';
    display: block;
    margin: 12px auto 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 850px;
    margin: 8px auto 0;
    line-height: 1.7;
    font-weight: 300;
}

/* Alertas */
.alert-container {
    max-width: 600px;
    margin: 16px auto 0;
}

.alert {
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
}

    .alert i {
        font-size: 1rem;
        flex-shrink: 0;
    }

.alert-warning {
    background: rgba(255, 204, 0, 0.06);
    border-color: rgba(255, 204, 0, 0.15);
    color: #ffd700;
}

.alert-danger {
    background: rgba(255, 77, 77, 0.06);
    border-color: rgba(255, 77, 77, 0.15);
    color: #ff6b6b;
}

/* Ciclo indicator */
.ciclo-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 50px;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 18px;
    backdrop-filter: blur(5px);
}

    .ciclo-indicator i {
        font-size: 1.2rem;
    }

/* ============================================
   SECCIÓN DE CURSOS
   ============================================ */
.cursos-adelanto {
    position: relative;
    z-index: 1;
    padding: 2rem 0 4rem;
}

/* Filtros */
.adelanto-filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.adelanto-search-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}

    .adelanto-search-wrapper i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-secondary);
    }

.adelanto-search-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 14px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .adelanto-search-input:focus {
        outline: none;
        border-color: var(--gold-light);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.08);
        background: rgba(255, 255, 255, 0.05);
    }

    .adelanto-search-input::placeholder {
        color: var(--text-secondary);
    }

.adelanto-filter-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.adelanto-filter-select {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 14px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

    .adelanto-filter-select:focus {
        outline: none;
        border-color: var(--gold-light);
    }

    .adelanto-filter-select option {
        background: #0a0a1a;
        color: #fff;
    }

/* Contador */
.adelanto-counter {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .adelanto-counter span {
        color: var(--gold-light);
        font-weight: 700;
        font-size: 1.2rem;
    }

/* Loader */
.adelanto-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    gap: 1.2rem;
}

.adelanto-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 215, 0, 0.08);
    border-top-color: var(--gold-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.adelanto-loader p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Grid */
.adelanto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

/* ============================================
   TARJETA DE CURSO - ESTILO GLASS
   ============================================ */
.adelanto-card {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 215, 0, 0.06);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    position: relative;
}

    .adelanto-card:hover {
        transform: translateY(-8px);
        border-color: rgba(255, 215, 0, 0.25);
        box-shadow: 0 20px 50px rgba(255, 215, 0, 0.06);
    }

    .adelanto-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .adelanto-card:hover::before {
        opacity: 1;
    }

.adelanto-card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
    background: #0d0f1a;
}

.adelanto-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.adelanto-card:hover .adelanto-card-image {
    transform: scale(1.05);
}

.adelanto-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #1a1a2e;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.adelanto-card-gratis-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #00ff88;
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.adelanto-card-ciclo-wrapper {
    position: absolute;
    bottom: 14px;
    right: 14px;
}

.adelanto-card-ciclo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: var(--gold-light);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.adelanto-card-body {
    padding: 1.3rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.adelanto-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
    font-family: 'Space Grotesk', sans-serif;
}

    .adelanto-card-title a {
        color: #fff;
        transition: color 0.3s ease;
        text-decoration: none;
    }

        .adelanto-card-title a:hover {
            color: var(--gold-light);
        }

.adelanto-card-curso {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

    .adelanto-card-curso i {
        margin-right: 4px;
    }

.adelanto-card-desc {
    font-size: 0.85rem;
    color: #a0aec0;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.adelanto-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.adelanto-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .adelanto-card-meta-item.preparacion {
        color: var(--gold-light);
        border-color: rgba(255, 215, 0, 0.2);
        background: rgba(255, 215, 0, 0.05);
    }

.adelanto-card-profesor {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .adelanto-card-profesor i {
        color: var(--gold-light);
    }

.adelanto-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    margin-top: auto;
    gap: 10px;
    flex-wrap: wrap;
}

.adelanto-card-price {
    font-size: 0.8rem;
    color: var(--gold-light);
    font-weight: 600;
}

    .adelanto-card-price i {
        margin-right: 4px;
    }

.adelanto-card-btn {
    padding: 7px 18px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #1a1a2e;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

    .adelanto-card-btn:hover {
        transform: scale(1.04);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
        color: #1a1a2e;
    }

    .adelanto-card-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

/* Empty state */
.adelanto-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

    .adelanto-empty i {
        font-size: 4rem;
        color: rgba(255, 215, 0, 0.15);
        margin-bottom: 1.2rem;
    }

    .adelanto-empty h3 {
        color: #fff;
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
        font-family: 'Space Grotesk', sans-serif;
    }

    .adelanto-empty p {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
    }

/* ============================================
   MODAL ESTELAR
   ============================================ */
.modal-estelar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .modal-estelar.show {
        display: flex;
        opacity: 1;
    }

    .modal-estelar .modal-contenido {
        transform: translateY(-20px);
        transition: transform 0.3s ease;
    }

    .modal-estelar.show .modal-contenido {
        transform: translateY(0);
    }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-adelanto {
        padding: 120px 0 50px;
        min-height: 320px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .adelanto-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .orbital-ring {
        width: 400px;
        height: 400px;
    }

    .orbital-ring-2 {
        width: 550px;
        height: 550px;
    }
}

@media (max-width: 768px) {
    .hero-adelanto {
        padding: 100px 0 40px;
        min-height: 280px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 20px;
    }

    .hero-badge {
        font-size: 0.55rem;
        padding: 4px 14px;
    }

    .adelanto-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .adelanto-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .adelanto-search-wrapper {
        min-width: 100%;
    }

    .adelanto-filter-options {
        width: 100%;
    }

    .adelanto-filter-select {
        flex: 1;
    }

    .container {
        padding: 0 5%;
    }

    .adelanto-card-image-wrapper {
        height: 180px;
    }

    .orbital-ring {
        width: 280px;
        height: 280px;
    }

    .orbital-ring-2 {
        width: 380px;
        height: 380px;
    }
}

@media (max-width: 480px) {
    .hero-adelanto {
        padding: 80px 0 30px;
        min-height: 220px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-badge {
        font-size: 0.5rem;
        padding: 3px 10px;
        letter-spacing: 1px;
    }

    .adelanto-card-body {
        padding: 1rem;
    }

    .adelanto-card-title {
        font-size: 0.95rem;
    }

    .adelanto-card-meta-item {
        font-size: 0.6rem;
        padding: 2px 8px;
    }

    .adelanto-card-btn {
        padding: 5px 14px;
        font-size: 0.65rem;
    }

    .adelanto-card-price {
        font-size: 0.7rem;
    }

    .ciclo-indicator {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--gold-light);
    }

/* Animación de entrada para tarjetas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.adelanto-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

    .adelanto-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .adelanto-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .adelanto-card:nth-child(3) {
        animation-delay: 0.15s;
    }

    .adelanto-card:nth-child(4) {
        animation-delay: 0.2s;
    }

    .adelanto-card:nth-child(5) {
        animation-delay: 0.25s;
    }

    .adelanto-card:nth-child(6) {
        animation-delay: 0.3s;
    }

    .adelanto-card:nth-child(7) {
        animation-delay: 0.35s;
    }

    .adelanto-card:nth-child(8) {
        animation-delay: 0.4s;
    }

    .adelanto-card:nth-child(9) {
        animation-delay: 0.45s;
    }

    .adelanto-card:nth-child(10) {
        animation-delay: 0.5s;
    }


    /******************/

/* ============================================
   HERO SECTION - COMPACTO Y PODEROSO
   ============================================ */
.hero-adelanto {
    position: relative;
    padding: 80px 0 40px; /* 🔥 REDUCIDO: antes era 140px 0 70px */
    text-align: center;
    overflow: hidden;
    min-height: 250px; /* 🔥 REDUCIDO: antes era 400px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%), linear-gradient(180deg, #0a0a1a 0%, #141430 50%, #0a0a1a 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}

/* Anillos orbitales - Más pequeños */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; /* 🔥 REDUCIDO: antes 600px */
    height: 400px;
    border: 1px solid rgba(255, 215, 0, 0.05);
    border-radius: 50%;
    animation: rotateRing 30s linear infinite;
}

.orbital-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px; /* 🔥 REDUCIDO: antes 800px */
    height: 550px;
    border: 1px solid rgba(255, 215, 0, 0.03);
    border-radius: 50%;
    animation: rotateRing 45s linear infinite reverse;
}

/* Hero Badge - Más pequeño */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 4px 16px; /* 🔥 REDUCIDO: antes 6px 20px */
    border-radius: 50px;
    font-size: 0.6rem; /* 🔥 REDUCIDO: antes 0.7rem */
    font-weight: 600;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px; /* 🔥 REDUCIDO: antes 16px */
    backdrop-filter: blur(10px);
    position: relative;
}

/* Hero Title - Más pequeño */
.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* 🔥 REDUCIDO: antes clamp(2.2rem, 5vw, 3.8rem) */
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px; /* 🔥 REDUCIDO: antes 12px */
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold) 70%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerTitle 4s ease-in-out infinite;
}

    .hero-title::after {
        content: '';
        display: block;
        margin: 8px auto 0; /* 🔥 REDUCIDO: antes 12px */
        width: 100px; /* 🔥 REDUCIDO: antes 80px */
        height: 2px; /* 🔥 REDUCIDO: antes 3px */
        background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
        border-radius: 2px;
    }

/* Hero Subtitle - Más pequeño */
.hero-subtitle {
    font-size: clamp(0.9rem, 1.1vw, 1rem); /* 🔥 REDUCIDO: antes clamp(1rem, 1.3vw, 1.15rem) */
    color: var(--text-secondary);
    max-width: 650px;
    margin: 6px auto 0; /* 🔥 REDUCIDO: antes 8px */
    line-height: 1.6; /* 🔥 REDUCIDO: antes 1.7 */
    font-weight: 300;
    padding: 0 16px;
}

/* Ciclo indicator - Más pequeño */
.ciclo-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* 🔥 REDUCIDO: antes 12px */
    padding: 6px 18px; /* 🔥 REDUCIDO: antes 10px 24px */
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 50px;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.85rem; /* 🔥 REDUCIDO: antes 1rem */
    margin-top: 14px; /* 🔥 REDUCIDO: antes 18px */
    backdrop-filter: blur(5px);
}

    .ciclo-indicator i {
        font-size: 1rem; /* 🔥 REDUCIDO: antes 1.2rem */
    }

/* Alertas - Más compactas */
.alert-container {
    max-width: 550px; /* 🔥 REDUCIDO: antes 600px */
    margin: 10px auto 0; /* 🔥 REDUCIDO: antes 16px */
}

.alert {
    padding: 8px 16px; /* 🔥 REDUCIDO: antes 12px 20px */
    border-radius: 10px; /* 🔥 REDUCIDO: antes 12px */
    font-size: 0.8rem; /* 🔥 REDUCIDO: antes 0.85rem */
}

/* Estrellas decorativas - Más pequeñas */
.star {
    position: absolute;
    width: 1.5px; /* 🔥 REDUCIDO: antes 2px */
    height: 1.5px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

    .star:nth-child(4),
    .star:nth-child(6),
    .star:nth-child(8),
    .star:nth-child(10) {
        width: 2.5px; /* 🔥 REDUCIDO: antes 3-5px */
        height: 2.5px;
    }

/* ============================================
   RESPONSIVE - HERO COMPACTO
   ============================================ */
@media (max-width: 992px) {
    .hero-adelanto {
        padding: 70px 0 35px;
        min-height: 200px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .orbital-ring {
        width: 320px;
        height: 320px;
    }

    .orbital-ring-2 {
        width: 420px;
        height: 420px;
    }

    .hero-content {
        margin-top:1.5em;
    }


}

@media (max-width: 768px) {
    .hero-adelanto {
        padding: 60px 0 30px;
        min-height: 180px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        padding: 0 12px;
    }

    .hero-badge {
        font-size: 0.5rem;
        padding: 3px 12px;
        letter-spacing: 0.8px;
        margin-bottom: 8px;
    }

    .ciclo-indicator {
        font-size: 0.7rem;
        padding: 4px 14px;
        gap: 8px;
        margin-top: 10px;
    }

        .ciclo-indicator i {
            font-size: 0.8rem;
        }

    .orbital-ring {
        width: 220px;
        height: 220px;
    }

    .orbital-ring-2 {
        width: 300px;
        height: 300px;
    }

    .star {
        width: 1px;
        height: 1px;
    }

        .star:nth-child(4),
        .star:nth-child(6),
        .star:nth-child(8),
        .star:nth-child(10) {
            width: 2px;
            height: 2px;
        }
}

@media (max-width: 480px) {
    .hero-adelanto {
        padding: 50px 0 25px;
        min-height: 150px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        padding: 0 8px;
        line-height: 1.5;
    }

    .hero-badge {
        font-size: 0.45rem;
        padding: 2px 10px;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
        gap: 4px;
    }

        .hero-badge i {
            font-size: 0.5rem;
        }

    .hero-title::after {
        width: 40px;
        height: 2px;
        margin-top: 6px;
    }

    .ciclo-indicator {
        font-size: 0.6rem;
        padding: 3px 10px;
        gap: 6px;
        margin-top: 8px;
        border-radius: 30px;
    }

        .ciclo-indicator i {
            font-size: 0.7rem;
        }

    .orbital-ring {
        width: 160px;
        height: 160px;
    }

    .orbital-ring-2 {
        width: 220px;
        height: 220px;
    }

    .alert {
        font-size: 0.7rem;
        padding: 6px 12px;
        gap: 8px;
    }

        .alert i {
            font-size: 0.8rem;
        }
}
/***********************************************************/
/* ============================================
   HERO SECTION - COMPACTO Y PODEROSO
   ============================================ */
.hero-adelanto {
    position: relative;
    padding: 80px 0 40px;
    text-align: left; /* 🔥 CAMBIO: antes era center */
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 🔥 CAMBIO: antes era center */
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%), linear-gradient(180deg, #0a0a1a 0%, #141430 50%, #0a0a1a 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0; /* 🔥 CAMBIO: antes era 0 auto (esto lo centraba) */
    width: 100%;
}
.hero-subtitle {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    color: var(--text-secondary);
    max-width: 1100px;
    /* 🔥 ESTE ES EL CAMBIO CLAVE: quitamos el 'auto' y le ponemos 0 */
    margin: 6px 0 0 0;
    line-height: 1.6;
    font-weight: 300;
    padding: 0;
}


/* ============================================
   HERO - CONTENIDO CENTRADO CON EXCEPCIÓN
   ============================================ */

.hero-adelanto {
    position: relative;
    padding: 80px 0 40px;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center; /* 🔥 Centramos el flex container */
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%), linear-gradient(180deg, #0a0a1a 0%, #141430 50%, #0a0a1a 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    /* 🔥 CENTRAMOS TODO EL CONTENIDO POR DEFECTO */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente */
}

/* ============================================
   CONTENEDOR PARA ELEMENTOS QUE VAN CENTRADOS
   ============================================ */
.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 850px;
}

/* ============================================
   CICLO INDICATOR - ALINEADO A LA IZQUIERDA
   ============================================ */
.hero-ciclo-wrapper {
    width: 100%;
    max-width: 850px; /* Mismo ancho que el contenido centrado */
    display: flex;
    justify-content: flex-start; /* Alineado a la izquierda */
    margin-top: 18px;
    padding: 0 20px; /* Pequeño padding para que no toque el borde */
}

.ciclo-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 50px;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
}

/* ============================================
   RESPONSIVE - MÓVILES
   ============================================ */
@media (max-width: 768px) {
    .hero-ciclo-wrapper {
        justify-content: center; /* 🔥 Centramos el ciclo en móviles */
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .hero-ciclo-wrapper {
        justify-content: center;
        padding: 0 8px;
        margin-top: 12px;
    }
}

/******************************************************************************************/

/* ============================================
   BOTÓN VER TODOS - ADELANTO
   ============================================ */
.btn-ver-todos {
    background: linear-gradient(135deg, #ffd700, #f7971e);
    color: #1a1a2e;
    border: none;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    /* 🔥 NUEVAS PROPIEDADES PARA CENTRAR TEXTO */
    line-height: 1; /* Elimina el espacio extra vertical */
    text-align: center; /* Asegura centrado horizontal */
    vertical-align: middle; /* Centrado vertical adicional */
    box-sizing: border-box; /* Incluye padding en el tamaño */
}

    .btn-ver-todos:hover {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    }

    .btn-ver-todos i {
        font-size: 0.9rem;
        display: inline-flex; /* 🔥 Asegura que el ícono también se centre */
        align-items: center;
        justify-content: center;
    }

/* Versión responsive - más pequeño en móviles */
@media (max-width: 768px) {
    .btn-ver-todos {
        padding: 6px 18px;
        font-size: 0.75rem;
        min-height: 34px;
        gap: 6px;
        line-height: 1;
    }

        .btn-ver-todos i {
            font-size: 0.75rem;
        }
}

@media (max-width: 480px) {
    .btn-ver-todos {
        padding: 5px 14px;
        font-size: 0.7rem;
        min-height: 30px;
        gap: 5px;
        border-radius: 20px;
        line-height: 1;
    }

        .btn-ver-todos i {
            font-size: 0.65rem;
        }
}

/***********************************************************/

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .nav-link-adelanto {
        padding: 6px 16px !important;
        font-size: 0.8rem;
        min-height: 36px;
        gap: 6px;
    }

        .nav-link-adelanto .badge-popular {
            font-size: 0.45rem;
            padding: 2px 8px;
            top: -8px;
            right: -10px;
        }

        .nav-link-adelanto i {
            font-size: 0.8rem;
        }
}

@media (max-width: 768px) {
    .nav-link-adelanto {
        padding: 8px 16px !important;
        font-size: 0.75rem;
        min-height: 36px;
        gap: 6px;
        border-radius: 25px;
        width: auto !important;
        display: inline-flex !important;
    }

        .nav-link-adelanto i {
            font-size: 0.75rem;
        }

        .nav-link-adelanto .badge-popular {
            font-size: 0.4rem;
            padding: 1px 6px;
            top: -8px;
            right: -8px;
        }

        .nav-link-adelanto .dropdown-arrow {
            font-size: 0.5rem;
        }

    .nav-dropdown-container {
        display: inline-block !important;
        width: auto !important;
    }
}

@media (max-width: 480px) {
    .nav-link-adelanto {
        padding: 6px 12px !important;
        font-size: 0.65rem;
        min-height: 32px;
        gap: 4px;
        border-radius: 20px;
    }

        .nav-link-adelanto i {
            font-size: 0.65rem;
        }

        .nav-link-adelanto .badge-popular {
            font-size: 0.35rem;
            padding: 1px 5px;
            top: -6px;
            right: -6px;
        }

        .nav-link-adelanto .dropdown-arrow {
            font-size: 0.45rem;
        }
}