@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Orbitron:wght@500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --max: 1100px;
  --pad: 20px;
  /* Dark arcade base */
  --bg: #0d0d14;
  --bg-card: #15151f;
  --bg-card-hover: #1c1c2a;
  /* Bright playful accents */
  --accent: #00ffd5;
  --accent-dim: #00ccaa;
  --accent-warm: #ff6b35;
  --accent-danger: #ff3366;
  --accent-purple: #c084fc;
  --accent-gold: #fbbf24;
  --accent-green: #22c55e;
  /* Text */
  --text: #f0f0f8;
  --text-dim: #a0a0b8;
  --muted: #6b6b80;
  /* Borders & glow */
  --border: #2a2a3a;
  --glow: 0 0 24px rgba(0, 255, 213, 0.35);
  --glow-strong: 0 0 36px rgba(0, 255, 213, 0.5);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* Snappier taps on touch devices (removes 300ms delay) */
@media (hover: none) and (pointer: coarse) {
  a, button {
    touch-action: manipulation;
  }
}

body {
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 255, 213, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(192, 132, 252, 0.06) 0%, transparent 50%);
}

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 25%, var(--accent-purple) 50%, var(--accent-warm) 75%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(0, 255, 213, 0.4));
  animation: headerTitleShift 6s ease-in-out infinite;
}

@keyframes headerTitleShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

h2 {
  font-size: 1.25rem;
  color: var(--accent);
  margin: 2rem 0 1rem;
}

h3 {
  font-size: 1rem;
  color: var(--text);
}

header, main, footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad);
  width: 100%;
}

main {
  flex: 1 0 auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

main img:not(.hero-slide img):not(.appearance-gallery-item img) {
  max-width: 100%;
  height: auto;
  display: block;
}

main video {
  max-width: 100%;
  height: auto;
}

main iframe {
  max-width: 100%;
}

header {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--pad);
  position: relative;
}
header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm), var(--accent-purple), var(--accent));
}

header p.muted {
  font-size: 0.95rem;
  margin-top: 0.25rem;
  color: var(--text-dim);
  animation: headerTaglineIn 0.9s ease-out both;
}

@keyframes headerTaglineIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer: sticky to bottom, improved layout */
footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--border);
  position: relative;
  background: rgba(10, 10, 18, 0.6);
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-warm), var(--accent), transparent);
  opacity: 0.6;
}
footer p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}
footer p:first-child {
  margin-top: 0;
}
footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:hover {
  color: var(--accent);
}
footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}
footer .footer-links a {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  -webkit-tap-highlight-color: rgba(0, 255, 213, 0.2);
}

nav {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

nav a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.5rem 1rem;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: rgba(0, 255, 213, 0.2);
}

nav a:hover {
  color: var(--accent);
  background: rgba(0, 255, 213, 0.1);
  box-shadow: 0 0 12px rgba(0, 255, 213, 0.25);
  transform: translateY(-1px);
}

nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Social / connect buttons */
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: 999px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: rgba(0, 255, 213, 0.2);
}
.social-link:hover {
  color: var(--accent);
  border-color: rgba(0, 255, 213, 0.4);
  background: rgba(0, 255, 213, 0.08);
  transform: translateY(-1px);
}
.social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
header .social-links {
  margin-top: 1rem;
}
footer .social-links {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
footer .social-link {
  font-size: 0.65rem;
  padding: 0.35rem 0.7rem;
}

/* Appearances page — band/tour style */
.tour-tagline {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  max-width: 52ch;
}
.tour-byline {
  margin: -0.5rem 0 1rem;
}
/* Press page — outlet list */
.press-outlets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}
.press-outlets li {
  margin-bottom: 0.75rem;
  padding-left: 0;
  line-height: 1.5;
}
.press-outlets a {
  color: var(--accent);
  text-decoration: none;
}
.press-outlets a:hover {
  text-decoration: underline;
}
/* Credits page */
.credits-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 58ch;
}
.credits-lead strong {
  color: var(--accent);
}
.credits-spotlight {
  margin-bottom: 2rem;
}
.credits-spotlight h2 {
  margin-bottom: 0.25rem;
}
.credits-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.credits-spotlight-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.credits-spotlight-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-dim);
  box-shadow: var(--glow);
}
.credits-spotlight-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.credits-spotlight-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}
.credits-spotlight-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.credits-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.credits-two-col h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.credits-role-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.credits-role-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.45;
}
.credits-role-list li:last-child {
  border-bottom: none;
}
.credits-db-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.credits-db-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.credits-db-list li:last-child {
  border-bottom: none;
}
.credits-db-list a {
  color: var(--accent);
  text-decoration: none;
}
.credits-db-list a:hover {
  text-decoration: underline;
}
@media (max-width: 700px) {
  .credits-two-col {
    grid-template-columns: 1fr;
  }
  .credits-spotlight-grid {
    grid-template-columns: 1fr;
  }
}
.tour-section {
  margin-bottom: 1.5rem;
}
.appearance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.appearance-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.appearance-item:last-child {
  border-bottom: none;
}
/* Tour-style rows: date | venue + city | link */
.tour-list .tour-item {
  grid-template-columns: minmax(7rem, auto) 1fr auto;
  gap: 0.5rem 1rem;
  align-items: center;
}
.tour-date {
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.tour-venue {
  grid-column: 2;
  font-weight: 600;
  color: var(--text);
}
.tour-city {
  grid-column: 2;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.tour-item .appearance-link {
  grid-column: 3;
  grid-row: span 2;
}
.appearance-venue {
  font-weight: 600;
  color: var(--text);
}
.appearance-location {
  grid-column: 1;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.appearance-link {
  grid-column: 2;
  grid-row: span 2;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}
.appearance-link:hover {
  text-decoration: underline;
}
/* Appearance gallery */
.appearance-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.appearance-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.gallery-link {
  display: block;
  line-height: 0;
}
.gallery-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.appearance-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.gallery-link:hover img {
  transform: scale(1.03);
}

/* Gallery modal — scroll through appearance photos */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
.gallery-modal[hidden] {
  display: none !important;
}
.gallery-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}
.gallery-modal-content {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.gallery-modal-image-wrap {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glow);
}
.gallery-modal-image {
  max-width: 100%;
  max-height: 73vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.gallery-modal-close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: rgba(0, 255, 213, 0.2);
}
.gallery-modal-close:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.gallery-modal-prev,
.gallery-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(10, 10, 15, 0.9);
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  -webkit-tap-highlight-color: rgba(0, 255, 213, 0.2);
}
.gallery-modal-prev:hover,
.gallery-modal-next:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--glow);
}
.gallery-modal-prev {
  left: -1.5rem;
}
.gallery-modal-next {
  right: -1.5rem;
}
@media (max-width: 768px) {
  .gallery-modal-prev {
    left: 0.25rem;
  }
  .gallery-modal-next {
    right: 0.25rem;
  }
  .gallery-modal-close {
    top: 0.25rem;
    right: 0.25rem;
  }
}
.gallery-modal-caption {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 90vw;
}
.gallery-modal-counter {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 500px) {
  .appearance-item {
    grid-template-columns: 1fr;
  }
  .tour-list .tour-item {
    grid-template-columns: 1fr;
    gap: 0.25rem 0;
  }
  .tour-date {
    grid-column: 1;
    margin-bottom: 0.25rem;
  }
  .tour-venue {
    grid-column: 1;
  }
  .tour-city {
    grid-column: 1;
  }
  .tour-item .appearance-link {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.5rem;
  }
  .appearance-link {
    grid-column: 1;
    grid-row: auto;
  }
  .appearance-gallery {
    grid-template-columns: 1fr;
  }
  .appearance-gallery-item img {
    height: 220px;
  }
}

