/* ==========================================================================
   AVA PANEL - LUXURY GOLD REDESIGN (DARK & LIGHT THEMES)
   ========================================================================== */

:root, [data-theme="dark"] {
    --gold-300: #FFE082;
    --gold-400: #FFD54F;
    --gold-500: #D4AF37;
    --gold-600: #AA771C;
    --gold-700: #85580C;
    --gold-gradient: linear-gradient(135deg, #FFE082 0%, #D4AF37 50%, #996515 100%);
    --gold-gradient-hover: linear-gradient(135deg, #FFF1C5 0%, #F5D77F 50%, #B8860B 100%);
    --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
    --gold-glow-lg: 0 0 45px rgba(212, 175, 55, 0.55);
    
    --bg-primary: #0a0b10;
    --bg-secondary: #12131b;
    --bg-card: rgba(20, 22, 32, 0.72);
    --bg-card-hover: rgba(28, 31, 46, 0.9);
    --bg-input: rgba(15, 16, 24, 0.85);
    
    --glass-border: rgba(212, 175, 55, 0.18);
    --glass-border-hover: rgba(212, 175, 55, 0.6);
    --glass-backdrop: blur(16px);
    
    --text-primary: #f8f9fc;
    --text-secondary: #b5b9cb;
    --text-muted: #72778e;
    --text-gold: #f3c642;
    
    --nav-bg: rgba(10, 11, 16, 0.88);
    --player-bg: rgba(14, 16, 24, 0.94);
    --modal-bg: rgba(10, 11, 16, 0.95);
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 20px 40px -10px rgba(212, 175, 55, 0.25);
    --shadow-luxury: 0 12px 35px rgba(0, 0, 0, 0.5);
    
    --orb-1-color: rgba(212, 175, 55, 0.12);
    --orb-2-color: rgba(170, 119, 28, 0.08);
    --orb-3-color: rgba(255, 224, 130, 0.06);
}

[data-theme="light"] {
    --gold-300: #F5D77F;
    --gold-400: #D4AF37;
    --gold-500: #B8860B;
    --gold-600: #8C6500;
    --gold-700: #6B4D00;
    --gold-gradient: linear-gradient(135deg, #DFB13D 0%, #B8860B 50%, #8C6500 100%);
    --gold-gradient-hover: linear-gradient(135deg, #F0C458 0%, #C99718 50%, #9E7406 100%);
    --gold-glow: 0 0 20px rgba(184, 134, 11, 0.25);
    --gold-glow-lg: 0 0 35px rgba(184, 134, 11, 0.4);
    
    --bg-primary: #f4f6fa;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-input: rgba(240, 243, 249, 0.95);
    
    --glass-border: rgba(184, 134, 11, 0.2);
    --glass-border-hover: rgba(184, 134, 11, 0.55);
    --glass-backdrop: blur(16px);
    
    --text-primary: #12141e;
    --text-secondary: #484e65;
    --text-muted: #82889e;
    --text-gold: #b8860b;
    
    --nav-bg: rgba(255, 255, 255, 0.9);
    --player-bg: rgba(255, 255, 255, 0.96);
    --modal-bg: rgba(255, 255, 255, 0.98);
    
    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 35px -10px rgba(184, 134, 11, 0.2);
    --shadow-luxury: 0 12px 35px rgba(0, 0, 0, 0.08);
    
    --orb-1-color: rgba(212, 175, 55, 0.08);
    --orb-2-color: rgba(184, 134, 11, 0.05);
    --orb-3-color: rgba(255, 224, 130, 0.05);
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    padding-bottom: 120px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
    user-select: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.35);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Background Glows */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}
.orb-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    background: var(--orb-1-color);
}
.orb-2 {
    width: 450px;
    height: 450px;
    bottom: 20%;
    left: -150px;
    background: var(--orb-2-color);
}
.orb-3 {
    width: 350px;
    height: 350px;
    top: 40%;
    right: 20%;
    background: var(--orb-3-color);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}
.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-hover);
}

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #0b0c10 !important;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--gold-glow-lg);
    filter: brightness(1.08);
}
.btn-gold:active {
    transform: translateY(0);
}

