/* =========================================================
   Radio India - Android Native Mobile Web App Stylesheet
   Crafted with 3D Neumorphic / Glassmorphism Android Design
   ========================================================= */

:root {
  --bg-android: #0c0e12;
  --bg-surface: #14171f;
  --bg-card: #181d26;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  --accent-blue: #1877f2;
  --accent-cyan: #00d2ff;
  --accent-green: #10b981;
  --accent-coral: #ff4757;
  --player-blue: #1565c0;
  --player-blue-dark: #0d47a1;
  --text-white: #ffffff;
  --text-dim: #9aa0a6;
  --text-muted: #5f6368;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bottom-bar-height: 64px;
  --mini-player-height: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  background-color: #060709;
  color: var(--text-white);
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-size: 14px;
}

/* Mobile Shell Wrapper (Centered on Desktop like an Android Device) */
.app-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-android);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  overflow-x: hidden;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    background: radial-gradient(circle at 50% 30%, #151a24 0%, #060709 100%);
  }
  .app-container {
    height: 94vh;
    border-radius: 40px;
    border: 8px solid #20242d;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 0 2px rgba(255, 255, 255, 0.05);
    overflow: hidden;
  }
}

/* =========================================================
   1. Android Status Bar
   ========================================================= */
.android-status-bar {
  height: 36px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background-color: var(--bg-android);
  z-index: 50;
}
.status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}
.status-icons .app-badge {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: bold;
}
.badge-wp { background: #25d366; }
.badge-fb { background: #1877f2; }
.badge-am { background: #d32f2f; }
.status-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

/* =========================================================
   2. Top Promotional Ad Banner (Amazon Music style)
   ========================================================= */
.top-ad-banner {
  background: #ffffff;
  color: #111;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 45;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.ad-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ad-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #00a8e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.ad-text h4 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.ad-text p {
  font-size: 11px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ad-install-btn {
  background: #1877f2;
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
  text-transform: uppercase;
}
.ad-close-btn {
  position: absolute;
  left: 2px;
  top: 2px;
  font-size: 9px;
  color: #888;
  cursor: pointer;
  padding: 2px;
}

/* =========================================================
   3. Search Header & Top Toolbar
   ========================================================= */
.top-header {
  padding: 10px 14px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-android);
}
.search-bar-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  background: #1b2029;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 0 14px;
  height: 42px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
}
.search-bar-wrapper:focus-within {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.3), inset 0 2px 4px rgba(0,0,0,0.3);
}
.search-bar-wrapper i {
  color: var(--text-dim);
  font-size: 15px;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0 10px;
  font-size: 13px;
  outline: none;
}
.search-input::placeholder {
  color: #7a828e;
}
.search-clear {
  color: var(--text-dim);
  cursor: pointer;
  font-size: 13px;
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #1b2029;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.header-btn:active {
  transform: scale(0.92);
}

/* =========================================================
   4. Horizontal Category Pill Scroller
   ========================================================= */
.pill-scroller {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pill-scroller::-webkit-scrollbar {
  display: none;
}
.pill-btn {
  white-space: nowrap;
  background: #181d26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c4c9d4;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  letter-spacing: 0.3px;
}
.pill-btn:active {
  transform: scale(0.94);
}
.pill-btn.active {
  background: #4a90e2;
  background: linear-gradient(135deg, #42a5f5, #1976d2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

/* =========================================================
   5. Main Scrollable Content & Radio Grid
   ========================================================= */
.main-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 8px 160px; /* Space for mini player + nav bar */
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.main-content::-webkit-scrollbar {
  width: 4px;
}
.main-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 2px 10px;
}
.section-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-count {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding: 2px 8px;
  border-radius: 10px;
}

/* 4-Columns Station Grid (Strict minmax(0,1fr) to guarantee all 4 cards fit with zero cut-off) */
.station-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  width: 100%;
  box-sizing: border-box;
}

.station-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.station-card:active {
  transform: scale(0.92);
}

.card-art-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #1b2029;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  box-sizing: border-box;
  transition: all 0.25s ease;
}
.station-card:hover .card-art-wrapper {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(24, 119, 242, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Currently Playing Glow on Card */
.station-card.is-playing .card-art-wrapper {
  border-color: #00d2ff;
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.6), inset 0 0 10px rgba(0, 210, 255, 0.3);
  animation: cardPulse 2s infinite ease-in-out;
}
@keyframes cardPulse {
  0%, 100% { border-color: #00d2ff; box-shadow: 0 0 14px rgba(0, 210, 255, 0.4); }
  50% { border-color: #10b981; box-shadow: 0 0 22px rgba(16, 185, 129, 0.6); }
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.station-card:hover .card-img {
  transform: scale(1.05);
}

/* 3D Glass Gloss Overlay */
.card-art-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  border-radius: 16px 16px 0 0;
}

/* Live Equalizer Overlay on Card when playing */
.card-playing-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 3px 5px;
  display: none;
  align-items: center;
  gap: 2px;
}
.station-card.is-playing .card-playing-badge {
  display: flex;
}
.mini-wave-bar {
  width: 2.5px;
  height: 10px;
  background: #10b981;
  border-radius: 2px;
  animation: jump 0.8s infinite ease-in-out alternate;
}
.mini-wave-bar:nth-child(2) { animation-delay: 0.2s; height: 14px; }
.mini-wave-bar:nth-child(3) { animation-delay: 0.4s; height: 8px; }

.card-title {
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #e0e5eb;
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 1px;
  box-sizing: border-box;
  display: block;
}

/* =========================================================
   6. Location Permission Banner (Like in screenshot)
   ========================================================= */
.location-alert-box {
  background: #c62828;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 12px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.35);
}
.location-alert-text {
  flex: 1;
  line-height: 1.3;
}
.location-ok-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* =========================================================
   7. Sticky Bottom Mini Player (Exact Match to Screenshot)
   ========================================================= */
.mini-player {
  position: absolute;
  bottom: var(--bottom-bar-height);
  left: 0;
  right: 0;
  height: var(--mini-player-height);
  background: linear-gradient(180deg, #1e88e5 0%, #1565c0 60%, #0d47a1 100%);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top chevron expand indicator */
.mini-player-handle {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 20px;
  background: #1e88e5;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
}

.mini-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}

.mini-thumb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background: #222;
  flex-shrink: 0;
}

.mini-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Equalizer frequency bars animation */
.mini-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 12px;
  margin-bottom: 2px;
}
.eq-bar {
  width: 3px;
  background: #facc15;
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s;
}
.is-playing .eq-bar:nth-child(1) { animation: jump 0.6s infinite alternate ease-in-out; }
.is-playing .eq-bar:nth-child(2) { animation: jump 0.8s infinite alternate ease-in-out 0.15s; }
.is-playing .eq-bar:nth-child(3) { animation: jump 0.5s infinite alternate ease-in-out 0.3s; }
.is-playing .eq-bar:nth-child(4) { animation: jump 0.7s infinite alternate ease-in-out 0.2s; }
.is-playing .eq-bar:nth-child(5) { animation: jump 0.9s infinite alternate ease-in-out 0.4s; }

@keyframes jump {
  0% { height: 3px; }
  100% { height: 12px; }
}

.mini-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.mini-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* 3D Glowing Round Play/Pause Button (Matching Screenshot) */
.mini-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #10b981;
  border: 3px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 2px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mini-play-btn:active {
  transform: scale(0.9);
}
.mini-play-btn.is-active-btn {
  background: #ffffff;
  color: #10b981;
}

/* Star Favorite Button */
.mini-fav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.mini-fav-btn.active {
  color: #fbbf24;
}
.mini-fav-btn:active {
  transform: scale(0.85);
}

/* Round "ADS" badge button */
.mini-ads-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d32f2f;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.4);
}

