/* ============================================
   OMNITY THEME - BASE CSS
   Diego de Amigo - Compositor
   ============================================ */

/* ============================================
   CSS RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    /* Chrome/Safari/Webkit */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
    text-align: center;
}

/* ============================================
   DESIGN TOKENS (Omnity Color System)
   ============================================ */
:root {
    /* Omnity Color Palette */
    --color-black: #000000;
    --color-dark: #0e0e0e;
    /* Slightly lighter than pure black for depth */
    --color-dark-gray: #1a1a1a;
    --color-medium-gray: #636363;
    /* Wolf Theme Body Text */
    --color-gray: #999999;
    --color-light-gray: #f7f7f7;
    /* Wolf Theme Light Section */
    --color-lighter-gray: #f5f5f5;
    --color-white: #ffffff;
    --color-accent: #5AA1E3;
    /* Electric Blue Accent */

    /* Semantic Colors */
    --color-text: #636363;
    --color-text-light: #999999;
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f7f7f7;
    --color-bg-dark: #000000;

    /* Border & Dividers */
    --color-border: #e5e5e5;
    --color-border-dark: #2c2c2c;

    /* Layout */
    --max-width: 1400px;
    --section-padding: 120px;
    /* Increased padding for premium feel */
    --header-height: 90px;
    --topbar-height: 40px;

    /* Transitions & Animations (Wolf Themes Style) */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);

    --transition-fast: 0.3s var(--ease-out-quart);
    --transition-normal: 0.6s var(--ease-out-quart);
    --transition-slow: 1.2s var(--ease-out-quart);

    /* Shadows */
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 80px rgba(0, 0, 0, 0.12);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(36px, 5vw, 72px);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(32px, 4vw, 56px);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(24px, 3vw, 40px);
}

h4 {
    font-size: clamp(20px, 2.5vw, 32px);
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 18px;
}

p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--color-gray);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.section {
    padding: var(--section-padding) 0;
}

.section--dark {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
    color: var(--color-white);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section--gray {
    background-color: var(--color-bg-secondary);
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
    background-color: var(--color-black);
    color: var(--color-white);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    font-size: 13px;
    position: relative;
    z-index: 1001;
}

.topbar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.topbar__info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.topbar__info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.topbar__info-item:hover {
    color: var(--color-white);
}

.topbar__socials {
    display: flex;
    gap: 15px;
    margin-left: 40px;
    /* Creates space between location and social icons */
}

.topbar__social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    transition: var(--transition-fast);
}

.topbar__social-link:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
/* Base Header Style (Top of Page) */
.header {
    position: sticky;
    top: 0;
    /* Clean 66% transparent white (0.34 opacity) */
    background-color: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(5px);
    z-index: 1000;

    /* Smooth Transition for background changes */
    transition: background-color 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.8s ease,
        transform 0.8s ease;
}

/* Scrolled State (Solid White) */
.header--scrolled,
.header--visible {
    background-color: #ffffff !important;
    box-shadow: var(--shadow-sm);
}

/* Force active state link color black on scrolled header because bg is white */
.header--scrolled .header__menu-link--active,
.header--visible .header__menu-link--active {
    color: var(--color-black);
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: center;
    height: var(--header-height);
    position: relative;
    /* Context for absolute toggle */
}

.header__logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-black);
    /* Default to black for white semi-transparent header */
    transition: color 0.4s ease;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.header__menu-item {
    position: relative;
}

.header__menu-link {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
    color: var(--color-black);
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition-normal);
}

.header__menu-link:hover::after,
.header__menu-link--active::after {
    width: 100%;
}

.header__actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.header__toggle-bar {
    width: 28px;
    height: 2px;
    background-color: var(--color-black);
    /* Default to black */
    transition: var(--transition-normal);
}

/* Hamburger visible on all screens now */
/* Hamburger visible on mobile only */
@media (max-width: 991px) {
    .header__toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }
}

.header__nav {
    display: none;
    /* Hide standard nav */
}

/* Hide standard nav */

/* ============================================
   SIDE PANEL (Right Drawer)
   ============================================ */
.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.side-panel--open {
    transform: translateX(0);
}

.side-panel__header {
    padding: 30px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.side-panel__close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--color-black);
    transition: var(--transition-normal);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.side-panel__close:hover {
    background-color: var(--color-bg-secondary);
    transform: rotate(90deg);
}

