/*
 * fayRadio Karadeniz Web Radio Frontend CSS
 * Modern, Professional & Natural Aesthetics
 */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #081216;
  color: var(--text, #ffffff);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Background Animated Stage */
.background-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #081216;
}

.bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2200ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  pointer-events: none;
}

.bg-layer.active {
  opacity: 1;
}

/* Animations */
.bg-layer.kenburns.active {
  animation: kenburnsAnim 14s ease-in-out infinite alternate;
}
.bg-layer.zoom.active {
  animation: zoomAnim 12s ease-out forwards;
}
.bg-layer.pan-left.active {
  animation: panLeftAnim 14s linear infinite alternate;
}

@keyframes kenburnsAnim {
  0% { transform: scale(1); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}

@keyframes zoomAnim {
  0% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes panLeftAnim {
  0% { transform: scale(1.08) translateX(0); }
  100% { transform: scale(1.08) translateX(-3%); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-layer { animation: none !important; }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

@media (min-height: 550px) {
  html, body {
    overflow: hidden;
  }
}

/* Scene Overlay (Solid or Gradient) */
.scene-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: var(--overlay-opacity, 0.55);
  pointer-events: none;
}

/* App Viewport Container - Symmetric Proportional 100vh Fit */
.app-viewport {
  width: 100%;
  max-width: 540px;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
}

/* Topbar Header Header */
.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(var(--panel-rgb, 14, 28, 34), var(--panel-opacity, 0.75));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  box-sizing: border-box;
  margin: 0 0 18px 0;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--accent, #f2c14e);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-copy strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-copy span {
  display: block;
  font-size: 11px;
  color: var(--accent, #f2c14e);
  font-weight: 500;
}

.icon-btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn-share:hover {
  background: var(--accent, #f2c14e);
  color: #081216;
  border-color: var(--accent, #f2c14e);
  transform: translateY(-1px);
}

/* HERO AUDIO PLAYER CARD - Sleek Symmetric Hero Card */
.player-hero-card {
  width: 100%;
  max-width: 100%;
  background: rgba(var(--panel-rgb, 14, 28, 34), var(--panel-opacity, 0.75));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  margin: 0 0 18px 0;
  box-sizing: border-box;
}

.live-status-header {
  margin-bottom: 12px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted, #94a3b8);
}

.live-badge.is-live {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.live-badge.is-live .live-pulse {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.95); opacity: 1; }
}

.player-artwork-wrapper {
  margin-bottom: 14px;
  position: relative;
}

.artwork-frame {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--accent, #f2c14e), rgba(255, 255, 255, 0.2));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  position: relative;
}

.artwork-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #081216;
}

/* Equalizer Visualizer */
.equalizer-bars {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--accent, #f2c14e);
  padding: 6px 8px;
  border-radius: 999px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.equalizer-bars i {
  width: 3px;
  height: 5px;
  background: #081216;
  border-radius: 2px;
  transition: height 0.2s;
}

body.is-playing .equalizer-bars i:nth-child(1) { animation: eqAnim 0.8s infinite alternate; }
body.is-playing .equalizer-bars i:nth-child(2) { animation: eqAnim 1.1s infinite alternate; }
body.is-playing .equalizer-bars i:nth-child(3) { animation: eqAnim 0.6s infinite alternate; }
body.is-playing .equalizer-bars i:nth-child(4) { animation: eqAnim 0.9s infinite alternate; }
body.is-playing .equalizer-bars i:nth-child(5) { animation: eqAnim 0.7s infinite alternate; }

@keyframes eqAnim {
  0% { height: 4px; }
  100% { height: 14px; }
}

.song-meta {
  margin-bottom: 14px;
}

.eyebrow {
  display: block;
  font-size: 11px;
  color: var(--accent, #f2c14e);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.song-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.station-sub {
  margin: 0;
  color: var(--muted, #94a3b8);
  font-size: 13px;
}

/* Controls */
.controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 380px;
  margin-bottom: 10px;
}

.play-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent, #f2c14e);
  color: #081216;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(242, 193, 78, 0.6);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.volume-btn {
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}

.volume-container input[type="range"] {
  width: 100px;
  accent-color: var(--accent, #f2c14e);
  cursor: pointer;
}

.player-status-message {
  margin: 0;
  font-size: 13px;
  color: var(--muted, #94a3b8);
}

/* TICKER MARQUEE */
.ticker-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  background: rgba(var(--panel-rgb, 14, 28, 34), var(--panel-opacity, 0.75));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  margin: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

.ticker-badge {
  background: var(--accent, #f2c14e);
  color: #081216;
  font-size: 11px;
  font-weight: 800;
  padding: 12px 24px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  box-shadow: 6px 0 16px rgba(0, 0, 0, 0.4);
}

.ticker-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marqueeAnim 22s linear infinite;
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECTION CARDS */
.section-card {
  background: rgba(var(--panel-rgb, 14, 28, 34), var(--panel-opacity, 0.85));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.section-title {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* DJ Profile */
.dj-profile-body {
  display: flex;
  gap: 20px;
  align-items: center;
}

.dj-avatar {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid var(--accent, #f2c14e);
}

.dj-details {
  flex: 1;
}

.dj-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent, #f2c14e);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dj-details h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.dj-details p {
  margin: 0 0 4px;
  color: var(--muted, #94a3b8);
  font-size: 14px;
}

.dj-desc {
  font-size: 13px !important;
  line-height: 1.5;
  margin-top: 6px !important;
}

/* Schedule Grid */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.program-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
}

.prog-time {
  font-size: 12px;
  color: var(--accent, #f2c14e);
  font-weight: 700;
  margin-bottom: 4px;
}

.prog-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.prog-dj {
  font-size: 13px;
  color: var(--muted, #94a3b8);
}

/* Announcements Grid */
.ann-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.ann-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px;
}

.ann-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #ffffff;
}

.ann-item p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted, #94a3b8);
  line-height: 1.5;
}

.ann-item small {
  color: var(--accent, #f2c14e);
  font-size: 11px;
}

/* Apps Buttons */
.app-buttons {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

.app-btn:hover {
  background: var(--accent, #f2c14e);
  color: #081216;
  transform: translateY(-2px);
}

/* AUTHENTIC BRAND SVG SOCIAL ICONS BAR */
.social-brand-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.social-facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-x:hover { background: #000000; border-color: #333333; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.social-youtube:hover { background: #ff0000; border-color: #ff0000; }
.social-telegram:hover { background: #229ed9; border-color: #229ed9; }
.social-whatsapp:hover { background: #25d366; border-color: #25d366; color: #081216; }
.social-spotify:hover { background: #1ed760; border-color: #1ed760; color: #081216; }
.hero-socials {
  margin-top: 16px;
  margin-bottom: 0;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted, #94a3b8);
}

.contact-info-list a {
  color: var(--accent, #f2c14e);
}

/* Footer */
.app-footer {
  text-align: center;
  padding: 4px 0 0;
  margin: 0;
  font-size: 11px;
  color: var(--muted, #94a3b8);
  flex-shrink: 0;
}

/* CHAT WIDGET */
.chat-widget {
  position: fixed;
  z-index: 999;
}

.chat-widget.bottom-right { bottom: 24px; right: 24px; }
.chat-widget.bottom-left { bottom: 24px; left: 24px; }
.chat-widget.top-right { top: 24px; right: 24px; }
.chat-widget.top-left { top: 24px; left: 24px; }

.chat-toggle-btn {
  background: var(--accent, #f2c14e);
  color: #081216;
  border: 0;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.2s;
}

.chat-toggle-btn:hover {
  transform: scale(1.05);
}

.chat-panel {
  width: 320px;
  background: #0e1c22;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 60px;
  right: 0;
}

.chat-header {
  background: #152730;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.chat-close-btn {
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-body input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2a3c48;
  background: #081016;
  color: #fff;
}

.chat-messages-box {
  height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.chat-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.chat-msg.visitor { align-self: flex-end; background: var(--accent, #f2c14e); color: #081216; font-weight: 500; }
.chat-msg.admin { align-self: flex-start; background: #1e293b; color: #fff; }

.chat-input-form {
  display: flex;
  gap: 8px;
}

.chat-send-btn {
  background: var(--accent, #f2c14e);
  color: #081216;
  border: 0;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
  }
.app-viewport {
  width: 100%;
  max-width: 100%;
  padding: 68px 10px 4px;
  height: 100dvh;
  max-height: 100dvh;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  justify-content: flex-start;
}
  .topbar {
    width: 100%;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 14px;
    box-sizing: border-box;
    margin: 0 0 14px 0 !important;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .brand-copy strong {
    font-size: 14px;
  }
  .brand-copy span {
    font-size: 9px;
  }
  .icon-btn-share {
    padding: 5px 10px;
    font-size: 11px;
  }
  .player-hero-card {
    width: 100%;
    max-width: 100%;
    padding: 14px 10px;
    border-radius: 18px;
    margin: 0 0 14px 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  .artwork-frame {
    width: 95px;
    height: 95px;
  }
  .song-title {
    font-size: 16px;
    line-height: 1.2;
  }
  .station-sub {
    font-size: 11px;
  }
  .controls-row {
    width: 100%;
    max-width: 100%;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .play-trigger {
    width: 50px;
    height: 50px;
  }
  .volume-container {
    padding: 4px 10px;
    gap: 6px;
  }
  .volume-container input[type="range"] {
    width: 60px;
  }
  .hero-socials {
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
  }
  .social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .social-icon-btn svg {
    width: 16px;
    height: 16px;
  }
  .ticker-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    border-radius: 12px;
    box-sizing: border-box;
  }
  .ticker-badge {
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 800;
  }
  .ticker-marquee {
    padding: 6px 0 6px 10px;
  }
  .ticker-track {
    font-size: 12px;
    font-weight: 600;
    padding-left: 10px;
  }
  .chat-widget.bottom-right {
    bottom: 8px;
    right: 8px;
  }
  .chat-toggle-btn {
    padding: 7px 12px;
    font-size: 11px;
  }
  .chat-panel {
    width: 270px;
    bottom: 44px;
    right: 0;
  }
}

/* FLOATING SIDE QUICK DOCK (Left Side) */
.floating-side-dock {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99;
}

.dock-btn {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(var(--panel-rgb, 14, 28, 34), var(--panel-opacity, 0.85));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.dock-btn:hover {
  background: var(--accent, #f2c14e);
  color: #081216;
  border-color: var(--accent, #f2c14e);
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(242, 193, 78, 0.35);
}

.dock-tooltip {
  position: absolute;
  left: 64px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background: rgba(8, 18, 22, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.dock-btn:hover .dock-tooltip {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* SITE MODALS */
.site-modal[hidden] {
  display: none !important;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 14, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.2s ease;
}

.modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  background: rgba(var(--panel-rgb, 14, 28, 34), 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  animation: modalZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalZoom {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--accent, #f2c14e);
  color: #081216;
  border-color: var(--accent, #f2c14e);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  color: var(--text, #ffffff);
  font-size: 14px;
  line-height: 1.6;
}

.modal-empty {
  text-align: center;
  color: var(--muted, #94a3b8);
  margin: 20px 0;
  font-size: 14px;
}

/* Modal Content Styles */
.announcements-grid, .schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ann-card, .schedule-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
}

.ann-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--accent, #f2c14e);
}

.ann-card time {
  font-size: 11px;
  color: var(--muted, #94a3b8);
  display: block;
  margin-bottom: 8px;
}

.ann-summary {
  font-weight: 600;
  margin: 0 0 6px;
}

.ann-content {
  color: rgba(255, 255, 255, 0.85);
}

.schedule-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.dj-avatar {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--accent, #f2c14e);
  flex-shrink: 0;
}

.schedule-badge {
  display: inline-block;
  background: var(--accent, #f2c14e);
  color: #081216;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.schedule-info h3 {
  margin: 0 0 2px;
  font-size: 15px;
}

.schedule-info strong {
  display: block;
  font-size: 12px;
  color: var(--muted, #94a3b8);
  margin-bottom: 4px;
}

.app-buttons-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.app-store-btn:hover {
  background: var(--accent, #f2c14e);
  color: #081216;
  border-color: var(--accent, #f2c14e);
  transform: translateY(-2px);
}

.app-btn-icon {
  font-size: 22px;
}

.app-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.app-btn-text small {
  font-size: 9px;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.app-btn-text strong {
  font-size: 14px;
}

.about-brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-brand-box img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 2px solid var(--accent, #f2c14e);
}

.about-brand-box h3 {
  margin: 0;
  font-size: 18px;
}

.about-brand-box p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--accent, #f2c14e);
}

.contact-details-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details-box h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--accent, #f2c14e);
}

.contact-details-box p {
  margin: 4px 0;
}

/* Mobile dock positioning */
@media (max-width: 640px) {
    .floating-side-dock {
      left: 50%;
      top: 14px;
      bottom: auto;
      transform: translateX(-50%);
      flex-direction: row;
      gap: 8px;
    }
  .dock-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .dock-btn svg {
    width: 18px;
    height: 18px;
  }
  .dock-tooltip {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar,
  .player-hero-card,
  .ticker-wrapper,
  .dock-btn {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .bg-layer.kenburns.active,
  .bg-layer.zoom.active,
  .bg-layer.pan-left.active {
    animation: none;
    transform: none;
  }
}