/* ==========================================
   LUMI - SECTIONS.CSS
   Hero, Login Layout, Dashboard Layout, Tienda, Testimonios, Rutas
   ========================================== */

/* ==========================================
   SECTIONS BASE
   ========================================== */
.section {
    padding: 80px 0;
}

.section-white {
    background: var(--white);
}

.section-cream {
    background: var(--cream);
}

.section-coral {
    background: var(--coral);
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1.3;
}

.section-title-light {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.3;
}

.section-description {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.section-description-light {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 32px;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--teal);
    margin-top: 24px;
}

/* ==========================================
   GRIDS
   ========================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ==========================================
   SECCIÓN CON IMAGEN
   ========================================== */
.section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.section-image {
    width: 100%;
    max-width: 500px;
}

.section-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

.section-text {
    max-width: 600px;
}

/* ==========================================
   HERO SECTION (Landing Page)
   ========================================== */
.hero {
    padding: 80px 0 100px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.hero-microtext {
    font-size: 14px;
    color: var(--gray-text);
    font-style: italic;
    margin: 0;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

/* ==========================================
   LOGIN SPLIT-SCREEN LAYOUT
   ========================================== */
.login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--white);
}

.login-container {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
    position: relative;
}

.login-visual {
    background: var(--white);
    color: var(--navy);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform var(--transition-fast);
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
}

.back-home:hover {
    transform: translateX(-4px);
}

.back-home i {
    width: 18px;
    height: 18px;
}

.visual-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;  
    max-width: 450px;
    width: 100%;
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
}

.niwi-container {
    width: 180px;
    height: 180px;
    margin-bottom: 32px;
    position: relative;
}

.niwi-login {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

.visual-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.visual-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 32px;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.stat-item i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--teal);
}

.login-form {
    background: var(--white);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.form-container {
    width: 100%;
    max-width: 420px;
}

.form-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.form-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-logo .logo-icon i {
    width: 24px;
    height: 24px;
    color: var(--navy);
}

.form-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
}

.auth-form {
    width: 100%;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 15px;
    color: var(--gray-text);
    margin-bottom: 24px;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* ==========================================
   DASHBOARD LAYOUT
   ========================================== */
.dashboard-body {
    display: flex;
    min-height: 100vh;
    background: var(--cream);
}

.dashboard-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.dashboard-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--navy);
}

.mobile-menu-btn i {
    width: 24px;
    height: 24px;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--cream);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    max-width: 400px;
    width: 100%;
}

.header-search:focus-within {
    border-color: var(--teal);
    background: var(--white);
}

.header-search i {
    width: 20px;
    height: 20px;
    color: var(--gray-text);
}

.header-search input {
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    color: var(--navy);
    width: 100%;
}

.header-search input::placeholder {
    color: var(--gray-text);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--cream);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.header-icon-btn:hover {
    background: var(--gray-light);
}

.header-icon-btn i {
    width: 20px;
    height: 20px;
    color: var(--navy);
}

.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: var(--coral);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 44px;
    height: 44px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-avatar i {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.dashboard-content {
    flex: 1;
    padding: 32px;
}

/* ==========================================
   WELCOME BANNER
   ========================================== */
.welcome-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(38, 198, 218, 0.08) 0%, rgba(255, 213, 79, 0.08) 100%);
    border-radius: 20px;
    margin-bottom: 32px;
    border: 2px solid var(--gray-light);
}

.welcome-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.welcome-avatar {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-md);
}

.welcome-text {
    flex: 1;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.welcome-subtitle {
    font-size: 16px;
    color: var(--gray-text);
    margin: 0 0 12px 0;
}

.welcome-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.welcome-streak {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--coral);
}

.welcome-streak i {
    width: 16px;
    height: 16px;
}

.welcome-right {
    flex-shrink: 0;
}

.next-reward {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    min-width: 320px;
}