.btn-glass {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.65rem 1.2rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.btn-glass:hover {
    border-color: var(--gold-500);
    color: var(--text-gold);
    background: var(--bg-card-hover);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.logo-icon {
    font-size: 1.8rem;
    color: var(--gold-500);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
    animation: rotateVinyl 12s linear infinite;
}
@keyframes rotateVinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.logo-text {
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Search Bar */
.header-search-wrapper {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.header-search-input-box {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 0.5rem 1rem;
    gap: 0.75rem;
    transition: all 0.25s ease;
}
.header-search-input-box:focus-within {
    border-color: var(--gold-500);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
    background: var(--bg-secondary);
}
.header-search-input-box i {
    color: var(--text-gold);
    font-size: 1.05rem;
}
.header-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.92rem;
}
.header-search-input::placeholder {
    color: var(--text-muted);
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    background: var(--modal-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-luxury);
    padding: 1rem;
    display: none;
    z-index: 120;
    max-height: 420px;
    overflow-y: auto;
}
.search-results-dropdown.active {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.search-group-title {
    font-size: 0.8rem;
    color: var(--text-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.search-item:hover {
    background: var(--bg-card-hover);
}
.search-item-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}
.search-item-info {
    flex: 1;
    overflow: hidden;
}
.search-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-item-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.theme-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    color: var(--text-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.theme-toggle-btn:hover {
    border-color: var(--gold-500);
    box-shadow: var(--gold-glow);
    transform: rotate(15deg);
}

.nav-user-profile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.8rem;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    transition: all 0.2s ease;
}
.nav-user-profile:hover {
    border-color: var(--gold-500);
    background: var(--bg-card-hover);
}
.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gold-500);
    object-fit: cover;
}
.nav-username {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   HERO BANNER SLIDER
   ========================================================================== */
.hero-slider-section {
    margin: 2rem 0;
    position: relative;
}
.hero-slider-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 380px;
    box-shadow: var(--shadow-luxury);
    border: 1px solid var(--glass-border);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.03);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 11, 16, 0.95) 0%, rgba(10, 11, 16, 0.65) 50%, rgba(10, 11, 16, 0.2) 100%);
}
[data-theme="light"] .hero-slide-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.2) 100%);
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 3rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold-500);
    border-radius: 30px;
    color: var(--text-gold);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.6;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    width: 32px;
    background: var(--gold-500);
    box-shadow: 0 0 10px var(--gold-500);
}

/* ==========================================================================
   GENRE / CATEGORIES PILLS
   ========================================================================== */
.genre-bar-section {
    margin-bottom: 2.5rem;
}
.genre-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.genre-bar-wrapper::-webkit-scrollbar {
    display: none;
}
.genre-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: var(--glass-backdrop);
}
.genre-pill i {
    color: var(--text-gold);
    font-size: 1rem;
    transition: transform 0.25s ease;
}
.genre-pill:hover, .genre-pill.active {
    background: var(--gold-gradient);
    color: #0b0c10 !important;
    border-color: transparent;
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}
.genre-pill:hover i, .genre-pill.active i {
    color: #0b0c10;
    transform: scale(1.15);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.section-title {
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
}
.section-title i {
    color: var(--text-gold);
    font-size: 1.3rem;
}
.section-more-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-gold);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.2s ease;
}
.section-more-link:hover {
    transform: translateX(-4px);
}

/* ==========================================================================
   LIVE RADIO SECTION
   ========================================================================== */
.radios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}
.radio-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.radio-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-hover);
}
.radio-img-wrapper {
    width: 75px;
    height: 75px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.radio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.radio-card:hover .radio-img {
    transform: scale(1.08);
}
.radio-live-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(0.95); }
}
.radio-info {
    flex: 1;
    overflow: hidden;
}
.radio-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.radio-genre {
    font-size: 0.8rem;
    color: var(--text-gold);
    margin-bottom: 0.35rem;
}
.radio-listeners {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.radio-play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #0b0c10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.radio-card:hover .radio-play-btn {
    transform: scale(1.15);
}

/* ==========================================================================
   SONGS GRID & CARDS
   ========================================================================== */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.song-card {
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.song-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-hover);
}
.song-cover-box {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-bottom: 0.85rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
.song-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.song-card:hover .song-cover-img {
    transform: scale(1.06);
}
.song-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 11, 16, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease;
}
.song-card:hover .song-overlay {
    opacity: 1;
}
.song-quick-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #0b0c10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--gold-glow);
    transform: scale(0.85);
    transition: transform 0.2s ease;
}
.song-card:hover .song-quick-play {
    transform: scale(1);
}
.song-genre-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(10, 11, 16, 0.75);
    color: var(--gold-400);
    border: 1px solid rgba(212, 175, 55, 0.35);
    backdrop-filter: blur(8px);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}
