:root {
    --beige-modern: #f5f0e8;
    --beige-dark: #e8dcc8;
    --gold-metallic: #cfa341;
    --gold-light: #e8c84a;
    --gold-dark: #b8922f;
    --gold-gradient: linear-gradient(135deg, #cfa341, #b8922f);
    --dark-bg: #f5f0e8;
    --text-dark: #2c1810;
    --text-light: #5a4a3a;
    --accent-color: #d4a84a;
    --admin-bg: #f5f0e8;
    --error-red: #ff4757;
    --success-green: #2ecc71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Tahoma', sans-serif;
}

body {
    background-color: var(--beige-modern);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== شريط المعلومات المتحرك ===== */
.ticker-bar {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
}

.ticker-text {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0 50px;
    display: inline-block;
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== Enhanced Header ===== */
.main-header {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 100%);
    color: var(--text-dark);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(184, 146, 47, 0.25);
    position: sticky;
    top: 44px;
    z-index: 1000;
    border-bottom: 4px solid #cfa341;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.brand-logo .brand-logo-img {
    height: 165px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    display: block;
}

.admin-entry {
    display: none !important;
}

.header-btn {
    background: rgba(255,255,255,0.7);
    border: 2px solid #cfa341;
    color: var(--text-dark);
    width: 65px;
    height: 65px;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.header-btn i {
    font-size: 2rem;
    line-height: 1;
}

.header-btn:hover {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 163, 65, 0.4);
    border-color: #b8922f;
}

#homeBtn {
    background: rgba(255,255,255,0.7);
    border: 2px solid #cfa341;
    color: var(--text-dark);
    width: 65px;
    height: 65px;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

#homeBtn i {
    font-size: 2rem;
}

#homeBtn:hover {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 163, 65, 0.4);
    border-color: #b8922f;
}

/* ===== واجهة الإعلانات (سلايدر) ===== */
.ad-banner-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: transparent;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 2px solid #cfa341;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slider-track img {
    width: 100%;
    min-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    aspect-ratio: 16/5;
    border-radius: 14px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(207, 163, 65, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: #cfa341;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(207, 163, 65, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #cfa341;
}

.slider-dots .dot.active {
    background: #cfa341;
    transform: scale(1.2);
}

/* ===== Sidebar ===== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1500;
    display: none;
}

.sidebar-overlay.open {
    display: block;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #f5f0e8;
    z-index: 1600;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 30px 20px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
}

.sidebar-menu.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #cfa341;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.sidebar-header h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 800;
}

.close-sidebar {
    background: rgba(255,255,255,0.7);
    border: 2px solid #cfa341;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.close-sidebar:hover {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-tab-btn {
    background: rgba(255,255,255,0.6);
    border: 2px solid #e8dcc8;
    padding: 15px 20px;
    text-align: right;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-tab-btn.active {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    border-color: #b8922f;
    box-shadow: 0 4px 15px rgba(207, 163, 65, 0.3);
}

.sidebar-category {
    width: 100%;
}

.category-toggle {
    width: 100%;
    justify-content: space-between;
}

.category-arrow {
    transition: transform 0.3s ease;
    margin-right: auto;
}

.category-arrow.rotated {
    transform: rotate(180deg);
}

.category-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(255,255,255,0.3);
    border-radius: 12px;
    margin-top: 5px;
}

.category-list.open {
    max-height: 800px;
    overflow-y: auto;
}

.category-group {
    padding: 8px 12px;
}

.category-group-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #cfa341;
    padding: 8px 5px 4px 5px;
    border-bottom: 1px solid rgba(207, 163, 65, 0.2);
    margin-bottom: 4px;
}

.category-item {
    display: block;
    width: 100%;
    padding: 8px 15px;
    text-align: right;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: rgba(207, 163, 65, 0.15);
    color: #cfa341;
    padding-right: 20px;
}

/* ===== Navigation ===== */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 100%);
    border-bottom: 3px solid #cfa341;
    flex-wrap: wrap;
    position: sticky;
    top: 112px;
    z-index: 999;
}

