/* ==========================================================================
   วิทยุคนเมืองขลุง 100.25 MHz - Modern Web Radio Stylesheet
   Mobile-First, Ultra-Responsive, Modern Glassmorphism & Neon Glow UI
   ========================================================================== */

:root {
  --primary: #00d2ff;
  --primary-glow: rgba(0, 210, 255, 0.4);
  --secondary: #9b51e0;
  --accent: #ff2a6d;
  --bg-main: #0a0e17;
  --bg-card: rgba(18, 26, 43, 0.75);
  --bg-card-hover: rgba(26, 37, 60, 0.85);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-active: rgba(0, 210, 255, 0.35);
  --text-main: #f0f4f8;
  --text-muted: #8fa0b5;
  --text-dim: #5c6c82;
  --live-red: #ff3344;
  --live-glow: rgba(255, 51, 68, 0.5);
  --success: #00e676;
  --font-thai: 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  font-family: var(--font-thai);
  line-height: 1.6;
  background: radial-gradient(circle at 15% 15%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 85% 65%, rgba(155, 81, 224, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 50% 100%, rgba(255, 42, 109, 0.06) 0%, transparent 40%),
              var(--bg-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: calc(80px + var(--safe-bottom));
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Background Atmosphere Glows */
.ambient-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.glow-1 {
  top: -80px;
  left: -80px;
  background: var(--primary);
}
.glow-2 {
  bottom: 10%;
  right: -80px;
  background: var(--secondary);
}

/* Top App Bar / Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  transition: var(--transition);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-main);
  min-width: 0;
  flex: 1;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text h1 {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* On Air Indicator */
.on-air-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem;
  background: rgba(255, 51, 68, 0.12);
  border: 1px solid rgba(255, 51, 68, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  color: #ff6b7a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.on-air-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--live-red);
  box-shadow: 0 0 8px var(--live-red);
  animation: pulseLive 1.6s infinite ease-in-out;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 51, 68, 0.7); }
  70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 6px rgba(255, 51, 68, 0); }
  100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 51, 68, 0); }
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.btn-icon:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 400px) {
  .header-container {
    padding: 0.45rem 0.75rem;
    gap: 0.4rem;
  }
  .brand-text h1 {
    font-size: 0.9rem;
  }
  .brand-text p {
    font-size: 0.68rem;
  }
  .on-air-pill span:not(.on-air-dot) {
    font-size: 0.65rem;
  }
}

/* Main Layout Grid */
.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 1.25rem auto 2.5rem;
  padding: 0 1.25rem;
  width: 100%;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .content-grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
    gap: 2rem;
  }
}

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Top Full-Width Standalone Banner */
.top-banner-section {
  width: 100%;
  margin-bottom: 1.5rem;
}

.top-banner-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-card);
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.top-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0, 210, 255, 0.2);
  border-color: rgba(0, 210, 255, 0.3);
}

.top-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 438;
  display: block;
  object-fit: cover;
}

/* Hero & Main Player Card */
.player-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.banner-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 340px;
  overflow: hidden;
  background: #000;
}

.station-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.player-hero-card:hover .station-banner {
  transform: scale(1.03);
}

.banner-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
}

/* Overlay Now Playing Directly on Bottom of Image */
.banner-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.4rem 1rem;
  background: linear-gradient(180deg, rgba(10, 14, 23, 0) 0%, rgba(10, 14, 23, 0.78) 35%, rgba(10, 14, 23, 0.98) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 4;
}

/* Animated Running Rainbow Gradient Bar */
.rainbow-bar {
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    #ff0055,
    #ff5500,
    #ffcc00,
    #00e676,
    #00d2ff,
    #7928ca,
    #ff00aa,
    #ff0055
  );
  background-size: 300% 100%;
  animation: rainbowFlow 3.5s linear infinite;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.4), 0 0 4px rgba(255, 0, 85, 0.3);
  margin: 0.25rem 0 0.35rem;
}

@keyframes rainbowFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* Faster animation & extra glow when radio is playing */
.is-playing .rainbow-bar {
  animation: rainbowFlow 2s linear infinite;
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.65), 0 0 8px rgba(255, 0, 85, 0.5);
}

.renew-tag {
  display: inline-block;
  background: rgba(252, 185, 0, 0.15);
  color: #fcb900;
  border: 1px solid rgba(252, 185, 0, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  margin-left: 0.4rem;
}

/* Equalizer Bars Animation */
.equalizer {
  display: inline-flex;
  align-items: flex-end;
  height: 14px;
  gap: 2px;
}

.eq-bar {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.is-playing .eq-bar:nth-child(1) { animation: soundWave 0.8s infinite ease-in-out alternate; }
.is-playing .eq-bar:nth-child(2) { animation: soundWave 1.2s infinite ease-in-out alternate 0.2s; }
.is-playing .eq-bar:nth-child(3) { animation: soundWave 0.9s infinite ease-in-out alternate 0.4s; }
.is-playing .eq-bar:nth-child(4) { animation: soundWave 1.1s infinite ease-in-out alternate 0.1s; }

@keyframes soundWave {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* Player Body */
.player-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Now Playing Information Box */
.now-playing-box {
  background: rgba(10, 16, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
}

.now-playing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  font-weight: 700;
}

.song-title-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.song-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.3s ease;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
}

.station-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-chip svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
}

.chip-status.online {
  color: var(--success);
}

/* Custom Interactive Audio Controls */
.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 0.25rem;
}