.song-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.song-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
}
.song-card-artist {
    font-size: 0.82rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.6rem;
}
.song-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 0.5rem;
    margin-top: auto;
}
.song-stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.song-like-btn {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.song-like-btn.active, .song-like-btn:hover {
    color: #e74c3c;
    transform: scale(1.15);
}

/* ==========================================================================
   ARTISTS CAROUSEL / GRID
   ========================================================================== */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.artist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.2rem 0.8rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.artist-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-hover);
}
.artist-avatar-box {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: relative;
    margin-bottom: 0.9rem;
    padding: 3px;
    background: var(--gold-gradient);
    box-shadow: var(--gold-glow);
}
.artist-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-primary);
    transition: transform 0.4s ease;
}
.artist-card:hover .artist-avatar-img {
    transform: scale(1.05);
}
.artist-card-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.artist-card-role {
    font-size: 0.78rem;
    color: var(--text-gold);
}

/* ==========================================================================
   ALBUMS GRID
   ========================================================================== */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.album-card {
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.album-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-hover);
}
.album-cover-box {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-bottom: 0.8rem;
}
.album-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.album-card:hover .album-cover-img {
    transform: scale(1.06);
}
.album-year-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(10, 11, 16, 0.8);
    color: var(--gold-300);
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}
.album-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.album-card-artist {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   PLAYLISTS GRID
   ========================================================================== */
.playlists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}
.playlist-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}
.playlist-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-hover);
}
.playlist-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--gold-gradient);
    color: #0b0c10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
.playlist-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.playlist-count {
    font-size: 0.78rem;
    color: var(--text-gold);
}

/* ==========================================================================
   STICKY BOTTOM MINI-PLAYER
   ========================================================================== */
.mini-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--player-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
    padding: 0.65rem 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}
.mini-player-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    align-items: center;
    gap: 1.5rem;
}

.mini-track-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
}
.mini-cover-box {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}
.mini-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mini-track-details {
    overflow: hidden;
}
.mini-track-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-track-artist {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-center-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.mini-buttons-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.mini-btn {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.mini-btn:hover {
    color: var(--text-gold);
    transform: scale(1.15);
}
.mini-btn.active {
    color: var(--gold-500);
}
.mini-play-main-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #0b0c10 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    transition: transform 0.2s ease;
}
.mini-play-main-btn:hover {
    transform: scale(1.1);
}

.mini-scrubber-row {
    width: 100%;
    max-width: 580px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.mini-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.scrubber-track {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}
[data-theme="light"] .scrubber-track {
    background: rgba(0, 0, 0, 0.1);
}
.scrubber-fill {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 4px;
    width: 0%;
}

.mini-tools-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.volume-slider {
    width: 80px;
    height: 4px;
    accent-color: var(--gold-500);
    cursor: pointer;
}

/* ==========================================================================
   FULL-SCREEN LUXURY MODAL PLAYER
   ========================================================================== */
.full-player-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--modal-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: none;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    animation: zoomInPlayer 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes zoomInPlayer {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
.full-player-overlay.active {
    display: flex;
}

.full-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.full-player-close-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.full-player-close-btn:hover {
    border-color: var(--gold-500);
    color: var(--text-gold);
    transform: rotate(90deg);
}

.full-player-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: auto;
    width: 100%;
    align-items: center;
}

.full-disc-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.vinyl-disc-container {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, #2a2a30 0%, #15151b 50%, #0a0b0e 100%);
    border: 8px solid #1e2028;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), var(--gold-glow);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: rotateVinyl 20s linear infinite;
    animation-play-state: paused;
}
.vinyl-disc-container.playing {
    animation-play-state: running;
}
.vinyl-disc-art {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--gold-500);
    object-fit: cover;
}
.vinyl-center-pin {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-gradient);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.full-song-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}
.full-song-artist {
    font-size: 1.1rem;
    color: var(--text-gold);
    margin-bottom: 0.3rem;
}
.full-song-album {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.full-lyrics-box {
    height: 380px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-luxury);
}
.lyrics-line {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.lyrics-line.active {
    font-size: 1.45rem;
    color: #0b0c10;
    background: var(--gold-gradient);
    font-weight: 800;
    box-shadow: var(--gold-glow);
    transform: scale(1.05);
}

/* ==========================================================================
   AUTH PAGES & PROFILE (LOGIN / REGISTER)
   ========================================================================== */
.auth-container {
    max-width: 480px;
    margin: 3rem auto;
    padding: 2.5rem;
}
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-tabs {
    display: flex;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 4px;
    margin-bottom: 1.8rem;
}
.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.6rem;
    border-radius: 10px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.2s ease;
    cursor: pointer;
}
.auth-tab.active {
    background: var(--gold-gradient);
    color: #0b0c10;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.25s ease;
}
.form-control:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
    background: var(--bg-secondary);
}

