/* CSS Custom Properties for Dynamic Accent Color */
:root {
    --accent-color: #8483DE;
    --accent-rgb: 132, 131, 222;
    --accent-light: #9F9EED;
    --accent-dark: #6968C5;
}
/* Uniform styling for all 3 buttons */
.theme-toggle-container,
.color-picker-container,
.comments-button-container {
    position: fixed;
    top: 30px;
    background: rgba(20, 21, 33, 0.5);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
    z-index: 100;
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 0;
}

/* Individual positions only */
.color-picker-container {
    right: 176px;
}

.theme-toggle-container {
    right: 103px;
}

.comments-button-container {
    right: 30px;
}

/* Hover state - uniform */
.theme-toggle-container:hover,
.color-picker-container:hover,
.comments-button-container:hover {
    background: rgba(20, 21, 33, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.25),
                0 0 0 1px rgba(var(--accent-rgb), 0.2),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.3);
}

/* Icons - uniform */
#theme-toggle-icon,
#color-picker-icon,
.comments-button-container i {
    color: var(--accent-color);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.5s ease, transform 0.2s ease;
}

#theme-toggle-icon:hover,
#color-picker-icon:hover,
.comments-button-container:hover i {
    transform: scale(1.1);
}

/* Light mode - uniform */
.light-mode .theme-toggle-container,
.light-mode .color-picker-container,
.light-mode .comments-button-container {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(0, 0, 0, 0.05);
}

.light-mode .theme-toggle-container:hover,
.light-mode .color-picker-container:hover,
.light-mode .comments-button-container:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.15),
                0 0 0 1px rgba(var(--accent-rgb), 0.2);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    font-family: 'Space Mono', monospace;
    background-color: #0B0C14;
    height: 100vh;
    overflow: hidden;
    transition: background-color 0.5s ease;
}

::selection {
    background: var(--accent-color);
    color: white;
    text-shadow: none;
}
  
::-moz-selection {
    background: #FF0099;
    color: black;
    text-shadow: none;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
    transition: width 0.2s, height 0.2s;
}

/* Overlay Styles */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 12, 20, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease-in-out, background-color 0.5s ease;
}

.overlay-content {
    color: white;
    font-size: 26px;
    text-align: center;
    transition: color 0.5s ease;
}

/* Multi-page Layout */
.page-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    scroll-behavior: smooth;
    position: relative;
}

.page {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

#page-0 {
    transform: translateY(0);
}

#page-1 {
    transform: translateY(100%);
}

/* Dot Navigation */
.dot-navigation {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(var(--accent-rgb), 0.3);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent-color);
}

.about-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.about-text p {
    color: #939db8;
    font-size: 15px;
    line-height: 1.5;
}

.about-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 10px;
}

.skills-section, 
.interests-section {
    width: 100%;
}