.side-panel__content {
    padding: 40px 60px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side-panel__menu {
    list-style: none;
    margin-bottom: 60px;
}

.side-panel__item {
    margin-bottom: 25px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.side-panel--open .side-panel__item {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation for menu items */
.side-panel--open .side-panel__item:nth-child(1) {
    transition-delay: 0.1s;
}

.side-panel--open .side-panel__item:nth-child(2) {
    transition-delay: 0.2s;
}

.side-panel--open .side-panel__item:nth-child(3) {
    transition-delay: 0.3s;
}

.side-panel--open .side-panel__item:nth-child(4) {
    transition-delay: 0.4s;
}

.side-panel--open .side-panel__item:nth-child(5) {
    transition-delay: 0.5s;
}

.side-panel__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.side-panel__link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-black);
    transition: width 0.3s ease;
}

.side-panel__link:hover::after {
    width: 100%;
}

.side-panel__info {
    margin-top: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.6s;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
}

.side-panel__info h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--color-black);
}

.side-panel--open .side-panel__info {
    opacity: 1;
    transform: translateY(0);
}

.side-panel__info p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.side-panel__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: opacity 0.8s ease, backdrop-filter 0.8s ease, visibility 0.8s ease;
}

.side-panel--open+.side-panel__overlay {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.8s var(--ease-out-expo);
    /* Slower, more majestic */
    will-change: transform, opacity;
}

/* Header Smart Visibility */
/* ============================================
   ENTRY ANIMATIONS (Hero & Load)
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-entry {
    opacity: 0;
    animation: fadeInUp 1.8s var(--ease-out-expo) forwards;
    /* Extended duration */
}

.delay-150,
.delay-300,
.delay-450,
.delay-600,
.delay-750,
.delay-900,
.delay-1050,
.delay-1200 {
    animation-delay: 0s !important;
}

/* Scroll Reveal Base - ensuring these are consistent */
/* Consolidated above */

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

/* Header Smart Visibility */
.header {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.8s ease;
}

.header--hidden {
    transform: translateY(-100%);
}

