/* Mode Trigger Buttons (Listen & Watch) */
.hud-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.mode-trigger {
    background: rgba(255, 255, 255, 0.18);
    color: #e8e8e8;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 999px;
    padding: 10px 32px;
    font-size: 1.08rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
}
.mode-trigger:hover, .mode-trigger:focus {
    background: rgba(255,255,255,0.32);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 24px rgba(0,0,0,0.14);
}

/* Listen Mode Overlay */
.listen-mode-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.listen-mode-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Listen Mode Content */
.listen-mode-content {
    transform: scale(0.9) translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    max-width: 90%;
    width: 600px;
}
.listen-mode-overlay.active .listen-mode-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Listen Mode Card */
.listen-mode-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(29, 185, 84, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.listen-mode-card iframe {
    border-radius: 12px;
    display: block;
}

/* Close Button */
.listen-mode-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10000;
}
.listen-mode-close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.1) rotate(90deg);
}

/* Blur effect on hero when Listen Mode active */
.hero-bg.listen-mode-blur,
.hud-panel.listen-mode-blur {
    filter: blur(12px);
    transform: scale(0.96);
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* Watch Mode Overlay */
.watch-mode-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.watch-mode-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Watch Mode Content */
.watch-mode-content {
    transform: scale(0.92) translateY(40px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
    width: 95%;
    max-width: 1400px;
    max-height: 85vh;
    overflow: hidden;
}
.watch-mode-overlay.active .watch-mode-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Watch Loading State */
.watch-loading {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Poppins', Arial, sans-serif;
    letter-spacing: 0.05em;
}

/* Watch Carousel */
.watch-carousel {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 40px 60px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.watch-carousel::-webkit-scrollbar {
    display: none;
}

/* Watch Navigation Arrows */
.watch-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}
.watch-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.watch-arrow-left {
    left: 32px;
}
.watch-arrow-right {
    right: 32px;
}

/* Video Card */
.video-card {
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.video-card:hover {
    transform: translateY(-12px) scale(1.05);
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}
.video-card:hover .video-thumbnail {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 0 2px rgba(255, 255, 255, 0.15),
        0 0 80px rgba(255, 60, 60, 0.3);
}
.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.video-card:hover .video-thumbnail img {
    transform: scale(1.12);
    opacity: 0.85;
}

/* Play Overlay */
.video-play-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(255, 0, 0, 0.05) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}
.video-card:hover .video-play-overlay {
    opacity: 1;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(255, 0, 0, 0.2) 100%
    );
}

/* Play Icon */
.play-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 24px solid #000;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 6px;
}
.video-card:hover .play-icon {
    transform: scale(1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7);
}

/* Video Modal (for playing inline) */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-modal.active {
    opacity: 1;
    visibility: visible;
}
.video-modal-content {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
}
.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Close button for video modal */
.video-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10001;
}
.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1) rotate(90deg);
}

/* Close Button for Watch Mode */
.watch-mode-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10000;
}
.watch-mode-close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.1) rotate(90deg);
}

/* Blur effect on hero when Watch Mode active */
.hero-bg.watch-mode-blur,
.hud-panel.watch-mode-blur {
    filter: blur(14px);
    transform: scale(0.95);
    transition: filter 0.6s ease, transform 0.6s ease;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .hud-actions {
        flex-direction: column;
        gap: 8px;
    }
    .mode-trigger {
        width: 100%;
        padding: 10px 24px;
    }
    .listen-mode-content {
        width: 95%;
    }
    .listen-mode-card {
        padding: 16px;
    }
    .listen-mode-card iframe {
        height: 280px !important;
    }
    .listen-mode-close,
    .watch-mode-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    .watch-mode-content {
        width: 100%;
        max-height: 80vh;
    }
    .watch-carousel {
        padding: 16px;
        gap: 16px;
    }
    .video-card {
        flex: 0 0 260px;
    }
    .watch-arrow {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    .watch-arrow-left {
        left: 12px;
    }
    .watch-arrow-right {
        right: 12px;
    }
}
/* Spotify embed reveal section below hero */
.spotify-embed-reveal {
        width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin-top: 48px;
        min-height: 400px;
}
.spotify-embed-section {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.10);
        border-radius: 18px;
        box-shadow: 0 8px 32px 0 rgba(0,0,0,0.13);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 18px 0 0 0;
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s cubic-bezier(.2,.9,.2,1), transform 0.7s cubic-bezier(.2,.9,.2,1);
}
.spotify-embed-section.reveal-spotify {
        opacity: 1;
        transform: translateY(0);
}
.spotify-embed-section iframe {
        width: 100%;
        min-width: 280px;
        max-width: 100%;
        border: none;
        background: transparent;
        box-shadow: 0 2px 18px 0 rgba(0,0,0,0.08);
        border-radius: 12px;
}
/* Reveal animation on scroll */
window.addEventListener('scroll', function() {
    var embed = document.querySelector('.spotify-embed-section');
    if (!embed) return;
    var rect = embed.getBoundingClientRect();
    if (rect.top < window.innerHeight - 100) {
        embed.classList.add('reveal-spotify');
    }
});
/* Spotify embed section styling */
.spotify-embed-section {
    width: 100%;
    max-width: 600px;
    margin: 32px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 18px 0 0 0;
}
.spotify-embed-section iframe {
    width: 100%;
    min-width: 280px;
    max-width: 100%;
    border: none;
    background: transparent;
    box-shadow: 0 2px 18px 0 rgba(0,0,0,0.08);
}
.hero-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background:
        url('assets/gallery1.JPG') center 22% / cover no-repeat;
    /* No overlays, no artifacts, image is bright and clear */
    pointer-events: none;
    animation: subtle-breathe 18s ease-in-out infinite;
}