.skills-section h3,
.interests-section h3 {
    color: #939db8;
    font-size: 1.6rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.skills-section h3::after,
.interests-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.skill-item {
    background: rgba(26, 28, 42, 0.65);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(26, 28, 42, 0.65);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.skill-icon {
    margin-right: 15px;
}

.skill-icon i {
    color: var(--accent-color);
    font-size: 22px;
}

.skill-info {
    flex: 1;
}

.skill-info h4 {
    color: #939db8;
    margin-bottom: 8px;
    font-size: 16px;
}

.skill-bar {
    height: 6px;
    background-color: rgba(39, 42, 58, 0.8);
    border-radius: 3px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.interests-section {
    margin-bottom: 50px;
}

.interests-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.interest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(26, 28, 42, 0.65);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    padding: 15px;
    border-radius: 12px;
    width: calc(25% - 12px);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.interest-item:hover {
    transform: translateY(-5px);
    background: rgba(26, 28, 42, 0.65);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.interest-item i {
    color: var(--accent-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.interest-item span {
    color: #939db8;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .interest-item {
        width: calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .about-header h2 {
        font-size: 2rem;
    }
    
    .skills-section h3,
    .interests-section h3 {
        font-size: 1.5rem;
    }
    
    .interests-grid {
        gap: 15px;
    }
    
    .interest-item {
        width: calc(50% - 8px);
        padding: 15px;
    }
    
    .interest-item i {
        font-size: 28px;
    }
    
    .dot-navigation {
        right: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .about-header {
        padding-top: 60px;
    }
    
    .about-header h2 {
        font-size: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text p {
        font-size: 14px;
    }
    
    .interest-item {
        width: calc(50% - 8px);
        padding: 12px;
    }
    
    .interest-item i {
        font-size: 24px;
        margin-bottom: 10px;
    }
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator i {
    margin-top: 8px;
    font-size: 18px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Container Styles */
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.grid-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 1500px; /* Increased perspective for more dramatic effect */
    z-index: -1;
    overflow: hidden;
}

.grid-animation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(var(--accent-rgb), 0.15) 1px, transparent 1px), 
                linear-gradient(90deg, rgba(var(--accent-rgb), 0.15) 1px, transparent 1px);
    background-size: 120px 120px; /* Larger grid squares */
    transform-origin: center center;
    transform: translate(-50%, -50%) rotateX(75deg); /* Adjusted angle for better ground effect */
    animation: moveGrid 5s linear infinite;
    transition: background 0.5s ease;
}

@keyframes moveGrid {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 800px;
    }
}

/* Info Container */

/* Enhanced Glassmorphism - More visible glass effect */

.info-container {
    background: rgba(20, 21, 33, 0.5);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 570px;
    width: 90%;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.info-container:hover {
    background: rgba(20, 21, 33, 0.75);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.volume-container {
    position: fixed;
    top: 30px;
    left: 30px;
    background: rgba(20, 21, 33, 0.5);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
    z-index: 100;
    transition: all 0.5s ease;
}

.volume-container:hover {
    background: rgba(20, 21, 33, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.25),
                0 0 0 1px rgba(var(--accent-rgb), 0.2),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.media-container {
    background: rgba(20, 21, 33, 0.5);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    max-width: 570px;
    width: 90%;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: all 0.5s ease;
}

.media-container:hover {
    background: rgba(20, 21, 33, 0.6);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}



.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(20, 21, 33, 0.6);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 15px;
    padding: 15px;
    z-index: 1001;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 250px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(var(--accent-rgb), 0.15),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.skill-item {
    background: rgba(26, 28, 42, 0.65);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(26, 28, 42, 0.65);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.2),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
}

.interest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(26, 28, 42, 0.65);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    padding: 15px;
    border-radius: 12px;
    width: calc(25% - 12px);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.interest-item:hover {
    transform: translateY(-5px);
    background: rgba(26, 28, 42, 0.65);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.2),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
}

.project-card {
    background: rgba(26, 28, 42, 0.65);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(26, 28, 42, 0.65);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 16px 48px rgba(var(--accent-rgb), 0.25),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
}

.tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(var(--accent-rgb), 0.85);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.name {
    color: var(--accent-light);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 15px;
    padding-bottom: 15px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-light), var(--accent-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s linear infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.typewriter-container {
    height: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.typewriter-text {
    color: #939db8;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    transition: color 0.5s ease; 
}

.role {
    display: inline-block;
    color: #939db8 !important;
    position: relative;
    border-right: 2px solid #939db8;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent }
}

.static-text {
    color: #939db8;
    font-size: 1rem;
    display: inline-block;
    white-space: nowrap;
    transition: color 0.5s ease;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease, color 0.5s ease;
    gap: 30px;
    margin-top: 30px;
}

.icon-wrapper {
    position: relative;
}

.social-icons i {
    color: var(--accent-color);
    font-size: 24px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.social-icons i:hover {
    transform: translateY(-5px);
}

.tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(var(--accent-rgb), 0.9);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.icon-wrapper:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Volume Controls - Glassmorphism */
.volume-container {
    position: fixed;
    top: 30px;
    left: 30px;
    background: rgba(20, 21, 33, 0.5);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 100;
    transition: all 0.5s ease;
}

.volume-container:hover {
    background: rgba(20, 21, 33, 0.6);
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.volume-icon-container {
    cursor: pointer;
}

#volume-icon {
    color: var(--accent-color);
    font-size: 20px;
    transition: color 0.5s ease;
}

#volume-slider {
    -webkit-appearance: none;
    width: 100px;
    height: 6px;
    background: #272A3A;
    border-radius: 5px;
    outline: none;
    transition: background 0.5s ease;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: background 0.5s ease;
}

#volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: none;
    transition: background 0.5s ease;
}

/* Media Controller Container */
/* Media Controller Container - Glassmorphism */
.media-container {
    background: rgba(20, 21, 33, 0.5);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    max-width: 570px;
    width: 90%;
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: all 0.5s ease;
}

.media-container:hover {
    background: rgba(20, 21, 33, 0.75);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}



/* Album Cover */
.album-cover {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 16px;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Track Info Header */
.track-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.track-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.track-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.5s ease;
}

.artist-name {
    color: #939db8;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.5s ease;
}

.time-display {
    color: #939db8;
    font-size: 0.75rem;
    white-space: nowrap;
    margin-left: 12px;
    transition: color 0.5s ease;
}

/* Light mode */
.light-mode .track-name {
    color: #1a1c2a;
}

.light-mode .artist-name,
.light-mode .time-display {
    color: #6b7280;
}

.media-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* Progress Bar + Controls Wrapper */

/* Progress Bar with Time Displays */

/* Progress Bar with Time Displays + Controls (side by side) */
.progress-time-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.current-time,
.total-time {
    color: #939db8;
    font-size: 0.7rem;
    font-family: 'Space Mono', monospace;
    white-space: nowrap;
    transition: color 0.5s ease;
    min-width: 35px;
}

.current-time {
    text-align: right;
}

.total-time {
    text-align: left;
}


/* Progress Bar Container - Now contains visualizer */

/* Progress Bar Container - Contains visualizer and progress bar stacked */

/* Progress Bar Container - Contains both stacked */

/* Progress Bar Container - Stack visualizer and progress */

/* Progress Bar Container - Contains overlapping visualizer and progress */
.progress-bar-container {
    position: relative;
    flex: 1;
    height: 8px;
    background-color: #272A3A;
    border-radius: 4px;
    overflow: hidden;
    transition: background-color 0.5s ease;
}

/* Visualizer Canvas - Behind progress bar */
#visualizer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

/* Progress Bar - On top of visualizer */
#progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
}

/* Light mode */
.light-mode .progress-bar-container {
    background-color: rgba(0, 0, 0, 0.1);
}
}
}
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
    transition: width 0.1s linear;
}
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
}

/* Media Control Buttons - Next to Progress */
.media-control-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 8px;
}

.media-control-buttons i {
    color: var(--accent-color);
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s, color 0.5s ease;
}

.media-control-buttons i:hover {
    transform: scale(1.15);
}

/* Light mode */
    width: 100%;
}

.track-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    color: #939db8;
    font-size: 0.8rem;
    transition: color 0.5s ease; 
}