/* Mobile-friendly: layout, spacing, touch targets */
@media (max-width: 768px) {
  header, main, footer {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
  header {
    padding-bottom: 14px;
  }
  nav {
    gap: 0.35rem;
  }
  nav a {
    padding: 0.6rem 0.75rem;
    font-size: 0.7rem;
    touch-action: manipulation;
  }
  .card {
    padding: 1.25rem;
    margin: 0.75rem 0;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .media-card-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 2rem 1rem 2.5rem;
  }
  .hero-tagline {
    font-size: 1.25rem;
  }
  /* Stats: 2x2 grid on mobile for compact layout and easy tapping */
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    padding: 1rem;
    align-items: stretch;
  }
  .stats-bar a {
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem;
    touch-action: manipulation;
  }
  .stat-num {
    font-size: 1.5rem;
  }
  .back-to-top {
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    right: max(1.25rem, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    touch-action: manipulation;
  }
  .credits-spotlight-grid {
    grid-template-columns: 1fr;
  }
  .credits-two-col {
    grid-template-columns: 1fr;
  }
  .phone-frame {
    max-width: 100%;
    margin: 1rem 0;
    border-radius: 24px;
    padding: 10px;
  }
  .testimonial-fan-list,
  .testimonial-industry {
    padding-left: 1rem;
  }
  /* Media table: horizontal scroll on small screens */
  #table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #table table {
    min-width: 520px;
  }
  .media-controls .filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .media-controls .filter-row label {
    min-width: 0;
  }
  .media-controls .filter-row input,
  .media-controls .filter-row select {
    width: 100%;
    min-height: 44px;
  }
  .view-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  /* Hero slider dots: larger touch target */
  .hero-slider-dots button {
    width: 12px;
    height: 12px;
    padding: 12px;
    margin: -12px 0 0 -12px;
  }
}

@media (max-width: 480px) {
  header, main, footer {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  h1 {
    font-size: 1.35rem;
  }
  header p.muted {
    font-size: 0.85rem;
  }
  .hero {
    padding: 1.5rem 0.75rem 2rem;
  }
  .hero-demo audio {
    min-width: 0;
    width: 100%;
  }
  /* Contact form: comfortable tap targets on phone */
  #contact-form input,
  #contact-form textarea {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }
  #contact-form textarea {
    min-height: 120px;
  }
  #contact-form button[type="submit"] {
    min-height: 48px;
    padding: 14px 28px;
    width: 100%;
    touch-action: manipulation;
  }
  footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  footer p:first-child {
    word-break: break-word;
  }
}

/* Very small phones: reduce chrome */
@media (max-width: 360px) {
  :root {
    --pad: 12px;
  }
  header, main, footer {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
  h1 {
    font-size: 1.2rem;
  }
  .hero {
    padding: 1.25rem 0.5rem 1.75rem;
  }
  .hero-badges {
    gap: 0.4rem;
  }
  .badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
  .stats-bar {
    padding: 0.75rem;
    gap: 0.5rem 0.75rem;
  }
  .stats-bar a {
    min-height: 44px;
    font-size: 0.9rem;
  }
  .stat-num {
    font-size: 1.35rem;
  }
  .card {
    padding: 1rem;
    margin: 0.5rem 0;
  }
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1rem 0;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: rgba(0, 255, 213, 0.5);
  box-shadow: var(--glow), 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
}

.card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.card a:hover {
  color: var(--accent-dim);
  text-decoration: underline;
}

small, .muted {
  color: var(--muted);
}

table {
  border-collapse: collapse;
  width: 100%;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

th, td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(0, 255, 213, 0.08);
  color: var(--accent);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

tr:hover td {
  background: rgba(0, 255, 213, 0.03);
}

input, select, textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 16px; /* prevents iOS zoom on focus */
  max-width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 255, 213, 0.2);
}

/* Contact form */
#contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
#contact-form .required {
  color: var(--accent-danger);
}
#contact-form p {
  margin-bottom: 1rem;
}
#contact-form .form-actions {
  margin-top: 1.25rem;
  margin-bottom: 0;
}
#contact-form button[type="submit"] {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
#contact-form button[type="submit"]:hover {
  background: var(--accent-dim);
  box-shadow: var(--glow);
}
#contact-form #contact-form-status.success { color: var(--accent-green); }
#contact-form #contact-form-status.error { color: var(--accent-danger); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.grid .card {
  display: flex;
  flex-direction: column;
}

.grid .card p:last-child {
  margin-top: auto;
}

.card-cta {
  border-color: rgba(0, 255, 213, 0.25);
}

.card-cta:hover {
  border-color: var(--accent);
}