.reward-icon {
    width: 56px;
    height: 56px;
    background: var(--purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reward-icon i {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.reward-info {
    flex: 1;
}

.reward-label {
    font-size: 12px;
    color: var(--gray-text);
    margin: 0 0 4px 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.reward-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.reward-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reward-bar {
    height: 6px;
    background: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
}

.reward-fill {
    height: 100%;
    background: var(--purple);
    border-radius: 4px;
    transition: width 1s ease;
}

.reward-text {
    font-size: 12px;
    color: var(--purple);
    font-weight: 600;
}

/* ==========================================
   STATS GRID
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

/* ==========================================
   TABS DASHBOARD
   ========================================== */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ==========================================
   HABILIDADES PARA LA VIDA (Tab dashboard)
   ========================================== */
.adulting-header {
    text-align: center;
    margin-bottom: 32px;
}

.adulting-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.adulting-header p {
    font-size: 16px;
    color: var(--gray-text);
}

.adulting-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.adulting-category {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.category-icon i {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.adulting-category h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

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

.adulting-list li + li {
    border-top: 1px solid var(--gray-light);
}

.adulting-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--navy);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.adulting-link:hover {
    color: var(--coral);
}

.adulting-link > i:first-child {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex-shrink: 0;
}

.adulting-link span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.adulting-link > i:last-child {
    width: 18px;
    height: 18px;
    color: var(--gray-text);
    flex-shrink: 0;
}

/* ==========================================
   DASHBOARD GRID
   ========================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
}

.dashboard-col-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-col-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================================
   DASHBOARD SECTIONS
   ========================================== */
.dashboard-section {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.section-header-dash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title-dash {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-dash i {
    width: 20px;
    height: 20px;
    color: var(--teal);
}

.section-link {
    color: var(--teal);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.section-link:hover {
    color: var(--coral);
}

/* ==========================================
   CONTINUE LEARNING
   ========================================== */
.continue-card {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    align-items: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(38, 198, 218, 0.05) 0%, rgba(255, 213, 79, 0.05) 100%);
    border-radius: 20px;
    border: 2px solid var(--gray-light);
}

.continue-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.continue-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.continue-description {
    color: var(--gray-text);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.continue-progress {
    margin: 8px 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.progress-percent {
    color: var(--teal);
}

.next-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--teal);
    font-weight: 600;
    margin-top: 8px;
}

.next-step i {
    width: 16px;
    height: 16px;
}

.continue-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.continue-illustration {
    width: 160px;
    height: 160px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/* ==========================================
   ROUTES GRID
   ========================================== */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.route-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 24px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.route-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.route-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.route-icon i {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.route-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.route-lessons {
    font-size: 14px;
    color: var(--gray-text);
    margin: 0 0 12px 0;
}

.route-progress-bar {
    height: 8px;
    background: var(--gray-light);
    border-radius: 8px;
    overflow: hidden;
}

.route-progress-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 1s ease;
}

/* ==========================================
   SHOP PREVIEW (Dashboard)
   ========================================== */
.shop-preview {
    background: var(--white);
}

.shop-info-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 213, 79, 0.1) 0%, rgba(38, 198, 218, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid var(--amber);
}

.shop-info-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.shop-info-icon {
    width: 56px;
    height: 56px;
    background: var(--amber);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-info-icon i {
    width: 28px;
    height: 28px;
    color: var(--navy);
}

.shop-info-text h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.shop-info-text strong {
    color: var(--amber);
}

.shop-info-text p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   TIENDA (Dashboard Tab)
   ========================================== */
.tienda-view {
    display: none;
}

.tienda-view.active {
    display: block;
}

.tienda-header {
    text-align: center;
    margin-bottom: 32px;
}

.tienda-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.tienda-header p {
    font-size: 16px;
    color: var(--gray-text);
}

.tienda-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.balance-display-dash {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--amber);
}

.balance-display-dash .balance-icon {
    width: 48px;
    height: 48px;
    background: var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-display-dash .balance-icon i {
    width: 24px;
    height: 24px;
    color: var(--navy);
}

.balance-display-dash .balance-info {
    text-align: left;
}

.balance-display-dash .balance-label {
    font-size: 11px;
    color: var(--gray-text);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

.balance-display-dash .balance-amount {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--amber);
    margin: 0;
}

.filters-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn i {
    width: 16px;
    height: 16px;
}

.filter-btn:hover {
    border-color: var(--teal);
    color: var(--navy);
}

.filter-btn.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.rewards-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.reward-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-light);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reward-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}

.reward-rarity {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rarity-comun {
    background: #9E9E9E;
    color: var(--white);
}

.rarity-poco-comun {
    background: #4CAF50;
    color: var(--white);
}

.rarity-raro {
    background: #2196F3;
    color: var(--white);
}

.rarity-epico {
    background: linear-gradient(135deg, #9C27B0, #BA68C8);
    color: var(--white);
}

.rarity-especial {
    background: linear-gradient(135deg, var(--amber), var(--coral));
    color: var(--white);
}

.reward-card .reward-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.reward-card .reward-icon i {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.reward-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.reward-description {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.reward-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--gray-light);
}

.reward-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--amber);
}

.reward-price i {
    width: 18px;
    height: 18px;
}

.btn-reward {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--teal);
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-reward:hover {
    background: var(--coral);
    transform: scale(1.05);
}

.btn-reward i {
    width: 14px;
    height: 14px;
}

.btn-reward-disabled {
    background: var(--gray-light);
    color: var(--gray-text);
    cursor: not-allowed;
}

.btn-reward-disabled:hover {
    background: var(--gray-light);
    transform: none;
}

.view-more-section {
    text-align: center;
    padding: 32px;
    background: var(--cream);
    border-radius: 16px;
}

.view-more-hint {
    font-size: 14px;
    color: var(--gray-text);
    margin-top: 12px;
}

/* ==========================================
   MIS RECOMPENSAS
   ========================================== */
.recommendations-header {
    text-align: center;
    margin-bottom: 32px;
}

.recommendations-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.recommendations-header p {
    font-size: 16px;
    color: var(--gray-text);
}

.status-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.status-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.status-btn:hover {
    border-color: var(--teal);
    color: var(--navy);
}

.status-btn.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.claimed-rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.claimed-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-light);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.claimed-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.claimed-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: var(--teal);
    color: var(--white);
}

.status-used {
    background: var(--gray-light);
    color: var(--gray-text);
}

.claimed-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.claimed-icon i {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.claimed-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.claimed-description {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

.claimed-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--gray-light);
}

.claimed-date,
.claimed-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-text);
}

.claimed-date i,
.claimed-price i {
    width: 14px;
    height: 14px;
}

.claimed-actions {
    display: flex;
    gap: 8px;
}

.btn-use {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--teal);
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-use:hover {
    background: var(--coral);
}

.btn-use i {
    width: 16px;
    height: 16px;
}

.btn-use.btn-used {
    background: var(--gray-light);
    color: var(--gray-text);
    cursor: not-allowed;
}

.btn-use.btn-used:hover {
    background: var(--gray-light);
}

/* ==========================================
   TABS DE PERFILES (Landing Page)
   ========================================== */
.route-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.route-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 140px;
}

.route-tab:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.route-tab.active {
    border-color: var(--coral);
    background: rgba(255, 107, 107, 0.05);
}

.route-tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.route-tab-icon i {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.route-tab:hover .route-tab-icon {
    transform: scale(1.1);
}

.route-tab.active .route-tab-icon {
    transform: scale(1.15);
}

.route-tab-icon.icon-visual {
    background: var(--visual-teal);
}

.route-tab-icon.icon-audio {
    background: var(--audio-purple);
}

.route-tab-icon.icon-logic {
    background: var(--logic-indigo);
}

.route-tab-icon.icon-hands {
    background: var(--hands-orange);
}

.route-tab-icon.icon-colab {
    background: var(--colab-blue);
}

.route-tab-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.route-preview {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-light);
    min-height: 400px;
    display: none;
}

.route-preview.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

.route-preview-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.route-preview-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition-normal);
}

