/* CSS DESIGN SYSTEM - GUNG WISNU PORTFOLIO REMIX */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
    /* Dark Mode (Default) Tokens */
    --bg-primary: #08090d;
    --bg-secondary: #0e1017;
    --bg-tertiary: #141722;
    --card-bg: rgba(18, 22, 35, 0.5);
    --card-bg-solid: #0f121d;
    
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(37, 99, 235, 0.35);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Harmonious Blue Accents (Professional, Non-Neon) */
    --accent-blue: #2563eb;       /* Royal Blue */
    --accent-indigo: #3b82f6;     /* Sky/Dodger Blue */
    --accent-purple: #1d4ed8;     /* Rich Cobalt Blue (No purple) */
    --accent-emerald: #0ea5e9;    /* Ocean Blue (No green) */
    
    --accent-blue-rgb: 37, 99, 235;
    --accent-indigo-rgb: 59, 130, 246;
    --accent-purple-rgb: 29, 78, 216;
    --accent-emerald-rgb: 14, 165, 233;
    
    --accent-glow: rgba(37, 99, 235, 0.08);
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 50px rgba(37, 99, 235, 0.04);
    
    --transition-speed: 0.4s;
    --transition-curve: cubic-bezier(0.16, 1, 0.3, 1);
    
    font-family: 'Inter', sans-serif;
}

/* Light Mode Override */
.light-mode {
    --bg-primary: #f4f7fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9eff5;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-bg-solid: #ffffff;
    
    --border-color: rgba(0, 0, 0, 0.07);
    --border-hover: rgba(37, 99, 235, 0.2);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-blue: #1d4ed8;
    --accent-indigo: #2563eb;
    --accent-purple: #1e40af;
    --accent-emerald: #0284c7;
    
    --accent-glow: rgba(37, 99, 235, 0.04);
    --shadow-card: 0 20px 45px -15px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 50px rgba(37, 99, 235, 0.02);
}

/* --- GENERAL RESET & RESET PLUG --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    transition: background-color var(--transition-speed) var(--transition-curve), 
                color var(--transition-speed) var(--transition-curve);
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 99px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* --- THEME TOGGLE MORPH --- */
.theme-toggle-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--transition-curve);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
}
.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    border-color: var(--accent-indigo);
    box-shadow: 0 0 20px rgba(var(--accent-indigo-rgb), 0.2);
}
.theme-toggle-btn svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.light-mode .theme-toggle-btn svg {
    transform: rotate(180deg);
}

/* --- GLASSMORPHISM CLASSIFICATION --- */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: border-color 0.3s var(--transition-curve), 
                box-shadow 0.3s var(--transition-curve), 
                background-color var(--transition-speed) var(--transition-curve);
}
.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* --- 3D FLOATING PROFILE PHOTO ENGINE --- */
@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.scene3d {
    perspective: 1200px;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    position: relative;
    animation: float-gentle 6s ease-in-out infinite;
}

.scene3d:hover {
    animation-play-state: paused;
}

@keyframes border-pulse {
    0%, 100% {
        border-color: rgba(var(--accent-indigo-rgb), 0.15);
        box-shadow: var(--shadow-card), 0 0 15px rgba(var(--accent-indigo-rgb), 0.05);
    }
    50% {
        border-color: rgba(var(--accent-indigo-rgb), 0.4);
        box-shadow: var(--shadow-card), 0 0 35px rgba(var(--accent-indigo-rgb), 0.2);
    }
}

.card3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 28px;
    background: var(--card-bg);
    border: 1px solid rgba(var(--accent-indigo-rgb), 0.15);
    padding: 10px;
    box-shadow: var(--shadow-card);
    animation: border-pulse 4s ease-in-out infinite;
}

.scene3d:hover .card3d {
    animation-play-state: paused;
}

/* Layers inside 3D */
.card3d-bg {
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(var(--accent-indigo-rgb), 0.08) 0%, rgba(var(--accent-purple-rgb), 0.03) 50%, transparent 100%);
    transform: translateZ(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.card3d-img-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform: translateZ(30px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s var(--transition-curve);
}

.card3d-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-curve);
}