/* ==========================================================================
   ADMIN PANEL STYLING (LUXURY GOLD & DARK/LIGHT MODE)
   ========================================================================== */
.admin-body {
    padding-bottom: 0 !important;
    background-color: var(--bg-primary);
}

.admin-layout-wrapper {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
    gap: 1.8rem;
    padding: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.admin-sidebar-nav {
    position: sticky;
    top: 1.5rem;
    height: calc(100vh - 3rem);
    padding: 1.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    z-index: 50;
    overflow-y: auto;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}
.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.admin-menu-link i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    color: var(--text-gold);
    transition: transform 0.2s ease;
}
.admin-menu-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-gold);
    border-color: var(--glass-border);
    transform: translateX(-4px);
}
.admin-menu-link.active {
    background: var(--gold-gradient);
    color: #0b0c10 !important;
    font-weight: 800;
    box-shadow: var(--gold-glow);
    border-color: transparent;
}
.admin-menu-link.active i {
    color: #0b0c10 !important;
}

.admin-content-main {
    flex: 1;
    min-width: 0;
}
.admin-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.8rem;
    margin-bottom: 2rem;
    border-radius: 18px;
}
.admin-user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.9rem;
    background: var(--bg-input);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.stat-card {
    padding: 1.5rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
.stat-card:hover {
    border-color: var(--gold-500);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.stat-icon {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gold);
    flex-shrink: 0;
}
.stat-info .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.stat-info .stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-primary);
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.detail-card {
    padding: 1.8rem;
    border-radius: 20px;
}
.detail-card.full-width-grid {
    grid-column: 1 / -1;
}
.card-header-sub, .card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 0.8rem;
}
.card-header-sub i, .card-header i {
    color: var(--text-gold);
}
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.detail-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    transition: all 0.2s ease;
}
.detail-row-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-500);
}
.badge-index {
    font-weight: 800;
    color: var(--text-gold);
    margin-left: 0.5rem;
}
.badge-like {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.admin-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 1.8rem;
}
.upload-card, .list-card {
    padding: 1.8rem;
    border-radius: 20px;
}
.full-width-card {
    grid-column: 1 / -1;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-wrapper .input-icon {
    position: absolute;
    right: 12px;
    color: var(--text-gold);
    font-size: 0.95rem;
}
.input-wrapper input {
    width: 100%;
    padding: 0.75rem 2.4rem 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}
.input-wrapper input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
    background: var(--bg-secondary);
}
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
}
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    resize: vertical;
}
.file-upload-wrapper {
    position: relative;
}
.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.file-upload-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px dashed var(--gold-500);
    border-radius: 12px;
    color: var(--text-gold);
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.file-upload-trigger:hover, .file-upload-trigger.file-selected {
    background: rgba(212, 175, 55, 0.15);
    border-style: solid;
    color: var(--text-primary);
}

.tracks-list-container {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 650px;
    overflow-y: auto;
}
.table-header.admin-table-header {
    display: grid;
    grid-template-columns: 60px 1fr 140px 60px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: var(--text-gold);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.table-row.admin-table-row {
    display: grid;
    grid-template-columns: 60px 1fr 140px 60px;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    transition: all 0.2s ease;
}
.table-row.admin-table-row:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-500);
}
.col-cover img, .table-user-avatar img, .album-row-cover img, .artist-row-avatar img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
}
.song-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}
.song-artist {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(212, 175, 55, 0.12);
    color: var(--text-gold);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    margin-left: 0.3rem;
}
.btn-danger {
    background: #e74c3c;
    color: #fff !important;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.btn-danger:hover {
    background: #c0392b;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
}
.btn-primary {
    background: var(--gold-gradient);
    color: #0b0c10 !important;
    font-weight: 700;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--gold-glow);
    transition: all 0.2s ease;
}
.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}
.btn-block {
    width: 100%;
}

.artists-admin-list, .albums-admin-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.artist-admin-row, .album-admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.2rem;
    border-radius: 14px;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    gap: 1rem;
    transition: all 0.2s ease;
}
.artist-admin-row:hover, .album-admin-row:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-500);
}
.artist-row-avatar, .album-row-cover {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.album-row-cover {
    border-radius: 10px;
}
.artist-row-avatar img, .album-row-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.artist-row-info, .album-row-info {
    flex: 1;
}
.artist-row-info h4, .album-row-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
}
.artist-bio-snippet {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 450px;
}
.artist-counters {
    display: flex;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-gold);
    margin-top: 0.2rem;
}

