/**
 * FunCards - Navigation Component
 * Main navigation bar for authenticated users
 */

/* =========================
   Desktop-only elements
   ========================= */
.desktop-only {
    display: block;
}

@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: inline;
    }
}

.mobile-only {
    display: none;
}

/* =========================
   Main Navigation
   ========================= */
.main-nav {
    width: 100%;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Navbar elrejtése iOS-en játék közben */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 500px) {
        /* Ha van game-wrapper, rejtsük el a navbart */
        body:has(.game-wrapper) .main-nav {
            display: none !important;
        }
    }
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    min-width: 320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.nav-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
    will-change: transform;
    overflow: visible; /* scaled icon may extend slightly */
}

.nav-logo:hover {
    transform: translate3d(0, 0, 0) scale(1.05);
}

.nav-logo-emoji,
.nav-logo-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    /* Visually larger icon without changing layout (reserved space stays 1.5rem) */
    transform: scale(1.30);
    transform-origin: center;
    flex-shrink: 0;
}

.nav-logo-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.nav-logo-text-block {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.nav-logo-premium-label {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #f59e0b;
    text-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
    margin-top: -0.25em;
}

/* Alpha Badge - Sticker style */
.alpha-badge {
    position: absolute;
    top: 16px;
    right: -15px;
    background: linear-gradient(135deg, #475ff9, #2f21c8);
    color: #0f172a;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    transform: rotate(8deg);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    letter-spacing: 0.5px;
    border: 2px solid #475ff9;
    /* Reset gradient text for badge */
    background: linear-gradient(135deg, #475ff9, #2f21c8);
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    opacity: 70%;
}

.alpha-badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.3), rgba(245, 158, 11, 0.3));
    border-radius: 4px;
    z-index: -1;
    filter: blur(4px);
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f1f5f9;
    background: rgba(59, 130, 246, 0.1);
}

.nav-link.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
}

/* Profile link: feedback notification badge (unread replies) */
.nav-link-profile {
    position: relative;
}

.nav-feedback-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    margin-left: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
    border-radius: 50%;
    vertical-align: middle;
    animation: nav-feedback-blink 1.2s ease-in-out infinite;
}

@keyframes nav-feedback-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    50% { opacity: 0.9; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2); }
}

/* Admin link: new feedback + new suggestions notification badge */
.nav-link-admin {
    position: relative;
}

.nav-admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    margin-left: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
    border-radius: 50%;
    vertical-align: middle;
    animation: nav-feedback-blink 1.2s ease-in-out infinite;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    width: 40%;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 2px;
}

.logout-link {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444 !important;
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171 !important;
}

/* =========================
   Hamburger Menu for Mobile
   ========================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(59, 130, 246, 0.2);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #94a3b8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: #3b82f6;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: #3b82f6;
}

/* =========================
   Responsive Design
   ========================= */
/* Mobile - Hamburger Menu */
@media (max-width: 768px) {
    .main-nav {
        padding: 12px 0;
    }

    .nav-container {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 12px;
        min-width: 200px;
        flex-direction: column;
        gap: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 0.9rem;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }
    
    /* Reset game button - ensure mobile text is visible */
    .nav-link .mobile-only {
        display: inline !important;
    }
    
    .nav-link .desktop-only {
        display: none !important;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-logo {
        font-size: 1.4rem;
    }

    .nav-logo-text {
        font-size: 1.1rem;
    }

    .alpha-badge {
        font-size: 0.5rem;
        padding: 2px 6px;
        top: 14px;
        right: -12px;
    }

    .nav-volume-control {
        position: relative !important; /* Ensure parent has position for absolute child */
        /* Prevent layout shift when popup opens */
        min-width: 44px; /* Approximate width to prevent shift */
    }

    .volume-popup {
        right: auto;
        left: 100%;
        top: 0;
        margin-left: 8px;
        /* Prevent position shift */
        will-change: opacity, transform;
        transform: translateZ(0); /* Force hardware acceleration */
        backface-visibility: hidden;
    }
}

/* =========================
   Intensity Badge
   ========================= */
.intensity-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 12px 6px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1.5px solid;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 32px;
    box-sizing: border-box;
    line-height: 1;
}