#progress-bar {
    height: 100%;
    background-color: var(--accent-color);
    width: 0;
    transition: width 0.1s linear, background-color 0.5s ease;
}

/* Notification */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(20, 21, 33, 0.5);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 15px;
    padding: 15px;
    z-index: 1001;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 250px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.notification-content {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #939db8;
    transition: color 0.5s ease;
}

.notification-content i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 18px;
    transition: color 0.5s ease;
}

.notification-timer {
    width: 100%;
    height: 3px;
    background-color: #272A3A;
    border-radius: 3px;
    overflow: hidden;
    transition: background-color 0.5s ease;
}

.notification-timer::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background-color: var(--accent-color);
    animation: countdown 3s linear forwards;
    transition: background-color 0.5s ease;
}

@keyframes countdown {
    from { width: 100%; }
    to { width: 0%; }
}

.notification.show {
    transform: translateX(0);
}

/* Animations */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    50% { border-color: transparent }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid #939db8;
    white-space: nowrap;
    margin: 0;
    animation: 
        typing 3s steps(30, end),
        blink 0.75s step-end infinite;
}

.deleting {
    border-right: 2px solid #939db8;
    white-space: nowrap;
    margin: 0;
    animation: 
        blink 0.75s step-end infinite;
}

/* Theme toggle container - styled like the volume container */
/* Theme toggle container - Glassmorphism */
    background: rgba(20, 21, 33, 0.6);
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#theme-toggle-icon {
    color: var(--accent-color);
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.5s ease;
}

/* Theme icon animation */
.theme-toggle-container.animating #theme-toggle-icon {
    animation: rotate-icon 0.5s ease;
}