/* =========================================================
   8. Bottom Android Navigation Bar (Exact 5 Tabs)
   ========================================================= */
.android-nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background: #14171f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px 6px;
  z-index: 90;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: #8b929e;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  gap: 3px;
}

.nav-icon-wrapper {
  width: 44px;
  height: 28px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Active Tab Style (Reddish/Coral Highlight Like Screenshot) */
.nav-item.active {
  color: #ff5252;
}
.nav-item.active .nav-icon-wrapper {
  background: rgba(255, 82, 82, 0.18);
  color: #ff5252;
}

/* Android Navigation Gesture Pill Bar at very bottom */
.android-gesture-handle {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  pointer-events: none;
}

/* =========================================================
   9. Fullscreen Now Playing Drawer / Sheet
   ========================================================= */
.fullscreen-sheet {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 20%, #1e2638 0%, #0c0e14 100%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  max-width: 480px;
  margin: 0 auto;
}
.fullscreen-sheet.is-open {
  transform: translateY(0);
}

.sheet-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sheet-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.sheet-header-title {
  text-align: center;
}
.sheet-header-title h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sheet-header-title p {
  font-size: 11px;
  color: var(--text-dim);
}

/* Big Album Artwork with 3D vinyl effect */
.sheet-artwork-area {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vinyl-container {
  width: 240px;
  height: 240px;
  border-radius: 30px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(24, 119, 242, 0.3);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.vinyl-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vinyl-container.spinning {
  animation: vinylGlow 3s infinite alternate ease-in-out;
}
@keyframes vinylGlow {
  0% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(24, 119, 242, 0.4); }
  100% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 45px rgba(0, 210, 255, 0.7); }
}

/* Audio Canvas Visualizer */
.visualizer-canvas {
  width: 100%;
  height: 60px;
  margin: 10px 0;
}

/* Station Details in Sheet */
.sheet-meta {
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sheet-station-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.sheet-station-city {
  font-size: 13px;
  color: var(--accent-cyan);
}
.sheet-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseDot 1.2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Fullscreen Controls */
.sheet-controls {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.sheet-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.sheet-btn:active {
  transform: scale(0.9);
}
.sheet-main-play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Volume Slider Area */
.sheet-volume {
  padding: 0 32px 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sheet-volume i {
  color: var(--text-dim);
  font-size: 15px;
}
.volume-range {
  flex: 1;
  accent-color: var(--accent-blue);
  cursor: pointer;
}

/* =========================================================
   10. Drawer Sidebar Menu
   ========================================================= */
.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  background: #12151c;
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}
.side-drawer.is-open {
  transform: translateX(0);
}
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 290;
  display: none;
}
.drawer-backdrop.is-open {
  display: block;
}
.drawer-header {
  padding: 24px 20px;
  background: linear-gradient(135deg, #1877f2, #0d47a1);
  color: #fff;
}
.drawer-header h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 10px;
}
.drawer-menu {
  flex: 1;
  padding: 16px 0;
  list-style: none;
  overflow-y: auto;
}
.drawer-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  color: #c4c9d4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.drawer-item a:hover, .drawer-item a:active {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.drawer-item i {
  font-size: 18px;
  width: 22px;
  color: var(--accent-blue);
}

/* Android Toast */
.android-toast {
  position: fixed;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: rgba(30, 36, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 400;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}
.android-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-dim);
}
.empty-state i {
  font-size: 40px;
  margin-bottom: 12px;
  color: #3b4354;
}