.play-button-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
  border: none;
  color: #05101e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
}

.btn-play svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  margin-left: 3px;
  transition: transform 0.2s ease;
}

.btn-play.is-playing svg {
  margin-left: 0;
}

.btn-play:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.6);
}

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

.play-status-text {
  display: flex;
  flex-direction: column;
}

.play-status-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.play-status-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
}

.btn-volume {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition);
}

.btn-volume:hover {
  color: var(--primary);
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 85px;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
}

@media (max-width: 480px) {
  .volume-slider {
    width: 60px;
  }
}

/* Secondary Actions / Fallback helper bar */
.player-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.direct-stream-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  transition: var(--transition);
}

.direct-stream-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--primary);
}

.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.app-download-btn:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(16, 185, 129, 0.15));
  border-color: #4ade80;
  color: #fff;
  transform: translateY(-1px);
}

/* Stream URL Copy Box */
.stream-url-card {
  background: rgba(10, 16, 28, 0.55);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.stream-url-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.stream-url-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stream-url-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.4rem 0.3rem 0.8rem;
  transition: var(--transition);
}

.stream-url-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.stream-url-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  width: 100%;
}

.btn-copy-url {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #00d2ff, #0077ff);
  color: #05101e;
  border: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-copy-url:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

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

.btn-copy-url.copied {
  background: linear-gradient(135deg, #00e676, #00b0ff);
  color: #05101e;
}

/* Tabbed / Right Side Card (Chat Cbox & Station Info) */
.side-card {
  display: flex;
  flex-direction: column;
}

.card-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-card);
  background: rgba(10, 14, 23, 0.5);
}

.tab-btn {
  flex: 1;
  padding: 1rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  position: relative;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary);
}

.tab-content {
  padding: 1.25rem;
  display: none;
}

.tab-content.active {
  display: block;
}

/* Chat Cbox container */
.cbox-wrapper {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--border-card);
  position: relative;
}

.cbox-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* App Download Promo under Chatbox (Large & Prominent) */
.chat-app-promo {
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(135deg, rgba(16, 28, 48, 0.85) 0%, rgba(10, 18, 30, 0.95) 100%);
  border: 1.5px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transition: var(--transition);
}

.chat-app-promo:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 28px rgba(0, 210, 255, 0.25);
}

.chat-app-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.chat-app-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chat-app-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.chat-app-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.playstore-link-large {
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.playstore-link-large:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 16px rgba(0, 210, 255, 0.4));
}

.playstore-link-large:active {
  transform: scale(0.97);
}

.playstore-link-large img {
  height: 64px;
  width: auto;
  max-width: 220px;
  border-radius: 8px;
  display: block;
}

@media (max-width: 600px) {
  .chat-app-promo {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 0.9rem;
  }
  
  .chat-app-badge-tag {
    justify-content: center;
  }
  
  .playstore-link-large img {
    height: 68px;
    max-width: 240px;
  }
}

/* Station Details Content */
.station-info-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-banner-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
}

.info-banner-mini img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.info-banner-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.info-banner-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.info-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item-content h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.info-item-content p {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.45;
}

.info-item-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.info-item-content a:hover {
  text-decoration: underline;
}

.tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff !important;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.3rem;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.tel-btn:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  text-decoration: none !important;
  transform: translateY(-1px);
}

/* Google Play Box */
.app-promo-box {
  background: linear-gradient(135deg, rgba(20, 30, 50, 0.6) 0%, rgba(10, 15, 25, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-promo-box h4 {
  font-size: 0.95rem;
  color: #fff;
}

.app-promo-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.playstore-link {
  display: inline-block;
  align-self: flex-start;
  transition: var(--transition);
}

.playstore-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.playstore-link img {
  height: 64px;
  width: auto;
  max-width: 220px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Quick Features / Highlights Bar */
.features-section {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-box {
  background: rgba(18, 26, 43, 0.4);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(155, 81, 224, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-box:nth-child(2) .feature-icon {
  background: rgba(0, 210, 255, 0.15);
  color: var(--primary);
}

.feature-box:nth-child(3) .feature-icon {
  background: rgba(255, 42, 109, 0.15);
  color: var(--accent);
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-card);
  background: rgba(10, 14, 23, 0.95);
  padding: 2rem 1.25rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

/* Mobile Sticky Bottom Player Bar (Shown when scrolling) */
.mobile-sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(13, 20, 34, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  padding: 0.65rem 1rem calc(0.65rem + var(--safe-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-player.visible {
  transform: translateY(0);
}

.sticky-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.sticky-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-card);
  flex-shrink: 0;
}

.sticky-titles {
  min-width: 0;
}

.sticky-song {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.sticky-station {
  font-size: 0.75rem;
  color: var(--primary);
  display: block;
}

.sticky-btn-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff, #0066ff);
  border: none;
  color: #05101e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.sticky-btn-play svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Toast Notification (Copy link, errors, etc.) */
.toast-msg {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Animation Utilities */
.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
