@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
    --bg-color: #343434;
    --text-primary: #f5f5f5;
    --text-secondary: #aaaaaa;
    --accent-red: #d30000;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-primary: 'Calibri', 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Calibri', 'Segoe UI', Arial, sans-serif;
    --font-cursive: 'Great Vibes', cursive;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent image downloading and dragging, add crisp rendering */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto; /* Ensure clicks still register for modals */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Text Selection Color */
::selection {
    background-color: var(--accent-red);
    color: #ffffff;
}
::-moz-selection {
    background-color: var(--accent-red);
    color: #ffffff;
}

/* Custom Focus States for Keyboard Navigation */
:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 4px;
    border-radius: 2px;
}

html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#particles-js {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

body.loading {
    overflow: hidden;
}

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

.red-accent {
    color: var(--accent-red);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-heading-container {
    margin-bottom: var(--spacing-md);
    text-align: left;
    position: relative;
    padding-bottom: 0.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
}

.section-heading {
    font-family: var(--font-cursive);
    font-weight: 400;
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: 0;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    opacity: 0; /* Let GSAP reveal it */
    position: relative;
    display: inline-block;
}

.heading-underline {
    width: 0; /* GSAP will animate this */
    height: 4px;
    background-color: var(--accent-red);
    margin-bottom: var(--spacing-lg);
    border-radius: 2px;
}

/* Custom Cursor */
.cursor-dot, .cursor-crosshair {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-crosshair {
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s, transform 0.1s ease-out;
}

.cursor-crosshair .line-h, .cursor-crosshair .line-v {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
}

.cursor-crosshair .line-h {
    width: 100%;
    height: 1px;
    top: 50%;
    transform: translateY(-50%);
}

.cursor-crosshair .line-v {
    height: 100%;
    width: 1px;
    left: 50%;
    transform: translateX(-50%);
}

/* Hover States for cursor */
.hovering .cursor-dot {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}
.hovering .cursor-crosshair {
    opacity: 0;
}



/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.loader-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.loader-title {
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
}

.loader-subtitle {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0;
}

.loader-progress-bar {
    width: 300px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent-red);
}

/* Navigation - PillNav */
.pill-nav-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pill-nav-container.nav-hidden {
    transform: translate(-50%, 150%);
    opacity: 0;
    pointer-events: none;
}

.pill-nav {
    --base: rgba(0, 0, 0, 0.05);
    --pill-bg: #ffffff;
    --hover-text: #ffffff;
    --pill-text: #050505;
    --nav-h: 50px;
    --pill-pad-x: 24px;
    --pill-gap: 4px;
    
    display: flex;
    align-items: center;
    background: var(--base);
    padding: var(--pill-gap);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.pill-logo {
    width: var(--nav-h);
    height: var(--nav-h);
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 8px;
    font-size: 1.5rem;
}

.pill-items {
    display: flex;
    height: var(--nav-h);
    gap: var(--pill-gap);
    background: var(--base);
    border-radius: 50px;
}

.pill-item {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--pill-bg);
    color: var(--pill-text);
    padding: 0 var(--pill-pad-x);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.hover-circle {
    position: absolute;
    left: 50%;
    bottom: 0;
    border-radius: 50%;
    background: var(--accent-red);
    z-index: 1;
    pointer-events: none;
}

.label-stack {
    position: relative;
    display: inline-block;
    line-height: 1;
    z-index: 2;
}

.pill-label {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.pill-label-hover {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    display: inline-block;
    color: var(--hover-text);
    opacity: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-bg-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-ruler {
    position: absolute;
    right: 20px;
    top: 5vh;
    bottom: 5vh;
    width: 12px;
    background-image: repeating-linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0, rgba(0,0,0,0.4) 1px, 
        transparent 1px, transparent 10px,
        rgba(0,0,0,0.2) 10px, rgba(0,0,0,0.2) 11px,
        transparent 11px, transparent 20px,
        rgba(0,0,0,0.2) 20px, rgba(0,0,0,0.2) 21px,
        transparent 21px, transparent 30px,
        rgba(0,0,0,0.2) 30px, rgba(0,0,0,0.2) 31px,
        transparent 31px, transparent 40px,
        rgba(0,0,0,0.2) 40px, rgba(0,0,0,0.2) 41px,
        transparent 41px, transparent 50px
    );
}

.hero-center-right {
    position: absolute;
    right: 5rem;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
}

.hero-sub {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0.02em;
    opacity: 0;
}

.hero-main {
    font-family: var(--font-cursive);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 400;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0;
    opacity: 0;
}

.hero-date {
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    margin-top: 15px;
    color: var(--text-primary);
    opacity: 0;
}

.hero-bottom-right {
    position: absolute;
    right: 5rem;
    bottom: 5vh;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    font-weight: 400;
    opacity: 0;
}

.hero-video-caption {
    position: absolute;
    left: 2.5rem;
    bottom: 5vh;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 2;
    opacity: 0;
}

.hero-bottom-line {
    position: absolute;
    bottom: 3vh;
    left: 2rem;
    right: 2.5rem;
    height: 4px;
    background-color: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.about-portrait-col {
    position: sticky;
    top: 100px;
    align-self: start;
}

.portrait-wrapper {
    width: 75%;
    max-width: 320px;
    aspect-ratio: 3/4;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px dashed rgba(0, 0, 0, 0.2);
}

.about-name {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-name .red-accent {
    font-size: 1.2rem;
    display: block;
    margin-top: 0.5rem;
}

.about-quote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    border-left: 2px solid var(--accent-red);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

.timeline-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2.5rem;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-block::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(255, 255, 255, 0.8),
        transparent 40%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.timeline-block > * {
    position: relative;
    z-index: 1;
}

.timeline-block:hover {
    transform: translateY(-5px);
}

.timeline-block:hover::before,
.timeline-block:hover::after {
    opacity: 1;
}

.mt-4 { margin-top: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.small-text { font-size: 0.85rem; opacity: 0.7; }

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 0.5rem;
}

.timeline-item {
    display: flex;
}

.timeline-item .year {
    font-family: var(--font-heading);
    color: var(--accent-red);
    font-weight: bold;
    min-width: 60px;
    flex-shrink: 0;
    margin-top: -2px; /* slight visual alignment adjustment if needed, but 0 is usually fine */
}

.timeline-item .details {
    border-left: 2px solid var(--accent-red);
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.timeline-item:last-child .details {
    padding-bottom: 0;
}

.timeline-item .details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.timeline-item .details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Skills Section */
.skills {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-list-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.skill-cat-title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
    font-family: var(--font-primary);
}

.skill-cat-desc {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* Projects Exhibition */
.projects {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.sticky-heading {
    position: absolute;
    top: var(--spacing-xl);
    left: 5%;
    z-index: 10;
}

.projects-container {
    width: 100%;
    position: relative;
}

.exhibition-gallery {
    display: flex;
    flex-direction: column;
    gap: 15vh;
    padding: 15vh 5%;
    margin-top: 5rem;
}

.project-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0.2;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-panel.active {
    opacity: 1;
    transform: scale(1);
}

.project-image-wrapper {
    width: 100%;
    height: 70vh;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.project-image-wrapper .image-placeholder {
    font-size: 2rem;
}

.project-info h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.project-meta {
    color: var(--accent-red);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: var(--spacing-lg);
}

.contact-card {
    position: relative;
    padding: 5rem 4rem;
    border-radius: 24px;
    overflow: hidden;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.contact-card h2.section-heading {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.blueprint-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(211, 0, 0, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(211, 0, 0, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.2;
}

.contact-card > * {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 4rem;
}

.contact-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #ffffff;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
}

.contact-link:hover {
    border-color: var(--accent-red);
    background: rgba(211,0,0,0.1);
    transform: translateY(-5px);
}

.contact-link .label {
    color: rgba(255,255,255,0.5);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.contact-link .value {
    font-size: 1.25rem;
    font-weight: 500;
    word-break: break-word;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    background: var(--accent-red);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--accent-red);
}

.btn-primary:hover {
    background: #a30000;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(211,0,0,0.3);
}



/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.footer-line {
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.footer-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* Image Reveal Animation Class */
.image-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    transform-origin: right;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
}

.image-reveal.revealed::after {
    transform: scaleX(0);
}
/* Custom Cursor */
body, a, button, .project-card, .pill-item {
    cursor: none;
}

#cursor-dot, #cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

#cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
}

#cursor-ring {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#cursor-ring.hovered {
    width: 55px;
    height: 55px;
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-portrait-col {
        position: relative;
        top: 0;
    }
    .portrait-wrapper {
        margin: 0 auto;
    }
    .about-name {
        text-align: center;
        margin-top: 2rem;
    }
    .about-quote {
        text-align: center;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-video-caption {
        bottom: 8rem;
        left: 1rem;
        font-size: 0.75rem;
    }
    
    .project-image-wrapper {
        height: 50vh;
    }
}
@media (max-width: 768px) {
    .hero-center-right {
        right: auto;
        left: 2rem;
        text-align: left;
    }
    
    .hero-bottom-right {
        right: auto;
        left: 2rem;
        text-align: left;
    }
    
    .hero-bottom-line {
        left: 2rem;
        right: 2rem;
    }

    .hero-video-caption {
        display: none !important;
    }

    /* Hide custom cursor on mobile */
    #cursor-dot, #cursor-ring {
        display: none !important;
    }
    body, a, button, .project-card, .pill-item {
        cursor: auto;
    }

    .pill-nav-container {
        width: 100%;
        display: flex;
        justify-content: center;
        bottom: 1.5rem;
        padding: 0 1rem;
    }
    .pill-nav {
        transform: none;
        --nav-h: 42px;
        --pill-pad-x: 12px;
        --pill-gap: 2px;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .pill-nav::-webkit-scrollbar {
        display: none;
    }
    .pill-item {
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    .pill-logo {
        margin-right: 4px;
        flex-shrink: 0;
    }
    
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-image-wrapper {
        height: 40vh;
    }
    .project-info h3 {
        font-size: 2rem;
    }
    .contact-link .value {
        font-size: 1.05rem;
    }
    
    /* Hide custom cursor on touch devices */
    .cursor-dot, .cursor-crosshair {
        display: none;
    }
    * {
        cursor: auto !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.scroll-track {
    position: fixed;
    top: 0;
    right: 15px; 
    width: 6px;
    height: 100vh;
    background: linear-gradient(to right, rgba(0,0,0,0.05), rgba(0,0,0,0.1), rgba(0,0,0,0.05)); 
    z-index: 9998;
    border-radius: 3px;
}

.scroll-thumb {
    position: fixed;
    top: 0;
    right: 3px; 
    width: 30px; 
    height: 40px; 
    background-color: transparent; 
    border: none; 
    z-index: 9999;
    cursor: grab;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s linear; 
    will-change: transform;
}

.scroll-thumb:active {
    cursor: grabbing;
}

.red-dot {
    width: 14px;
    height: 14px;
    background-color: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    user-select: none;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.is-scrolling .red-dot {
    animation: bounce 0.4s infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-4px) scale(1.2); }
}

@media (max-width: 768px) {
    .scroll-track {
        right: 4px;
        width: 4px;
    }
    .scroll-thumb {
        width: 24px;
        right: -6px;
    }
    .red-dot {
        width: 10px;
        height: 10px;
    }
}