.intensity-badge:active {
    transform: scale(0.95);
}

.intensity-icon {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    line-height: 1;
}

.intensity-label {
    font-size: 0.75rem;
    line-height: 1;
}

/* Vanilla Badge - Subtle Green */
.intensity-vanilla {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
        rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.32);
    color: #34d399;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 10px rgba(16, 185, 129, 0.08);
}

.intensity-vanilla:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)),
        rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 16px rgba(16, 185, 129, 0.14);
}

/* Kinky Badge - Subtle Yellow */
.intensity-kinky {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
        rgba(234, 179, 8, 0.1);
    border-color: rgba(234, 179, 8, 0.32);
    color: #facc15;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 10px rgba(234, 179, 8, 0.08);
}

.intensity-kinky:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)),
        rgba(234, 179, 8, 0.16);
    border-color: rgba(234, 179, 8, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 16px rgba(234, 179, 8, 0.14);
}

/* Extreme Badge - Elegant Deep Red */
.intensity-extreme {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
        rgba(136, 19, 55, 0.2);
    border-color: rgba(136, 19, 55, 0.58);
    color: #fda4af;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 10px rgba(136, 19, 55, 0.16);
}

.intensity-extreme:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)),
        rgba(136, 19, 55, 0.3);
    border-color: rgba(136, 19, 55, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 16px rgba(136, 19, 55, 0.24);
}

/* VIP Badge */
.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(167, 139, 250, 0.2));
    border: 1.5px solid rgba(139, 92, 246, 0.4);
    color: #a78bfa;
    transition: all 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.vip-badge:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(167, 139, 250, 0.3));
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Level Badge – same visual size as intensity badge */
.level-badge {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 62px;
    padding: 5px 12px 7px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
        rgba(59, 130, 246, 0.1);
    border: 1.5px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 10px rgba(59, 130, 246, 0.08);
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    overflow: visible;
    line-height: 1.2;
    min-height: 32px;
    box-sizing: border-box;
}

.level-badge--xp-gain {
    border-color: rgba(96, 165, 250, 0.75);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0 0 3px rgba(59, 130, 246, 0.14),
        0 10px 24px rgba(59, 130, 246, 0.22);
}

.level-badge--xp-gain .level-badge-fill {
    filter: brightness(1.18);
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.55);
}

.level-badge--level-up {
    animation: level-badge-level-up 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.level-badge:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)),
        rgba(59, 130, 246, 0.16);
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 16px rgba(59, 130, 246, 0.16);
}

.level-badge:active {
    transform: scale(0.95);
}

.level-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
    line-height: 1;
}

.level-badge-number {
    font-variant-numeric: tabular-nums;
    font-size: 0.75rem;
}

.level-badge-bar {
    display: block;
    width: 100%;
    height: 4px;
    background: rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.35);
}

.level-badge-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 65%, #93c5fd 100%);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    min-width: 4px;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.35);
}