.header--visible {
    transform: translateY(0);
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.header--visible .header__logo {
    color: var(--color-black);
}

.header--visible .header__toggle-bar {
    background-color: var(--color-black);
}

/* Ensure Logo is visible */
.header__logo {
    z-index: 1002;
    position: relative;
    font-weight: 800;
    letter-spacing: -0.5px;
}


/* ============================================
   HEADER RESPONSIVE LOGIC (Clean & Robust)
   ============================================ */

/* 1. MOBILE DEFAULT (Max-Width 991px) 
   We rely on the global 'display: none' for .header__toggle defined earlier (line 347).
   We just need to enable it for mobile.
*/

@media (max-width: 991px) {
    .header__nav {
        display: none;
        /* Hide Menu */
    }

    .header__toggle {
        display: flex;
        /* Show Hamburger */
        margin-left: auto;
    }
}

/* 2. DESKTOP (Min-Width 992px) */
@media (min-width: 992px) {

    /* --- Navigation Menu (Visible at Top) --- */
    .header__nav {
        display: flex;
        margin-left: auto;
        margin-right: 40px;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Scrolled State: Hide Nav */
    .header--scrolled .header__nav {
        opacity: 0;
        transform: translateY(-20px);
        visibility: hidden;
        pointer-events: none;
    }

    /* --- Toggle/Hamburger (Hidden at Top) --- */
    /* --- Toggle/Hamburger (Hidden at Top) --- */
    .header__toggle {
        /* FIX: Use display: none initially to prevent ANY flash on load */
        display: none !important;

        position: absolute;
        right: 0;
        top: 50%;

        /* Animation Start Positions */
        transform: translateY(-50%) rotate(90deg) scale(0.5);
        opacity: 0;

        transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Scrolled State: Show Toggle */
    .header--scrolled .header__toggle {
        display: flex !important;
        /* Activate only on scroll */
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(-50%) rotate(0deg) scale(1);

        /* Add a small animation for the entrance since we switched display */
        animation: fadeInToggle 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @keyframes fadeInToggle {
        from {
            opacity: 0;
            transform: translateY(-50%) rotate(90deg) scale(0.5);
        }

        to {
            opacity: 1;
            transform: translateY(-50%) rotate(0deg) scale(1);
        }
    }

    /* Bars are always opaque if parent is visible */
    .header__toggle .header__toggle-bar {
        opacity: 1;
    }

    /* Reset override for actions container */
    .header__actions {
        margin-left: 0 !important;
    }
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 70vh;
    /* Fixed height relative to viewport */
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
    /* Pull underneath header */
}

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

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 60px;
}

.hero__title {
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__subtitle {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 40px;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero__cta {
    display: inline-block;
    padding: 18px 50px;
    background-color: var(--color-white);
    color: var(--color-black);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: var(--transition-normal);
}

.hero__cta:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .hero {
        min-height: 450px;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn:hover {
    background-color: transparent;
    color: var(--color-black);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-black);
}

.btn--outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn--white {
    border-color: var(--color-white);
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn--white:hover {
    background-color: transparent;
    color: var(--color-white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 80px 0 0;
}

.footer__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__section h3 {
    color: var(--color-white);
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__menu {
    list-style: none;
}

.footer__menu-item {
    margin-bottom: 12px;
}

.footer__menu-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer__menu-link:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer__socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: var(--transition-fast);
}

.footer__social-link:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.footer__bottom {
    padding: 30px 0;
    cursor: none;
}

/* Hide default cursor on desktop */
@media (min-width: 993px) {

    html,
    body,
    a,
    button,
    input,
    textarea,
    .btn,
    iframe {
        cursor: none !important;
    }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

/* Cursor Dot */
.cursor-dot {
    width: 20px;
    height: 20px;
    background-color: var(--color-white);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    /* We add transition for sizes but NOT for transform to keep movement instant/smooth via JS */
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), height 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, opacity 0.3s ease;
}

/* Hover State */
.cursor-dot--hover {
    width: 50px;
    height: 50px;
    opacity: 0.8;
}

/* Old circle hidden/removed as requested */
.cursor-circle {
    display: none;
}

@media (max-width: 992px) {
    .custom-cursor {
        display: none;
    }

    html,
    body,
    a,
    button,
    input,
    textarea,
    .btn {
        cursor: auto;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}


/* Music Player Controls */
.music-player-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    width: 300px;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.music-player-widget.minimized {
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.8);
}

.music-player-widget.minimized .music-content,
.music-player-widget.minimized .music-toggle {
    display: none;
}

/* Specific icon for minimized state could be added, but relying on toggle logic for now */
.music-player-widget.minimized::after {
    content: '\f001';
    /* FontAwesome music icon */
    font-family: "Font Awesome 6 Brands";
    display: none;
    /* Just using the existing play icon or structure might be better if re-thought, but simple minimize first */
}

/* Better Minimized State: Show a small play/expand button */
.music-player-widget.minimized::before {
    content: '\f001';
    /* Music note */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
}

.music-toggle {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    transition: all 0.2s;
    z-index: 2;
}

.music-toggle:hover {
    color: #fff;
}

.music-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.music-info {
    text-align: center;
    margin-top: 5px;
}

.music-title {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2px;
}

.music-status {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-family: 'Inter', sans-serif;
}

/* Progress Bar */
.music-progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.music-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    min-width: 30px;
    text-align: center;
}

#music-progress {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
}

#music-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0ea5e9;
    cursor: pointer;
    transition: transform 0.1s;
}

#music-progress::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

/* Controls Row */
.music-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    /* Center controls */
    padding-left: 20px;
    /* Offset for balance */
}

.music-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.music-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.music-btn.active {
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
}

/* Vertical Volume on Hover */
.music-volume-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.music-volume-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.2s;
}

.music-volume-container:hover .music-volume-icon {
    color: #fff;
}

.music-volume-slider-wrapper {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 100px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

.music-volume-container:hover .music-volume-slider-wrapper {
    opacity: 1;
    visibility: visible;
    bottom: 40px;
    /* Slide up slightly */
}

.music-volume-slider-wrapper::after {
    /* Transparent bridge to prevent closing when moving mouse from icon to slider */
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

#music-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    /* Height of the vertical slider */
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    transform: rotate(-90deg);
    /* Make it vertical */
    cursor: pointer;
}

#music-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0ea5e9;
    cursor: pointer;
}