.route-preview:hover .route-preview-image img {
    transform: scale(1.05);
}

.route-preview-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.route-preview-content .badge {
    margin-bottom: 16px;
}

.route-preview-description {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 24px;
}

.route-preview-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.route-preview-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--navy);
}

.route-preview-features li i {
    width: 20px;
    height: 20px;
    color: var(--teal);
    flex-shrink: 0;
}

/* ==========================================
   PLAYER CARDS (Testimonios con flip)
   ========================================== */
.player-card {
    position: relative;
    min-height: 400px;
    cursor: pointer;
    border: 2px solid var(--gray-light);
    transition: all var(--transition-slow);
}

.player-card:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-color: var(--teal);
    z-index: 10;
}

.player-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 400ms ease;
}

.player-card:hover .player-card-front {
    opacity: 0;
}

.player-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    color: var(--navy);
    padding: 28px 20px;
    border-radius: 18px;
    opacity: 0;
    transition: all 400ms ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid var(--teal);
}

.player-card:hover .player-card-back {
    opacity: 1;
}

.player-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
}

.player-info {
    text-align: left;
    flex: 1;
}

.player-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.player-age {
    font-size: 14px;
    color: var(--gray-text);
    font-weight: 500;
}

.player-quote {
    font-style: italic;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 16px 0;
    flex: 1;
}

