/* ================================================
   Custom Scrollbar (Themed)
   ================================================ */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 39, 54, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b4a5a 0%, #2a3546 100%);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4a5a6a 0%, #3a4556 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #3b4a5a rgba(30, 39, 54, 0.3);
}

/* Thin scrollbar variant */
.thin-scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Lyrics scrollbar */
.lyrics-scroll::-webkit-scrollbar {
    width: 6px;
}
.lyrics-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.lyrics-scroll::-webkit-scrollbar-thumb {
    background-color: #334155;
    border-radius: 20px;
}

/* Active navigation link */
.nav-link.active {
    background-color: rgba(19, 91, 236, 0.1);
    color: #135bec;
}
.nav-link.active .material-symbols-outlined {
    color: #135bec;
}

/* Song row hover effect */
.song-row:hover .play-icon {
    opacity: 1;
}
.song-row:hover .track-number {
    opacity: 0;
}

/* Currently playing song */
.song-row.playing {
    background-color: rgba(19, 91, 236, 0.1);
    border-left: 3px solid #135bec;
}
.song-row.playing .track-number {
    opacity: 0;
}
.song-row.playing .play-icon {
    opacity: 1;
    color: #135bec;
}

/* Volume slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: linear-gradient(to right, #94a3b8 0%, #64748b 100%);
    border-radius: 999px;
}

#volume-slider::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #94a3b8 0%, #64748b 100%);
}

#volume-slider::-moz-range-track {
    background: linear-gradient(to right, #94a3b8 0%, #64748b 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    margin-top: -4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    cursor: pointer;
}

input[type="range"]::-moz-range-track {
    height: 4px;
    background: linear-gradient(to right, #94a3b8 0%, #64748b 100%);
    border-radius: 999px;
}

input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    cursor: pointer;
}

/* Progress bar animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(19, 91, 236, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(19, 91, 236, 0.8);
    }
}

.playing-indicator {
    animation: pulse-glow 2s infinite;
}

/* Audio bars animation for currently playing */
.audio-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    height: 16px;
    width: 20px;
}

.audio-bars .bar {
    width: 3px;
    background: #135bec;
    border-radius: 2px;
    animation: audio-wave 1s ease-in-out infinite;
}

.audio-bars .bar:nth-child(1) { animation-delay: 0s; }
.audio-bars .bar:nth-child(2) { animation-delay: 0.2s; }
.audio-bars .bar:nth-child(3) { animation-delay: 0.4s; }
.audio-bars .bar:nth-child(4) { animation-delay: 0.1s; }

.audio-bars.paused .bar {
    animation-play-state: paused;
    height: 4px !important;
}

@keyframes audio-wave {
    0%, 100% { height: 4px; }
    50% { height: 16px; }
}

/* Volume slider styling with lighter track */
#volume-slider::-webkit-slider-track {
    background: linear-gradient(to right, #64748b 0%, #475569 100%);
}

#volume-slider::-moz-range-track {
    background: linear-gradient(to right, #64748b 0%, #475569 100%);
}

/* Lyrics highlight */
.lyrics-line {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}
.lyrics-line.active {
    background-color: rgba(19, 91, 236, 0.2);
    color: #fff;
    transform: scale(1.02);
}
.lyrics-line.past {
    opacity: 0.5;
}

/* Album card hover */
.album-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Loading spinner */
.spinner {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Fade in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #1e2736 25%, #2a3548 50%, #1e2736 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Button press effect */
.btn-press:active {
    transform: scale(0.95);
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e2736;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 100;
    opacity: 0;
    transition: all 0.3s ease;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #sidebar {
        display: none;
    }
    #lyrics-panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        z-index: 60;
    }
    
    /* Ensure content area scrolls properly on mobile */
    #content {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto !important;
        overflow-x: hidden;
    }
    
    /* Mobile nav scrollable styling */
    #mobile-nav {
        -webkit-overflow-scrolling: touch;
    }

    /* Slightly smaller typography on mobile */
    body {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Mobile navigation active state */
.mobile-nav-link.active {
    color: #135bec;
}
.mobile-nav-link.active .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
}

/* Mobile player show state */
#mobile-player-bar.show {
    transform: translateY(0) !important;
}

/* Full screen mobile player */
#mobile-fullscreen-player {
    transition: transform 0.3s ease-out;
}
#mobile-fullscreen-player.hidden {
    transform: translateY(100%);
}

/* Safe area for iOS notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    #mobile-nav {
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(64px + env(safe-area-inset-bottom));
    }
    #mobile-player-bar {
        bottom: calc(64px + env(safe-area-inset-bottom));
    }
}

/* ================================================
   Custom Modal & Notification System
   ================================================ */

