/* ==========================================================================
   Radio Sin Fronteras — Modern Fast Vanilla CSS Design System
   Relative paths only - 100% portable to any folder on HestiaCP VPS
   ========================================================================== */

:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: #161f33;
  --bg-card-hover: #1e2942;
  --bg-glass: rgba(17, 24, 39, 0.86);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-primary: #ef4444;
  --accent-secondary: #f97316;
  --accent-gradient: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  --accent-glow: rgba(239, 68, 68, 0.32);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.90);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 96px; /* Space for persistent bottom player bar */
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Top Header & Brand Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
  flex-shrink: 0;
  position: relative;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 0.9rem 0.5rem 2.3rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  width: 220px;
  transition: all 0.2s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-primary);
  width: 260px;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.search-box svg {
  position: absolute;
  left: 0.8rem;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px var(--accent-glow);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: #ef4444;
  color: #fff;
}

/* ==========================================================================
   Hero Live Radio Studio Banner
   ========================================================================== */
.hero-studio {
  margin: 1.5rem 0 1.25rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.22), transparent 55%),
              radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.14), transparent 50%),
              var(--bg-secondary);
  border: 1px solid var(--border-strong);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-studio-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.hero-studio h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.hero-studio p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  max-width: 560px;
  margin-bottom: 1.25rem;
}

.studio-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.big-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px var(--accent-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.big-play-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 30px var(--accent-glow);
}

.big-play-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Now Playing Card Inside Hero */
.now-playing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.np-art-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1e293b;
}

.np-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.np-meta {
  flex: 1;
  min-width: 0;
}

.np-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-secondary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.np-title {
  font-weight: 700;
  font-size: 1.02rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-artist {
  font-size: 0.86rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Animated Equalizer Bars */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  margin-top: 0.45rem;
}

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

.is-playing .eq-bar:nth-child(1) { animation: eqAnim 0.7s infinite ease-in-out 0.1s; }
.is-playing .eq-bar:nth-child(2) { animation: eqAnim 0.55s infinite ease-in-out 0.25s; }
.is-playing .eq-bar:nth-child(3) { animation: eqAnim 0.8s infinite ease-in-out 0.05s; }
.is-playing .eq-bar:nth-child(4) { animation: eqAnim 0.6s infinite ease-in-out 0.3s; }
.is-playing .eq-bar:nth-child(5) { animation: eqAnim 0.75s infinite ease-in-out 0.15s; }

@keyframes eqAnim {
  0%, 100% { height: 4px; }
  50% { height: 21px; }
}

.embed-drawer {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-color);
  display: none;
}

.embed-drawer.open {
  display: block;
}

.embed-drawer iframe {
  width: 100%;
  min-height: 155px;
  border: 0;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Category Navigation Pills
   ========================================================================== */
.category-nav-wrap {
  position: sticky;
  top: 74px;
  z-index: 80;
  background: var(--bg-primary);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.cat-pill.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.cat-count {
  font-size: 0.72rem;
  padding: 0.08rem 0.45rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Featured Bento Grid & News Cards
   ========================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  gap: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  border-radius: 4px;
  background: var(--accent-gradient);
}

.featured-bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.bento-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  background: #111827;
  border: 1px solid var(--border-color);
  cursor: pointer;
  group: main;
}

.bento-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.bento-main:hover img {
  transform: scale(1.04);
}

.bento-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem 1.75rem 1.6rem;
  background: linear-gradient(to top, rgba(8, 11, 20, 0.96) 15%, rgba(8, 11, 20, 0.65) 65%, transparent 100%);
  color: #fff;
}

.bento-overlay h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0.5rem 0;
}

.bento-overlay p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.bento-side-item {
  display: flex;
  gap: 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  align-items: center;
}

.bento-side-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateX(3px);
}

.bento-side-thumb {
  width: 96px;
  height: 82px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #1e293b;
}

.bento-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-side-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.25rem 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Badge Styles */
.cat-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.cat-badge[data-cat="tecnologia"] { background: rgba(59, 130, 246, 0.18); color: #60a5fa; border-color: rgba(59, 130, 246, 0.3); }
.cat-badge[data-cat="politica"] { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); }
.cat-badge[data-cat="salud"] { background: rgba(16, 185, 129, 0.18); color: #34d399; border-color: rgba(16, 185, 129, 0.3); }
.cat-badge[data-cat="deportes"] { background: rgba(249, 115, 22, 0.18); color: #fb923c; border-color: rgba(249, 115, 22, 0.3); }
.cat-badge[data-cat="entretenimiento"] { background: rgba(236, 72, 153, 0.18); color: #f472b6; border-color: rgba(236, 72, 153, 0.3); }
.cat-badge[data-cat="ciencia"] { background: rgba(139, 92, 246, 0.18); color: #a78bfa; border-color: rgba(139, 92, 246, 0.3); }
.cat-badge[data-cat="dominicana"] { background: rgba(239, 68, 68, 0.20); color: #fca5a5; border-color: rgba(239, 68, 68, 0.35); }

/* Main News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.75rem;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.news-card-thumb {
  position: relative;
  height: 185px;
  background: #1e293b;
  overflow: hidden;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.05);
}

.news-card-badge-wrap {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.4rem;
}

.news-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.news-source {
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Persistent Bottom Radio Player Bar (Never Stops Playing)
   ========================================================================== */
.sticky-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  height: 76px;
  display: flex;
  align-items: center;
}

.player-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.player-bar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.player-mini-art {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.player-bar-info {
  min-width: 0;
}

.player-bar-station {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.player-bar-track {
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-bar-center {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.play-circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: transform 0.18s ease;
}

.play-circle-btn:hover {
  transform: scale(1.06);
}

.play-circle-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.player-bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 1;
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-slider {
  width: 90px;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

/* ==========================================================================
   Article Reader Modal (Read news without leaving the stream)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 8, 16, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-hero-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: #1e293b;
}

.modal-body {
  padding: 1.75rem;
}

.modal-close-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.modal-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-content-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

/* ==========================================================================
   Admin Dashboard Styles (admin.html)
   ========================================================================== */
.login-screen {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.admin-table-wrap {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.admin-table th {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.15);
}

.admin-table tr:hover td {
  background: var(--bg-card-hover);
}

.table-thumb {
  width: 58px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  background: #1e293b;
}

.toast-notification {
  position: fixed;
  bottom: 92px;
  right: 1.5rem;
  z-index: 300;
  background: var(--bg-secondary);
  border: 1px solid var(--accent-primary);
  color: var(--text-primary);
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.toast-notification.show {
  display: block;
  animation: modalIn 0.2s ease;
}

/* Footer */
.site-footer {
  margin-top: 3.5rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-studio-grid,
  .featured-bento {
    grid-template-columns: 1fr;
  }
  .bento-main {
    min-height: 290px;
  }
}

@media (max-width: 640px) {
  .search-box input {
    width: 145px;
  }
  .search-box input:focus {
    width: 175px;
  }
  .hero-studio {
    padding: 1.25rem;
  }
  .volume-wrap {
    display: none;
  }
}