.player-level {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--cream);
    border-radius: 12px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 16px;
}

.player-level i {
    width: 18px;
    height: 18px;
    color: var(--amber);
    fill: var(--amber);
}

.hover-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--teal);
    margin-top: 12px;
    opacity: 0.7;
}

.player-card:hover .hover-hint {
    opacity: 0;
}

.hover-hint i {
    width: 14px;
    height: 14px;
}

.stats-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    text-align: center;
}

.improvement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px;
    background: var(--cream);
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);
}

.improvement i {
    width: 20px;
    height: 20px;
    color: var(--teal);
}

/* ==========================================
   BENEFITS LIST (Padres)
   ========================================== */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--teal);
    box-shadow: var(--shadow-sm);
}

.benefit-icon i {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.benefit-text {
    flex: 1;
}

.benefit-text h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.benefit-text p {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   TAB: RECOMENDACIONES
   ========================================== */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.recommendation-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all var(--transition-fast);
    position: relative;
}

.recommendation-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.rec-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--purple);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
}

.rec-badge.visual {
    background: var(--visual-teal);
}

.rec-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-icon i {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.rec-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.rec-description {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    flex: 1;
}

.rec-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-text);
    font-weight: 600;
}

.rec-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rec-meta i {
    width: 16px;
    height: 16px;
}

/* ==========================================
   LUMICOINS PAGE
   ========================================== */
.hero-coins {
    background: linear-gradient(135deg, rgba(255, 213, 79, 0.15) 0%, rgba(38, 198, 218, 0.08) 100%);
    padding: 120px 0;
}

.hero-coins-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.coins-table-wrapper {
    max-width: 900px;
    margin: 0 auto 32px;
    overflow-x: auto;
}

.coins-table {
    width: 100%;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.coins-table thead {
    background: var(--teal);
    color: var(--white);
}

.coins-table th {
    padding: 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

.coins-table td {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 15px;
}

.coins-table tbody tr:last-child td {
    border-bottom: none;
}

.coins-table tbody tr:hover {
    background: var(--cream);
}

.coins-table tbody tr.highlight {
    background: rgba(255, 213, 79, 0.1);
}

.coins-table tbody tr.highlight:hover {
    background: rgba(255, 213, 79, 0.15);
}

.stars {
    font-size: 14px;
    white-space: nowrap;
}

.coins-amount {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--amber);
}

.note-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-text);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.note-small i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.progress-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.visual-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--teal);
    max-width: 400px;
    width: 100%;
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--navy);
    font-weight: 600;
}