@keyframes rotate-icon {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

#theme-toggle-icon:hover {
    transform: scale(1.1);
}

/* Light Mode Styles */
.light-mode {
    transition: background-color 0.5s ease;
}

/* Apply light mode to the body background */
.light-mode {
    background-color: #f5f5f8;
}

/* Apply light mode to the grid animation - improved visibility */
.light-mode .grid-animation::before {
    background: linear-gradient(rgba(var(--accent-rgb), 0.4) 1px, transparent 1px), 
                linear-gradient(90deg, rgba(var(--accent-rgb), 0.2) 1px, transparent 1px);
    /* Increased opacity from 0.2 to 0.4 for better visibility */
}

.light-mode .info-container,
.light-mode .media-container,
.light-mode .volume-container,
.light-mode .theme-toggle-container,
.light-mode .notification,
.light-mode .skill-item,
.light-mode .interest-item,
.light-mode .project-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s ease;
}

.light-mode .volume-container:hover,

.light-mode .media-container:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.light-mode .project-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: 0 16px 48px rgba(var(--accent-rgb), 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.light-mode .skill-item:hover,
.light-mode .interest-item:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.light-mode .tooltip {
    background: rgba(var(--accent-rgb), 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Text color in light mode */
.light-mode .typewriter-text,
.light-mode .track-info,
.light-mode .notification-content,
.light-mode .about-text p,
.light-mode .skill-info h4,
.light-mode .interest-item span,
.light-mode .about-header h2,
.light-mode .skills-section h3,
.light-mode .interests-section h3 {
    color: #4a4a68;
}

/* Keep the purple/accent colors the same */
.light-mode .name,
.light-mode #volume-icon,
.light-mode #theme-toggle-icon,
.light-mode .media-icon-container i,
.light-mode .social-icons i,
.light-mode .media-control-buttons i,
.light-mode .notification-content i,
.light-mode .about-header span,
.light-mode .skill-icon i,
.light-mode .interest-item i {
    color: var(--accent-color); /* Keep the original purple color */
}

/* Progress bar background in light mode */
.light-mode .progress-bar-container,
.light-mode .skill-bar {
    background-color: #e1e1e8;
}

/* Ensure the notification timer keeps the same accent color */
.light-mode .notification-timer::before,
.light-mode .skill-level {
    background-color: var(--accent-color);
}

/* Volume slider in light mode */
.light-mode #volume-slider {
    background: #e1e1e8;
}

/* Cursor styles in light mode - keep the same color */
.light-mode .cursor-dot {
    background-color: var(--accent-color);
}

.light-mode .cursor-outline {
    border: 2px solid var(--accent-color);
}

/* Overlay in light mode */
.light-mode #overlay {
    background-color: rgba(245, 245, 248, 0.7);
}

.light-mode .overlay-content {
    color: #4a4a68;
}

.location-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto 15px auto;
    padding: 5px 14px;
    background-color: #1a1c2a;
    border: 1px solid #272A3A;
    border-radius: 50px;
    width: fit-content;
}

.location-container i {
    font-size: 11px;
}

.location-text {
    color: #939db8;
    font-size: 11px;
    margin-left: 5px;
    transition: color 0.5s ease;
}

/* Light mode styles for location */
.light-mode .location-container {
    background-color: #eaebf2;
    border-color: #e1e1e8;;
}

.light-mode .location-text {
    color: #4a4a68;
}

/* About Page Styles */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.about-header {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 50px;
}

.about-header h2 {
    color: #939db8;
    font-size: 2.2rem;
    letter-spacing: 2px;
    display: inline-block;
}

.about-header span {
    color: var(--accent-color);
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-light), var(--accent-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s linear infinite;
}

/* Ensure controls are visible on all pages */
#page-0 .volume-container,
#page-0 .theme-toggle-container,
#page-1 .volume-container,
#page-1 .theme-toggle-container {
    display: flex !important; /* Force display */

}

/* Add sticky controls container to hold both elements */
.sticky-controls {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 1000;
    display: none;
}

/* But allow pointer events on the actual controls */
.sticky-controls .volume-container,
.sticky-controls .theme-toggle-container {
    pointer-events: auto;
}

