/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* --- CORE RESET & BODY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    /* Interactive Layer + Abstract Layers */
    background-image: 
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(240, 240, 240, 0.6) 0%, transparent 40%),
        radial-gradient(at 40% 20%, rgba(200, 220, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(255, 230, 240, 0.12) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(240, 240, 240, 0.2) 0px, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* --------------- (GHOST LINES) --- */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* We define the lines here */
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px), /* Vertical 1 */
        linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px), /* Vertical 2 */
        linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px), /* Horizontal 1 */
        linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px); /* Horizontal 1 */
    
    /* This is the magic: we tell each line exactly where to sit */
    background-position: 
        10% 0,  /* 10% from the left */
        90% 0,  /* 90% from the left */
        0 50%,  /* 15% from the top */
        0 70%;
    
    /* We tell the lines how big to be */
    background-size: 
        1px 100%, /* Full height */
        1px 100%, /* Full height */
        100% 1px, /* Full width */
        100% 1px; /* Full width */
        
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
}



/* --- GHOST BLOB ANIMATIONS --- */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; 
    pointer-events: none;
    overflow: hidden;
    contain: strict;
}

.blob {
    position: absolute;
    /* Boosted to 0.15 opacity and 2px for visibility */
    border: 3px solid rgba(0, 0, 0, 0.353); 
    border-radius: 50%;
    /* Reduced blur from 40px to 10px so the "line" doesn't disappear */
    filter: blur(10px);
    animation: move 20s infinite alternate ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0); /* Forces GPU rendering */
}

.blob:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.blob:nth-child(2) {
    width: 600px;
    height: 600px;
    bottom: 10%;
    right: 10%;
    animation-duration: 35s;
    animation-delay: -5s;
}

.blob:nth-child(3) {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 40%;
    animation-duration: 30s;
    animation-delay: -10s;
}

/* Blobs 1-3 remain the same as before */

.blob:nth-child(4) {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 30%;
    animation-duration: 22s;
    animation-delay: -2s;
}

.blob:nth-child(5) {
    width: 450px;
    height: 450px;
    bottom: 20%;
    left: 20%;
    animation-duration: 40s;
    animation-delay: -8s;
}

.blob:nth-child(6) {
    width: 150px;
    height: 150px;
    top: 70%;
    right: 15%;
    animation-duration: 18s;
    animation-delay: -12s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(10vw, 15vh) scale(1.1) rotate(15deg); }
    100% { transform: translate(-5vw, -10vh) scale(1) rotate(0deg); }
}


/* --- ABSTRACT FLOW TRANSPARENCY --- */
section,
header,
#work {
    background: transparent !important;
}

/* --- LOADERS & TRANSITIONS --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    animation: loaderPulse 1.5s infinite ease-in-out;
}

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

#page-wipe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

#page-wipe.active {
    transform: translateX(0);
    pointer-events: all;
}

#page-wipe.exit {
    transform: translateX(100%);
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-spacer {
    width: 50px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

nav a {
    text-decoration: none !important;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px;
    width: 50px;
    align-items: flex-end;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { width: 25px; }
.menu-toggle span:nth-child(2) { width: 18px; }

.menu-toggle.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); width: 25px; }
.menu-toggle.open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); width: 25px; }

.nav-links {
    position: absolute;
    top: 75px;
    right: 5%;
    background: #fff;
    list-style: none;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    gap: 20px;
    min-width: 200px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-links.active {
    display: flex;
    animation: fadeInUp 0.4s ease forwards;
}

.nav-links a {
    text-decoration: none !important;
    color: #888;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:hover {
    color: #000;
}

.nav-links a.active {
    color: #000 !important;
    text-decoration: none !important;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: #000;
    border-radius: 2px;
}

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

/* --- HEADERS & HOLLOW TEXT --- */
header {
    padding: 200px 10% 100px;
    text-align: center;
}

header h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

header p {
    font-size: 1.1rem;
    color: #4d4b4b;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.about-banner h1,
.music-header h1,
.photo-banner h1,
.socials-banner h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    color: transparent;
    -webkit-text-stroke: 1.5px #ffffff;
    letter-spacing: 2px;
    transition: all 0.5s ease;
}

.about-banner h1:hover,
.music-header h1:hover,
.photo-banner h1:hover,
.socials-banner h1:hover {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 16px 38px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #000;
    border-radius: 0px;
    margin-bottom: 100px;
}

.btn:hover {
    background: transparent;
    color: #000;
    transform: translateY(-3px);
}

