/* ============================================
   IMVU RADIO - style.css
   imvu.net.tr | Pembe × Mor × Siyah Tema
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:       #ff3cac;
  --pink-light: #ff69b4;
  --purple:     #784ba0;
  --purple-dark:#2b1055;
  --violet:     #7b2ff7;
  --bg:         #0d0015;
  --bg2:        #150025;
  --card:       rgba(255,255,255,0.04);
  --card-border: rgba(255,60,172,0.25);
  --text:       #f0e6ff;
  --text-muted: #a988c7;
  --glow-pink:  0 0 20px rgba(255,60,172,0.6);
  --glow-purple:0 0 20px rgba(123,47,247,0.6);
  --font-title: 'Orbitron', sans-serif;
  --font-body:  'Rajdhani', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Gradient Arkaplan ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(123,47,247,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(255,60,172,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(43,16,85,0.8)   0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Parçacıklar ---------- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,0,21,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 2px 30px rgba(255,60,172,0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imvu-logo-img {
  width: 54px;
  height: auto;
  filter: drop-shadow(var(--glow-pink));
}

.logo-text-fallback {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
}

.logo-im { color: #fff; }
.logo-vu { color: var(--pink); }

.site-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
}

.site-title span {
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 3px;
}

/* Nav */
.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 40px;
  border: 1px solid transparent;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  border-color: var(--pink);
  background: rgba(255,60,172,0.12);
  box-shadow: var(--glow-pink);
}

/* ---------- Main Layout ---------- */
.main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

/* ---------- Kartlar ---------- */
.now-playing-card,
.stats-card,
.requests-card,
.imvu-promo-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}

.now-playing-card:hover { box-shadow: var(--glow-pink); }

/* ---------- Vinil ---------- */
.vinyl-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.vinyl {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #1a0533 0%, #0d0015 30%, #1f0040 50%, #0d0015 70%, #2b1055 100%);
  border: 4px solid rgba(255,60,172,0.4);
  box-shadow:
    0 0 0 8px rgba(255,60,172,0.08),
    0 0 40px rgba(255,60,172,0.3),
    inset 0 0 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: none;
  transition: box-shadow 0.3s;
}

.vinyl.spinning {
  animation: spin 4s linear infinite;
  box-shadow:
    0 0 0 8px rgba(255,60,172,0.15),
    0 0 60px rgba(255,60,172,0.5),
    inset 0 0 30px rgba(0,0,0,0.5);
}

.vinyl::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(255,60,172,0.06) 0deg 10deg,
    transparent 10deg 20deg
  );
}

.vinyl-center {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 0 15px rgba(255,60,172,0.8);
  z-index: 1;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- Track Info ---------- */
.track-info {
  text-align: center;
  margin-bottom: 28px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,60,172,0.15);
  border: 1px solid rgba(255,60,172,0.4);
  color: var(--pink-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.track-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(255,60,172,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  color: var(--text-muted);
  font-size: 15px;
  letter-spacing: 1px;
}

/* ---------- Player Kontrolleri ---------- */
.player-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255,60,172,0.5);
  transition: all 0.25s;
  flex-shrink: 0;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(255,60,172,0.8);
}

.play-btn:active { transform: scale(0.96); }

.volume-area {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 16px;
}

.volume-slider {
  -webkit-appearance: none;
  width: 110px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink) var(--val, 80%), rgba(255,255,255,0.1) var(--val, 80%));
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255,60,172,0.7);
  cursor: pointer;
}

#volPercent {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 34px;
}

/* ---------- EQ Bars ---------- */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  opacity: 0;
  transition: opacity 0.3s;
}

.eq-bars.active { opacity: 1; }

.eq-bars span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--pink), var(--violet));
  animation: eqAnim 0.6s ease-in-out infinite alternate;
}

.eq-bars span:nth-child(1) { animation-duration: 0.5s; height: 10px; }
.eq-bars span:nth-child(2) { animation-duration: 0.7s; height: 20px; }
.eq-bars span:nth-child(3) { animation-duration: 0.4s; height: 14px; }
.eq-bars span:nth-child(4) { animation-duration: 0.8s; height: 22px; }
.eq-bars span:nth-child(5) { animation-duration: 0.55s; height: 8px; }

@keyframes eqAnim {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}

