/* ===================================================================
   DESIGN TOKENS
   =================================================================== */
:root {
    /* Colors */
    --bg-base: #0a0a0f;
    --bg-surface: rgba(14, 14, 22, 0.65);
    --bg-surface-hover: rgba(20, 20, 32, 0.75);
    --bg-card: rgba(16, 16, 28, 0.6);

    --text-primary: #f0f0f5;
    --text-secondary: rgba(240, 240, 245, 0.65);
    --text-muted: rgba(240, 240, 245, 0.35);

    --accent: #818cf8;
    --accent-rgb: 129, 140, 248;
    --accent-dim: rgba(129, 140, 248, 0.15);
    --accent-glow: 0 0 20px rgba(129, 140, 248, 0.25);

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(129, 140, 248, 0.25);

    /* Typography */
    --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --sidebar-width: 72px;
    --section-pad-x: 80px;
    --section-pad-y: 100px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s var(--ease-out);
}

/* ===================================================================
   RESET & BASE
   =================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

strong {
    color: var(--accent);
    font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-rgb), 0.4);
}

/* ===================================================================
   3D CANVAS
   =================================================================== */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===================================================================
   LOADER
   =================================================================== */
.loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #08080d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-overlay.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
    width: 240px;
}

.loader-initials {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 6px;
    margin-bottom: 32px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.97); }
    50% { opacity: 1; transform: scale(1); }
}

.loader-bar-track {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.08s linear;
}

.loader-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-family: var(--font-body);
}

/* ===================================================================
   SIDEBAR
   =================================================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: rgba(8, 8, 14, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-dim);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0;
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nav-dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: var(--transition-base);
}

.nav-dot .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.nav-dot:hover .dot {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

.nav-dot.active .dot {
    background: var(--accent);
    box-shadow: var(--accent-glow);
    width: 8px;
    height: 8px;
}

.dot-label {
    position: absolute;
    left: 52px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    color: var(--text-primary);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-6px);
    transition: opacity 0.2s, transform 0.2s;
}

.nav-dot:hover .dot-label {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sidebar-icon {
    color: var(--text-muted);
    transition: color var(--transition-base), transform var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.sidebar-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===================================================================
   MOBILE HEADER
   =================================================================== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 200;
    background: rgba(8, 8, 14, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.mobile-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ===================================================================
   MAIN CONTENT
   =================================================================== */
.main-content {
    position: relative;
    z-index: 20;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-pad-y) var(--section-pad-x);
    position: relative;
    scroll-margin-top: 32px;
    scroll-margin-bottom: 32px;
}

.section-inner {
    width: min(100%, 1240px);
    max-width: 1240px;
    margin: 0 auto;
}