@keyframes subtle-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Minimal mode toggle */
.minimal-mode-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, opacity 0.2s;
    opacity: 0.5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.minimal-mode-toggle:hover {
    background: rgba(255,255,255,0.22);
    opacity: 1;
    transform: scale(1.08);
}
.minimal-mode-toggle.active {
    background: rgba(255,255,255,0.25);
    opacity: 1;
}

/* Hidden state for minimal mode */
.hud-panel.minimal-hidden .hud-links,
.hud-panel.minimal-hidden .email-capture,
.hud-panel.minimal-hidden .listen-mode-trigger {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}
.hud-panel .hud-links,
.hud-panel .email-capture,
.hud-panel .listen-mode-trigger {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.3s;
}

/* Email capture form */
.email-capture {
    width: 100%;
    max-width: 320px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    border-radius: 999px;
    padding: 4px;
    box-shadow: 0 2px 18px 0 rgba(0,0,0,0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.2s, box-shadow 0.2s;
}
.email-capture:focus-within {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.15);
}
.email-capture input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 18px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.email-capture input::placeholder {
    color: rgba(255,255,255,0.6);
    font-style: italic;
}
.email-capture button {
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-right: 2px;
}
.email-capture button:hover {
    background: rgba(255,255,255,0.32);
    transform: scale(1.08);
}
@media (max-width: 600px) {
    .email-capture {
        max-width: 90vw;
    }
}

/* Subtle drifting grain overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255,255,255,0.08) 1px, rgba(255,255,255,0.08) 2px),
        repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(0,0,0,0.05) 1px, rgba(0,0,0,0.05) 2px);
    background-size: 3px 3px;
    animation: grain-drift 10s ease-in-out infinite;
    mix-blend-mode: overlay;
}

@keyframes grain-drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.15; }
    25% { transform: translate(-4px, -4px) rotate(0.5deg); opacity: 0.12; }
    50% { transform: translate(3px, -3px) rotate(-0.5deg); opacity: 0.18; }
    75% { transform: translate(-3px, 4px) rotate(0.3deg); opacity: 0.14; }
}
.hud-panel {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    max-width: 340px;
}
.artist-block {
    background: rgba(255,255,255,0.10);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
    padding: 2.2rem 2.5rem 1.5rem 2.5rem;
    margin-bottom: 2.5rem;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.artist-block h1 {
    font-size: 2.7rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.7rem;
    line-height: 1.08;
    text-align: center;
    color: #f7f7f7;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.artist-block .subtitle {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 0;
    text-align: center;
}
/* HUD icon strip toolbar */
.hud-links {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 10px 18px;
    box-shadow: 0 2px 18px 0 rgba(0,0,0,0.10);
    pointer-events: auto;
}
.hud-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.18s cubic-bezier(.2,.9,.2,1), opacity 0.18s, background 0.18s, color 0.18s;
    opacity: 0.88;
}
.hud-links a:hover {
    background: rgba(255,255,255,0.16);
    transform: scale(1.08) translateY(-1px);
    opacity: 1;
}
/* Brand colors for icons */
.hud-links a.music-link.spotify i { color: #1DB954; }
.hud-links a.music-link.apple i { color: #A2AAAD; }
.hud-links a.music-link.soundcloud i { color: #FF5500; }
.hud-links a[title="YouTube"] i { color: #FF0000; }
.hud-links a[title="Instagram"] i {
    background: linear-gradient(45deg, #fd5949 0%, #d6249f 50%, #285AEB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.hud-links a[title="TikTok"] i {
    color: #25F4EE;
    text-shadow: 0 0 2px #FE2C55;
}
/* On hover, brand color is strongest */
.hud-links a.music-link.spotify:hover i { color: #1ED760; }
.hud-links a.music-link.apple:hover i { color: #fff; }
.hud-links a.music-link.soundcloud:hover i { color: #FF9900; }
.hud-links a[title="YouTube"]:hover i { color: #FF3333; }
.hud-links a[title="Instagram"]:hover i {
    background: linear-gradient(45deg, #fd5949 0%, #d6249f 50%, #285AEB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: brightness(1.2);
}
.hud-links a[title="TikTok"]:hover i {
    color: #25F4EE;
    text-shadow: 0 0 4px #FE2C55;
}
}