/* --- ABOUT PAGE --- */
.about-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #000000;
}

.about-content {
    padding: 100px 10% 80px;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
    text-align: left;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
}

.photo-frame {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5%;
    border: 3px solid #000000;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
    margin: 0 auto;
    overflow: hidden;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- WORK / GRID SECTION --- */
#work {
    padding: 100px 10%;
    position: relative;
}

#work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 1px;
    height: 100%;
    background: #f4f4f4;
    z-index: -1;
}

.section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 40px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.project-card {
    aspect-ratio: 4/5;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #000;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-card:hover {
    transform: translateY(-10px);
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

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

.animate-pop { animation: loaderPulse 1s cubic-bezier(0.19, 1, 0.22, 1) forwards; }
.animate-fade-up { opacity: 0; animation: fadeInUp 1s ease 0.4s forwards; }
.animate-fade-up-delay { opacity: 0; animation: fadeInUp 1s ease 0.6s forwards; }

/* --- FOOTER --- */
footer {
    padding: 100px 10%;
    background: #000;
    color: #929090;
    text-align: center;
    border-top: 1px solid #333;
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

footer p {
    font-size: 1.1rem;
    color: #bebcbc;
}

/* --- CONTACT PAGE --- */
.contact-page {
    padding: 180px 10% 100px;
    text-align: center;
    min-height: 80vh;
}

.contact-subtext {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min-content, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.social-grid,
.music-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

.social-card,
.music-card {
    background: #f8f8f8;
    padding: 40px 30px;
    text-decoration: none;
    color: #1a1a1a;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: auto;
    min-height: 250px;
    overflow: visible;
}

.social-card h3,
.music-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.social-card p,
.music-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    word-wrap: break-word;
}

.social-card span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.social-card:hover {
    background: #000;
    color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.social-card:hover span {
    color: #555;
}

.secondary-accounts {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.secondary-accounts h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 25px;
}

.other-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.other-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.other-links a:hover {
    opacity: 0.5;
}

.divider {
    color: #ddd;
    font-weight: 300;
}

/* --- PHOTOGRAPHY PAGE --- */
.photo-banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: #000;
}

.banner-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-banner .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.photo-banner .header-content {
    position: relative;
    z-index: 3;
}

.photo-banner h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    letter-spacing: -2px;
    margin: 0;
    font-weight: 700;
}

.photo-banner p {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.9;
}

.gallery-container {
    padding: 80px 5% 100px;
}

.gallery-header {
    margin-bottom: 60px;
    text-align: center;
}

.insta-curated-grid {
    column-count: 3;
    column-gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.insta-frame {
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
    backface-visibility: hidden;
    break-inside: avoid;
}

.photo-only-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 0px;
    background: #f8f8f8;
    border: 3px solid #000000;
    position: relative;
    transition: border-color 0.4s ease;
    display: block;
    transform: translateZ(0);
}

.photo-only-wrapper:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: #ccc;
}

.photo-only-wrapper.square { aspect-ratio: 1 / 1.0; }
.photo-only-wrapper.square .instagram-media { margin-top: -55px !important; }

.photo-only-wrapper.portrait { aspect-ratio: 1 / 0.55; }
.photo-only-wrapper.portrait .instagram-media { margin-top: -55px !important; }

.photo-only-wrapper.landscape { aspect-ratio: 16 / 12; }
.photo-only-wrapper.landscape .instagram-media { margin-top: -55px !important; }

.photo-only-wrapper .instagram-media {
    border: none !important;
    box-shadow: none !important;
    min-width: 100% !important;
    pointer-events: auto;
}

/* --- MUSIC PAGE --- */
.music-container {
    padding: 0 5% 100px;
}

.music-intro {
    padding: 80px 10% 0;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    letter-spacing: 0.2px;
}

.intro-content strong {
    color: #000;
    font-weight: 700;
}

.music-header {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 200px;
    color: #fff;
    text-align: center;
}

.header-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.music-header h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.music-header .category-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.8);
    display: block;
    margin-bottom: 15px;
}

.music-masonry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.music-frame {
    width: calc(50% - 20px);
    margin-bottom: 40px;
    backface-visibility: hidden;
}

.video-title {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-top: 20px;
    text-align: center;
    padding: 0 15px;
    line-height: 1.4;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.video-container:hover {
    transform: scale(1.02);
}

.drum-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, background 0.4s ease;
    z-index: 2;
}

.video-container:hover .video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: relative;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #000;
}