/* Verbeterde mobiele weergave voor About Pagina */

/* Algemene verbeteringen voor about page */
@media (max-width: 768px) {
    /* Vergroot inhoud gebied en pas padding aan */
    #page-1 .container {
        padding-top: 70px;
        padding-bottom: 30px;
        height: auto;
        min-height: 100vh;
        justify-content: flex-start;
    }
    
    /* Verbeter about container */
    .about-container {
        padding: 0 15px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-color) rgba(39, 42, 58, 0.3);
    }
    
    /* Scrollbar styling voor webkit browsers */
    .about-container::-webkit-scrollbar {
        width: 5px;
    }
    
    .about-container::-webkit-scrollbar-track {
        background: rgba(39, 42, 58, 0.3);
        border-radius: 10px;
    }
    
    .about-container::-webkit-scrollbar-thumb {
        background-color: var(--accent-color);
        border-radius: 10px;
    }
    
    /* Verbeterde header styling */
    .about-header {
        margin-bottom: 15px;
        padding-top: 20px;
    }
    
    .about-header h2 {
        font-size: 1.8rem;
    }
    
    /* Verbeterde about text styling */
    .about-text {
        margin-bottom: 20px;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    /* Verkleinde ruimtes tussen secties */
    .about-sections {
        gap: 25px;
    }
    
    /* Section headers kleiner maken */
    .skills-section h3,
    .interests-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    /* Pas skills grid aan voor betere mobiele weergave */
    .skills-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    /* Vereenvoudigde skill items voor mobiel */
    .skill-item {
        padding: 10px;
    }
    
    .skill-icon {
        margin-right: 10px;
    }
    
    .skill-icon i {
        font-size: 18px;
    }
    
    .skill-info h4 {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    /* Verkleinde interest items */
    .interest-item {
        padding: 10px;
    }
    
    .interest-item i {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .interest-item span {
        font-size: 0.8rem;
    }
}

/* Extra verbeteringen voor zeer kleine schermen */
@media (max-width: 480px) {
    /* Nog kleinere padding */
    #page-1 .container {
        padding-top: 60px;
    }
    
    /* Extra kleine header */
    .about-header h2 {
        font-size: 1.5rem;
    }
    
    /* Nog compactere skill grid */
    .skills-grid {
        gap: 8px;
    }
    
    .skill-item {
        padding: 8px;
    }
    
    .skill-icon i {
        font-size: 16px;
    }
    
    .skill-info h4 {
        font-size: 0.8rem;
    }
    
    /* Kleinere interest items, 2 per rij */
    .interests-grid {
        gap: 8px;
    }
    
    .interest-item {
        width: calc(50% - 4px);
        padding: 8px;
    }
    
    .interest-item i {
        font-size: 18px;
        margin-bottom: 3px;
    }
}

/* Landscape mode op telefoons */
@media (max-height: 480px) and (orientation: landscape) {
    #page-1 .container {
        padding-top: 50px;
    }
    
    /* Content in kolommen weergeven voor landscape mode */
    .about-container {
        display: flex;
        flex-wrap: wrap;
    }
    
    .about-header, .about-text {
        width: 100%;
    }
    
    .about-sections {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 15px;
    }
    
    .skills-section, .interests-section {
        width: 50%;
        flex: 1;
    }
    
    /* Kleinere headers */
    .about-header {
        margin-bottom: 10px;
        padding-top: 10px;
    }
    
    .about-header h2 {
        font-size: 1.5rem;
    }
    
    /* Zeer compacte tekst */
    .about-text {
        margin-bottom: 15px;
    }
    
    .about-text p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Compacte skills */
    .skills-section h3, .interests-section h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    /* Verticale skill items */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 5px;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .skill-item {
        padding: 5px;
    }
    
    /* Compacte interests */
    .interests-grid {
        gap: 5px;
    }
    
    .interest-item {
        padding: 5px;
    }
    
    .interest-item i {
        font-size: 16px;
        margin-bottom: 2px;
    }
}

/* Projects Page Styles */
.projects-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.projects-header {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 30px;
}

.projects-header h2 {
    color: #939db8;
    font-size: 1.8rem;
    letter-spacing: 2px;
    display: inline-block;
}