/* Modal Overlay */
.mym-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1rem;
}

.mym-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.mym-modal {
    background: linear-gradient(145deg, #1e2736 0%, #151b26 100%);
    border: 1px solid #2a3546;
    border-radius: 1.25rem;
    max-width: 420px;
    width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    overflow: hidden;
}

.mym-modal-overlay.show .mym-modal {
    transform: scale(1) translateY(0);
}

/* Modal Icon */
.mym-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.mym-modal-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.2;
    animation: pulse-ring 2s ease-out infinite;
}

.mym-modal-icon.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.mym-modal-icon.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.mym-modal-icon.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.mym-modal-icon.info {
    background: linear-gradient(135deg, #135bec 0%, #0f4bc4 100%);
    color: white;
}

.mym-modal-icon .material-symbols-outlined {
    font-size: 32px;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Modal Content */
.mym-modal-header {
    padding: 1.75rem 1.5rem 0;
    text-align: center;
}

.mym-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.mym-modal-message {
    color: #94a3b8;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.mym-modal-message strong {
    color: white;
    font-weight: 600;
}

/* Modal Body (for checkboxes, etc) */
.mym-modal-body {
    padding: 1.25rem 1.5rem;
}

.mym-modal-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #2a3546;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mym-modal-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #3a4556;
}

.mym-modal-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #475569;
    background: transparent;
    cursor: pointer;
    accent-color: #135bec;
}

.mym-modal-checkbox input[type="checkbox"]:checked {
    background: #135bec;
    border-color: #135bec;
}

.mym-modal-checkbox-label {
    flex: 1;
}

.mym-modal-checkbox-title {
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
}

.mym-modal-checkbox-desc {
    color: #64748b;
    font-size: 0.8125rem;
    margin-top: 2px;
}

/* Modal Actions */
.mym-modal-actions {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.mym-modal-btn {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mym-modal-btn .material-symbols-outlined {
    font-size: 20px;
}

.mym-modal-btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid #2a3546;
}

.mym-modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mym-modal-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.mym-modal-btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.mym-modal-btn-primary {
    background: linear-gradient(135deg, #135bec 0%, #0f4bc4 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(19, 91, 236, 0.3);
}

.mym-modal-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(19, 91, 236, 0.4);
}

/* ================================================
   Toast Notifications (Enhanced)
   ================================================ */

.mym-toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.mym-toast {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(145deg, #1e2736 0%, #151b26 100%);
    border: 1px solid #2a3546;
    border-radius: 0.875rem;
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    min-width: 300px;
    max-width: 420px;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mym-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.mym-toast.hiding {
    transform: translateX(120%);
    opacity: 0;
}

.mym-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mym-toast-icon .material-symbols-outlined {
    font-size: 20px;
}

.mym-toast.success .mym-toast-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.mym-toast.error .mym-toast-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.mym-toast.warning .mym-toast-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.mym-toast.info .mym-toast-icon {
    background: linear-gradient(135deg, #135bec 0%, #0f4bc4 100%);
    color: white;
}

.mym-toast-content {
    flex: 1;
    min-width: 0;
}

.mym-toast-title {
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.mym-toast-message {
    color: #94a3b8;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.mym-toast-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mym-toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mym-toast-close .material-symbols-outlined {
    font-size: 18px;
}

/* Toast progress bar */
.mym-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 0 0 0.875rem 0.875rem;
    background: currentColor;
    opacity: 0.3;
    overflow: hidden;
}

.mym-toast-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: inherit;
    opacity: 1;
}

.mym-toast.success .mym-toast-progress {
    background: #22c55e;
}

.mym-toast.error .mym-toast-progress {
    background: #ef4444;
}

.mym-toast.warning .mym-toast-progress {
    background: #f59e0b;
}

.mym-toast.info .mym-toast-progress {
    background: #135bec;
}

@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Shake animation for wrong password */
@keyframes shake {
    0%, 100% { transform: translateX(0) scale(1); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px) scale(1); }
    20%, 40%, 60%, 80% { transform: translateX(8px) scale(1); }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .mym-toast-container {
        left: 1rem;
        right: 1rem;
        top: 1rem;
    }
    
    .mym-toast {
        min-width: unset;
        max-width: unset;
    }
    
    .mym-modal {
        margin: 0 1rem;
    }
}

/* ================================================
   Custom Tooltips
   ================================================ */

[data-tooltip] {
    position: relative;
}

[data-tooltip]::before,
[data-tooltip]::after {
    position: absolute;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tooltip arrow */
[data-tooltip]::before {
    content: '';
    border: 6px solid transparent;
}

/* Tooltip content */
[data-tooltip]::after {
    content: attr(data-tooltip);
    background: linear-gradient(145deg, #1e2736 0%, #151b26 100%);
    border: 1px solid #2a3546;
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Tooltip position: top (default) */
[data-tooltip]::before {
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #2a3546;
}

[data-tooltip]::after {
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
}

[data-tooltip]:hover::after {
    transform: translateX(-50%) translateY(0);
}

/* Tooltip position: bottom */
[data-tooltip-position="bottom"]::before {
    top: calc(100% + 4px);
    bottom: auto;
    border-top-color: transparent;
    border-bottom-color: #2a3546;
}

[data-tooltip-position="bottom"]::after {
    top: calc(100% + 10px);
    bottom: auto;
    transform: translateX(-50%) translateY(-4px);
}

[data-tooltip-position="bottom"]:hover::after {
    transform: translateX(-50%) translateY(0);
}

/* Tooltip position: left */
[data-tooltip-position="left"]::before {
    right: calc(100% + 4px);
    left: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    border-top-color: transparent;
    border-left-color: #2a3546;
}

[data-tooltip-position="left"]::after {
    right: calc(100% + 10px);
    left: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) translateX(4px);
}

[data-tooltip-position="left"]:hover::after {
    transform: translateY(-50%) translateX(0);
}

/* Tooltip position: right */
[data-tooltip-position="right"]::before {
    left: calc(100% + 4px);
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    border-top-color: transparent;
    border-right-color: #2a3546;
}

[data-tooltip-position="right"]::after {
    left: calc(100% + 10px);
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
}

[data-tooltip-position="right"]:hover::after {
    transform: translateY(-50%) translateX(0);
}

/* ================================================
   Queue Panel
   ================================================ */

#queue-panel {
    transition: all 0.3s ease;
}

#queue-panel .queue-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#queue-panel .queue-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

#queue-panel .queue-item.active {
    background: rgba(19, 91, 236, 0.15);
    border-left: 3px solid #135bec;
}

#queue-panel .queue-item-cover {
    width: 40px;
    height: 40px;
    border-radius: 0.375rem;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

#queue-panel .queue-item-info {
    flex: 1;
    min-width: 0;
}

#queue-panel .queue-item-title {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#queue-panel .queue-item-artist {
    color: #64748b;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#queue-panel .queue-item-index {
    color: #64748b;
    font-size: 0.75rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

#queue-panel .queue-item.active .queue-item-title {
    color: #135bec;
}

