/* Reset and Base Styles */
:root {
    --primary-color: #6b46c1;
    --secondary-color: #4299e1;
    --background-dark: #0a0a0f;
    --background-light: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --primary-color-rgb: 107, 70, 193;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Space Mono', monospace;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Mobile hero background fix */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center top;
    }
    
    /* Add overlay for better text contrast on mobile */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.4) 100%
        );
        z-index: 1;
    }
    
    .hero-content {
        z-index: 2;
    }
}

/* Stars Container */
.hero .stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.hero .stars-container.fade-out {
    opacity: 0;
}

/* Only hide stars in music section */
.music .stars-container {
    display: none;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    opacity: var(--base-opacity);
}

.star.tiny {
    width: 0.25px;
    height: 0.25px;
    --base-opacity: 0.3;
    --max-opacity: 0.7;
}

.star.small {
    width: 0.5px;
    height: 0.5px;
    --base-opacity: 0.4;
    --max-opacity: 0.8;
}

.star.medium {
    width: 0.6px;
    height: 0.6px;
    --base-opacity: 0.45;
    --max-opacity: 0.9;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
}

/* Star animations */
@keyframes fadeInOut {
    0%, 20%, 100% { opacity: 0; }
    45%, 55% { opacity: var(--max-opacity); }
    80% { opacity: 0; }
}

@keyframes slowPulse {
    0%, 15%, 85%, 100% { opacity: var(--base-opacity); }
    45%, 55% { opacity: var(--max-opacity); }
}

@keyframes twinkle {
    0%, 15%, 85%, 100% { 
        transform: scale(1);
        opacity: var(--base-opacity);
        box-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
    }
    45%, 55% { 
        transform: scale(1.5);
        opacity: var(--max-opacity);
        box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
    }
}

@keyframes flicker {
    0%, 100% { opacity: var(--base-opacity); }
    25% { opacity: var(--max-opacity); }
    35% { opacity: var(--base-opacity); }
    65% { opacity: var(--max-opacity); }
    75% { opacity: var(--base-opacity); }
}

/* Random animation assignments */
.star:nth-child(4n+1) {
    animation: fadeInOut var(--duration) cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --duration: 15s;
}

.star:nth-child(4n+2) {
    animation: slowPulse var(--duration) cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --duration: 20s;
}

.star:nth-child(4n+3) {
    animation: twinkle var(--duration) cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --duration: 25s;
}

.star:nth-child(4n) {
    animation: flicker var(--duration) cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --duration: 30s;
}

/* Shooting star styles */
@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0.6;
    }
    20% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(-300px) translateY(300px);
        opacity: 0;
    }
}

.shooting-star {
    position: fixed;
    width: 1px;
    height: 1px;
    z-index: 100;
    pointer-events: none;
    --angle: -45deg;
    --trail-width: 40px;
    --trail-height: 0.5px;
    opacity: 0.6;
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: var(--trail-width);
    height: var(--trail-height);
    transform: translateY(-50%) rotate(var(--angle));
    transform-origin: left;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.8), 
        rgba(255, 255, 255, 0.4) 20%,
        rgba(255, 255, 255, 0));
    box-shadow: 
        0 0 2px rgba(255, 255, 255, 0.3),
        0 0 4px rgba(255, 255, 255, 0.2);
}

.shooting-star.small {
    --trail-width: 25px;
    --trail-height: 0.3px;
}

.shooting-star.medium {
    --trail-width: 35px;
    --trail-height: 0.5px;
}