.projects-header span {
    color: var(--accent-color);
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-light), var(--accent-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s linear infinite;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(39, 42, 58, 0.3);
}

.projects-grid::-webkit-scrollbar {
    width: 5px;
}

.projects-grid::-webkit-scrollbar-track {
    background: rgba(39, 42, 58, 0.3);
    border-radius: 10px;
}

.projects-grid::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
}

.project-card {
    background: rgba(26, 28, 42, 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(26, 28, 42, 0.55);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: 0 16px 48px rgba(var(--accent-rgb), 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.project-image {
    padding: 15px 20px 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-thumbnail {
    transform: scale(1.1);
}

.project-info {
    padding: 0 20px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    color: #939db8;
    margin-bottom: 8px;
    font-size: 16px;
    transition: color 0.5s ease;
}

.project-info p {
    color: #939db8;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 12px;
    flex: 1;
    transition: color 0.5s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.project-tech span {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background-color: rgba(39, 42, 58, 0.5);
    border-radius: 30px;
    font-size: 11px;
    color: #939db8;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.project-tech i {
    color: var(--accent-color);
    margin-right: 4px;
    font-size: 11px;
}

.project-links {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background-color: rgba(39, 42, 58, 0.5);
    border-radius: 6px;
    text-decoration: none;
    color: #939db8;
    font-size: 12px;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.5s ease;
    border: 1px solid rgba(39, 42, 58, 0.8);
    flex: 1;
    text-align: center;
}

.project-link:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.project-link i {
    margin-right: 4px;
    font-size: 12px;
}

/* Light Mode Styles for Projects Page */
.light-mode .project-card {
    background-color: #ffffff;
    border-color: #e1e1e8;
}

.light-mode .project-info h3,
.light-mode .project-info p {
    color: #4a4a68;
}

.light-mode .project-tech span {
    background-color: #f0f0f5;
    color: #4a4a68;
}

.light-mode .project-link {
    background-color: #f0f0f5;
    color: #4a4a68;
    border-color: #e1e1e8;
}

.light-mode .project-link:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Responsive Styles for Projects Page */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .projects-header h2 {
        font-size: 1.6rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-height: none;
        overflow-y: visible;
    }
    
    .project-image {
        padding: 15px;
    }
    
    .project-thumbnail {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .project-info {
        padding: 0 15px 15px 15px;
    }
    
    #page-2 .container {
        padding-top: 60px;
        padding-bottom: 20px;
        height: auto;
        min-height: 100vh;
        justify-content: flex-start;
    }
    
    .projects-container {
        padding: 0 15px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-color) rgba(39, 42, 58, 0.3);
    }
    
    .projects-container::-webkit-scrollbar {
        width: 5px;
    }
    
    .projects-container::-webkit-scrollbar-track {
        background: rgba(39, 42, 58, 0.3);
        border-radius: 10px;
    }
    
    .projects-container::-webkit-scrollbar-thumb {
        background-color: var(--accent-color);
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .projects-header {
        padding-top: 60px;
    }
    
    .projects-header h2 {
        font-size: 1.5rem;
    }
    
    .project-thumbnail {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .project-info h3 {
        font-size: 16px;
    }
    
    .project-info p {
        font-size: 13px;
    }
    
    .project-tech span {
        font-size: 11px;
    }
    
    .project-link {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .project-link i {
        font-size: 13px;
    }
}

/* Landscape mode on phones */
@media (max-height: 480px) and (orientation: landscape) {
    #page-2 .container {
        padding-top: 50px;
    }
    
    .projects-header {
        margin-bottom: 15px;
        padding-top: 10px;
    }
    
    .projects-header h2 {
        font-size: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .project-image {
        padding: 15px;
    }
    
    .project-thumbnail {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .project-info {
        padding: 0 15px 15px 15px;
    }
    
    .project-info h3 {
        margin-bottom: 8px;
    }
    
    .project-info p {
        margin-bottom: 10px;
        font-size: 12px;
    }
    
    .project-tech {
        margin-bottom: 10px;
    }
}

/* Stagger Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Initial hidden state - elements start invisible */
.info-container,
.media-container,
.name,
.location-container,
.typewriter-container,
.social-icons .icon-wrapper,
.volume-container,
.theme-toggle-container,
.scroll-indicator {
    opacity: 0;
}

/* Animated class that gets added after overlay closes */
body.loaded .info-container {
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

body.loaded .name {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

body.loaded .location-container {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

body.loaded .typewriter-container {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

/* Stagger social icons - each icon appears one by one */
body.loaded .social-icons .icon-wrapper:nth-child(1) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

body.loaded .social-icons .icon-wrapper:nth-child(2) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1.0s forwards;
}

body.loaded .social-icons .icon-wrapper:nth-child(3) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1.1s forwards;
}

body.loaded .social-icons .icon-wrapper:nth-child(4) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

body.loaded .social-icons .icon-wrapper:nth-child(5) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1.3s forwards;
}

body.loaded .media-container {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.4s forwards;
}

body.loaded .volume-container {
    animation: fadeInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

body.loaded .theme-toggle-container {
    animation: fadeInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

body.loaded .comments-button-container {
    animation: fadeInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

body.loaded .scroll-indicator {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1.6s forwards;
}

/* About page stagger animations */
body.loaded .about-header {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

body.loaded .about-text {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

body.loaded .skills-section {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

body.loaded .interests-section {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

/* Projects page stagger animations */
body.loaded .projects-header {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

body.loaded .project-card:nth-child(1) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

body.loaded .project-card:nth-child(2) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

body.loaded .project-card:nth-child(3) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

body.loaded .project-card:nth-child(4) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

body.loaded .project-card:nth-child(5) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

body.loaded .project-card:nth-child(6) {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

/* Hide about/project elements initially too */
.about-header,
.about-text,
.skills-section,
.interests-section,
.projects-header,
.project-card {
    opacity: 0;
}
/* CSS Custom Properties for Dynamic Accent Color */
:root {
    --accent-color: #8483DE;
    --accent-rgb: 132, 131, 222;
    --accent-light: #9F9EED;
    --accent-dark: #6968C5;
}

/* Accent Color Picker Container */


#color-picker-icon {
    color: var(--accent-color);
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

#color-picker-icon:hover {
    transform: scale(1.1);
}

/* Color Dropdown Menu */
.color-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(20, 21, 33, 0.7);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border-radius: 12px;
    padding: 10px;
    min-width: 220px;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 101;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(39, 42, 58, 0.3);
}

/* Custom scrollbar for dropdown */
.color-dropdown::-webkit-scrollbar {
    width: 6px;
}

.color-dropdown::-webkit-scrollbar-track {
    background: rgba(39, 42, 58, 0.3);
    border-radius: 10px;
    margin: 5px;
}

.color-dropdown::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.color-dropdown::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-light);
}

.color-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.color-dropdown-header {
    color: #939db8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding: 0 8px;
    font-weight: 600;
}

.color-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    border: 1px solid transparent;
}

.color-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.color-option.selected {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    margin-right: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease;
}

.color-option:hover .color-swatch {
    transform: scale(1.15);
}

.color-name {
    color: #939db8;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.color-option:hover .color-name,
.color-option.selected .color-name {
    color: #ffffff;
}

/* Light mode adjustments for color picker */
.light-mode .color-picker-container {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(var(--accent-rgb), 0.2);
}

.light-mode .color-dropdown {
    background: rgba(255, 255, 255, 0.85);
}

.light-mode .color-dropdown-header,
.light-mode .color-name {
    color: #4a4a68;
}

.light-mode .color-option:hover .color-name,
.light-mode .color-option.selected .color-name {
    color: #2a2a48;
}

/* Stagger animation for color picker */
body.loaded .color-picker-container {
    animation: fadeInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

/* Audio Visualizer */

/* Modern Audio Visualizer */


/* Simple Loading Screen with Frosted Glass */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 20, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}


/* Pulsing Dots Loader */
.dots-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Simple Smooth Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(var(--accent-rgb), 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Light Mode Frosted Glass */
.light-mode #loading-screen {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .spinner {
        width: 40px;
        height: 40px;
        border-width: 2.5px;
    }
}

/* Visit Counter - Top Right */
.visit-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1A1C2A;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    color: #939DB8;
    font-size: 0.7rem;
    font-family: 'Space Mono', monospace;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInRight 0.6s ease forwards;
    animation-delay: 0.5s;
}

.visit-counter i {
    color: var(--accent-color);
    font-size: 12px;
    transition: color 0.5s ease;
}

.info-container {
    position: relative;
}

/* Light mode */
.light-mode .visit-counter {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #6b7280;
}

.light-mode .visit-counter i {
    color: var(--accent-color);
}

/* Visit Counter Tooltip */
.visit-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 21, 33, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #939DB8;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.visit-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(20, 21, 33, 0.95);
}

.visit-counter:hover .visit-tooltip {
    opacity: 1;
}

/* Light mode tooltip */
.light-mode .visit-tooltip {
    background: rgba(255, 255, 255, 0.95);
    color: #4a4a68;
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .visit-tooltip::after {
    border-top-color: rgba(255, 255, 255, 0.95);
}


/* Comments Button - Square, top right, next to theme toggle */
}

body.loaded .comments-button-container {
    animation: fadeInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}


.comments-button-container i {
    color: var(--accent-color);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.5s ease, transform 0.2s ease;
}

.comments-button-container:hover i {
    transform: scale(1.1);
}

/* Light mode */
.light-mode .comments-button-container {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(0, 0, 0, 0.05);
}


/* Mobile */
@media (max-width: 768px) {
    .comments-button-container {
        padding: 12px;
        top: 20px;
        right: 75px;  /* Adjusted for mobile */
    }
    
    .comments-button-container i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .comments-button-container {
        width: 44px;
        height: 44px;
        padding: 12px;
        top: 20px;
        right: 75px;
    }
    
    .comments-button-container i {
        font-size: 16px;
    }
}
/* Comments Modal - Base styles */
.comments-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comments-modal.active {
    display: flex;
    opacity: 1;
}

.comments-modal-content {
    background: rgba(20, 21, 33, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.comments-title i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.comments-close {
    color: #939db8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.comments-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.giscus-container {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
}

/* Custom Giscus Styling */
.giscus-container iframe {
    border-radius: 12px;
}

/* Light mode */
.light-mode .comments-button-container {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.light-mode .comments-modal-content {
    background: rgba(255, 255, 255, 0.95);
}

.light-mode .comments-title {
    color: #1a1c2a;
}

.light-mode .comments-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* Mobile */
@media (max-width: 768px) {
    .comments-button-container {
        width: 50px;
        height: 50px;
        bottom: 80px;
    }
    
    #comments-icon {
        font-size: 20px;
    }
    
    .comments-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .comments-header {
        padding: 16px 20px;
    }
    
    .giscus-container {
        padding: 16px;
    }
}

/* Comments Container */
.comments-container {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
}

/* New Comment Form */
.new-comment-form {
    background: rgba(26, 28, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

#comment-name {
    width: 100%;
    padding: 10px 12px;
    background: rgba(20, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Space Mono', monospace;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

#comment-name:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(20, 21, 33, 0.8);
}

#comment-text {
    width: 100%;
    padding: 12px;
    background: rgba(20, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Space Mono', monospace;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
}

#comment-text:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(20, 21, 33, 0.8);
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.char-count {
    color: #939db8;
    font-size: 0.75rem;
}

.submit-comment-btn {
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.submit-comment-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.4);
}

.submit-comment-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: #939db8;
}

.no-comments i {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.3;
}

.no-comments p {
    font-size: 0.9rem;
    margin: 0;
}

/* Individual Comment */
.comment-item {
    background: rgba(26, 28, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
}

.comment-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.comment-time {
    color: #939db8;
    font-size: 0.75rem;
}

.comment-text {
    color: #d4d6e0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
}

.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-like {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #939db8;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-like:hover {
    color: var(--accent-color);
}

.comment-like.liked {
    color: var(--accent-color);
}

.comment-like i {
    font-size: 0.9rem;
}

/* Light mode */
.light-mode .new-comment-form {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode #comment-name,
.light-mode #comment-text {
    background: rgba(255, 255, 255, 0.8);
    color: #1a1c2a;
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .comment-item {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(0, 0, 0, 0.05);
}

.light-mode .comment-name {
    color: #1a1c2a;
}

.light-mode .comment-text {
    color: #4a4a68;
}

/* Mobile */
@media (max-width: 768px) {
    .comments-container {
        padding: 16px;
    }
    
    .submit-comment-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}