.tab-btn {
    background: rgba(255,255,255,0.6);
    border: 2px solid #e8dcc8;
    color: var(--text-dark);
    padding: 14px 30px;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.tab-btn i {
    font-size: 1.4rem;
}

.tab-btn.active {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    border-color: #b8922f;
    box-shadow: 0 6px 20px rgba(207, 163, 65, 0.4);
}

/* ===== Container & Tabs ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    flex: 1;
    width: 100%;
}

.tab-pane {
    display: none;
    animation: fadeSlide 0.4s ease-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 25px 0;
    border-bottom: 3px solid rgba(207, 163, 65, 0.3);
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.section-main-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 800;
}

/* ===== أزرار عرض المزيد ===== */
.view-more-btn {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 163, 65, 0.3);
}

/* ===== عنوان الفنانين ===== */
.section-title-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
}

/* ===== Artists Grid ===== */
.artists-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.artist-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #e8dcc8;
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(184, 146, 47, 0.2);
    border-color: #cfa341;
}

.artist-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.artist-card-content {
    padding: 20px;
    text-align: center;
}

.artist-label {
    font-size: 0.8rem;
    color: #8a7a6a;
    margin-bottom: 6px;
    font-weight: 600;
}

.artist-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* ===== Tracks Grid ===== */
.tracks-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.premium-track-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: default;
    border: 2px solid #e8dcc8;
}

.premium-track-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(184, 146, 47, 0.2);
    border-color: #cfa341;
}

.premium-track-card .track-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.premium-track-card:hover .track-card-bg {
    transform: scale(1.05);
}

.track-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.95) 0%, rgba(44, 24, 16, 0.1) 60%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 20px 16px;
    color: white;
}

.track-card-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.track-card-info p {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 600;
    margin-bottom: 2px;
}

/* ===== عرض التصنيف في بطاقات الزفات ===== */
.track-category {
    display: inline-block;
    font-size: 0.65rem;
    background: rgba(207, 163, 65, 0.2);
    color: #cfa341;
    padding: 2px 10px;
    border-radius: 12px;
    margin-top: 4px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

/* ===== Track Type Badges ===== */
.track-type-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(4px);
}

.track-type-badge.new-release {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.track-type-badge.exclusive {
    background: linear-gradient(135deg, #cfa341, #b8922f);
}

/* ===== أيقونة النوتة الموسيقية بالوسط ===== */
.track-play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.premium-track-card:hover .track-play-icon-overlay {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.1);
}

.track-play-icon-overlay i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* ===== مؤشر تشغيل الصوت ===== */
.audio-playing-indicator {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 6;
    display: none;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.5);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(207, 163, 65, 0.3);
}

.audio-playing-indicator.active {
    display: flex;
}

.audio-playing-indicator i {
    color: #cfa341;
    font-size: 1rem;
    animation: musicPulse 0.8s ease-in-out infinite alternate;
}

.audio-playing-indicator .playing-dots {
    display: flex;
    gap: 3px;
    align-items: center;
}

.audio-playing-indicator .playing-dots span {
    display: block;
    width: 4px;
    height: 4px;
    background: #cfa341;
    border-radius: 50%;
    animation: dotBounce 0.6s ease-in-out infinite alternate;
}

.audio-playing-indicator .playing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.audio-playing-indicator .playing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes musicPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}

@keyframes dotBounce {
    0% { transform: translateY(0); opacity: 0.3; }
    100% { transform: translateY(-6px); opacity: 1; }
}

/* ===== شريط التقدم ===== */
.audio-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    width: 100%;
    padding: 4px 0;
}

.progress-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #cfa341;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(207, 163, 65, 0.6);
    transition: all 0.2s ease;
}

.progress-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(207, 163, 65, 0.8);
}

.progress-slider:active::-webkit-slider-thumb {
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(207, 163, 65, 0.9);
}

.current-time, .total-time {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
    min-width: 32px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ===== زر تشغيل/إيقاف ===== */
.play-pause-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(207, 163, 65, 0.3);
    color: #cfa341;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(207, 163, 65, 0.4);
    margin-top: 6px;
    backdrop-filter: blur(4px);
}