.admin-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.6rem;
}
.admin-data-table th {
    padding: 0.9rem 1.1rem;
    color: var(--text-gold);
    font-weight: 700;
    text-align: right;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.admin-data-table td {
    padding: 0.9rem 1.1rem;
    background: var(--bg-input);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.88rem;
}
.admin-data-table tr td:first-child {
    border-radius: 0 12px 12px 0;
    border-right: 1px solid var(--glass-border);
}
.admin-data-table tr td:last-child {
    border-radius: 12px 0 0 12px;
    border-left: 1px solid var(--glass-border);
}
.admin-data-table tr:hover td {
    background: var(--bg-card-hover);
    border-color: var(--gold-500);
}
.badge-admin {
    background: var(--gold-gradient);
    color: #0b0c10;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
}
.badge-user {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.settings-card {
    padding: 1.8rem;
    border-radius: 20px;
}
.form-group-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.switch-toggle-container {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}
.switch-toggle-container input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 34px;
    transition: 0.3s;
}
.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}
input:checked + .switch-slider {
    background: var(--gold-gradient);
}
input:checked + .switch-slider:before {
    transform: translateX(22px);
    background-color: #0b0c10;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.app-footer {
    text-align: center;
    padding: 2rem 0 4rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 3rem;
}
.app-footer a {
    color: var(--text-gold);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1100px) {
    .admin-layout-wrapper {
        grid-template-columns: 1fr;
    }
    .admin-sidebar-nav {
        position: relative;
        top: 0;
        height: auto;
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    .mini-player-container {
        grid-template-columns: 1fr auto;
    }
    .mini-tools-row {
        display: none;
    }
    .full-player-grid {
        grid-template-columns: 1fr;
    }
    .hero-slider-container {
        height: 320px;
    }
    .hero-title {
        font-size: 1.7rem;
    }
}
@media (max-width: 768px) {
    .header-search-wrapper {
        display: none;
    }
    .hero-slide-content {
        padding: 1.5rem;
    }
    .songs-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* ==========================================================================
   SOCIAL AUTH & OAUTH BUTTONS
   ========================================================================== */
.social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.social-divider:not(:empty)::before {
    margin-left: 1rem;
}
.social-divider:not(:empty)::after {
    margin-right: 1rem;
}
.social-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid var(--glass-border);
    text-decoration: none;
}
.btn-social.google {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}
.btn-social.google:hover {
    background: rgba(234, 67, 53, 0.15);
    border-color: #ea4335;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.2);
}
.btn-social.facebook {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}
.btn-social.facebook:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: #1877f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2);
}

/* ==========================================================================
   BADGES & PROVIDER LABELS
   ========================================================================== */
.badge-provider {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}
.badge-provider.local {
    background: rgba(212, 175, 55, 0.15);
    color: var(--text-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.badge-provider.google {
    background: rgba(234, 67, 53, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(234, 67, 53, 0.3);
}
.badge-provider.facebook {
    background: rgba(24, 119, 242, 0.15);
    color: #4facfe;
    border: 1px solid rgba(24, 119, 242, 0.3);
}

/* ==========================================================================
   ADVANCED ANALYTICS STYLES
   ========================================================================== */
.analytics-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.analytics-chart-container {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: var(--glass-backdrop);
    margin-bottom: 1.5rem;
}
.analytics-chart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 992px) {
    .analytics-chart-grid {
        grid-template-columns: 1fr;
    }
}
.activity-log-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}
.activity-log-table th {
    padding: 0.8rem 1rem;
    color: var(--text-gold);
    font-weight: 700;
    text-align: right;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.activity-log-table td {
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.85rem;
}
.activity-log-table tr td:first-child {
    border-radius: 0 10px 10px 0;
    border-right: 1px solid var(--glass-border);
}
.activity-log-table tr td:last-child {
    border-radius: 10px 0 0 10px;
    border-left: 1px solid var(--glass-border);
}
.activity-action-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}
.action-login { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.action-logout { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }
.action-register { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.action-play { background: rgba(212, 175, 55, 0.15); color: var(--text-gold); }
.action-like { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.action-comment { background: rgba(155, 89, 182, 0.15); color: #9b59b6; }

/* SMTP Test Box */
.smtp-test-box {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.3);
}
.smtp-status-result {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: none;
}
.smtp-status-result.success {
    display: block;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}
.smtp-status-result.error {
    display: block;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