.level-badge-xp-pop {
    position: absolute;
    left: 50%;
    top: -10px;
    z-index: 220;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: #e0f2fe;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.38);
    animation: level-badge-xp-pop 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.level-badge-xp-pop--level-up {
    border-color: rgba(196, 181, 253, 0.68);
    color: #f5f3ff;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.94), rgba(139, 92, 246, 0.94));
}

@keyframes level-badge-xp-pop {
    0% {
        opacity: 0;
        transform: translate(-50%, 8px) scale(0.84);
    }
    18% {
        opacity: 1;
        transform: translate(-50%, -4px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -26px) scale(0.96);
    }
}

@keyframes level-badge-level-up {
    0% {
        transform: scale(1);
    }
    24% {
        transform: scale(1.09);
    }
    48% {
        transform: scale(0.98);
    }
    72% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Level Tooltip */
.level-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    text-align: left;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.level-badge:hover .level-tooltip,
.level-badge:focus .level-tooltip {
    opacity: 1;
    visibility: visible;
}

.level-tooltip-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.level-tooltip-bar-track {
    height: 6px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.level-tooltip-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.level-tooltip-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.6;
}

.level-tooltip-row span:last-child {
    color: #cbd5e1;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
    .level-badge-fill,
    .level-tooltip-bar-fill {
        transition: none;
    }

    .level-badge--level-up,
    .level-badge-xp-pop {
        animation: none;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .intensity-badge {
        margin-left: 8px;
        padding: 4px 9px 5px;
        gap: 4px;
    }

    .vip-badge {
        padding: 3px 8px;
        gap: 3px;
        font-size: 0.65rem;
    }

    .level-badge {
        min-width: 54px;
        gap: 3px;
        padding: 4px 9px 6px;
        font-size: 0.65rem;
    }

    .level-badge-label,
    .level-badge-number {
        font-size: 0.65rem;
    }

    .level-badge-bar {
        height: 3px;
    }

    .level-tooltip {
        left: 0;
        transform: none;
        min-width: 160px;
    }

    .level-badge-xp-pop {
        font-size: 0.58rem;
        padding: 4px 7px;
    }

    .intensity-label {
        display: none; /* Hide label on mobile, show only icon */
    }

    .intensity-icon {
        font-size: 1rem;
    }

    .intensity-label {
        font-size: 0.65rem;
    }
}

/* =========================
   Extreme Navbar Theme
   ========================= */
/* Only change the FunCards logo to red in extreme mode */
.nav-extreme .nav-logo-text {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* LGBTQ flag on logo for same-sex couples: one letter = one color (6 flag colors cycled over "FunCards") */
.nav-logo-text-rainbow {
    background: linear-gradient(
        90deg,
        #E40303 0%, #E40303 12.5%,
        #FF8C00 12.5%, #FF8C00 25%,
        #FFED00 25%, #FFED00 37.5%,
        #008026 37.5%, #008026 50%,
        #24408E 50%, #24408E 62.5%,
        #732982 62.5%, #732982 75%,
        #E40303 75%, #E40303 87.5%,
        #FF8C00 87.5%, #FF8C00 100%
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* =========================
   Volume Control Popup
   ========================= */
.nav-volume-control {
    position: relative !important; /* Ensure parent has position for absolute child */
    /* Prevent layout shift when popup opens */
    min-width: 44px; /* Approximate width to prevent shift */
    /* Prevent position changes */
    display: inline-block;
    vertical-align: middle;
}

.volume-popup {
    position: absolute !important; /* Force absolute positioning */
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important; /* Prevent left positioning override */
    z-index: 150;
    animation: slideDown 0.15s ease;
    /* Prevent position shift - ensure stable positioning */
    will-change: opacity, transform;
    transform: translateZ(0) !important; /* Force hardware acceleration, prevent position changes */
    backface-visibility: hidden;
    /* Ensure popup doesn't cause layout shift */
    margin: 0 !important;
    padding: 0 !important;
}

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

.volume-popup-content {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

.volume-popup-header {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.volume-popup-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(148, 163, 184, 0.4);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
}

.volume-popup-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.8);
    transition: all 0.15s ease;
    margin-top: -4px;
}

.volume-popup-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.8);
    transition: all 0.15s ease;
}

.volume-popup-slider:hover::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 1);
}

.volume-popup-slider:hover::-moz-range-thumb {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 1);
}

.volume-popup-slider::-webkit-slider-runnable-track {
    background: rgba(148, 163, 184, 0.4);
    height: 6px;
    border-radius: 3px;
}

.volume-popup-slider::-moz-range-track {
    background: rgba(148, 163, 184, 0.4);
    height: 6px;
    border-radius: 3px;
}

.volume-popup-slider::-moz-range-progress {
    background: #3b82f6;
    height: 6px;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 640px) {
    .volume-popup-content {
        min-width: 120px;
        padding: 6px 10px;
    }
}
