/* =========================================
   VERTICAL NAVIGATION & MOBILE ADAPTATION
   ========================================= */

/* ── Vertical indicators (Section Nav) ── */
.section-nav {
    position: fixed;
    left: 20px; /* Adjusted for better spacing */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000; /* High z-index to stay above other elements */
    transition: all 0.4s ease;
}

.nav-dot {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    border: 1px solid rgba(232, 163, 79, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.nav-dot .dot-icon {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    transition: all .4s ease;
}

.nav-dot.active {
    background: rgba(232, 163, 79, 0.2);
    border-color: rgba(232, 163, 79, 0.8);
    box-shadow: 0 0 15px rgba(232, 163, 79, 0.4);
}

.nav-dot.active .dot-icon {
    color: #fff;
    transform: scale(1.15);
}

.nav-dot:hover {
    transform: scale(1.1);
    border-color: rgba(232, 163, 79, 0.6);
    background: rgba(0, 0, 0, 0.8);
}

.nav-dot:hover .dot-icon {
    color: #e8a34f;
}

/* ── Mobile/Tablet Specific Overrides ── */
@media (max-width: 991px) {
    /* Ensure the top navbar is the primary meta-navigation on mobile */
    .section-nav {
        left: 10px;
        gap: 8px;
    }
    
    .nav-dot {
        width: 38px;
        height: 38px;
    }

    /* Fix body overflow for mobile scrolling sections */
    body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    /* Section content adjustments */
    .panel-content {
        padding-top: 80px !important;
        justify-content: flex-start !important;
    }

    /* Adjust character sizes for vertical screens */
    .class-character img {
        height: 45vh !important;
        width: auto;
    }

    .class-content {
        text-align: center !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }

    #class-title {
        font-size: 28px !important;
        margin-left: 0 !important;
    }

    .class-stats {
        align-items: center;
    }

    .stat-row {
        width: 100%;
        max-width: 300px;
    }

    /* Premium touch for mobile headers */
    .auth-title, .page-title, #class-title {
        text-shadow: 0 4px 10px rgba(0,0,0,0.8), 0 0 15px rgba(232, 163, 79, 0.3) !important;
    }

    /* Better spacing for modules on mobile */
    .card-modules {
        width: 95% !important;
        margin: 0 auto !important;
        max-height: 85vh !important;
        padding: 15px !important;
    }
}

/* ── Social Icons Mobile ── */
@media (max-width: 768px) {
    .rrss-icon {
        display: none !important; /* Solicitado por el usuario para limpiar vista */
    }
}