/* Floating badges in 3D Space */
.float-badge {
    position: absolute;
    padding: 10px 18px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transform-style: preserve-3d;
    pointer-events: none;
    transition: transform 0.5s var(--transition-curve);
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.float-badge.badge-1 {
    top: 15%;
    left: -20px;
    background: rgba(var(--accent-emerald-rgb), 0.25);
    border-color: rgba(var(--accent-emerald-rgb), 0.4);
    transform: translateZ(65px);
}

.float-badge.badge-2 {
    bottom: 20%;
    right: -25px;
    background: rgba(var(--accent-indigo-rgb), 0.25);
    border-color: rgba(var(--accent-indigo-rgb), 0.4);
    transform: translateZ(75px);
}

.float-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) translateZ(-30px) scale(0.95);
        filter: blur(40px);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) translateZ(-30px) scale(1.08);
        filter: blur(55px);
    }
}

/* Decorative glass circle in background */
.glow-blur-back {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--accent-indigo-rgb), 0.25) 0%, rgba(var(--accent-purple-rgb), 0.08) 60%, transparent 100%);
    filter: blur(50px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-30px);
    pointer-events: none;
    z-index: -1;
    animation: glow-pulse 5s ease-in-out infinite;
}

.scene3d:hover .glow-blur-back {
    animation-play-state: paused;
}

/* --- HERO SECTION MODIFICATIONS --- */
.hero-glow-blob {
    position: absolute;
    top: 10%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--accent-indigo-rgb), 0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.light-mode .hero-glow-blob {
    background: radial-gradient(circle, rgba(var(--accent-indigo-rgb), 0.04) 0%, transparent 70%);
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gradient-text-indigo {
    background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Custom typing cursor */
.typing-cursor {
    animation: blink 0.8s step-end infinite;
    font-weight: 300;
    color: var(--accent-purple);
}
@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* --- TIMELINE QUEST LOG REDESIGN --- */
.timeline-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s var(--transition-curve);
    font-family: 'Outfit', sans-serif;
}

.filter-btn:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.filter-btn.active {
    background: var(--card-bg-solid);
    border-color: var(--border-hover);
    color: var(--accent-indigo);
    box-shadow: var(--shadow-card);
}

/* Timeline Layout */
.timeline-container {
    position: relative;
    padding-left: 32px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 56px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.hidden {
    opacity: 0;
    transform: translateY(20px);
    position: absolute;
    pointer-events: none;
    visibility: hidden;
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 99px;
    background: var(--bg-primary);
    border: 3px solid var(--text-muted);
    z-index: 2;
    transition: all 0.3s var(--transition-curve);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
}

.timeline-item.active-quest .timeline-dot {
    border-color: var(--accent-emerald);
    box-shadow: 0 0 10px rgba(var(--accent-emerald-rgb), 0.5);
}

.timeline-item.completed-quest .timeline-dot {
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(var(--accent-purple-rgb), 0.4);
}

/* Timeline Badge styling */
.quest-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    border: 1px solid transparent;
}

.active-quest .quest-status-badge {
    background: rgba(var(--accent-emerald-rgb), 0.08);
    color: var(--accent-emerald);
    border-color: rgba(var(--accent-emerald-rgb), 0.2);
}

.completed-quest .quest-status-badge {
    background: rgba(var(--accent-purple-rgb), 0.08);
    color: var(--accent-purple);
    border-color: rgba(var(--accent-purple-rgb), 0.2);
}

/* Documentation Grid */
.doc-journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

@media(min-width: 640px) {
    .doc-journey-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
}

.doc-img-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.doc-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-img-wrapper::after {
    content: 'View';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: opacity 0.3s var(--transition-curve);
    font-family: 'Outfit', sans-serif;
}

.doc-img-wrapper:hover img {
    transform: scale(1.08);
}

.doc-img-wrapper:hover::after {
    opacity: 1;
}

/* --- LIGHTBOX MODAL DIALOG --- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8, 9, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--transition-curve);
}

.lightbox-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-modal.open .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    margin-top: 16px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 18px;
    border-radius: 99px;
    backdrop-filter: blur(8px);
    font-family: 'Outfit', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--transition-curve);
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

/* --- ABILITIES & CARDS ENHANCEMENTS --- */
.skill-card {
    transition: all 0.4s var(--transition-curve);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--accent-indigo-rgb), 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s var(--transition-curve);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-badge {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s var(--transition-curve);
    font-weight: 500;
}

.skill-card:hover .skill-badge {
    background: rgba(var(--accent-indigo-rgb), 0.06);
    border-color: rgba(var(--accent-indigo-rgb), 0.2);
    color: var(--accent-indigo);
    transform: translateY(-2px);
}

/* --- CONTACT FORM FLOAT INPUTS --- */
.contact-input {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s var(--transition-curve) !important;
    text-align: left !important;
}

.contact-input:focus {
    border-color: var(--accent-indigo) !important;
    box-shadow: 0 0 0 3px rgba(var(--accent-indigo-rgb), 0.15) !important;
    background: var(--card-bg-solid) !important;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-purple) 100%);
    color: #ffffff !important;
    transition: all 0.4s var(--transition-curve);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    box-shadow: 0 10px 20px -5px rgba(var(--accent-indigo-rgb), 0.3);
}