/* ---------- Info Section ---------- */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- Stats ---------- */
.stats-card {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 20px;
}

.stat-item i { color: var(--pink); }

.stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- İstekler ---------- */
.requests-card { padding: 22px; }

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--pink-light);
  font-size: 16px;
}

.card-header h3 {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

.request-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 16px;
}

.request-list::-webkit-scrollbar { width: 4px; }
.request-list::-webkit-scrollbar-track { background: transparent; }
.request-list::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 4px; }

.req-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,60,172,0.1);
  transition: border-color 0.3s;
}

.req-item:hover { border-color: rgba(255,60,172,0.3); }

.req-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.req-info {
  flex: 1;
  min-width: 0;
}

.req-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.req-song {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.req-time {
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* İstek Butonu */
.request-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,60,172,0.2), rgba(123,47,247,0.2));
  border: 1px solid var(--card-border);
  color: var(--pink-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.request-btn:hover {
  background: linear-gradient(135deg, rgba(255,60,172,0.35), rgba(123,47,247,0.35));
  box-shadow: var(--glow-pink);
  color: #fff;
}

/* ---------- IMVU Promo ---------- */
.imvu-promo-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.promo-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  filter: brightness(0.7) saturate(1.3);
}

.promo-text {
  padding: 18px 20px;
}

.promo-text h4 {
  font-family: var(--font-title);
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
}

.promo-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s;
}

.promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-pink);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--card-border);
  background: rgba(13,0,21,0.9);
  padding: 20px 24px;
  text-align: center;
}

.footer-inner p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-inner strong { color: var(--pink-light); }

.footer-note {
  font-size: 11px !important;
  opacity: 0.6;
}

/* ============================================
   İSTEK SAYFASI (istek.html)
   ============================================ */

.page-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px 40px;
}

.page-hero h2 {
  font-family: var(--font-title);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 900;
  background: linear-gradient(90deg, var(--pink), #fff, var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 16px;
}

.istek-main {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Form Kartı */
.form-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.form-card h3 {
  font-family: var(--font-title);
  font-size: 14px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-card h3 i { color: var(--pink); }

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,60,172,0.2);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 15px rgba(255,60,172,0.2);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255,60,172,0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255,60,172,0.5);
}

.submit-btn:active { transform: translateY(0); }

/* Başarı mesajı */
.success-msg {
  display: none;
  text-align: center;
  padding: 20px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 12px;
  color: #4ade80;
  font-size: 15px;
  margin-top: 16px;
}

.success-msg i { font-size: 28px; display: block; margin-bottom: 8px; }

/* İstek Listesi Kartı */
.list-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
}

.list-card h3 {
  font-family: var(--font-title);
  font-size: 14px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-card h3 i { color: var(--violet); }

.full-request-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 4px;
}

.full-request-list::-webkit-scrollbar { width: 4px; }
.full-request-list::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 4px; }

.full-req-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,60,172,0.1);
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.full-req-num {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--text-muted);
  min-width: 22px;
}

.full-req-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.full-req-info { flex: 1; min-width: 0; }

.full-req-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.full-req-song {
  display: block;
  font-size: 12px;
  color: var(--pink-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.full-req-time {
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 36px;
  color: rgba(255,60,172,0.3);
  display: block;
  margin-bottom: 10px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .main {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }

  .istek-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }

  .site-title { font-size: 16px; }

  .vinyl { width: 160px; height: 160px; }

  .track-title { font-size: 18px; }

  .player-controls { gap: 14px; }

  .volume-slider { width: 80px; }

  .stats-card { gap: 10px; }
}

/* ── Mini Player Bar (istek.html) ─────────── */
.mini-player-bar {
  position: relative;
  z-index: 10;
  background: rgba(26,5,51,0.95);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}

.mini-player-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mini-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mini-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255,60,172,0.4);
  transition: all 0.2s;
}

.mini-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255,60,172,0.6);
}

/* ── İstek Sayı Rozeti ─────────────────────── */
.req-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-title);
  margin-left: 8px;
}

/* ── Kurallar Kutusu ───────────────────────── */
.rules-box {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(123,47,247,0.08);
  border: 1px solid rgba(123,47,247,0.2);
  border-radius: 12px;
}

.rules-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rules-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rules-box ul li {
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.rules-box ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}