.visual-header i {
    width: 24px;
    height: 24px;
    color: var(--teal);
}

.visual-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.visual-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-text);
    margin-top: 8px;
}

.visual-progress-bar {
    height: 12px;
    background: var(--gray-light);
    border-radius: 8px;
    overflow: hidden;
}

.visual-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--purple));
    border-radius: 8px;
    animation: fillBar 2s ease;
}

.visual-next {
    font-size: 14px;
    color: var(--purple);
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.benefits-list-simple {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefits-list-simple li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--navy);
    font-weight: 500;
}

.benefits-list-simple i {
    width: 24px;
    height: 24px;
    color: var(--teal);
    flex-shrink: 0;
}

.section-teal {
    background: var(--teal);
    color: var(--white);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.security-item {
    text-align: center;
}

.security-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.security-icon i {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.security-item h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.security-item p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.final-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 0;
}

.final-cta-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.final-cta-subtitle {
    font-size: 20px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.final-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.content-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* ==========================================
   RESPONSIVE - SECTIONS
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title,
    .section-title-light {
        font-size: 40px;
    }
    
    .login-container {
        grid-template-columns: 40% 60%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .continue-card {
        grid-template-columns: 1fr;
    }
    
    .continue-image {
        display: none;
    }
    
    .welcome-banner {
        flex-direction: column;
    }
    
    .next-reward {
        min-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .dashboard-main {
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .dashboard-header {
        padding: 20px;
    }
    
    .header-search {
        display: none;
    }
    
    .dashboard-content {
        padding: 20px;
    }
    
    .welcome-banner {
        padding: 24px;
    }
    
    .welcome-left {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .routes-grid {
        grid-template-columns: 1fr;
    }
    
    .rewards-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .rewards-grid {
        grid-template-columns: 1fr;
    }
    
    .claimed-rewards-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-info-banner {
        flex-direction: column;
        align-items: stretch;
    }
    
    .shop-info-content {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-section {
        padding: 24px 20px;
    }
    
    .continue-card {
        padding: 24px;
    }
    
    .hero {
        padding: 48px 0 64px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-image {
        order: -1;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section {
        padding: 56px 0;
    }
    
    .section-title,
    .section-title-light {
        font-size: 32px;
    }
    
    .section-description,
    .section-description-light {
        font-size: 16px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .route-preview.active {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
    }
    
    .section-with-image {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .section-image {
        order: -1;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .player-card {
        min-height: 360px;
    }
    
    .player-card:hover {
        transform: scale(1.02);
    }
    
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-visual {
        display: none;
    }
    
    .login-form {
        padding: 32px 24px;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .balance-display-dash {
        padding: 12px 16px;
    }
    
    .balance-display-dash .balance-icon {
        width: 40px;
        height: 40px;
    }
    
    .balance-display-dash .balance-amount {
        font-size: 20px;
    }
    
    .hero-coins {
        padding: 80px 0;
    }
    
    .coins-table-wrapper {
        border-radius: 12px;
    }
    
    .coins-table th,
    .coins-table td {
        padding: 12px;
        font-size: 13px;
    }
    
    .stars {
        font-size: 12px;
    }
    
    .coins-amount {
        font-size: 15px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .final-cta {
        padding: 60px 0;
    }
    
    .final-cta-title {
        font-size: 32px;
    }
    
    .final-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .final-cta-buttons .btn {
        width: 100%;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .back-home {
        top: 20px;
        left: 20px;
        font-size: 13px;
    }

    .hero-title {
        font-size: 28px;
    }
    
    .section-title,
    .section-title-light {
        font-size: 28px;
    }
    
    .route-preview.active {
        padding: 24px 16px;
    }
    
    .login-form {
        padding: 24px 16px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .welcome-title {
        font-size: 20px;
    }
    
    .continue-card {
        padding: 20px;
    }
}