.video-container:hover .play-button {
    transform: scale(1.1);
}

.video-container.portrait { aspect-ratio: 9 / 14; }

/* --- SOCIAL MEDIA PAGE --- */
.socials-header {
    padding: 220px 10% 120px;
    background: #fff;
    text-align: center;
}

.socials-intro {
    padding: 100px 10%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.socials-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 10% 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.collab-section {
    padding: 120px 10%;
    background: #000;
    color: #5e5d5d;
    text-align: center;
}

.collab-section h3 {
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 45px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border-radius: 0px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ddd;
    transform: scale(1.05);
}

/* --- AUDIO PLAYER CONTAINER --- */
footer {
    position: relative; /* Anchors the button when not playing */
}

.audio-player {
    position: absolute; /* Default: Sits inside the footer */
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    /* Smart Color Logic: Inverts colors based on background */
    mix-blend-mode: difference; 
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Toggled via JS when music starts */
.audio-player.is-sticky {
    position: fixed; /* Becomes a floating companion */
    bottom: 30px;
    right: 30px;
}

/* --- THE 3D GLASS BUTTON --- */
#audio-toggle {
    background: rgba(255, 255, 255, 0.7); 
    /* High-end Frosted Glass Effect */
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    
    /* SPECULAR HIGHLIGHT: Simulates light hitting the top edge */
    border: 1px solid rgba(255, 255, 255, 0.4);
    
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

    /* 3D DEPTH STACK: 
       Inner glow + Outer soft aura + Harder floor shadow */
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.4), 
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 4px 6px rgba(0, 0, 0, 0.05);
}

#audio-toggle:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.6), 
        0 20px 40px rgba(0, 0, 0, 0.2);
}

#audio-toggle:active {
    transform: translateY(-2px) scale(0.95);
}

/* --- THE VISUALIZER BARS --- */
.bar-container {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.bar {
    width: 2.5px;
    height: 100%;
    background: #000; /* Will be inverted to white on dark backgrounds */
    border-radius: 1px;
    transition: height 0.3s ease;
}

/* Animation Pulses */
.playing .bar:nth-child(1) { animation: pulse 0.5s infinite alternate; }
.playing .bar:nth-child(2) { animation: pulse 0.8s infinite alternate; }
.playing .bar:nth-child(3) { animation: pulse 0.6s infinite alternate; }

@keyframes pulse {
    0% { height: 30%; }
    100% { height: 100%; }
}

/* --- MEDIA QUERIES --- */

/* Tablet & Smaller Desktop */
@media (max-width: 900px) {
    .insta-curated-grid { column-count: 2; }
}

/* Music Page Specifics */
@media (max-width: 800px) {
    .music-masonry-grid { justify-content: center; }
    .music-frame { width: 100%; }
    .music-header { height: 60vh; }
    .play-button { width: 50px; height: 50px; }
}

/* Global Mobile Fixes (The most important block) */
@media (max-width: 768px) {
    /* 1. Stack the about section */
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-banner, .photo-banner, .music-header { height: 50vh; }
    
    /* 2. Fix the Ghost Lines (Remove the 90% vertical line so it doesn't hit text) */
    body::after {
        background-position: 5% 0, 0 50%, 0 70%; 
        background-size: 1px 100%, 100% 1px, 100% 1px;
    }

    /* 3. Performance: Hide extra blobs on mobile to save battery/RAM */
    .blob:nth-child(4),
    .blob:nth-child(5),
    .blob:nth-child(6) {
        display: none;
    }

    /* 4. Navigation & Contact UI */
    .nav-links { width: 92%; right: 4%; }
    .divider { display: none; }
    .other-links { flex-direction: column; gap: 15px; }
    .social-card { padding: 40px 15px; min-width: 100%; }

    /* 5. Responsive Headers (Prevent overflow) */
    header h1 { font-size: 2.2rem; }
    .about-banner h1, .music-header h1, .photo-banner h1, .socials-banner h1 {
        -webkit-text-stroke: 1px #ffffff;
        font-size: 3.5rem;
    }

    /* 6. Audio Player Mobile Position */
    .audio-player, .audio-player.is-sticky {
        bottom: 20px;
        right: 20px;
    }
}

/* Small Phones */
@media (max-width: 600px) {
    .gallery-container { padding-top: 60px; }
    .insta-curated-grid { column-count: 1; gap: 20px; }
    
    /* Shrink the button slightly for very small screens */
    #audio-toggle {
        width: 48px;
        height: 48px;
    }
}