@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800;900&display=swap');
:root { --bg-grad: linear-gradient(135deg, #09090b 0%, #17172b 100%); --glass-bg: rgba(255, 255, 255, 0.03); --glass-border: rgba(255, 255, 255, 0.08); --accent: #8a2be2; --text-main: #ffffff; --text-muted: #a0a0b0; }
body.theme-light { --bg-grad: linear-gradient(135deg, #f0f2f5 0%, #e0e5ec 100%); --glass-bg: rgba(255, 255, 255, 0.6); --glass-border: rgba(0, 0, 0, 0.1); --text-main: #111111; --text-muted: #555555; }
body { background: var(--bg-grad); background-attachment: fixed; color: var(--text-main); font-family: 'Poppins', sans-serif; margin: 0; padding: 20px 0; min-height: 100vh; }
.page-loader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: var(--bg-grad); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.4s ease, visibility 0.4s ease; animation: forceHideLoader 0.5s ease 2s forwards; }
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes forceHideLoader { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader-text { font-size: 80px; font-weight: 900; letter-spacing: -2px; color: rgba(255,255,255,0.05); background: linear-gradient(90deg, #ff007f, #8a2be2); background-repeat: no-repeat; background-size: 0% 100%; -webkit-background-clip: text; animation: fillText 0.8s ease-in-out forwards; }
@keyframes fillText { 0% { background-size: 0% 100%; } 100% { background-size: 100% 100%; } }

.container { max-width: 96%; margin: 0 auto; padding: 0 10px; }
nav { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); padding: 15px 40px; border-radius: 40px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.nav-left, .nav-right { display: flex; align-items: center; gap: 30px; }
nav h2 { margin: 0; background: linear-gradient(90deg, #ff007f, #8a2be2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; font-size: 32px; letter-spacing: -1px; }
nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 16px; transition: 0.3s; }
nav a:hover { color: var(--text-main); }
.avatar-dropdown { position: relative; display: inline-block; }
.nav-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: 0.3s; }
.nav-avatar:hover { transform: scale(1.05); }
.nav-avatar.plus-ring { border-color: #ff007f; box-shadow: 0 0 10px rgba(255,0,127,0.5); }
.avatar-menu { position: absolute; right: 0; top: 65px; background: #17172b; border: 1px solid var(--glass-border); border-radius: 20px; padding: 10px 0; width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 2000; pointer-events: none; }
.avatar-menu.show-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.avatar-menu a, .avatar-menu .menu-action { display: block; padding: 12px 25px; font-weight: 600; cursor: pointer; color: var(--text-muted); text-decoration: none; transition: 0.3s ease; }
.avatar-menu a:hover, .avatar-menu .menu-action:hover { background: rgba(255,255,255,0.05); color: #fff; }
body.theme-light .avatar-menu { background: #ffffff; border-color: #ddd; }
body.theme-light .avatar-menu a, body.theme-light .avatar-menu .menu-action { color: #111; }
body.theme-light .avatar-menu a:hover, body.theme-light .avatar-menu .menu-action:hover { background: rgba(0,0,0,0.05); }

.mix-banner { background: linear-gradient(135deg, #ff007f, #8a2be2, #00ff88); background-size: 300% 300%; animation: mixGradient 8s ease infinite; border-radius: 40px; padding: 60px 80px; display: flex; align-items: center; gap: 40px; cursor: pointer; margin-bottom: 50px; box-shadow: 0 20px 50px rgba(138, 43, 226, 0.3); transition: transform 0.3s ease; }
.mix-banner:hover { transform: scale(1.01); }
@keyframes mixGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.mix-banner-icon { width: 100px; height: 100px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 50px; color: #fff; flex-shrink: 0; backdrop-filter: blur(10px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); transition: transform 0.3s ease; }
.mix-banner:hover .mix-banner-icon { transform: scale(1.1); }
.mix-banner-text h2 { margin: 0 0 10px 0; font-size: 48px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); font-weight: 900; }
.mix-banner-text p { margin: 0; font-size: 20px; color: rgba(255,255,255,0.9); font-weight: 600; }

.box { background: var(--glass-bg); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); padding: 40px; border-radius: 40px; margin: 0 auto; width: 100%; max-width: 500px; box-sizing: border-box; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 50px; }
.hero-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 25px; padding: 15px; transition: 0.3s; }
.hero-card:hover { transform: translateY(-5px); }
.hero-card-cover-wrapper { position: relative; width: 100%; aspect-ratio: 1/1; border-radius: 15px; overflow: hidden; margin-bottom: 15px; cursor: pointer; }
.hero-card-cover { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.track-play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 50px; opacity: 0; transition: 0.3s; }
.hero-card-cover-wrapper:hover .track-play-overlay, .track-cover-wrapper:hover .track-play-overlay { opacity: 1; }
.hero-card-info h3 { margin: 0 0 5px 0; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card-info p { margin: 0; font-size: 13px; }
.hero-card-info a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.hero-card-info a:hover { color: var(--accent); text-decoration: underline; }

.track-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.track-item { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 15px 25px; border-radius: 30px; display: flex; align-items: center; justify-content: space-between; transition: all 0.3s ease; gap: 20px; }
.track-item:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.15); }
.track-info { display: flex; align-items: center; gap: 25px; flex: 1; z-index: 2; overflow: hidden; }
.track-cover-wrapper { position: relative; width: 70px; height: 70px; flex-shrink: 0; cursor: pointer; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.track-cover { width: 100%; height: 100%; object-fit: cover; }
.track-text h3 { margin: 0 0 6px 0; font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-text p { margin: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-text a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.track-text a:hover { color: var(--accent); text-decoration: underline; }

.chart-title { font-size: 4vw; font-weight: 900; text-transform: uppercase; background: linear-gradient(90deg, #ff007f, #00ff88); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 50px; transform: skewX(-10deg); text-align: center; letter-spacing: 2px; }
.chart-bold-list { display: flex; flex-direction: column; gap: 25px; padding: 0; }
.chart-bold-item { background: linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05)); border: 2px solid transparent; border-radius: 30px; padding: 20px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; transition: 0.3s; }
.chart-bold-item:hover { border-color: #00ff88; transform: scale(1.02) rotate(-0.5deg); box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2); z-index: 10; }
.chart-huge-number { position: absolute; right: -10px; bottom: -35px; font-size: 150px; font-weight: 900; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.05); z-index: 0; transition: 0.3s; pointer-events: none; }
.chart-bold-item:hover .chart-huge-number { -webkit-text-stroke: 2px rgba(0, 255, 136, 0.3); transform: translateX(-20px); }
body.theme-light .chart-huge-number { -webkit-text-stroke: 2px rgba(0,0,0,0.1); }

.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); backdrop-filter: blur(5px); align-items: center; justify-content: center; }
.modal.show { display: flex; }
.modal-content { position: relative; width: 90%; max-width: 450px; animation: slideDown 0.3s ease; }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close { position: absolute; right: 25px; top: 20px; font-size: 28px; font-weight: bold; color: var(--text-muted); cursor: pointer; }
.close:hover { color: #fff; }
input, select, textarea { background: rgba(0,0,0,0.25); color: #fff; border: 1px solid var(--glass-border); padding: 15px 25px; border-radius: 20px; width: 100%; box-sizing: border-box; margin-top: 8px; font-family: inherit; font-size: 16px; transition: 0.3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #8a2be2; background: rgba(0,0,0,0.4); }
body.theme-light input, body.theme-light select, body.theme-light textarea { background: rgba(0,0,0,0.05); color: #111; border-color: rgba(0,0,0,0.1); }
button, .btn { background: linear-gradient(90deg, #8a2be2, #ff007f); color: #fff; font-weight: 600; font-size: 16px; border: none; padding: 15px 35px; border-radius: 20px; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4); text-decoration: none; display: inline-block; text-align: center; }
button:hover, .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 0, 127, 0.5); }
.btn-plus { background: linear-gradient(90deg, #ff007f, #ff7b00); box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4); }
.btn-plus:hover { box-shadow: 0 6px 20px rgba(255, 0, 127, 0.7); }
.btn-discord { background: #5865F2; box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4); }
.btn-discord:hover { box-shadow: 0 6px 20px rgba(88, 101, 242, 0.7); }
.btn-icon { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: #fff; font-size: 20px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; width: 55px; height: 55px; box-shadow: none; z-index: 2; flex-shrink: 0; }
.btn-icon:hover { background: rgba(255,255,255,0.15); transform: scale(1.1); border-color: rgba(255,255,255,0.3); }
body.theme-light .btn-icon { color: #111; }

.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.admin-table th, .admin-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.admin-table th { background: rgba(255,255,255,0.05); }
.rank-badge { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: bold; background: linear-gradient(45deg, #ff007f, #8a2be2); color: #fff; }

.bottom-player { position: fixed; bottom: -120px; left: 50%; transform: translateX(-50%); width: 95%; max-width: 1600px; background: var(--glass-bg); backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50px; padding: 15px 40px; display: flex; align-items: center; justify-content: space-between; z-index: 1000; transition: 0.4s; }
.bottom-player.active { bottom: 25px; }
.player-info { display: flex; align-items: center; gap: 20px; width: 25%; overflow: hidden; }
.player-cover { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 15px rgba(0,0,0,0.4); animation: spin 8s linear infinite; animation-play-state: paused; flex-shrink: 0; }
.player-cover.playing { animation-play-state: running; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.player-text { overflow: hidden; }
.player-text h4 { margin: 0 0 5px 0; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-text p { margin: 0; font-size: 14px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-controls { display: flex; flex-direction: column; align-items: center; width: 50%; }
.control-buttons { display: flex; align-items: center; gap: 20px; margin-bottom: 10px; }
.ctrl-btn { background: rgba(255,255,255,0.05); border: 1px solid transparent; color: inherit; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: 0.3s; flex-shrink: 0; }
.ctrl-btn:hover { background: rgba(255,255,255,0.15); transform: scale(1.1); }
.ctrl-btn.active { color: #00ff88; border-color: #00ff88; }
.ctrl-play { width: 60px; height: 60px; font-size: 24px; background: linear-gradient(90deg, #8a2be2, #ff007f); box-shadow: 0 4px 15px rgba(138,43,226,0.4); color: #fff; }
.ctrl-play:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6); }
.progress-container { width: 100%; display: flex; align-items: center; gap: 15px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.progress-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; cursor: pointer; position: relative; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #8a2be2, #ff007f); border-radius: 4px; width: 0%; pointer-events: none; transition: width 0.1s linear; }
.volume-container { display: flex; align-items: center; gap: 15px; width: 25%; justify-content: flex-end; }
.volume-slider { -webkit-appearance: none; width: 120px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; outline: none; margin-top: 0; padding: 0; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--text-main); cursor: pointer; }

.artist-header { display: flex; align-items: center; gap: 40px; margin-bottom: 50px; background: var(--glass-bg); padding: 40px; border-radius: 40px; border: 1px solid var(--glass-border); }
.artist-header img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 40px rgba(0,0,0,0.5); flex-shrink: 0; }
.artist-header-info h1 { margin: 0 0 10px 0; font-size: 48px; display: flex; align-items: center; flex-wrap: wrap; }
.artist-header-info p { margin: 0; color: var(--text-muted); font-size: 18px; line-height: 1.6; }
.verified { color: #1da1f2; margin-left: 10px; font-size: 32px; }
.badge-18 { font-size: 12px; background: #ff4d4d; color: #fff; padding: 3px 8px; border-radius: 8px; font-weight: bold; margin-left: 8px; vertical-align: middle; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 30px; }

@media (max-width: 768px) {
    .container { padding: 0 10px; width: 100%; max-width: 100%; }
    nav { flex-direction: row; flex-wrap: wrap; border-radius: 20px; padding: 15px 20px; }
    .nav-left { gap: 15px; }
    .mix-banner { padding: 30px; gap: 20px; border-radius: 30px; flex-direction: column; text-align: center; }
    .mix-banner-icon { width: 70px; height: 70px; font-size: 35px; }
    .mix-banner-text h2 { font-size: 32px; }
    .hero-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 30px; }
    .hero-card { padding: 10px; border-radius: 20px; }
    .bottom-player { padding: 10px 15px; width: calc(100% - 20px); border-radius: 30px; bottom: -150px; flex-wrap: nowrap; gap: 5px; }
    .bottom-player.active { bottom: 10px; }
    .player-info { width: 45%; gap: 10px; }
    .player-cover { width: 45px; height: 45px; }
    .player-controls { width: 55%; }
    .volume-container { display: none; }
    .ctrl-btn { width: 35px; height: 35px; font-size: 14px; }
    .ctrl-play { width: 45px; height: 45px; font-size: 18px; }
    .chart-huge-number { font-size: 80px; bottom: -15px; right: -5px; }
    .artist-header { flex-direction: column; text-align: center; padding: 30px; gap: 20px; border-radius: 30px; }
    .artist-header img { width: 150px; height: 150px; }
    .box { padding: 30px 20px; border-radius: 30px; }
}