.shooting-star.large {
    --trail-width: 45px;
    --trail-height: 0.7px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.hero h2 .separator {
    margin: 0 0.5rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Mobile responsive text */
@media (max-width: 480px) {
    .hero h2 .desktop-only {
        display: none;
    }
    
    .hero h2 .mobile-hidden {
        display: none;
    }
    
    .hero h2 {
        display: block;
    }
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
    margin-top: 1rem;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Developer Section */
.developer {
    background: var(--background-light);
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Other Projects Container - Desktop Layout */
.other-projects {
    display: contents;
}

.project-card {
    background: rgba(16, 16, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    background: rgba(22, 22, 36, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

/* Work in Progress Project */
.project-card.work-in-progress {
    filter: grayscale(100%);
    opacity: 0.7;
}

/* Hide work in progress project on mobile */
@media (max-width: 768px) {
    .other-projects .project-card.work-in-progress {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .other-projects .project-card.work-in-progress {
        display: none !important;
    }
}

.project-card.work-in-progress .project-image img {
    filter: grayscale(100%);
}

.project-card.work-in-progress .project-info h3,
.project-card.work-in-progress .project-info p {
    color: var(--text-secondary);
}

/* Work in Progress Badge */
.work-in-progress-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.work-in-progress-badge span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sample Player Wrapper - Limit width to prevent expanding project card */
.sample-player-wrapper {
    max-width: 400px;
    margin: 0 0 1rem 0;
}

/* Sample Player Container - Remove internal spacing above player */
.sample-player-wrapper .music-player-container {
    height: auto;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    margin-bottom: 0.75rem;
}

.project-info p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-info .galaxy-button {
    margin-top: auto;
    align-self: flex-start;
}

.skills {
    margin-top: 3rem;
    width: 100%;
   
    box-sizing: border-box;
}

.skills-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    background: rgba(16, 16, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.skills-container:hover {
    background: rgba(22, 22, 36, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

.skills h3 {
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.skills-category {
    width: 100%;
}

.skills-category h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-family: 'Space Mono', monospace;
}

.skill-box {
    width: 100%;
    margin: 1rem 0;
    padding: 0.5rem 0;
}

.skill-box .title {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.skill-box .skill-bar {
    height: 6px;
    width: 100%;
    border-radius: 6px;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.skill-bar .skill-per {
    position: relative;
    display: block;
    height: 100%;
    border-radius: 6px;
    background: var(--primary-color);
    width: 0;
    opacity: 0;
    transition: width 1s ease-in-out;
}

/* Only start animation when parent has visible class */
.skills-category.visible .skill-per {
    opacity: 1;
}

.skills-category.visible .skill-per.html { width: 90%; transition-delay: 0.1s; }
.skills-category.visible .skill-per.css { width: 85%; transition-delay: 0.2s; }
.skills-category.visible .skill-per.javascript { width: 80%; transition-delay: 0.3s; }
.skills-category.visible .skill-per.typescript { width: 75%; transition-delay: 0.4s; }
.skills-category.visible .skill-per.react-native { width: 80%; transition-delay: 0.5s; }
.skills-category.visible .skill-per.expo { width: 85%; transition-delay: 0.6s; }
.skills-category.visible .skill-per.sql { width: 75%; transition-delay: 0.7s; }
.skills-category.visible .skill-per.mysql { width: 70%; transition-delay: 0.8s; }
.skills-category.visible .skill-per.java { width: 65%; transition-delay: 0.9s; }

.skill-per .tooltip {
    position: absolute;
    right: -14px;
    top: -28px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--background-light);
    z-index: 1;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.2s ease;
}

.skill-per:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    height: 8px;
    width: 8px;
    z-index: -1;
    background-color: var(--background-light);
    transform: translateX(-50%) rotate(45deg);
}

/* Music Section 
.music-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.music-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.music-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.music-info {
    padding: 1rem;
}

.fake-player {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 5px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-button {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.progress {
    width: 30%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}
*/
/* Contact Sections */
.contact {
    margin-top: 4rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.selected-option {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus,
.selected-option:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(107, 70, 193, 0.2);
    outline: none;
    background: rgba(16, 16, 26, 0.6);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: var(--secondary-color);
}

.contact-links,
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-links .galaxy-button,
.social-links .galaxy-button {
    margin: 0;
}

.contact-links .space-button,
.social-links .space-button {
    min-width: 140px;
}


/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
}

footer p {
    margin: 0;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

footer:hover p {
    color: var(--text-primary);
}

.cookie-notice {
    font-size: 0.8rem !important;
    opacity: 0.7;
    margin-top: 0.5rem !important;
    font-style: italic;
}

/* CV Section specific styling */
.contact-info h3:last-of-type {
    margin-top: 1.5rem;
}

.contact-info h3:last-of-type + p {
    margin-bottom: 0.5rem;
}

.contact-info h3:last-of-type + p + .contact-category {
    margin-top: 0;
}

/* Center Send Message button on all devices */
.contact-form .galaxy-button {
    display: flex;
    justify-content: center;
}


/* Animations */
@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    75% { transform: translate(-50%, 20px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text-primary);
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .music-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 2rem;
        padding: 2rem;
    }

    .skills-category {
        text-align: center;
    }

    .skill-box .title {
        text-align: center;
    }

    .contact-links,
    .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-links .galaxy-button,
    .social-links .galaxy-button,
    .project-info .galaxy-button {
        width: 100%;
    }

    .contact-links .space-button,
    .social-links .space-button,
    .project-info .space-button {
        width: 100%;
        justify-content: center;
    }

    .space-button {
        font-size: 0.9rem;
        padding: 0.5em 1em;
    }

    .text {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .scroll-indicator {
        width: 25px;
        height: 40px;
        margin-top: 0.5rem;
    }

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

    section {
        padding: 4rem 0;
    }

    .contact-links,
    .social-links {
        flex-direction: column;
    }

    .skills {
        margin-top: 2rem;
    }

    .skills-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .skill-box {
        margin: 0.8rem 0;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--background-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow:
        50px 50px 1px #fff,
        150px 150px 1px #fff,
        250px 80px 1px #fff,
        350px 350px 1px #fff,
        450px 150px 1px #fff,
        550px 400px 1px #fff,
        650px 200px 1px #fff,
        750px 450px 1px #fff,
        850px 120px 1px #fff,
        950px 300px 1px #fff,
        80px 500px 1px #fff,
        180px 650px 1px #fff,
        280px 800px 1px #fff,
        380px 550px 1px #fff,
        480px 700px 1px #fff,
        580px 850px 1px #fff,
        680px 600px 1px #fff,
        780px 750px 1px #fff,
        880px 900px 1px #fff,
        980px 950px 1px #fff,
        1100px 200px 1px #fff,
        1200px 400px 1px #fff,
        1300px 600px 1px #fff,
        1400px 300px 1px #fff,
        1500px 500px 1px #fff;
    z-index: 0;
    animation: bb8-stars 1s linear alternate infinite;
    animation-delay: 0.4s;
    pointer-events: none;
    background-color: transparent;
}

.about::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow:
        100px 50px 1px #fff,
        200px 400px 1px #fff,
        300px 150px 1px #fff,
        400px 600px 1px #fff,
        500px 250px 1px #fff,
        600px 700px 1px #fff,
        700px 350px 1px #fff,
        800px 800px 1px #fff,
        900px 450px 1px #fff,
        120px 850px 1px #fff,
        220px 550px 1px #fff,
        320px 950px 1px #fff,
        420px 750px 1px #fff,
        520px 450px 1px #fff,
        620px 900px 1px #fff,
        720px 650px 1px #fff,
        820px 300px 1px #fff,
        920px 700px 1px #fff,
        1050px 350px 1px #fff,
        1150px 650px 1px #fff,
        1250px 250px 1px #fff,
        1350px 750px 1px #fff,
        1450px 450px 1px #fff;
    z-index: 0;
    animation: bb8-stars 1.2s linear alternate infinite;
    animation-delay: 0.8s;
    pointer-events: none;
    background-color: transparent;
}

.about .section-content {
    position: relative;
    z-index: 1;
}

.about-header {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
    margin-bottom: 2rem;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.about-image-wrapper {
    flex-shrink: 0;
    position: relative;
    width: 500px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Changed from flex-end */
    margin-left: -80px; /* Adjusted from -120px */
}

.decorative-planet {
    position: absolute;
    width: 300px;
    height: 300px;
    left: -80px;
    opacity: 0.8;
    z-index: 1;
}

.planet-content {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.planet-body {
    width: 65%;
    height: 65%;
    background: linear-gradient(135deg, var(--primary-color), #9d4edd);
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 2px -10px 0px rgba(0, 0, 0, 0.2);
    animation: planetTilt 5s ease infinite alternate;
    z-index: 2;
}

.planet-ring {
    position: absolute;
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotateX(75deg);
    z-index: 1;
    pointer-events: none;
}

/* Outer ring */
.planet-ring::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(
            1px 1px at 50% 20%,
            rgba(157, 78, 221, 0.4) 0%,
            transparent 100%
        ),
        radial-gradient(
            1px 1px at 40% 30%,
            rgba(157, 78, 221, 0.3) 0%,
            transparent 100%
        ),
        radial-gradient(
            2px 2px at 60% 40%,
            rgba(157, 78, 221, 0.3) 0%,
            transparent 100%
        );
    filter: blur(3px);
    box-shadow: 
        0 0 40px rgba(157, 78, 221, 0.2),
        inset 0 0 40px rgba(157, 78, 221, 0.1);
    transform-origin: center;
    animation: ringRotate 12s linear infinite;
}

/* Middle ring */
.planet-ring::after {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    top: 7.5%;
    left: 7.5%;
    background: 
        radial-gradient(
            2px 2px at 45% 25%,
            rgba(157, 78, 221, 0.4) 0%,
            transparent 100%
        ),
        radial-gradient(
            2px 2px at 55% 35%,
            rgba(157, 78, 221, 0.3) 0%,
            transparent 100%
        );
    filter: blur(4px);
    box-shadow: 
        0 0 30px rgba(157, 78, 221, 0.15),
        inset 0 0 30px rgba(157, 78, 221, 0.1);
    transform-origin: center;
    animation: ringRotate 15s linear infinite reverse;
}

/* Inner ring */
.planet-ring span {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    top: 15%;
    left: 15%;
    background: 
        radial-gradient(
            1px 1px at 40% 30%,
            rgba(157, 78, 221, 0.3) 0%,
            transparent 100%
        ),
        radial-gradient(
            1px 1px at 60% 40%,
            rgba(157, 78, 221, 0.2) 0%,
            transparent 100%
        );
    filter: blur(2px);
    box-shadow: 
        0 0 20px rgba(157, 78, 221, 0.1),
        inset 0 0 20px rgba(157, 78, 221, 0.05);
    transform-origin: center;
    animation: ringRotate 18s linear infinite;
    display: block;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.planet-spots {
    width: 100%;
    height: 100%;
    position: absolute;
    animation: spotShading 5s ease infinite alternate;
}

.planet-spots span {
    background-color: rgba(157, 78, 221, 0.4);
    position: absolute;
    border-radius: 100%;
    box-shadow: inset -2px 3px 0px rgba(0, 0, 0, 0.3);
}

.planet-spots span:nth-child(1) { top: 20%; right: 25%; width: 30%; height: 30%; }
.planet-spots span:nth-child(2) { top: 15%; left: 20%; width: 15%; height: 15%; }
.planet-spots span:nth-child(3) { top: 45%; left: 15%; width: 25%; height: 25%; }
.planet-spots span:nth-child(4) { top: 40%; left: 45%; width: 35%; height: 35%; }
.planet-spots span:nth-child(5) { top: 70%; left: 25%; width: 20%; height: 20%; }
.planet-spots span:nth-child(6) { top: 75%; left: 55%; width: 15%; height: 15%; }
.planet-spots span:nth-child(7) { top: 35%; left: 75%; width: 20%; height: 20%; }

@keyframes planetTilt {
    0% { transform: translate(-50%, -50%) rotate(10deg); }
    100% { transform: translate(-50%, -50%) rotate(-10deg); }
}

@keyframes spotShading {
    0% { opacity: 0.4; }
    100% { opacity: 0.7; }
}

.planet-svg {
    width: 100%;
    height: 100%;
    transform: scale(0.9);
}

/* Planet animations */
.planet {
    transform-origin: center;
    animation: pulse 4s ease-in-out infinite;
}

.ring-container {
    transform-origin: center;
    animation: tiltRing 12s linear infinite;
}

.ring {
    transform-origin: center;
    animation: fadeRing 4s ease-in-out infinite;
}

.particle {
    transform-origin: center;
    opacity: 0.8;
}

.p1 { animation: orbit 10s linear infinite; }
.p2 { animation: orbit 12s linear infinite 1s; }
.p3 { animation: orbit 11s linear infinite 2s; }
.p4 { animation: orbit 13s linear infinite 3s; }
.p5 { animation: orbit 9s linear infinite 4s; }
.p6 { animation: orbit 14s linear infinite 5s; }
.p7 { animation: orbit 10s linear infinite 6s; }
.p8 { animation: orbit 12s linear infinite 7s; }

.about-image {
    position: relative;
    width: 280px;
    height: 280px;
    z-index: 3; /* Increased z-index to stay above rings */
    margin-left: 100px;
}

.profile-planet {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.25);
}

.profile-planet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Show higher part of the image */
    border-radius: 50%;
    transform: scale(1.1);
    transition: transform 0.5s ease;
    filter: saturate(0.89) contrast(0.95) brightness(0.9); /* Reduce saturation, contrast and opacity */
}

.profile-planet:hover img {
    transform: scale(1.15);
}

.planet-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(157, 78, 221, 0.3);
    pointer-events: none;
}

/* Animation keyframes */
@keyframes pulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(0.98); filter: brightness(0.9); }
}

@keyframes tiltRing {
    0% { transform: rotate(0deg) skewX(0deg); }
    25% { transform: rotate(90deg) skewX(2deg); }
    50% { transform: rotate(180deg) skewX(0deg); }
    75% { transform: rotate(270deg) skewX(-2deg); }
    100% { transform: rotate(360deg) skewX(0deg); }
}

@keyframes fadeRing {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(-25deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(335deg);
    }
}

.about-intro {
    flex-grow: 1;
    max-width: 800px;
    padding-right: 2rem;

}

.about-content {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adjust responsive styles */
@media (max-width: 900px) {
    .about-content {
        margin-top: 3rem;
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    .about-content {
        margin-top: 2.5rem;
    }
}

/* Keep existing responsive styles */
@media (max-width: 1200px) {
    .about-header {
        max-width: 900px;
    }

    .about-image-wrapper {
        width: 400px;
        height: 250px;
    }

    .decorative-planet {
        width: 250px;
        height: 250px;
        left: -60px;
    }

    .about-image {
        width: 230px;
        height: 230px;
        margin-left: 80px;
    }
}

@media (max-width: 900px) {
    .about-header {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-image-wrapper {
        width: 350px;
        height: 220px;
        margin-left: -40px;
    }

    .decorative-planet {
        width: 220px;
        height: 220px;
        left: -40px;
    }

    .about-image {
        width: 200px;
        height: 200px;
        margin-left: 60px;
    }

    .about-content {
        padding: 0 2rem;
    text-align: center;
    }
}

@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }

    .about-image-wrapper {
        width: 100%;
        height: 200px;
        margin: 0;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .about-image {
        width: 180px;
        height: 180px;
        margin: 0;
        position: relative;
        z-index: 3;
    }

    .decorative-planet {
        width: 200px;
        height: 200px;
        position: absolute;
        left: 50%;
        transform: translateX(calc(-100% + 30px));
    }
}

@media (max-width: 480px) {
    .about-image-wrapper {
        height: 180px;
    }

    .about-image {
        width: 160px;
        height: 160px;
    }

    .decorative-planet {
        width: 180px;
        height: 180px;
        transform: translateX(calc(-100% + 20px));
    }

    .planet-ring {
        width: 180%;
        height: 180%;
    }
}

.about-motto-container {
    margin: 2rem 0;
}

.about-motto {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-color);
    text-align: left;
    margin: 0 0 0.5rem 0;
    font-family: 'Space Mono', monospace;
    line-height: 1.4;
    opacity: 0.9;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent-color);
    animation: blink 1s infinite;
    visibility: hidden;
}

.about-welcome {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--primary-color);
    text-align: left;
    margin: 0;
    font-family: 'Space Mono', monospace;
    line-height: 1.3;
    opacity: 0.9;
    letter-spacing: 0.5px;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-color);
    animation: blink-purple 1s infinite;
    visibility: hidden;
}

@keyframes blink {
    0%, 50% { border-color: var(--accent-color); }
    51%, 100% { border-color: transparent; }
}

@keyframes blink-purple {
    0%, 50% { border-color: var(--primary-color); }
    51%, 100% { border-color: transparent; }
}

.about-desktop {
    display: block;
    margin-top: 4rem;
}

.about-mobile {
    display: none;
}

/* About CV Section */
.about-cv-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.cv-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.about-cv-section .galaxy-button {
    max-width: 200px;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .about-intro h2 {
        margin: 0 0 1.5rem 0;
        padding: 0 2rem;
        text-align: center;
    }

    .about-motto {
        font-size: 1.4rem;
        margin: 1rem auto 1.5rem auto;
        padding: 0 2rem;
        white-space: pre-line;
        text-align: center;
        line-height: 1.5;
        max-width: 600px;
        width: 100%;
    }

    .about-welcome {
        font-size: 1rem;
        text-align: center;
        margin: 2.5rem 0 1.5rem 0;
        padding: 0 3rem;
        opacity: 0.8;
        max-width: 100%;
    }

    .about-motto-container {
        margin: 1rem 0 0 0;
        padding: 0;
    }

    .about-desktop {
        display: none;
    }

    .about-mobile {
        display: block;
    }

    .about-mobile p {
        margin-bottom: 1.2rem;
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .about-intro h2 {
        margin: 0 0 1.2rem 0;
        padding: 0 1.5rem;
        text-align: center;
    }

    .about-motto {
        font-size: 1.2rem;
        margin: 0.8rem auto 1.2rem auto;
        text-align: center;
        padding: 0 1.5rem;
        line-height: 1.4;
        max-width: 500px;
        width: 100%;
    }

    .about-welcome {
        font-size: 0.9rem;
        margin: 2rem 0 1.2rem 0;
        padding: 0 2.5rem;
        opacity: 0.7;
        max-width: 100%;
    }

    .about-motto-container {
        margin: 0.8rem 0;
    }

    .about-mobile p {
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
}

/* From Uiverse.io by elijahgummer */ 
.text {
    translate: 2% -6%;
    letter-spacing: 0.01ch;
    color: hsl(0 0% calc(60% + (var(--active) * 26%)));
    z-index: 999;
    padding: 0 15px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    cursor: pointer;
}

.text::before {
    content: "";
    position: absolute;
    top: -290%;
    left: 90%;
    rotate: -45deg;
    width: 5em;
    height: 1px;
    background: linear-gradient(90deg, #ffffff, transparent);
    animation: 4s shootingStar ease-in-out infinite;
    transition: 1s ease;
    z-index: -1;
    animation-delay: 1s;
    display: none;
}

.text::after {
    content: "";
    display: none;
    position: absolute;
    top: -290%;
    left: 10%;
    rotate: -45deg;
    width: 5em;
    height: 1px;
    background: linear-gradient(90deg, #ffffff, transparent);
    animation: 7s shootingStar ease-in-out infinite;
    animation-delay: 3s;
}

.space-button:hover .text::before,
.space-button:hover .text::after {
    display: block;
}

.galaxy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 1;
    box-shadow:
      140px 20px #fff,
      425px 20px #fff,
      70px 120px #fff,
      20px 130px #fff,
      110px 80px #fff,
      280px 80px #fff,
      250px 350px #fff,
      280px 230px #fff,
      220px 190px #fff,
      450px 100px #fff,
      380px 80px #fff,
      520px 50px #fff;
    z-index: -1;
    transition: all 1.5s ease-in-out;
    animation: 1s glowing-stars linear alternate infinite;
    animation-delay: 0.4s;
}

.galaxy::after {
    content: "";
    position: absolute;
    top: -150px;
    left: -65px;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 1;
    box-shadow:
      490px 330px #fff,
      420px 300px #fff,
      320px 280px #fff,
      380px 350px #fff,
      546px 170px #fff,
      420px 180px #fff,
      370px 150px #fff,
      200px 250px #fff,
      80px 20px #fff,
      190px 50px #fff,
      270px 20px #fff,
      120px 230px #fff,
      350px -1px #fff,
      150px 369px #fff;
    z-index: -1;
    transition: all 2s ease-in-out;
    animation: 1s glowing-stars linear alternate infinite;
    animation-delay: 0.8s;
}

.space-button {
    --cut: 0.1em;
    --active: 0;
    --bg: radial-gradient(
          120% 120% at 126% 126%,
          hsl(270 calc(var(--active) * 97%) 98% / calc(var(--active) * 0.9)) 40%,
          transparent 50%
        )
        calc(100px - (var(--active) * 100px)) 0 / 100% 100% no-repeat,
      radial-gradient(
          120% 120% at 120% 120%,
          hsl(270 calc(var(--active) * 97%) 70% / calc(var(--active) * 1)) 30%,
          transparent 70%
        )
        calc(100px - (var(--active) * 100px)) 0 / 100% 100% no-repeat,
      #10101a;
    background: var(--bg);
    font-size: 0.95rem;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    padding: 0.6em 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    white-space: nowrap;
    border-radius: 2rem;
    position: relative;
    box-shadow:
      0 0 calc(var(--active) * 6em) calc(var(--active) * 3em)
        hsla(270, 97%, 61%, 0.3),
      0 0.05em 0 0
        hsl(270, calc(var(--active) * 97%), calc((var(--active) * 50%) + 30%)) inset,
      0 -0.05em 0 0 hsl(270, calc(var(--active) * 97%), calc(var(--active) * 10%)) inset;
    transition:
      box-shadow 0.25s ease-out,
      scale 0.25s,
      background 0.25s;
    scale: calc(1 + (var(--active) * 0.1));
    transform-style: preserve-3d;
    perspective: 100vmin;
    overflow: hidden;
    text-align: center;
}

.space-button:active {
    scale: 1;
    --bg: radial-gradient(
          120% 120% at 126% 126%,
          hsl(240 calc(var(--active) * 97%) 98% / calc(var(--active) * 0.9)) 40%,
          transparent 50%
        )
        calc(100px - (var(--active) * 100px)) 0 / 100% 100% no-repeat,
      radial-gradient(
          120% 120% at 120% 120%,
          hsl(240 calc(var(--active) * 97%) 70% / calc(var(--active) * 1)) 30%,
          transparent 70%
        )
        calc(100px - (var(--active) * 100px)) 0 / 100% 100% no-repeat,
      hsl(240 calc(var(--active) * 100%) calc(12% - (var(--active) * 8%)));
    box-shadow:
      0 0 calc(var(--active) * 6em) calc(var(--active) * 3em)
        hsl(240 97% 61% / 0.5),
      0 0.05em 0 0
        hsl(240 calc(var(--active) * 97%), calc((var(--active) * 50%) + 30%)) inset,
      0 -0.05em 0 0 hsl(240 calc(var(--active) * 97%), calc(var(--active) * 10%)) inset;
    background: var(--bg);
}

/* Apply wobble animation on active button */
.space-button:active .text {
    font-weight: 300;
    animation:
      wobble 0.6s ease-in-out infinite,
      blurMove 1.5s ease-in-out infinite;
    text-shadow:
      5px 5px 20px rgba(255, 255, 255, 0.8),
      10px 10px 30px rgba(66, 153, 225, 0.6);
}

/* Wobble animation */
@keyframes wobble {
    0%,
    100% {
      transform: translate(0, 0);
    }
    25% {
      transform: translate(-2px, -10px);
    }
    50% {
      transform: translate(2px, 3px);
    }
    75% {
      transform: translate(-1px, 5px);
    }
}

/* Blur move animation */
@keyframes blurMove {
    0%,
    100% {
      text-shadow:
        5px 5px 20px rgba(255, 255, 255, 0.8),
        10px 10px 30px rgba(66, 153, 225, 0.6);
    }
    50% {
      filter: blur(1px);
      text-shadow:
        10px 10px 25px rgba(255, 255, 255, 0.8),
        15px 15px 35px rgba(66, 153, 225, 0.6);
    }
}

.galaxy:active::before {
    animation: circling 2s linear infinite; /* Animation for circling effect */
}

.galaxy:active::after {
    animation: circling 1.5s linear infinite; /* Animation for circling effect */
}

@keyframes circling {
    0% {
      transform: translate(-10px, -20%) rotate(0deg);
    }
    100% {
      transform: translate(-10px, -20%) rotate(200deg);
    }
}

.galaxy {
    position: absolute;
    width: 100%;
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    overflow: hidden;
    opacity: var(--active);
    transition: opacity 0.25s;
}

@-webkit-keyframes move-x {
    0% {
      translate: -100px 0;
    }
    100% {
      translate: 100px 0;
    }
}

@keyframes move-x {
    0% {
      translate: -100px 0;
    }
    100% {
      translate: 100px 0;
    }
}

@-webkit-keyframes move-y {
    0% {
      transform: translate(0, -50px);
    }
    100% {
      transform: translate(0, 50px);
    }
}

@keyframes move-y {
    0% {
      transform: translate(0, -50px);
    }
    100% {
      transform: translate(0, 50px);
    }
}

.backdrop {
    position: absolute;
    inset: var(--cut);
    background: var(--bg);
    border-radius: 2rem;
    transition: background 0.25s;
}

@supports (selector(:has(:is(+ *)))) {
    body:has(button:is(:hover, :focus-visible)) {
      --active: 1;
      --play-state: running;
    }
    .bodydrop {
      display: none;
    }
}

.space-button:is(:hover, :focus-visible) ~ :is(.bodydrop, .particle-pen) {
    --active: 1;
    --play-state: running;
}

.space-button:is(:hover, :focus-visible) {
    --active: 1;
    --play-state: running;
}

.galaxy-button {
    position: relative;
}

/* ANIMATIONS */
@keyframes shootingStar {
    0% {
      transform: translateX(0) translateY(0);
      opacity: 1;
    }
    50% {
      transform: translateX(-55em) translateY(0);
      opacity: 1;
    }
    70% {
      transform: translateX(-70em) translateY(0);
      opacity: 0;
    }
    100% {
      transform: translateX(0) translateY(0);
      opacity: 0;
    }
}

@keyframes glowing-stars {
    0% {
      opacity: 0;
    }
  
    50% {
      opacity: 1;
    }
  
    100% {
      opacity: 0;
    }
}

/* Music Contact Button Override */
.space-button.music-contact-btn {
    --bg: radial-gradient(
        120% 120% at 126% 126%,
        hsl(270 calc(var(--active) * 97%) 98% / calc(var(--active) * 0.9)) 40%,
        transparent 50%
      )
      calc(100px - (var(--active) * 100px)) 0 / 100% 100% no-repeat,
    radial-gradient(
        120% 120% at 120% 120%,
        hsl(270 calc(var(--active) * 97%) 70% / calc(var(--active) * 1)) 30%,
        transparent 70%
      )
      calc(100px - (var(--active) * 100px)) 0 / 100% 100% no-repeat,
    #16161b;
}

/* Academic Archive Section */
.academic-archive {
    margin: 4rem 0;
    padding: 3rem 0;
    background: rgba(16, 16, 26, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Desktop - normal behavior */
@media (min-width: 769px) {
    .academic-archive {
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .academic-archive h3 {
        position: static;
        background: var(--accent-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
        padding: 0;
    }
    
    .academic-archive h3::before {
        display: none;
    }
}

.archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .archive-container {
        max-width: 100%;
        margin: 0;
        padding: 0 1rem;
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .archive-container::-webkit-scrollbar {
        display: none;
    }
    
    /* Disable assignment card animations on mobile */
    .assignment-card {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
    
    /* Add animation to entire academic archive section on mobile */
    .academic-archive {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease-out 0.3s forwards;
    }
    
    /* Mobile - title fixed, only assignments scroll */
    .academic-archive h3 {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: 1rem 0;
        margin: 0;
        text-align: center;
        font-size: 2rem;
        background: var(--accent-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .archive-container {
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .archive-container::-webkit-scrollbar {
        display: none;
    }
}

.academic-archive h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.archive-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Assignments Grid - Horizontal Scrollable Layout */
.assignments-grid {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 1rem 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    width: 100%;
    max-width: 100%;
    /* Ensure the grid doesn't expand beyond its container */
    box-sizing: border-box;
    /* Add padding to the right to ensure last card is fully visible */
    padding-right: 2rem;
}

/* Hide scrollbar for webkit browsers */
.assignments-grid::-webkit-scrollbar {
    height: 6px;
}

.assignments-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.assignments-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.assignments-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 70, 193, 0.8);
}

/* All assignments are now directly in the grid - no row classes needed */

/* Academic Archive Container - Isolated Scroll */
.academic-archive {
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    padding: 1rem 0;
    max-width: 100%;
}

.archive-container {
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
}

/* Assignment Cards */
.assignment-card {
    background: rgba(16, 16, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    width: 300px;
    min-width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    box-sizing: border-box;
}

.assignment-card:hover {
    background: rgba(22, 22, 36, 0.8);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    z-index: 10;
    position: relative;
}

/* Disable hover animation for Assignment 6 and 7 */
.assignment-card:nth-child(6):hover,
.assignment-card:nth-child(7):hover {
    transform: none;
    background: rgba(16, 16, 26, 0.7);
    border-color: rgba(255, 255, 255, 0.03);
}

/* Make Assignment 6 and 7 more visible */
.assignment-card:nth-child(6),
.assignment-card:nth-child(7) {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(18, 18, 28, 0.8);
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.assignment-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
}

.assignment-card p {
    color: var(--text-secondary);
    margin-bottom: auto;
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Center the download buttons in assignment cards */
.assignment-card .galaxy-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Responsive adjustments for horizontal layout */
@media (max-width: 1024px) {
    .assignment-card {
        width: 280px;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .assignments-grid {
        gap: 0.8rem;
        padding: 0.5rem 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        max-width: 100%;
    }
    
    .assignments-grid::-webkit-scrollbar {
        display: none;
    }
    
    .assignment-card {
        width: 300px;
        min-width: 300px;
        padding: 1.2rem;
        min-height: 200px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .archive-container {
        max-width: 100%;
        margin: 0;
        padding: 0 1rem;
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .archive-container::-webkit-scrollbar {
        display: none;
    }
    
    /* Disable assignment card animations on small mobile */
    .assignment-card {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
    
    /* Add animation to entire academic archive section on small mobile */
    .academic-archive {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease-out 0.3s forwards;
    }
    
    /* Small mobile - title fixed, only assignments scroll */
    .academic-archive h3 {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: 0.8rem 0;
        margin: 0;
        text-align: center;
        font-size: 1.5rem;
        background: var(--accent-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .archive-container {
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .archive-container::-webkit-scrollbar {
        display: none;
    }
    
    .assignments-grid {
        gap: 0.6rem;
        padding: 0.5rem 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        max-width: 100%;
    }
    
    .assignments-grid::-webkit-scrollbar {
        display: none;
    }
    
    .assignment-card {
        width: 280px;
        min-width: 280px;
        padding: 1rem;
        min-height: 180px;
        flex-shrink: 0;
    }
}

/* Ensure the backdrop also uses the new background */
.music-contact-btn .backdrop {
    background: var(--bg);
}

/* Beats Store Section */
.beats-store {
    text-align: center;
    padding: 4rem 0;
    background: rgba(16, 16, 26, 0.5);
    border-radius: 10px;
    margin: 4rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 3;
}

.beats-store h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.beats-store p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.beats-store .galaxy-button {
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .beats-store {
        padding: 3rem 1rem;
        margin: 3rem 1rem;
    }

    .beats-store h3 {
        font-size: 1.75rem;
    }

    .beats-store p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* BB-8 Component Styles */
.bb8-component {
  --bb8-toggle-size: calc(0.8 + (100vw - 320px)/(1920 - 320) * 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min-content;
  padding-top: 3rem;
  isolation: isolate;
  width: 100%;
  box-sizing: border-box;
}

/* Hide checkbox but keep it accessible */
.bb8-component .bb8-toggle {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Main container */
.bb8-component .switch {
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  height: calc(min(80vw, 340px) * 0.265);
  background: linear-gradient(to bottom right,
    #0e0d1c 0%,     
    #22103d 35%, 
    #570e40 70%,
    #751256 100%
  );
  position: relative;
  border-radius: 999px;
  transition: 3.6s ease-out;
  cursor: pointer;
  transform-origin: center;
  transform: none; /* Remove the scaling transform */
}

/* Create a pseudo-element for the stars container */
.bb8-component .switch .stars-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 999px;
  pointer-events: none;
}

/* Move stars to the new container */
.bb8-component .switch .stars-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  opacity: 0.8;
  box-shadow:
    40px 20px 1px #fff,
    125px 20px 1px #fff,
    70px 40px 1px #fff,
    20px 50px 1px #fff,
    110px 80px 1px #fff,
    180px 80px 1px #fff,
    250px 50px 1px #fff,
    280px 30px 1px #fff,
    220px 70px 1px #fff,
    150px 40px 1px #fff,
    180px 45px 1px #fff,
    310px 40px 1px #fff,
    280px 35px 1px #fff,
    160px 60px 1px #fff,
    330px 70px 1px #fff,
    400px 20px 1px #fff,
    450px 35px 1px #fff,
    520px 50px 1px #fff,
    580px 30px 1px #fff,
    620px 45px 1px #fff,
    480px 75px 1px #fff,
    380px 60px 1px #fff,
    440px 25px 1px #fff,
    510px 65px 1px #fff,
    570px 40px 1px #fff,
    650px 20px 1px #fff,
    720px 35px 1px #fff,
    780px 50px 1px #fff,
    840px 30px 1px #fff,
    900px 45px 1px #fff,
    960px 75px 1px #fff,
    1020px 60px 1px #fff,
    1080px 25px 1px #fff,
    1140px 65px 1px #fff;
  z-index: 0;
  animation: bb8-stars 1s linear alternate infinite;
  animation-delay: 0.4s;
}

.bb8-component .switch .stars-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  opacity: 0.6;
  box-shadow:
    290px 30px 1px #fff,
    220px 30px 1px #fff,
    320px 80px 1px #fff,
    80px 70px 1px #fff,
    246px 70px 1px #fff,
    120px 80px 1px #fff,
    170px 50px 1px #fff,
    200px 50px 1px #fff,
    80px 20px 1px #fff,
    90px 50px 1px #fff,
    270px 20px 1px #fff,
    120px 30px 1px #fff,
    150px 30px 1px #fff,
    50px 60px 1px #fff,
    40px 30px 1px #fff,
    350px 45px 1px #fff,
    420px 30px 1px #fff,
    480px 60px 1px #fff,
    540px 40px 1px #fff,
    600px 25px 1px #fff,
    390px 70px 1px #fff,
    440px 50px 1px #fff,
    500px 30px 1px #fff,
    560px 55px 1px #fff,
    630px 35px 1px #fff,
    690px 45px 1px #fff,
    750px 30px 1px #fff,
    810px 60px 1px #fff,
    870px 40px 1px #fff,
    930px 25px 1px #fff,
    990px 70px 1px #fff,
    1050px 50px 1px #fff,
    1110px 30px 1px #fff;
  z-index: 0;
  animation: bb8-stars 1.2s linear alternate infinite;
  animation-delay: 0.8s;
}

/* Remove the original star pseudo-elements */
.bb8-component .switch::before,
.bb8-component .switch::after {
  content: none;
}

/* Ensure BB-8's tooltip is above everything */
.bb8-component .bb8-tooltip {
  z-index: 1000;
}

/* Adjust BB-8's container to allow overflow */
.bb8-component .bb8 {
  position: relative;
  left: -2%;
  width: min(calc(80vw * 0.412), 140px); /* Responsive width with max size */
  transform: scale(0.45);
  transition: left 3.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  cursor: pointer;
  pointer-events: auto;
}

/* BB-8 Robot */
.bb8-component .bb8::before {
  content: "!";
  position: absolute;
  top: -160px;
  left: 56%;
  font-size: 72px;
  font-weight: 900;
  font-family: 'Arial Black', Impact, sans-serif;
  color: #ff3333;
  text-shadow: 0 0 8px rgba(255, 51, 51, 0.6);
  opacity: 0;
  transform: scale(0.5) translateY(20px);
  transition: opacity 0.3s ease-in, transform 0.3s ease-in;
  z-index: 4;
  cursor: default;
}

.bb8-component .bb8::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  z-index: 99;
  cursor:default;
}

/* BB-8 Tooltip */
.bb8-component .bb8-tooltip {
  position: absolute;
  bottom: calc(100% + 120px);
  left: 50%;
  width: min(90vw, 400px);
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
  cursor: default;
}

.bb8-component .bb8:hover .bb8-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bb8-component .tooltip-content {
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(to bottom right, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.95));
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(79, 70, 229, 0.15);
}

.bb8-component .tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bb8-component .tooltip-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(79, 70, 229, 0.2);
  border-radius: 9999px;
}

.bb8-component .tooltip-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgb(129, 140, 248);
}

.bb8-component .tooltip-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: white;
  margin: 0;
}

.bb8-component .tooltip-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bb8-component .tooltip-text {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: rgb(209, 213, 219);
  margin: 0;
  line-height: 1.6;
}

.bb8-component .tooltip-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgb(156, 163, 175);
}

.bb8-component .check-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgb(129, 140, 248);
}

.bb8-component .tooltip-background {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(to right, rgba(79, 70, 229, 0.1), rgba(168, 85, 247, 0.1));
  filter: blur(1rem);
  opacity: 0.5;
  pointer-events: none;
}

.bb8-component .tooltip-arrow {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 1rem;
  height: 1rem;
  background: linear-gradient(to bottom right, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.95));
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* BB-8 Parts */
.bb8-component .antennas {
  position: absolute;
  transition: all 0.4s;
  left: 28%;
  z-index: 3;
}

.bb8-component .antenna {
  background: #e0d2be;
  position: absolute;
  width: 2px;
}

.bb8-component .antenna.short {
  height: 20px;
  top: -65px;
  left: 50px;
  cursor: default;
}

.bb8-component .antenna.long {
  border-top: 6px solid #020204;
  border-bottom: 6px solid #020204;
  height: 36px;
  top: -80px;
  left: 56px;
  cursor: default;
}

.bb8-component .head {
  transition: transform .4s;
  background-color: ghostwhite;
  border-radius: 90px 90px 25px 25px;
  height: 63px;
  margin-left: -45px;
  overflow: hidden;
  position: absolute;
  width: 95px;
  z-index: 3;
  top: -56px;
  left: 56%;
  animation: bb8-headTurn 4s ease-in-out infinite;
  transform-origin: bottom center;
  transform: scale(calc(1 + (100vw - 320px)/(1920 - 320) * 0.2));
  cursor: default;
}

/* Head stripes */
.bb8-component .head .stripe {
  position: absolute;
  width: 100%;
}

.bb8-component .head .stripe.one {
  background: #7699B7;
  height: 7px;
  opacity: 0.8;
  z-index: 1;
  top: 3px;
  cursor: default;
}

.bb8-component .head .stripe.two {
  background: #CD7640;
  height: 4px;
  top: 14px;
  cursor: default;
}

.bb8-component .head .stripe.three {
  background: #999;
  height: 4px;
  opacity: 0.5;
  bottom: 3px;
}

/* Head details */
.bb8-component .head .stripe.detail {
  display: flex;
  width: 200px;
  bottom: 7px;
  left: -38%;
  transition: left 0.4s;
}

.bb8-component .head .detail {
  height: 7px;
}

.bb8-component .head .detail.zero {
  background-color: #CD7640;
  width: 2%;
  margin-left: 3px;
}

.bb8-component .head .detail.one {
  background-color: #CD7640;
  width: 8%;
  margin-left: 3px;
}

.bb8-component .head .detail.two {
  background-color: #CD7640;
  width: 6%;
  margin-left: 5px;
}

.bb8-component .head .detail.three {
  background-color: #CD7640;
  width: 4%;
  margin-left: 45px;
  height: 5px;
  margin-top: 2px;
}

.bb8-component .head .detail.four {
  background-color: #CD7640;
  width: 10%;
  margin-left: 4px;
}

.bb8-component .head .detail.five {
  background-color: #CD7640;
  width: 2%;
  margin-left: 3px;
}

/* Eyes */
.bb8-component .head .eyes {
  display: inline-block;
  height: 100%;
  position: absolute;
  width: 100%;
  transition: left 0.4s;
  left: 22%;
  /* Remove default watching behavior animation */
}

.bb8-component .head .eye {
  border-radius: 50%;
  display: block;
  position: absolute;
}

.bb8-component .head .eye.one {
  background: #020204;
  border: 4px solid lightgray;
  height: 30px;
  width: 30px;
  top: 12px;
  left: 12%;
}

.bb8-component .head .eye.one:after {
  background: white;
  border-radius: 50%;
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  width: 3px;
  top: 4px;
  right: 4px;
}

.bb8-component .head .eye.two {
  background-color: lightgrey;
  border: 1px solid #020204;
  height: 16px;
  width: 16px;
  top: 30px;
  left: 40%;
}

.bb8-component .head .eye.two:after {
  background: #020204;
  border-radius: 50%;
  content: "";
  display: block;
  height: 10px;
  position: absolute;
  width: 10px;
  top: 2px;
  left: 2px;
}

/* Ball body */
.bb8-component .ball {
    background-color: ghostwhite;
    border-radius: 50%;
    height: 165px;
    overflow: hidden;
    position: relative;
    width: 165px;
    transition: transform 3.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(calc(1 + (100vw - 320px)/(1920 - 320) * 0.2));
    margin-left: 0;
    opacity: 1 !important;
    animation: none !important;
}

.bb8-component .lines {
    border: 2px solid #B19669;
    border-radius: 50%;
    height: 400px;
    opacity: 0.6;
    position: absolute;
    width: 400px;
    animation: none !important;
}

.bb8-component .lines.one {
    top: 0;
    left: 0;
}

.bb8-component .lines.two {
    top: -10px;
    left: -250px;
}

.bb8-component .ring {
    background: #CD7640;
    border-radius: 50%;
    height: 70px;
    margin-left: -35px;
    position: absolute;
    width: 70px;
    opacity: 1 !important;
}

.bb8-component .ring:after {
    background-color: ghostwhite;
    border-radius: 50%;
    content: "";
    display: block;
    height: 73%;
    margin-top: -36%;
    margin-left: -36%;
    position: absolute;
    width: 73%;
    top: 50%;
    left: 50%;
    opacity: 1 !important;
}

.bb8-component .ring.one {
  margin-left: -40px;
  height: 90px;
  width: 100px;
  top: 2%;
  left: 42%;
}

.bb8-component .ring.two {
  height: 40px;
  width: 80px;
  transform: rotate(50deg);
  top: 65%;
  left: 8%;
}

.bb8-component .ring.two:after {
  top: 100%;
}

.bb8-component .ring.three {
  height: 37px;
  width: 80px;
  transform: rotate(-50deg);
  top: 68%;
  left: 84%;
}

.bb8-component .ring.three:after {
  top: 110%;
}

/* Shadow */
.bb8-component .shadow {
  background: #3A271C;
  box-shadow: 5px 0 50px #3A271C;
  border-radius: 50%;
  height: 23.3333333333px;
  opacity: 0.25;
  position: absolute;
  width: 110px;
  left: 28px;
  z-index: -1;
  bottom: -8px;
}

/* BB-8 Animations */
@keyframes bb8-stars {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

@keyframes bb8-headTurn {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(-15deg); }
  70% { transform: rotate(15deg); }
}

@keyframes bb8-watchingBehavior {
  0%, 30%, 45%, 65%, 85%, 100% { left: 22%; }
  32%, 33% { left: -20%; }
  67%, 68% { left: 60%; }
  87%, 88% { left: -20%; }
}

@keyframes bb8-showExclamation {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* BB-8 States and Interactions */
.bb8-component .bb8-toggle:checked + .switch .bb8 {
  left: min(88%, calc(100% - 140px)); /* Adjust end position based on BB-8's width */
}

.bb8-component .bb8-toggle:checked + .switch .bb8 .ball {
  transform: rotate(720deg); /* Increased rotation for longer distance */
  transition: transform 3.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bb8-component .bb8-toggle:hover + .switch .bb8 .eyes {
  animation: none;
  left: 60%;
}

.bb8-component .bb8-toggle:checked:hover + .switch .bb8 .eyes {
  animation: none;
  left: -20%;
}

.bb8-component .bb8-toggle:active + .switch .bb8 .head {
  animation: none;
  transform: translate(30px, 3px) rotateZ(17deg);
}

.bb8-component .bb8-toggle:checked:active + .switch .bb8 .head {
  animation: none;
  transform: translate(-35px, 6px) rotateZ(-17deg);
}

.bb8-component .bb8-toggle:active + .switch .antennas {
  transform: translate(35px, -20px) rotateZ(17deg);
}

.bb8-component .bb8-toggle:active:not(:hover) + .switch .antennas {
  transform: translate(35px, -10px) rotateZ(17deg);
}

.bb8-component .bb8-toggle:checked:active + .switch .antennas {
  transform: translate(-35px, 15px) rotateZ(-17deg);
}

.bb8-component .bb8-toggle:checked:active:not(:hover) + .switch .antennas {
  transform: translate(-25px, 25px) rotateZ(-17deg);
}

.bb8-component .bb8-toggle:hover + .switch .antennas,
.bb8-component .bb8-toggle:checked + .switch .antennas {
  left: 6%;
}

.bb8-component .bb8-toggle:hover + .switch .stripe.detail,
.bb8-component .bb8-toggle:checked + .switch .stripe.detail {
  left: 0;
}

.bb8-component .bb8-toggle:checked:hover + .switch .antennas {
  left: 28%;
}

.bb8-component .bb8-toggle:checked:hover + .switch .stripe.detail {
  left: -38%;
}

/* Hide exclamation mark when tooltip is visible */
.bb8-component .bb8:hover::before {
  opacity: 0 !important;
  transform: scale(0.5) translateY(20px);
}

/* Show exclamation mark after animation ends */
.bb8-component .bb8-toggle:checked + .switch .bb8::before {
  animation: bb8-showExclamation 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: 4.4s; /* Match the new timing */
}

/* Make sure exclamation mark disappears when moving back */
.bb8-component .bb8-toggle:not(:checked) + .switch .bb8::before {
  opacity: 0;
  animation: none;
}

/* When unhovered, if checked, show exclamation mark again after delay */
.bb8-component .bb8-toggle:checked + .switch .bb8:not(:hover)::before {
  animation: bb8-showExclamation 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: 4.4s; /* Match the new timing */
}

/* BB-8 Responsive Design */
@media (max-width: 1200px) {
  .bb8-component .bb8 {
    width: min(calc(80vw * 0.35), 120px);
    transform: scale(0.4);
  }
  
  .bb8-component .bb8-toggle:checked + .switch .bb8 {
    left: min(86%, calc(100% - 120px));
  }

  .bb8-component .ball {
    margin-left: -25px;
  }
}

@media (max-width: 768px) {
  .bb8-component .bb8 {
    width: min(calc(80vw * 0.3), 100px);
    transform: scale(0.35);
  }
  
  .bb8-component .bb8-toggle:checked + .switch .bb8 {
    left: min(84%, calc(100% - 100px));
  }

  .bb8-component .ball {
    margin-left: -30px;
  }
}

@media (max-width: 480px) {
  .bb8-component .bb8 {
    width: min(calc(80vw * 0.25), 80px);
    transform: scale(0.3);
  }
  
  .bb8-component .bb8-toggle:checked + .switch .bb8 {
    left: min(82%, calc(100% - 80px));
  }

  .bb8-component .ball {
    margin-left: -20px;
  }
}

/* Ground section */
.bb8-component .sand {
  position: absolute;
  width: 100%;
  height: calc(min(80vw, 340px) * 0.132);
  bottom: 0;
  left: 0;
  border-radius: 0 0 999px 999px;
  overflow: hidden;
  z-index: 1;
}

.bb8-component .sand::before {
  position: absolute;
  width: 100%;
  height: 25px;
  bottom: 0;
  left: 0;
  content: "";
  background: linear-gradient(to bottom right,
    #2b1f2f 0%,   
    #4b344e 35%,  
    #7e5a77 65%,     
    #a57990 85%,   
    #131220 100%      
  );
  border-radius: 0 0 999px 999px;
}

/* Modify BB-8 States and Interactions */
.bb8-component .bb8-toggle:checked + .switch .bb8 .eyes {
  animation: none;
  left: 60%; /* Look right while moving */
  transition: left 0.2s ease-in;
}

/* After movement completed, look forward with delay and start random turns */
.bb8-component .bb8-toggle:checked + .switch .bb8 .eyes {
  animation: bb8-lookForward 0.8s ease-in-out forwards, bb8-randomTurn 16s ease-in-out infinite;
  animation-delay: 3.6s, 4.4s; /* First look forward smoothly, then start random turns */
}

/* Remove conflicting hover states */
.bb8-component .bb8-toggle:hover + .switch .bb8 .eyes {
  animation: none;
}

.bb8-component .bb8-toggle:checked:hover + .switch .bb8 .eyes {
  animation: none;
  left: 60%;
}

/* Add new animation for looking forward smoothly */
@keyframes bb8-lookForward {
  0% { left: 60%; }
  100% { left: 22%; }
}

/* Add new animation for random head turns */
@keyframes bb8-randomTurn {
  0%, 15%, 100% { left: 22%; }
  20%, 25% { left: 60%; }
  30%, 85% { left: 22%; }
  90%, 95% { left: -20%; }
}

/* Audio Player Card */
.audio-player-card {
    background: rgba(16, 16, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: clamp(8px, 2vw, 12px);
    padding: clamp(12px, 3vw, 20px);
    margin: clamp(1rem, 4vw, 2rem) auto;
    max-width: min(90vw, 600px);
    width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 20px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: clamp(60px, 10vw, 80px);
    position: relative;
    z-index: 1;
}

.audio-player-card:hover {
    background: rgba(22, 22, 36, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.left-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: max-content;
}

.main-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Right Controls Container */
.right-controls {
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    margin-left: auto;
    align-items: flex-start;
}

/* Volume Control */
.volume-control {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: clamp(8px, 1.5vw, 10px);
    min-width: max-content;
}

/* Playback Controls */
.playback-controls {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 17px);
    padding-top: 2px;
    padding-bottom: 0px;
}

/* Play, Restart, and Loop Buttons */
.play-button {
    width: clamp(36px, 6vw, 48px);
    height: clamp(36px, 6vw, 48px);
    min-width: clamp(36px, 6vw, 48px);
    background: var(--primary-color, #6b46c1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.restart-button,
.loop-button {
    width: clamp(28px, 5vw, 36px);
    height: clamp(28px, 5vw, 36px);
    min-width: clamp(28px, 5vw, 36px);
    background: rgba(107, 70, 193, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.play-button:hover,
.restart-button:hover,
.loop-button:hover {
    transform: scale(1.05);
    background: var(--secondary-color, #4299e1);
}

.restart-button:hover,
.loop-button:hover {
    background: rgba(66, 153, 225, 0.3);
}

.play-button svg {
    width: clamp(18px, 3vw, 24px);
    height: clamp(18px, 3vw, 24px);
    fill: white;
}

.restart-button svg,
.loop-button svg {
    width: clamp(16px, 2.5vw, 20px);
    height: clamp(16px, 2.5vw, 20px);
    fill: var(--primary-color, #6b46c1);
}

.loop-button.active {
    background: rgba(107, 70, 193, 0.4);
}

.loop-button.active svg {
    fill: var(--secondary-color, #4299e1);
}

.volume-icon {
    width: clamp(20px, 3vw, 24px);
    height: clamp(20px, 3vw, 24px);
    fill: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.volume-icon:hover {
    fill: var(--primary-color);
}

.volume-icon .volume-off-icon {
    display: none;
}

.volume-icon.muted .volume-on-icon {
    display: none;
}

.volume-icon.muted .volume-off-icon {
    display: block;
}

.volume-icon.muted {
    fill: var(--primary-color);
}

/* Volume Slider */
.volume-slider {
    -webkit-appearance: none;
    width: 4px;
    height: clamp(40px, 8vw, 60px);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: all 0.2s ease;
    transform: rotate(180deg);
}

/* Firefox specific styles */
.volume-slider {
    writing-mode: bt-lr;
    -moz-transform: rotate(180deg);
    width: clamp(40px, 8vw, 60px);
    height: 4px;
}

/* Webkit specific styles */
@supports (-webkit-appearance: none) {
    .volume-slider {
        writing-mode: vertical-rl;
        width: 4px;
        height: clamp(40px, 8vw, 60px);
    }
}

/* Volume Slider Thumb */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: clamp(10px, 1.5vw, 12px);
    height: clamp(10px, 1.5vw, 12px);
    border-radius: 50%;
    background: var(--primary-color, #6b46c1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb {
    width: clamp(10px, 1.5vw, 12px);
    height: clamp(10px, 1.5vw, 12px);
    border-radius: 50%;
    background: var(--primary-color, #6b46c1);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.volume-slider:hover::-webkit-slider-thumb {
    transform: scale(1.2);
    background: var(--secondary-color, #4299e1);
}

.volume-slider:hover::-moz-range-thumb {
    transform: scale(1.2);
    background: var(--secondary-color, #4299e1);
}

/* Waveform Container */
#waveform {
    flex: 1;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    min-height: clamp(40px, 8vw, 60px);
    max-height: clamp(40px, 8vw, 60px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* WaveSurfer Overrides */
#waveform wave {
    overflow: hidden !important;
    border-radius: 8px !important;
}

#waveform > wave {
    background: transparent !important;
}

/* Hide default audio controls */
#waveform audio {
    display: none !important;
}

/* Remove all layout changes in media queries */
@media (max-width: 768px) {
    .audio-player-card {
        padding: clamp(10px, 2vw, 15px);
    }
}

@media (max-width: 480px) {
    .audio-player-card {
        padding: 10px;
        gap: 10px;
    }
}

/* Music Grid */
.music-grid,
.beats-store,
.music-contact {
    position: relative;
    z-index: 2;
}

.music-grid::before,
.music-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow:
        50px 50px 1px #fff,
        150px 150px 1px #fff,
        250px 80px 1px #fff,
        350px 350px 1px #fff,
        450px 150px 1px #fff,
        550px 400px 1px #fff,
        650px 200px 1px #fff,
        750px 450px 1px #fff,
        850px 120px 1px #fff,
        950px 300px 1px #fff,
        80px 500px 1px #fff,
        180px 650px 1px #fff,
        280px 800px 1px #fff,
        380px 550px 1px #fff,
        480px 700px 1px #fff,
        580px 850px 1px #fff,
        680px 600px 1px #fff,
        780px 750px 1px #fff,
        880px 900px 1px #fff,
        980px 950px 1px #fff,
        1100px 200px 1px #fff,
        1200px 400px 1px #fff,
        1300px 600px 1px #fff,
        1400px 300px 1px #fff,
        1500px 500px 1px #fff;
    z-index: 0;
    animation: bb8-stars 1s linear alternate infinite;
    animation-delay: 0.4s;
    pointer-events: none;
    background-color: transparent;
}

.music-grid::after,
.music-contact::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow:
        100px 50px 1px #fff,
        200px 400px 1px #fff,
        300px 150px 1px #fff,
        400px 600px 1px #fff,
        500px 250px 1px #fff,
        600px 700px 1px #fff,
        700px 350px 1px #fff,
        800px 800px 1px #fff,
        900px 450px 1px #fff,
        120px 850px 1px #fff,
        220px 550px 1px #fff,
        320px 950px 1px #fff,
        420px 750px 1px #fff,
        520px 450px 1px #fff,
        620px 900px 1px #fff,
        720px 650px 1px #fff,
        820px 300px 1px #fff,
        920px 700px 1px #fff,
        1050px 350px 1px #fff,
        1150px 650px 1px #fff,
        1250px 250px 1px #fff,
        1350px 750px 1px #fff,
        1450px 450px 1px #fff;
    z-index: 0;
    animation: bb8-stars 1.2s linear alternate infinite;
    animation-delay: 0.8s;
    pointer-events: none;
    background-color: transparent;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1200px) {
  .music-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
  
  .music-grid .music-item:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    max-width: none; /* Remove max-width constraint */
    width: 100%; /* Ensure full width */
  }
}

@media (max-width: 768px) {
  .music h2 + .intro,
  .music h2 + .intro + .intro {
    display: none;
  }
  
  /* Featured collaboration mobile layout - only for music section */
  .music .featured-project {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin: 2rem 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project .project-image {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 200px !important;
    order: 1 !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project .project-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }
  
  .music .featured-project .project-info {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem !important;
    order: 2 !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .music .featured-project h3 {
    font-size: 1.5rem;
  }
  
  .music .featured-project .project-header {
    margin-top: 0;
    padding-top: 0;
  }
  
  .music .featured-project p,
  .music .featured-project .project-tech,
  .music .featured-project .galaxy-button {
    display: block !important;
  }
  
  .music .featured-project .music-player-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project .audio-player-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.5rem !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project #waveform-sample {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project .project-tech {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin: 1rem 0 !important;
  }
  
  .music .featured-project .project-tech .tech-tag {
    margin: 0.2rem !important;
    padding: 0.3rem 0.6rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    display: inline-block !important;
  }
  
  
  .music-grid {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
  }
  
  .music-grid::-webkit-scrollbar {
    height: 6px;
  }
  
  .music-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
  }
  
  .music-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
  }
  
  .music-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 70, 193, 0.8);
  }
  
  .music-grid .music-item {
    max-width: none; /* Remove max-width constraint */
    width: 90%; /* Ensure full width */
    flex-shrink: 0;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  
  /* Disable the full-width rule for last child on mobile */
  .music-grid .music-item:last-child:nth-child(2n + 1) {
    grid-column: unset;
    max-width: none;
    width: 90%;
  }
}

.music-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.music-item:hover {
  transform: translateY(-5px);
}

.music-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.music-info h3 {
  margin: 0;
  padding: 0 0 0.75rem 0;
  font-size: 1.8rem;
  color: var(--text-primary);
  font-family: 'Space Mono', monospace;
  letter-spacing: -0.02em;
  position: relative;
}

.music-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.track-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.track-type {
  display: block;
  width: 100%;
  background: rgba(107, 70, 193, 0.15);
  color: var(--primary-color);
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.track-specs {
  display: flex;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  padding-top: 0.25rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(107, 70, 193, 0.1);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  flex: 1;
}

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  font-weight: 500;
}

.spec-value {
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-left: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .music-info {
    padding: 1.25rem;
  }

  .music-info h3 {
    font-size: 1.5rem;
    padding: 0 0 0.6rem 0;
  }

  .track-specs {
    gap: 0.5rem;
  }

  .spec-item {
    padding: 0.35rem 0.6rem;
  }
}

@media (max-width: 480px) {
  /* Featured collaboration mobile layout - small mobile - only for music section */
  .music .featured-project {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin: 1.5rem 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project .project-image {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 180px !important;
    order: 1 !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project .project-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }
  
  .music .featured-project .project-info {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.8rem !important;
    order: 2 !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project h3 {
    font-size: 1.3rem !important;
  }
  
  .music .featured-project p,
  .music .featured-project .project-tech,
  .music .featured-project .galaxy-button {
    display: block !important;
  }
  
  .music .featured-project .music-player-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project .audio-player-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.4rem !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project #waveform-sample {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .music .featured-project .project-tech {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    margin: 0.8rem 0 !important;
  }
  
  .music .featured-project .project-tech .tech-tag {
    margin: 0.1rem !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    display: inline-block !important;
  }
  
  
  .music-grid {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
  }
  
  .music-grid .music-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  
  /* Disable the full-width rule for last child on small mobile */
  .music-grid .music-item:last-child:nth-child(2n + 1) {
    grid-column: unset;
    max-width: none;
    width: 90%;
  }
  
  .music-info {
    padding: 1rem;
  }

  .music-info h3 {
    font-size: 1.3rem;
    padding: 0 0 0.5rem 0;
  }

  .track-specs {
    flex-direction: row; /* Keep them inline even on mobile */
    gap: 0.5rem;
  }

  .spec-item {
    padding: 0.3rem 0.5rem;
  }

  .spec-label {
    font-size: 0.7rem;
  }

  .spec-value {
    font-size: 0.75rem;
  }
}

/* Music Player Container */
.music-player-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  margin-top: 1rem;
}

/* Vinyl styles */
.vinyl-wrapper {
  position: absolute;
  z-index: 0;
  width: 128px;
  height: 128px;
  transition: all 0.3s ease;
}

.vinyl-disc {
  border: 4px solid #a1a1aa;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: spin 3s linear infinite;
  animation-play-state: paused;
}

.vinyl-center {
  position: absolute;
  z-index: 1;
  width: 32px;
  height: 32px;
  background-color: white;
  border: 4px solid #a1a1aa;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  top: 48px;
  left: 48px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Audio Player Card */
.audio-player-card {
position: relative;
z-index: 1;
background: rgba(16, 16, 26, 0.5);
border: 1px solid rgba(255, 255, 255, 0.03);
border-radius: 12px;
padding: 20px;

margin-top: 64px;
margin-bottom: 0px !important;
width: 100%;
max-width: 600px;
display: flex;
align-items: center;
gap: 20px;
backdrop-filter: blur(10px);
transition: all 0.3s ease;
min-height: 80px;
}

.audio-player-card:hover {
background: rgba(22, 22, 36, 0.6);
border-color: rgba(255, 255, 255, 0.05);
transform: translateY(-2px);
}

/* Play Button */
.play-button {
width: 48px;
height: 48px;
min-width: 48px;
background: var(--primary-color, #6b46c1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
}

.play-button:hover {
transform: scale(1.05);
background: var(--secondary-color, #4299e1);
}

.play-button svg {
width: 24px;
height: 24px;
fill: white;
}

/* Waveform Container */
[id^="waveform-"] {
flex-grow: 1;
background: transparent;
border-radius: 8px;
overflow: hidden;
min-height: 60px;
display: flex;
align-items: center;
width: 100%;
position: relative;
}

/* WaveSurfer Overrides */
[id^="waveform-"] > wave {
overflow: hidden !important;
border-radius: 8px !important;
width: 100% !important;
}

[id^="waveform-"] wave {
background: transparent !important;
}

[id^="waveform-"] canvas {
width: 100% !important;
}

/* Remove old waveform styles */
#waveform {
display: none;
}

/* Volume Control */
.volume-control {
display: flex;
align-items: center;
gap: 8px;
}

.volume-icon {
width: 24px;
height: 24px;
fill: #a1a1aa;
cursor: pointer;
}



.volume-slider::-webkit-slider-thumb {
appearance: none;
width: 12px;
height: 12px;
background: #6b46c1;
border: none;
border-radius: 50%;
cursor: pointer;
}

/* Playback Controls */
.playback-controls {
display: flex;
gap: 12px;
}

.restart-button,
.loop-button {
cursor: pointer;
}

.restart-icon,
.loop-icon {
width: 24px;
height: 24px;
fill: #a1a1aa;
}

/* Icon States */
.pause-icon {
display: none;
}

.volume-off-icon {
display: none;
}

.volume-icon.muted .volume-on-icon {
display: none;
}

.volume-icon.muted .volume-off-icon {
display: block;
}

.loop-button.active .loop-icon {
fill: var(--primary-color, #6b46c1);
}

/* Animation */
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}

/* Collaboration Section */
.collab-title,
.originals-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

@media (max-width: 768px) {
  .collab-title,
  .originals-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .collab-title,
  .originals-title {
    font-size: 1.8rem;
  }
}

/* Featured Project */
.featured-project {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    padding: 0;
    background: rgba(16, 16, 26, 0.7);
    border: 1px solid rgba(107, 70, 193, 0.2);
}

.featured-project .project-image {
    height: 100%;
    min-height: 300px;
}

.featured-project .project-image img {
    height: 100%;
    object-fit: cover;
}

/* Sample pack image - show left part of the image */
.sample-player-wrapper ~ .project-tech {
    /* This targets the project-tech that comes after the sample player */
}

/* Add margin to the download button in the sample pack section only */
.music .project-card.featured-project .project-tech + .galaxy-button {
    margin-top: 2rem;
}

/* Target the STOP TRYING cover art specifically */
.project-image img[alt="STOP TRYING Loop Kit Cover"] {
    object-position: left center;
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95), rgba(20, 20, 30, 0.95));
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/Background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: radial-gradient(
        ellipse at center top,
        rgba(255, 100, 200, 0.15) 0%,
        rgba(255, 0, 150, 0.08) 20%,
        rgba(0, 0, 0, 0) 45%
    );
    pointer-events: none;
    z-index: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.contact-form {
    background: rgba(15, 15, 25, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem 0;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Developer Contact Section */
.dev-contact {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(15, 15, 25, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-contact h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.dev-contact p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.dev-contact .galaxy-button {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.contact-category {
    margin-bottom: 2rem;
}

.contact-category h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info .contact-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.contact-info .contact-links .galaxy-button {
    width: 100%;
}

/* Mobile responsiveness for contact section */
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: none;
    }
    
    .contact-form {
        padding: 2rem;
        order: 1;
    }
    
    .contact-info {
        order: 2;
        text-align: center;
    }
    
    .contact-info .contact-links {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .contact-category {
        margin-bottom: 1.5rem;
    }
    
    .contact-category h4 {
        font-size: 1rem;
        text-align: center;
    }
}

.featured-project .project-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.featured-label {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.featured-project h3 {
    font-size: 2rem;
    margin: 0;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.tech-tag {
    background: rgba(107, 70, 193, 0.15);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive adjustments for featured project */
@media (max-width: 1024px) {
    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-project .project-image {
        min-height: 250px;
    }

    .featured-project .project-info {
        padding: 2rem;
    }

    .featured-project h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .featured-project .project-info {
        padding: 1.5rem;
    }

    .featured-project h3 {
        font-size: 1.5rem;
    }
}

/* Desktop Layout - Ensure proper grid */
@media (min-width: 769px) {
    .other-projects {
        display: contents;
    }
    
    /* Desktop featured project - normal behavior */
    .featured-project {
        cursor: default;
    }
    
    .featured-project .project-info p {
        display: block;
    }
    
    .featured-project .project-tech {
        display: flex;
    }
    
    .featured-project .galaxy-button {
        display: flex;
    }
    
    .featured-project::after {
        display: none;
    }
}

/* Mobile Layout - Featured Project + Horizontal Scroll */
@media (max-width: 768px) {
    .projects {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .other-projects {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
    }
    
    .other-projects::-webkit-scrollbar {
        display: none;
    }

    .other-projects .project-card {
        flex: 0 0 320px;
        min-width: 320px;
        max-width: 320px;
        height: auto;
        flex-shrink: 0;
        background: rgba(16, 16, 26, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.03);
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        height: 100%;
        cursor: pointer;
        position: relative;
    }
    
    /* Mobile project card collapsed state */
    .other-projects .project-card .project-info {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        height: 100%;
    }
    
    /* Mobile project card collapsed state - hide description and button */
    .other-projects .project-card .project-info p,
    .other-projects .project-card .project-info .galaxy-button {
        display: none;
    }
    
    /* Mobile project card expanded state */
    .other-projects .project-card.expanded .project-info p,
    .other-projects .project-card.expanded .project-info .galaxy-button {
        display: block;
    }
    
    .other-projects .project-card.expanded .project-info .galaxy-button {
        display: flex;
    }
    
    /* Mobile project card image - always visible */
    .other-projects .project-card .project-image {
        flex-shrink: 0;
        height: 200px;
        overflow: hidden;
    }
    
    .other-projects .project-card .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Mobile project card title - always visible */
    .other-projects .project-card .project-info h3 {
        margin: 0 0 0.5rem 0;
        color: var(--text-primary);
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* Mobile project card description styling */
    .other-projects .project-card .project-info p {
        margin: 0 0 1rem 0;
        color: var(--text-secondary);
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Mobile project card button styling */
    .other-projects .project-card .project-info .galaxy-button {
        margin-top: auto;
    }
    
    /* Mobile project card click indicator */
    .other-projects .project-card::after {
        content: 'Tap to expand';
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: var(--text-secondary);
        padding: 0.3rem 0.6rem;
        border-radius: 4px;
        font-size: 0.7rem;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
    
    .other-projects .project-card.expanded::after {
        opacity: 0;
    }
    
    /* Featured project mobile expansion */
    .featured-project {
        cursor: pointer;
        position: relative;
    }
    
    /* Featured project collapsed state - hide description, tech tags and button */
    .featured-project .project-info p,
    .featured-project .project-tech,
    .featured-project .galaxy-button {
        display: none;
    }
    
    /* Featured project expanded state */
    .featured-project.expanded .project-info p {
        display: block;
    }
    
    .featured-project.expanded .project-tech {
        display: flex;
    }
    
    .featured-project.expanded .galaxy-button {
        display: flex;
    }
    
    /* Featured project mobile - move header closer to image */
    .featured-project .project-header {
        margin-top: -2rem;
        padding-top: 0.5rem;
    }
    
    /* Featured project click indicator */
    .featured-project::after {
        content: 'Tap to expand';
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: var(--text-secondary);
        padding: 0.3rem 0.6rem;
        border-radius: 4px;
        font-size: 0.7rem;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
    
    .featured-project.expanded::after {
        opacity: 0;
    }

    /* Disable hover animation for work in progress project on mobile */
    .other-projects .project-card.work-in-progress:hover {
        transform: none;
        background: rgba(16, 16, 26, 0.5);
        border-color: rgba(255, 255, 255, 0.03);
    }

    /* Work in progress project hidden on mobile */
    .other-projects .project-card.work-in-progress {
        display: none !important;
    }

}

@media (max-width: 480px) {
    .other-projects {
        gap: 1.2rem;
        padding: 0.5rem 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        box-sizing: border-box;
    }
    
    .other-projects::-webkit-scrollbar {
        display: none;
    }

    .other-projects .project-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
        height: auto;
        flex-shrink: 0;
        cursor: pointer;
        position: relative;
    }
    
    /* Mobile project card collapsed state - small mobile */
    .other-projects .project-card .project-info {
        display: flex;
        flex-direction: column;
        padding: 0.8rem;
        height: 100%;
    }
    
    /* Mobile project card collapsed state - hide description and button - small mobile */
    .other-projects .project-card .project-info p,
    .other-projects .project-card .project-info .galaxy-button {
        display: none;
    }
    
    /* Mobile project card expanded state - small mobile */
    .other-projects .project-card.expanded .project-info p,
    .other-projects .project-card.expanded .project-info .galaxy-button {
        display: block;
    }
    
    .other-projects .project-card.expanded .project-info .galaxy-button {
        display: flex;
    }
    
    /* Mobile project card image - always visible - small mobile */
    .other-projects .project-card .project-image {
        flex-shrink: 0;
        height: 180px;
        overflow: hidden;
    }
    
    .other-projects .project-card .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Mobile project card title - always visible - small mobile */
    .other-projects .project-card .project-info h3 {
        margin: 0 0 0.4rem 0;
        color: var(--text-primary);
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Mobile project card description styling - small mobile */
    .other-projects .project-card .project-info p {
        margin: 0 0 0.8rem 0;
        color: var(--text-secondary);
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Mobile project card button styling - small mobile */
    .other-projects .project-card .project-info .galaxy-button {
        margin-top: auto;
    }
    
    /* Mobile project card click indicator - small mobile */
    .other-projects .project-card::after {
        content: 'Tap to expand';
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(0, 0, 0, 0.7);
        color: var(--text-secondary);
        padding: 0.2rem 0.5rem;
        border-radius: 3px;
        font-size: 0.65rem;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
    
    .other-projects .project-card.expanded::after {
        opacity: 0;
    }
    
    /* Featured project mobile expansion - small mobile */
    .featured-project {
        cursor: pointer;
        position: relative;
    }
    
    /* Featured project collapsed state - hide description, tech tags and button - small mobile */
    .featured-project .project-info p,
    .featured-project .project-tech,
    .featured-project .galaxy-button {
        display: none;
    }
    
    /* Featured project expanded state - small mobile */
    .featured-project.expanded .project-info p {
        display: block;
    }
    
    .featured-project.expanded .project-tech {
        display: flex;
    }
    
    .featured-project.expanded .galaxy-button {
        display: flex;
    }
    
    /* Featured project mobile - move header closer to image - small mobile */
    .featured-project .project-header {
        margin-top: -1.5rem;
        padding-top: 0.4rem;
    }
    
    /* Featured project click indicator - small mobile */
    .featured-project::after {
        content: 'Tap to expand';
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(0, 0, 0, 0.7);
        color: var(--text-secondary);
        padding: 0.2rem 0.5rem;
        border-radius: 3px;
        font-size: 0.65rem;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
    
    .featured-project.expanded::after {
        opacity: 0;
    }

    /* Disable hover animation for work in progress project on small mobile */
    .other-projects .project-card.work-in-progress:hover {
        transform: none;
        background: rgba(16, 16, 26, 0.5);
        border-color: rgba(255, 255, 255, 0.03);
    }

    /* Work in progress project hidden on small mobile */
    .other-projects .project-card.work-in-progress {
        display: none !important;
    }

}

/* Add new media queries at the end of the file */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .skills-container {
        padding: 2rem;
        margin: 0 1rem;
    }
}

@media (max-width: 768px) {
    .skills {
        margin-top: 2rem;
    }

    .skills-container {
        padding: 1.5rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }

    .skills h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

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

    .skills-category {
        padding: 0;
        cursor: pointer;
        position: relative;
        background: rgba(16, 16, 26, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .skills-category:hover {
        background: rgba(22, 22, 36, 0.4);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .skills-category h4 {
        padding: 1rem;
        margin: 0;
        font-size: 1rem;
        text-align: center;
        position: relative;
    }

    .skills-category h4::after {
        content: '+';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .skills-category.expanded h4::after {
        transform: translateY(-50%) rotate(45deg);
    }

    .skill-box {
        display: none;
        margin: 0.8rem 1rem;
        width: calc(100% - 2rem);
        box-sizing: border-box;
    }

    .skills-category.expanded .skill-box {
        display: block;
    }

    .skill-box .title {
        font-size: 0.85rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .skill-box .skill-bar {
        width: 100%;
        height: 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 0.5rem;
    }

    .skill-box .skill-per {
        height: 100%;
        border-radius: 4px;
        transition: width 0.8s ease;
    }
}

@media (max-width: 480px) {
    .skills {
        margin-top: 1.5rem;
    }

    .skills-container {
        padding: 1rem;
        margin: 0 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .skills h3 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .skills-grid {
        gap: 0.8rem;
    }

    .skills-category {
        cursor: pointer;
        position: relative;
        background: rgba(16, 16, 26, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .skills-category:hover {
        background: rgba(22, 22, 36, 0.4);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .skills-category h4 {
        padding: 0.8rem;
        margin: 0;
        font-size: 0.9rem;
        text-align: center;
        position: relative;
    }

    .skills-category h4::after {
        content: '+';
        position: absolute;
        right: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

    .skills-category.expanded h4::after {
        transform: translateY(-50%) rotate(45deg);
    }

    .skill-box {
        display: none;
        margin: 0.6rem 0.8rem;
        width: calc(100% - 1.6rem);
        box-sizing: border-box;
    }

    .skills-category.expanded .skill-box {
        display: block;
    }

    .skill-box .title {
        font-size: 0.8rem;
        display: block;
        margin-bottom: 0.4rem;
    }

    .skill-box .skill-bar {
        width: 100%;
        height: 6px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        overflow: hidden;
        margin-bottom: 0.4rem;
    }

    .skill-box .skill-per {
        height: 100%;
        border-radius: 3px;
        transition: width 0.8s ease;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .academic-archive {
        overflow-x: hidden;
        width: 100%;
    }
    
    .archive-container {
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
        padding: 0 1rem;
        width: 100%;
    }
    
    .archive-container::-webkit-scrollbar {
        display: none;
    }
    
    .assignments-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    .assignments-grid::-webkit-scrollbar {
        display: none;
    }
    
    .assignment-card {
        flex-shrink: 0;
        width: 260px;
        min-width: 260px;
        padding: 1rem;
        min-height: 160px;
    }
}

@media (max-width: 480px) and (orientation: landscape) {
    .academic-archive {
        overflow-x: hidden;
        width: 100%;
    }
    
    .archive-container {
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
        padding: 0 0.5rem;
        width: 100%;
    }
    
    .archive-container::-webkit-scrollbar {
        display: none;
    }
    
    .assignments-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0.4rem;
        padding: 0.5rem 0;
    }
    
    .assignments-grid::-webkit-scrollbar {
        display: none;
    }
    
    .assignment-card {
        width: 240px;
        min-width: 240px;
        flex-shrink: 0;
        padding: 0.9rem;
        min-height: 150px;
    }
    
    .assignment-card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .assignment-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    .assignments-grid::-webkit-scrollbar {
        display: none;
    }
    
    .assignment-card {
        flex-shrink: 0;
        width: 240px;
        min-width: 240px;
        padding: 0.9rem;
        min-height: 150px;
    }
}

/* Desktop - skills always visible */
@media (min-width: 769px) {
    .skills-category {
        cursor: default;
    }

    .skills-category h4::after {
        display: none;
    }
    
    /* Ensure assignment 6 and 7 are always visible on desktop */
    .assignment-card:nth-child(6),
    .assignment-card:nth-child(7) {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        animation: none !important;
    }
}

.section-divider {
    margin: 4rem 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(107, 70, 193, 0.2),
        rgba(107, 70, 193, 0.4),
        rgba(107, 70, 193, 0.6),
        rgba(107, 70, 193, 0.4),
        rgba(107, 70, 193, 0.2),
        transparent
    );
    border: none;
    position: relative;
}

.section-divider::after {
    content: '★';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--background-color);
    padding: 0 1rem;
    color: rgba(107, 70, 193, 0.6);
    font-size: 1.2rem;
}

.music .intro {
    opacity: 0.9;
    margin: 2rem auto 4rem;
}

.music h3 {
    opacity: 0.95;
    /*margin: 3rem 0 2rem;*/
}

.track-title {
    margin-top: 0 !important;
}

.music {
    position: relative;
    overflow: hidden;
}

.music::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow:
        50px 50px 1px #fff,
        150px 150px 1px #fff,
        250px 80px 1px #fff,
        350px 350px 1px #fff,
        450px 150px 1px #fff,
        550px 400px 1px #fff,
        650px 200px 1px #fff,
        750px 450px 1px #fff,
        850px 120px 1px #fff,
        950px 300px 1px #fff,
        80px 500px 1px #fff,
        180px 650px 1px #fff,
        280px 800px 1px #fff,
        380px 550px 1px #fff,
        480px 700px 1px #fff,
        580px 850px 1px #fff,
        680px 600px 1px #fff,
        780px 750px 1px #fff,
        880px 900px 1px #fff,
        980px 950px 1px #fff,
        1100px 200px 1px #fff,
        1200px 400px 1px #fff,
        1300px 600px 1px #fff,
        1400px 300px 1px #fff,
        1500px 500px 1px #fff;
    z-index: 0;
    animation: bb8-stars 1s linear alternate infinite;
    animation-delay: 0.4s;
    pointer-events: none;
    background-color: transparent;
}

.music::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow:
        100px 50px 1px #fff,
        200px 400px 1px #fff,
        300px 150px 1px #fff,
        400px 600px 1px #fff,
        500px 250px 1px #fff,
        600px 700px 1px #fff,
        700px 350px 1px #fff,
        800px 800px 1px #fff,
        900px 450px 1px #fff,
        120px 850px 1px #fff,
        220px 550px 1px #fff,
        320px 950px 1px #fff,
        420px 750px 1px #fff,
        520px 450px 1px #fff,
        620px 900px 1px #fff,
        720px 650px 1px #fff,
        820px 300px 1px #fff,
        920px 700px 1px #fff,
        1050px 350px 1px #fff,
        1150px 650px 1px #fff,
        1250px 250px 1px #fff,
        1350px 750px 1px #fff,
        1450px 450px 1px #fff;
    z-index: 0;
    animation: bb8-stars 1.2s linear alternate infinite;
    animation-delay: 0.8s;
    pointer-events: none;
    background-color: transparent;
}

@keyframes bb8-stars {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

.music .section-content {
    position: relative;
    z-index: 1;
}

.music-contact {
    position: relative;
    overflow: visible;
}

.music h3,
.music .intro {
    position: relative;
    z-index: 2;
}

.section-divider + h3,
.section-divider + h3 + .intro {
    position: relative;
}

.section-divider + h3::before,
.section-divider + h3 + .intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow:
        1% 5% 1px #fff,
        3% 12% 1px #fff,
        5% 3% 1px #fff,
        6% 18% 1px #fff,
        9% 7% 1px #fff,
        11% 15% 1px #fff,
        13% 4% 1px #fff,
        16% 20% 1px #fff,
        19% 8% 1px #fff,
        21% 14% 1px #fff,
        23% 3% 1px #fff,
        26% 19% 1px #fff,
        29% 6% 1px #fff,
        31% 16% 1px #fff,
        33% 9% 1px #fff,
        36% 13% 1px #fff,
        39% 4% 1px #fff,
        41% 17% 1px #fff,
        44% 8% 1px #fff,
        46% 15% 1px #fff,
        49% 5% 1px #fff,
        51% 19% 1px #fff,
        54% 7% 1px #fff,
        56% 14% 1px #fff,
        59% 3% 1px #fff,
        61% 18% 1px #fff,
        64% 9% 1px #fff,
        66% 16% 1px #fff,
        69% 6% 1px #fff,
        71% 13% 1px #fff,
        74% 4% 1px #fff,
        76% 17% 1px #fff,
        79% 8% 1px #fff,
        81% 15% 1px #fff,
        84% 5% 1px #fff,
        86% 19% 1px #fff,
        89% 7% 1px #fff,
        91% 14% 1px #fff,
        94% 3% 1px #fff,
        96% 18% 1px #fff,
        98% 9% 1px #fff;
    z-index: -1;
    animation: bb8-stars 1s linear alternate infinite;
    animation-delay: 0.2s;
    pointer-events: none;
    background-color: transparent;
}

.section-divider + h3::after,
.section-divider + h3 + .intro::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow:
        2% 8% 1px #fff,
        4% 15% 1px #fff,
        7% 4% 1px #fff,
        9% 19% 1px #fff,
        12% 7% 1px #fff,
        14% 16% 1px #fff,
        17% 5% 1px #fff,
        19% 18% 1px #fff,
        22% 8% 1px #fff,
        24% 13% 1px #fff,
        27% 6% 1px #fff,
        29% 17% 1px #fff,
        32% 4% 1px #fff,
        34% 15% 1px #fff,
        37% 9% 1px #fff,
        39% 14% 1px #fff,
        42% 3% 1px #fff,
        44% 16% 1px #fff,
        47% 7% 1px #fff,
        49% 18% 1px #fff,
        52% 5% 1px #fff,
        54% 15% 1px #fff,
        57% 8% 1px #fff,
        59% 13% 1px #fff,
        62% 4% 1px #fff,
        64% 17% 1px #fff,
        67% 6% 1px #fff,
        69% 15% 1px #fff,
        72% 9% 1px #fff,
        74% 14% 1px #fff,
        77% 3% 1px #fff,
        79% 16% 1px #fff,
        82% 7% 1px #fff,
        84% 18% 1px #fff,
        87% 5% 1px #fff,
        89% 15% 1px #fff,
        92% 8% 1px #fff,
        94% 13% 1px #fff,
        97% 4% 1px #fff,
        99% 17% 1px #fff;
    z-index: -1;
    animation: bb8-stars 1.2s linear alternate infinite;
    animation-delay: 0.6s;
    pointer-events: none;
    background-color: transparent;
}

.section-divider + h3::before,
.section-divider + h3 + .intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow:
        1% 5% 1px #fff,
        3% 12% 1px #fff,
        5% 3% 1px #fff,
        6% 18% 1px #fff,
        9% 7% 1px #fff,
        11% 15% 1px #fff,
        13% 4% 1px #fff,
        16% 20% 1px #fff,
        19% 8% 1px #fff,
        21% 14% 1px #fff,
        23% 3% 1px #fff,
        26% 19% 1px #fff,
        29% 6% 1px #fff,
        31% 16% 1px #fff,
        33% 9% 1px #fff,
        36% 13% 1px #fff,
        39% 4% 1px #fff,
        41% 17% 1px #fff,
        44% 8% 1px #fff,
        46% 15% 1px #fff,
        49% 5% 1px #fff,
        51% 19% 1px #fff,
        54% 7% 1px #fff,
        56% 14% 1px #fff,
        59% 3% 1px #fff,
        61% 18% 1px #fff,
        64% 9% 1px #fff,
        66% 16% 1px #fff,
        69% 6% 1px #fff,
        71% 13% 1px #fff,
        74% 4% 1px #fff,
        76% 17% 1px #fff,
        79% 8% 1px #fff,
        81% 15% 1px #fff,
        84% 5% 1px #fff,
        86% 19% 1px #fff,
        89% 7% 1px #fff,
        91% 14% 1px #fff,
        94% 3% 1px #fff,
        96% 18% 1px #fff,
        98% 9% 1px #fff;
    z-index: -1;
    animation: bb8-stars 1s linear alternate infinite;
    animation-delay: 0.2s;
    pointer-events: none;
    background-color: transparent;
}

.section-divider + h3::after,
.section-divider + h3 + .intro::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow:
        2% 8% 1px #fff,
        4% 15% 1px #fff,
        7% 4% 1px #fff,
        9% 19% 1px #fff,
        12% 7% 1px #fff,
        14% 16% 1px #fff,
        17% 5% 1px #fff,
        19% 18% 1px #fff,
        22% 8% 1px #fff,
        24% 13% 1px #fff,
        27% 6% 1px #fff,
        29% 17% 1px #fff,
        32% 4% 1px #fff,
        34% 15% 1px #fff,
        37% 9% 1px #fff,
        39% 14% 1px #fff,
        42% 3% 1px #fff,
        44% 16% 1px #fff,
        47% 7% 1px #fff,
        49% 18% 1px #fff,
        52% 5% 1px #fff,
        54% 15% 1px #fff,
        57% 8% 1px #fff,
        59% 13% 1px #fff,
        62% 4% 1px #fff,
        64% 17% 1px #fff,
        67% 6% 1px #fff,
        69% 15% 1px #fff,
        72% 9% 1px #fff,
        74% 14% 1px #fff,
        77% 3% 1px #fff,
        79% 16% 1px #fff,
        82% 7% 1px #fff,
        84% 18% 1px #fff,
        87% 5% 1px #fff,
        89% 15% 1px #fff,
        92% 8% 1px #fff,
        94% 13% 1px #fff,
        97% 4% 1px #fff,
        99% 17% 1px #fff;
    z-index: -1;
    animation: bb8-stars 1.2s linear alternate infinite;
    animation-delay: 0.6s;
    pointer-events: none;
    background-color: transparent;
}

.beats-store {
    position: relative;
    z-index: 3;
}

/* Custom Dropdown Menu */
.contact-form .input {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #0D1117;
  justify-content: center;
  border-radius: 5px;
  margin: 0;
}

.contact-form .value {
  background-color: transparent;
  border: none;
  padding: 10px;
  color: white;
  display: flex;
  position: relative;
  gap: 5px;
  cursor: pointer;
  border-radius: 4px;
  align-items: center;
  text-align: left;
}

.contact-form .value:not(:active):hover,
.contact-form .value:focus {
  background-color: #21262C;
}

.contact-form .value:focus,
.contact-form .value:active {
  background-color: #1A1F24;
  outline: none;
}

.contact-form .value::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -10px;
  width: 5px;
  height: 80%;
  background-color: #2F81F7;
  border-radius: 5px;
  opacity: 0;
}

.contact-form .value:focus::before,
.contact-form .value:active::before {
  opacity: 1;
}

.contact-form .value svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.contact-form .input:hover > :not(.value:hover) {
  transition: 300ms;
  filter: blur(1px);
  transform: scale(0.95,0.95);
}

.contact-form .value.selected {
  background-color: #1A1F24;
}

.contact-form .value.selected::before {
  opacity: 1;
}

/* Custom Select Dropdown */
.custom-select {
  appearance: none;
  background-color: #0D1117;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.custom-select option {
  background-color: #0D1117;
  color: white;
  padding: 10px;
  cursor: pointer;
  border: none;
}

.custom-select option:hover,
.custom-select option:focus {
  background-color: #21262C;
}

.custom-select option:checked {
  background-color: #1A1F24;
}

.custom-select option:not(:checked):hover {
  background-color: #21262C;
}

/* Style for the dropdown arrow */
.custom-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237D8590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 40px;
}

.custom-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(47, 129, 247, 0.5);
}

/* Remove default focus outline in Firefox */
.custom-select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 white;
}

/* Remove default arrow in IE */
.custom-select::-ms-expand {
  display: none;
}

/* Style for the options list */
.custom-select:not([multiple]) {
  overflow: hidden;
}

.custom-select option:first-of-type {
  color: #7D8590;
}

/* Custom Select Dropdown */
.selected-option {
    position: relative;
    cursor: pointer;
    z-index: 10;
}

.selected-text {
    display: block;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    width: 100%;
    opacity: 1;
}

/* When placeholder is shown */
.selected-option:not(.has-selection) .selected-text {
    color: var(--text-secondary);
    opacity: 0.8;
}

/* When an option is selected */
.selected-option.has-selection .selected-text {
    color: var(--text-primary);
    opacity: 1;
}

.selected-option:hover {
    border-color: rgba(107, 70, 193, 0.5);
    background: rgba(16, 16, 26, 0.6);
}

.selected-option:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(107, 70, 193, 0.2);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(16, 16, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
}

.selected-option.active {
    z-index: 100;
}

.selected-option.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu .value {
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

.dropdown-menu .value svg {
    width: 16px;
    height: 16px;
}

.dropdown-menu .value:hover {
    background: rgba(107, 70, 193, 0.2);
}

.dropdown-menu .value:focus {
    background: rgba(107, 70, 193, 0.3);
    outline: none;
}

.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(10, 10, 15, 0.5);
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(107, 70, 193, 0.5);
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 70, 193, 0.7);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-motto {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-color);
    text-align: left;
    margin: 2rem 0;
    font-family: 'Space Mono', monospace;
    line-height: 1.4;
    opacity: 0.9;
}

.about-desktop {
    display: block;
}

.about-mobile {
    display: none;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .about-intro h2 {
        margin: 0 0 1.5rem 0;
        padding: 0 2rem;
        text-align: center;
    }

    .about-motto {
        font-size: 1.4rem;
        margin: 1rem auto 1.5rem auto;
        padding: 0 2rem;
        white-space: pre-line;
        text-align: center;
        line-height: 1.5;
        max-width: 600px;
        width: 100%;
    }

    .about-welcome {
        font-size: 1rem;
        text-align: center;
        margin: 2.5rem 0 1.5rem 0;
        padding: 0 3rem;
        opacity: 0.8;
        max-width: 100%;
    }

    .about-motto-container {
        margin: 1rem 0 0 0;
        padding: 0;
    }

    .about-desktop {
        display: none;
    }

    .about-mobile {
        display: block;
    }

    .about-mobile p {
        margin-bottom: 1.2rem;
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .about-intro h2 {
        margin: 0 0 1.2rem 0;
        padding: 0 1.5rem;
        text-align: center;
    }

    .about-motto {
        font-size: 1.2rem;
        margin: 0.8rem auto 1.2rem auto;
        text-align: center;
        padding: 0 1.5rem;
        line-height: 1.4;
        max-width: 500px;
        width: 100%;
    }

    .about-welcome {
        font-size: 0.9rem;
        margin: 2rem 0 1.2rem 0;
        padding: 0 2.5rem;
        opacity: 0.7;
        max-width: 100%;
    }

    .about-motto-container {
        margin: 0.8rem 0;
    }

    .about-mobile p {
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
}

.about-content p {
    margin: 0 auto 2rem auto;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 65ch;
    color: var(--text-primary);
}

.about-desktop p {
    margin: 0 auto 2rem auto;
    text-align: center;
    max-width: 65ch;
}

.about-mobile p {
    margin: 0 auto 1.8rem auto;
    line-height: 1.8;
    text-align: center;
    max-width: 65ch;
}

@media (max-width: 768px) {
    .about-mobile p {
        margin: 0 auto 1.8rem auto;
        font-size: 1rem;
        line-height: 1.8;
        max-width: 65ch;
    }
}

@media (max-width: 480px) {
    .about-mobile p {
        margin: 0 auto 1.6rem auto;
        line-height: 1.7;
        padding: 0;
        max-width: 65ch;
    }
}

/* Aurora Borealis Effect */
.aurora-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    transform-origin: bottom center;
}

.stadium-container {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: auto;
    z-index: 9999;
    filter: brightness(0.7) contrast(1.2);
}

.stadium-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 150px;
    background: radial-gradient(
        ellipse at center bottom,
        rgba(255, 100, 200, 0.4) 0%,
        rgba(255, 0, 150, 0.25) 30%,
        rgba(138, 43, 226, 0.15) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

.stadium-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: translateY(0);
    display: block;
}

.aurora-beam {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 200%;
    transform: translateX(-50%);
    background: linear-gradient(
        to top,
        rgba(255, 100, 200, 0.5),
        rgba(255, 100, 200, 0.2) 40%,
        rgba(255, 100, 200, 0.1) 60%,
        transparent 80%
    );
    filter: blur(30px);
    transform-origin: bottom center;
    animation: auroraFloat 8s ease-in-out infinite;
}

.beam-1 {
    transform: translateX(-50%) rotate(-20deg);
    background: linear-gradient(
        to top,
        rgba(255, 100, 200, 0.5),
        rgba(255, 100, 200, 0.2) 40%,
        rgba(255, 100, 200, 0.1) 60%,
        transparent 80%
    );
    animation-delay: -2s;
}

.beam-2 {
    transform: translateX(-50%) rotate(-10deg);
    background: linear-gradient(
        to top,
        rgba(200, 100, 255, 0.5),
        rgba(200, 100, 255, 0.2) 40%,
        rgba(200, 100, 255, 0.1) 60%,
        transparent 80%
    );
    animation-delay: -1s;
}

.beam-3 {
    transform: translateX(-50%) rotate(0deg);
    background: linear-gradient(
        to top,
        rgba(255, 150, 255, 0.5),
        rgba(255, 150, 255, 0.2) 40%,
        rgba(255, 150, 255, 0.1) 60%,
        transparent 80%
    );
    animation-delay: -3s;
}

.beam-4 {
    transform: translateX(-50%) rotate(10deg);
    background: linear-gradient(
        to top,
        rgba(180, 100, 255, 0.5),
        rgba(180, 100, 255, 0.2) 40%,
        rgba(180, 100, 255, 0.1) 60%,
        transparent 80%
    );
    animation-delay: -4s;
}

.beam-5 {
    transform: translateX(-50%) rotate(20deg);
    background: linear-gradient(
        to top,
        rgba(255, 120, 220, 0.5),
        rgba(255, 120, 220, 0.2) 40%,
        rgba(255, 120, 220, 0.1) 60%,
        transparent 80%
    );
    animation-delay: -2.5s;
}

@keyframes auroraFloat {
    0%, 100% {
        transform: translateX(-50%) rotate(var(--rotation)) translateY(0) scale(1);
    }
    25% {
        transform: translateX(-50%) rotate(calc(var(--rotation) - 5deg)) translateY(-20px) scale(1.1);
    }
    50% {
        transform: translateX(-50%) rotate(var(--rotation)) translateY(0) scale(0.9);
    }
    75% {
        transform: translateX(-50%) rotate(calc(var(--rotation) + 5deg)) translateY(-10px) scale(1.05);
    }
}

.beam-1 { --rotation: -20deg; }
.beam-2 { --rotation: -10deg; }
.beam-3 { --rotation: 0deg; }
.beam-4 { --rotation: 10deg; }
.beam-5 { --rotation: 20deg; }

/* Add a subtle glow effect to the beams */
.aurora-beam::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(50px);
    opacity: 0.5;
    mix-blend-mode: screen;
}

/* Ensure the music section has the right positioning for the aurora */
.music {
    position: relative;
    overflow: visible;
    background: rgba(0, 0, 0, 0.8);
    padding-bottom: 60px;
}

/* Ensure content stays above the aurora */
.music .section-content {
    position: relative;
    z-index: 1;
}

/* Media queries for responsive aurora */
@media (max-width: 768px) {
    .aurora-beam {
        width: 50px;
        filter: blur(25px);
    }
    
    .stadium-container {
        width: 220px;
        bottom: -20px;
    }
    
    .stadium-container::before {
        width: 130%;
        height: 100px;
        filter: blur(15px);
    }
    
    .music {
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .aurora-beam {
        width: 40px;
        filter: blur(20px);
    }
    
    .stadium-container {
        width: 180px;
        bottom: -15px;
    }
    
    .stadium-container::before {
        width: 140%;
        height: 80px;
        filter: blur(12px);
    }
    
    .music {
        padding-bottom: 120px;
    }
}

/* Media queries for responsive aurora */
@media (min-width: 1200px) {
    .stadium-container {
        width: 400px;
        bottom: -35px;
    }
    
    .stadium-container::before {
        width: 110%;
        height: 200px;
        filter: blur(25px);
    }
    
    .music {
        padding-bottom: 250px;
    }
}

@media (max-width: 768px) {
    .aurora-beam {
        width: 50px;
        filter: blur(25px);
    }
    
    .stadium-container {
        width: 220px;
        bottom: -20px;
    }
    
    .music {
        padding-bottom: 40px;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(16, 16, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 300px;
    max-width: 400px;
    z-index: 10000;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notification-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    font-family: 'Space Mono', monospace;
}

.notification-message {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.9;
}

.notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Notification Types */
.notification.success {
    border-left: 4px solid #10b981;
}

.notification.success .notification-icon {
    color: #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification.error .notification-icon {
    color: #ef4444;
}

.notification.info {
    border-left: 4px solid var(--primary-color);
}

.notification.info .notification-icon {
    color: var(--primary-color);
}

/* Responsive notifications */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}


/* About CV Section Responsive */
@media (max-width: 768px) {
    .about-cv-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .cv-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        padding: 0 1rem;
    }
}