#queue-panel .queue-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #64748b;
    text-align: center;
    padding: 2rem;
}

#queue-panel .queue-empty .material-symbols-outlined {
    font-size: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ================================================
   About Card Popup
   ================================================ */

.about-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1rem;
}

.about-overlay.show {
    opacity: 1;
    visibility: visible;
}

.about-card {
    background: linear-gradient(145deg, #1e2736 0%, #151b26 100%);
    border: 1px solid #2a3546;
    border-radius: 1.5rem;
    max-width: 340px;
    width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 25px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    overflow: hidden;
    text-align: center;
}

.about-overlay.show .about-card {
    transform: scale(1) translateY(0);
}

.about-card-header {
    position: relative;
    padding: 2rem 1.5rem 0;
}

.about-card-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.about-card-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.about-card-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    background-size: cover;
    background-position: center;
    border: 4px solid #2a3546;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(19, 91, 236, 0.2);
    animation: avatar-pulse 3s ease-in-out infinite;
}

@keyframes avatar-pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(19, 91, 236, 0.2); }
    50% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(19, 91, 236, 0.1); }
}

.about-card-body {
    padding: 0 1.5rem 1.5rem;
}

.about-card-role {
    display: inline-block;
    background: linear-gradient(135deg, #135bec 0%, #0f4bc4 100%);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}

.about-card-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.about-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #2a3546, transparent);
    margin: 0 0 1.25rem;
}

.about-card-contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.about-card-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.8125rem;
    transition: color 0.2s ease;
}

.about-card-contact-item:hover {
    color: #135bec;
}

.about-card-contact-item .material-symbols-outlined {
    font-size: 18px;
    color: #64748b;
}

.about-card-footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid #2a3546;
    padding: 1rem 1.5rem;
}

.about-card-footer-text {
    color: #64748b;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-card-footer-text span {
    color: #ef4444;
}

/* ================================================
   Mobile More Menu
   ================================================ */

#mobile-more-menu {
    animation: mobileMenuSlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-more-menu.hiding {
    animation: mobileMenuSlideDown 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

#mobile-more-btn.active {
    color: #135bec;
}

#mobile-more-btn.active .material-symbols-outlined {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

#mobile-more-btn .material-symbols-outlined {
    transition: transform 0.2s ease;
}