.play-pause-btn:hover {
    background: rgba(207, 163, 65, 0.6);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(207, 163, 65, 0.3);
}

/* ===== أزرار التحكم ===== */
.track-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.track-share-btn, 
.track-download-btn, 
.track-wa-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.08);
}

.track-share-btn:hover,
.track-download-btn:hover,
.track-wa-btn-icon:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255,255,255,0.25);
    color: white;
}

.badge-new {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(46, 204, 113, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 3;
}

.badge-hot {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 71, 87, 0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 3;
}

/* ===== Pagination ===== */
.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #dfe4ea;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    border-radius: 10px;
    background: #cfa341;
}

/* ===== Enhanced Footer ===== */
.main-footer {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 100%);
    padding: 60px 20px 40px;
    border-top: 4px solid #cfa341;
    margin-top: 60px;
    width: 100%;
    text-align: center;
    box-shadow: 0 -10px 30px rgba(184, 146, 47, 0.15);
}

.footer-brand {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-text {
    color: #5a4a3a;
    font-size: 1rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.footer-contact-box {
    background: rgba(255,255,255,0.6);
    padding: 35px 25px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: 2px solid #cfa341;
    backdrop-filter: blur(4px);
}

.contact-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.footer-wa-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    text-decoration: none;
    padding: 15px 50px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    direction: ltr;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.footer-wa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* ===== COMPLETE ADMIN & MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.8);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
}

.modal-overlay.open {
    display: block;
}

.password-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 400px;
    background: #f5f0e8;
    border-radius: 25px;
    z-index: 2100;
    display: none;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #cfa341;
}

.password-modal.open {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 3px solid #cfa341;
    padding-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.close-modal {
    background: rgba(255,255,255,0.7);
    border: 2px solid #cfa341;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
}

.modal-body {
    text-align: center;
}

.modal-body p {
    margin-bottom: 20px;
    color: #5a4a3a;
    font-weight: 600;
}

.modal-body input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #e8dcc8;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
}

.modal-body input:focus {
    border-color: #cfa341;
    outline: none;
    box-shadow: 0 0 10px rgba(207, 163, 65, 0.2);
}

.error-msg {
    color: var(--error-red);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: none;
}

.modal-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(207, 163, 65, 0.4);
}

/* ===== Admin Panel ===== */
.admin-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #f5f0e8;
    z-index: 2500;
    transition: left 0.4s ease;
    overflow-y: auto;
    padding: 20px;
}

.admin-panel.open {
    left: 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.8);
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border-bottom: 3px solid #cfa341;
    backdrop-filter: blur(4px);
}

.admin-header h3 {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text-dark);
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.admin-tab-btn {
    background: rgba(255,255,255,0.6);
    border: 2px solid #e8dcc8;
    padding: 12px 25px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.admin-tab-btn.active {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    border-color: #b8922f;
    box-shadow: 0 4px 15px rgba(207, 163, 65, 0.3);
}

.admin-tab {
    display: none;
}

.admin-tab.active {
    display: block;
}

.admin-card {
    background: rgba(255,255,255,0.8);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 2px solid #e8dcc8;
    backdrop-filter: blur(4px);
}

.admin-card h4 {
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-card input, .admin-card select, .admin-card textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid #e8dcc8;
    margin-bottom: 15px;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.8);
    color: var(--text-dark);
}

.admin-card input:focus, .admin-card select:focus, .admin-card textarea:focus {
    border-color: #cfa341;
    outline: none;
    box-shadow: 0 0 10px rgba(207, 163, 65, 0.15);
}

.file-label {
    display: block;
    background: rgba(255,255,255,0.6);
    padding: 15px;
    border-radius: 12px;
    border: 2px dashed #e8dcc8;
    text-align: center;
    cursor: pointer;
    margin-bottom: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.file-label:hover {
    background: rgba(255,255,255,0.9);
    border-color: #cfa341;
}

.file-label input {
    display: none;
}

.file-status-text {
    display: block;
    font-size: 0.8rem;
    color: #8a7a6a;
    margin-bottom: 15px;
    text-align: center;
}

.admin-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(207, 163, 65, 0.3);
}