.btn-gradient:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(var(--accent-indigo-rgb), 0.4);
    filter: brightness(1.1);
}

.btn-gradient:active:not(:disabled) {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .scene3d {
        margin: 0 auto;
    }
}

/* --- LIGHT MODE CONTRAST OVERRIDES --- */
.light-mode .text-slate-300,
.light-mode .text-slate-400 {
    color: var(--text-secondary) !important;
}

.light-mode .text-slate-500 {
    color: var(--text-muted) !important;
}

.light-mode .border-slate-700 {
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.light-mode .border-slate-800 {
    border-color: var(--border-color) !important;
}

.light-mode .bg-white\/5 {
    background-color: var(--bg-tertiary) !important;
}

.light-mode .float-badge {
    color: var(--text-primary) !important;
}

/* --- SCROLL REVEAL UTILITY --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- FOOTER CUSTOM DESIGN SYSTEM --- */
footer {
    background-color: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color) !important;
    transition: background-color var(--transition-speed) var(--transition-curve), 
                border-color var(--transition-speed) var(--transition-curve) !important;
}

footer p {
    color: var(--text-secondary) !important;
    transition: color var(--transition-speed) var(--transition-curve) !important;
}

footer a {
    color: var(--text-muted) !important;
    transition: color 0.3s var(--transition-curve) !important;
}

/* Specific Social Brand Color Hover Effects */
footer a[aria-label="Instagram"]:hover {
    color: #e1306c !important;
}

footer a[aria-label="GitHub"]:hover {
    color: var(--text-primary) !important;
}

footer a[aria-label="YouTube"]:hover {
    color: #ff0000 !important;
}

footer a[aria-label="Discord"]:hover {
    color: #5865f2 !important;
}

footer a[aria-label="LinkedIn"]:hover {
    color: #0077b5 !important;
}

/* --- LEADERSHIP QUEST SHIMMER EFFECT --- */
@keyframes blue-shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.role-leadership {
    background: linear-gradient(90deg, var(--text-primary), var(--accent-indigo), var(--text-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    animation: blue-shimmer 6s linear infinite;
    font-weight: 700 !important;
}

/* Fix Scroll Overlap covered by fixed header */
section {
    scroll-margin-top: 80px;
}

/* --- KNOWLEDGE PATH LOGO STYLE --- */
.edu-logo-container {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s var(--transition-curve);
}

.group\/edu:hover .edu-logo-container {
    transform: scale(1.08);
}

/* --- MOBILE NAVIGATION BURGER MENU --- */
.mobile-menu-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s var(--transition-curve);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
    z-index: 60;
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
    border-color: var(--accent-indigo);
    box-shadow: 0 0 15px rgba(var(--accent-indigo-rgb), 0.15);
}

.burger-line {
    width: 18px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 99px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center;
}

/* Burger transform to X */
.mobile-menu-btn.open .burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.open .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.open .burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Dropdown Panel */
.mobile-menu-panel {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid transparent;
    transition: max-height 0.4s var(--transition-curve), 
                opacity 0.3s var(--transition-curve),
                border-color 0.4s var(--transition-curve);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu-panel.open {
    max-height: 350px;
    opacity: 1;
    pointer-events: auto;
    border-top-color: var(--border-color);
}

/* Nav Links inside mobile menu */
.mobile-nav-link {
    display: block;
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s var(--transition-curve);
    text-align: left;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--accent-indigo);
    padding-left: 24px;
    border-color: rgba(var(--accent-indigo-rgb), 0.1);
}