/* Glass section panels */
.section-panel {
    background: rgba(14, 14, 24, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 44px 52px;
    max-width: 1200px;
    width: min(100%, 1200px);
    margin: 0 auto;
    text-align: center;
    transition: background 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

.section-header {
    position: relative;
}

.section-header--compact { display: none; }

.section-header-compact {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-title {
    margin-bottom: 40px;
}

.section-body {
    max-height: none;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    margin-top: 0;
}

/* Section labels */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===================================================================
   REVEAL ANIMATION
   =================================================================== */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children */
.reveal-item:nth-child(2) { transition-delay: 0.08s; }
.reveal-item:nth-child(3) { transition-delay: 0.16s; }
.reveal-item:nth-child(4) { transition-delay: 0.24s; }
.reveal-item:nth-child(5) { transition-delay: 0.32s; }
.reveal-item:nth-child(6) { transition-delay: 0.4s; }

/* ===================================================================
   HERO SECTION
   =================================================================== */
.section-hero { min-height: 100vh; }

.hero-layout {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px);
    gap: 48px;
    align-items: center;
    justify-items: center;
}

.hero-copy {
    min-width: 0;
}

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

.hero-profile-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: 22px;
    padding: 4px;
    background: linear-gradient(
        145deg,
        rgba(129, 140, 248, 0.45),
        rgba(255, 255, 255, 0.08) 45%,
        rgba(129, 140, 248, 0.2)
    );
    box-shadow: var(--accent-glow), 0 16px 48px rgba(0, 0, 0, 0.35);
}

.hero-profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-greeting {
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hero-name {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -1px;
    line-height: 1.05;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-actions .btn {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #0a0a0f;
}

.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===================================================================
   ABOUT SECTION
   =================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-chip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color var(--transition-base);
}

.detail-chip:hover {
    border-color: var(--border-hover);
}

.chip-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chip-value {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ===================================================================
   EDUCATION SECTION
   =================================================================== */
.edu-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edu-card {
    display: flex;
    align-items: stretch;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.edu-card:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
}

.edu-accent-bar {
    width: 6px;
    background: var(--accent);
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 6px 0 0 6px;
}

.edu-body {
    padding: 24px 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.edu-date {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.edu-institution {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.edu-degree {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.edu-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================================================
   SKILLS SECTION
   =================================================================== */
.skills-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.skill-group {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.skill-group-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.skill-row {
    display: grid;
    grid-template-columns: 140px 1fr 40px;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.skill-row:last-child {
    margin-bottom: 0;
}

.skill-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.skill-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #a78bfa);
    border-radius: 4px;
    transition: width 1.2s var(--ease-out);
}

.skill-fill.animated {
    /* Width set by JS from data-width attribute */
}

.skill-pct {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    font-weight: 600;
    font-family: var(--font-body);
}

/* ===================================================================
   PROJECTS SECTION
   =================================================================== */
.projects-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    cursor: default;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.project-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.project-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tech span {
    font-size: 0.68rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--accent-dim);
    color: var(--accent);
    letter-spacing: 0.3px;
}

/* ===================================================================
   EXPERIENCE SECTION
   =================================================================== */
.exp-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-card {
    display: flex;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.exp-card:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
}

.exp-left {
    flex-shrink: 0;
    width: 80px;
    display: flex;
    align-items: flex-start;
}

.exp-year {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    line-height: 1.5;
    text-align: center;
}

.exp-right h3 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.exp-org {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.exp-right p:last-child {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin: 0 auto 36px;
    max-width: 840px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 18px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-base);
    color: var(--text-muted);
}

.contact-card svg {
    flex-shrink: 0;
}

.contact-card:hover {
    border-color: var(--border-hover);
    color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.contact-card-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-card-value {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    word-break: break-all;
    transition: color var(--transition-base);
}

.contact-card:hover .contact-card-value {
    color: var(--text-primary);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
    padding: 40px var(--section-pad-x);
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ===================================================================
   RESPONSIVE — TABLET
   =================================================================== */
@media (max-width: 1024px) {
    :root {
        --section-pad-x: 48px;
        --section-pad-y: 80px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .skills-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-row {
        grid-template-columns: 120px 1fr 36px;
    }

    .hero-name {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }

    .hero-layout {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }
}

/* ===================================================================
   RESPONSIVE — MOBILE
   =================================================================== */
@media (max-width: 768px) {
    :root {
        --section-pad-x: 20px;
        --section-pad-y: 60px;
        --sidebar-width: 0px;
    }

    .sidebar {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding-top: 56px;
    }

    .section {
        min-height: auto;
        padding: 60px 20px;
    }

    .section-hero.is-expanded {
        min-height: calc(100vh - 56px);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-profile {
        order: -1;
    }

    .hero-profile-frame {
        max-width: 220px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 28px;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .section-panel {
        padding: 22px 20px;
        border-radius: 16px;
    }

    .section.is-expanded .section-panel {
        padding: 28px 22px;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .projects-bento,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .exp-card {
        flex-direction: column;
        gap: 12px;
    }

    .exp-left {
        width: auto;
    }

    .skill-row {
        grid-template-columns: 100px 1fr 36px;
        gap: 10px;
    }

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

    .detail-chip {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .site-footer {
        padding: 30px 20px;
    }
}

/* ===================================================================
   MOBILE NAV OVERLAY (toggled by JS)
   =================================================================== */
.sidebar.mobile-open {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 500;
    background: rgba(8, 8, 14, 0.95);
    backdrop-filter: blur(24px);
    padding: 80px 0 40px;
    animation: fadeInNav 0.3s ease;
}

.sidebar.mobile-open .sidebar-nav {
    gap: 16px;
}

.sidebar.mobile-open .nav-dot {
    width: auto;
    height: auto;
    padding: 12px 24px;
    gap: 12px;
}

.sidebar.mobile-open .dot-label {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0;
}

.sidebar.mobile-open .sidebar-bottom {
    flex-direction: row;
    gap: 20px;
    margin-top: 40px;
}

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

/* ===================================================================
   CUSTOM SECTIONS
   =================================================================== */
.custom-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: border-color var(--transition-base);
}

.custom-card:hover {
    border-color: var(--border-hover);
}

.custom-meta {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.custom-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.custom-card p {
    color: var(--text-secondary);
    line-height: 1.75;
}