/* Testimonials — phone-style interface */
.phone-frame {
  max-width: 380px;
  margin: 1.5rem auto;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(145deg, #1a1a24 0%, #0f0f16 100%);
  border: 3px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(0, 255, 213, 0.15),
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px 20px 0 0;
}

.phone-time {
  letter-spacing: 0.02em;
}

.phone-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-signal {
  width: 18px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath fill='%2322c55e' d='M0 8h2V6H0v2zm4 2h2V4H4v6zm4-2h2V2H8v6zm6 2h2V0h-2v10z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.phone-wifi {
  width: 16px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath fill='%2322c55e' d='M8 10a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-3c2.2 0 4.2.9 5.6 2.3l-1.4 1.4A5 5 0 008 8c-1.4 0-2.7.5-3.7 1.4L3 8.7C4.6 7 6.2 6 8 6zm0-4c3.3 0 6.3 1.3 8.5 3.5l-1.4 1.4A9 9 0 008 4c-2.2 0-4.2.9-5.7 2.3L1 4.9C3.2 2.7 5.5 1.5 8 1.5z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.phone-battery {
  width: 24px;
  height: 11px;
  border: 1.5px solid var(--text-dim);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.phone-battery::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: 75%;
  background: var(--accent-green);
  border-radius: 2px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: none;
  min-height: 420px;
  max-height: 65vh;
  display: flex;
  flex-direction: column;
}

.testimonials-feed {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-overflow-scrolling: touch;
}

.testimonial-bubble {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px 18px 18px 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-bubble:hover {
  border-color: rgba(0, 255, 213, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  color: var(--bg);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.testimonial-body {
  flex: 1;
  min-width: 0;
}

.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 6px;
}

.testimonial-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--muted);
}

.testimonial-quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

.testimonial-quote::before {
  content: "\201C";
  color: var(--text-dim);
  margin-right: 0.1em;
}

.testimonial-quote::after {
  content: "\201D";
  color: var(--text-dim);
  margin-left: 0.1em;
}

/* Testimonials page — fan & industry sections */
.testimonial-fan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.testimonial-fan-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.testimonial-fan-list li:last-child {
  border-bottom: none;
}
.testimonial-quote-standalone {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}
.testimonial-cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted);
}
.testimonial-cite a {
  color: var(--accent);
  text-decoration: none;
}
.testimonial-cite a:hover {
  text-decoration: underline;
}

@media (max-width: 420px) {
  .phone-frame {
    margin-left: -4px;
    margin-right: -4px;
    border-radius: 28px;
    padding: 8px;
  }
  .phone-status-bar {
    padding: 8px 18px 6px;
    font-size: 0.8rem;
  }
  .testimonials-feed {
    padding: 12px 10px 20px;
    gap: 12px;
  }
  .testimonial-bubble {
    padding: 12px 14px;
    border-radius: 16px 16px 16px 4px;
  }
  .testimonial-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }
}

.media-thumb {
  max-width: 140px;
  max-height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border);
}

.media-thumb:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

/* Long media titles: wrap and truncate cleanly */
.media-title {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  line-height: 1.35;
}
.media-card .media-title,
.media-gallery-card .media-title,
.featured-card .media-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-title-cell {
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 200px;
}

audio, video {
  max-width: 100%;
  min-width: 220px;
  border-radius: 8px;
  background: var(--bg);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--pad);
  padding: 0.75rem 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  z-index: 1000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--pad);
}
@media (max-width: 768px) {
  .skip-link:focus {
    top: max(var(--pad), env(safe-area-inset-top));
  }
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, rgba(0, 255, 213, 0.06) 0%, rgba(255, 107, 53, 0.04) 50%, transparent 100%);
  border: 2px solid var(--border);
  border-radius: 20px;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm), var(--accent-purple), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.hero-tagline {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  color: var(--accent-warm);
  margin: 0 0 1rem;
  letter-spacing: 0.15em;
  opacity: 0.95;
}