.admin-btn-secondary {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.7);
    color: var(--text-dark);
    border: 2px solid #e8dcc8;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.admin-btn-secondary:hover {
    border-color: #cfa341;
    background: rgba(255,255,255,0.9);
}

.admin-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e8dcc8;
    gap: 15px;
}

.admin-list-item:last-child {
    border-bottom: none;
}

.actions-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.edit-btn {
    background: rgba(207, 163, 65, 0.15);
    border: 2px solid #cfa341;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-dark);
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 40px;
}

.edit-btn:hover {
    background: linear-gradient(135deg, #cfa341, #b8922f);
    color: white;
    border-color: #b8922f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 163, 65, 0.3);
}

.del-btn {
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid #ff4757;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    color: #ff4757;
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 40px;
}

.del-btn:hover {
    background: #ff4757;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.hidden {
    display: none !important;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 24, 16, 0.95);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    z-index: 9999;
    font-weight: 700;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid #cfa341;
}

.toast.error {
    background: rgba(255, 71, 87, 0.95);
    border-color: var(--error-red);
}

.toast.success {
    background: rgba(46, 204, 113, 0.95);
    border-color: var(--success-green);
}

/* ===== Leave Notification ===== */
.leave-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.leave-notification.show {
    display: flex;
}

.leave-modal-box {
    background: #f5f0e8;
    border-radius: 25px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 3px solid #cfa341;
    animation: modalPop 0.4s ease-out;
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.leave-modal-box h3 {
    font-size: 1.5rem;
    color: #2c1810;
    margin-bottom: 15px;
}

.leave-modal-box p {
    color: #5a4a3a;
    margin-bottom: 25px;
    font-size: 1rem;
}

.leave-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.leave-modal-actions button {
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.leave-confirm-btn {
    background: #ff4757;
    color: white;
}

.leave-confirm-btn:hover {
    background: #ff6b81;
    transform: translateY(-2px);
}

.leave-cancel-btn {
    background: rgba(255,255,255,0.7);
    color: #2c1810;
    border: 2px solid #cfa341;
}

.leave-cancel-btn:hover {
    background: #cfa341;
    color: white;
    transform: translateY(-2px);
}

/* ===== Upload Progress ===== */
.upload-progress-container {
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.upload-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #cfa341, #b8922f);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.upload-progress-text {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #2c1810;
    margin-top: 5px;
    font-weight: 700;
}

/* ===== Search ===== */
.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 20px 0;
    flex: 1;
    max-width: 300px;
}

.search-container input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 30px;
    border: 2px solid #e8dcc8;
    background: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.search-container input:focus {
    border-color: #cfa341;
    outline: none;
    box-shadow: 0 0 15px rgba(207, 163, 65, 0.15);
}

.search-container input::placeholder {
    color: #8a7a6a;
}

.admin-search {
    margin-bottom: 15px;
    max-width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .tracks-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .premium-track-card {
        aspect-ratio: 16/9;
    }
    .track-card-overlay {
        padding: 12px 14px 10px;
    }
    .track-card-info h3 {
        font-size: 0.9rem;
    }
    .track-card-info p {
        font-size: 0.7rem;
    }
    .artists-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .header-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .header-btn i {
        font-size: 1.4rem;
    }
    .header-btn-large {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .header-btn-large i {
        font-size: 1.4rem;
    }
    #homeBtn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    #homeBtn i {
        font-size: 1.4rem;
    }
    .brand-logo .brand-logo-img {
        height: 100px;
        max-width: 180px;
    }
    .section-title-img {
        max-width: 180px;
    }
    .ad-banner-slider {
        padding: 10px;
    }
    .slider-container {
        border-radius: 10px;
    }
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    .tab-btn {
        font-size: 0.9rem;
        padding: 10px 18px;
        gap: 8px;
    }
    .tab-btn i {
        font-size: 1rem;
    }
    .view-more-btn {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
    .section-title-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .section-main-title {
        font-size: 1.2rem;
    }
    .ticker-text {
        font-size: 0.85rem;
    }
    .search-container {
        max-width: 100%;
    }
    .search-container input {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}