/* Hero slider */
.hero-slider {
  position: relative;
  margin-bottom: 1.5rem;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 520px) {
  .hero-slider { max-width: 340px; }
}
.hero-slider-track {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: var(--glow), 0 0 0 1px rgba(0, 255, 213, 0.2);
  transition: box-shadow 0.25s;
}
.hero-slide:hover img {
  box-shadow: var(--glow-strong), 0 0 40px rgba(255, 107, 53, 0.3);
}
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(10, 10, 15, 0.85);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}
.hero-slider-prev { left: 8px; }
.hero-slider-next { right: 8px; }
@media (min-width: 480px) {
  .hero-slider-prev { left: -12px; }
  .hero-slider-next { right: -12px; }
}
.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--glow);
}
.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.hero-slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 255, 213, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.hero-slider-dots button.active,
.hero-slider-dots button:hover {
  background: var(--accent);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.badge {
  font-family: 'Bangers', 'Orbitron', cursive;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  color: #fff;
  transform: rotate(-1deg);
  transition: transform 0.2s, filter 0.2s;
}
.badge:nth-child(1) { background: linear-gradient(135deg, #ff6b35, #ff3366); box-shadow: 0 4px 0 #c42a4d; }
.badge:nth-child(2) { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 4px 0 #15803d; }
.badge:nth-child(3) { background: linear-gradient(135deg, #94a3b8, #64748b); box-shadow: 0 4px 0 #475569; }
.badge:nth-child(4) { background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 4px 0 #d97706; }
.badge:hover {
  transform: rotate(1deg) scale(1.1) translateY(-2px);
  filter: brightness(1.15);
}

.hero-demo {
  margin: 1.5rem 0;
}

.hero-demo h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.hero-demo audio {
  min-width: 280px;
  max-width: 100%;
}

/* Buttons */
.btn {
  font-family: 'Bangers', 'Orbitron', cursive;
  font-weight: 400;
  font-size: 1.15rem;
  padding: 0.85rem 1.75rem;
  min-height: 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.05em;
  -webkit-tap-highlight-color: rgba(0, 255, 213, 0.2);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: var(--bg);
  box-shadow: 0 4px 0 rgba(0, 204, 170, 0.5), 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-accent:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 0 rgba(0, 204, 170, 0.5), var(--glow-strong);
}

.btn-accent:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 204, 170, 0.5);
}

.btn-small {
  font-size: 0.75rem;
  padding: 0.5rem 0.9rem;
  min-height: 44px;
  background: var(--bg-card);
  color: var(--text-dim);
  border: 1px solid var(--border);
  margin-right: 0.25rem;
}

.btn-small:hover, .btn-small.active {
  color: var(--accent);
  border-color: var(--accent);
}

/* Featured */
.featured-section { margin: 2.5rem 0; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  transition: all 0.25s ease;
}

.featured-card:hover {
  border-color: rgba(0, 255, 213, 0.5);
  box-shadow: var(--glow);
  transform: translateY(-3px) scale(1.01);
}

.featured-card h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.featured-card audio,
.featured-card video {
  width: 100%;
}

.featured-card a {
  color: var(--accent);
}

/* Stats bar */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  margin: 2rem 0;
}

.stats-bar a {
  color: var(--text-dim);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: all 0.2s;
}

.stats-bar a:hover {
  color: var(--accent);
  background: rgba(0, 255, 213, 0.08);
}

.stat-num {
  font-family: 'Bangers', 'Orbitron', cursive;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--accent);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  opacity: 0;
  transition: all 0.25s;
  z-index: 100;
}

.back-to-top:hover {
  box-shadow: var(--glow-strong);
  transform: scale(1.1);
}

/* Media controls */
.media-controls .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.media-controls label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.view-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-toggle .btn-small.active {
  background: rgba(0, 255, 213, 0.15);
}

/* Media card grid */
.media-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  position: relative;
  transition: all 0.25s ease;
}

.media-card:hover {
  border-color: rgba(0, 255, 213, 0.5);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.media-type-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 255, 213, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.media-card h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
  padding-right: 4rem;
}

.media-card-body {
  min-height: 60px;
}

.media-card-body audio,
.media-card-body video {
  width: 100%;
}

.btn-external {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 255, 213, 0.1);
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.btn-external:hover {
  background: rgba(0, 255, 213, 0.2);
}

/* Gallery cards (media-*.html, credits, podcasts, press) */
.media-gallery-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.media-gallery-card .media-embed {
  min-height: 80px;
  margin-bottom: 0.75rem;
}
.media-gallery-card .media-embed iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.media-gallery-card .media-embed iframe[height="315"] {
  aspect-ratio: 16/9;
  height: auto;
  min-height: 200px;
}
.media-gallery-card .media-embed iframe[height="166"] {
  height: 166px;
}
.media-gallery-card dl {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}
.media-gallery-card dt {
  font-weight: 600;
  color: var(--text-dim);
  display: inline;
}
.media-gallery-card dd {
  display: inline;
  margin: 0 0 0 0.25rem;
}
.rights-note {
  margin: 0;
  font-size: 0.75rem;
}
