/* ============================================================
   DJ LINK PAGE – STYLESHEET
   ============================================================
   Anpassbare Variablen findest du unten im :root-Block.
   ============================================================ */

/* ----- Farben & Design-Tokens – BEATFIRE Logo-Palette ----- */
:root {
  /* Hintergrund (Logo-Schwarz) */
  --color-bg-deep: #000000;
  --color-bg-mid: #0c0604;

  /* Feuer – FIRE-Seite des Logos */
  --color-fire: #ff4500;
  --color-fire-mid: #ff6b00;
  --color-fire-bright: #ffd700;
  --color-fire-deep: #cc2200;

  /* Metall – BEAT-Seite des Logos */
  --color-silver: #b8b8b8;
  --color-silver-light: #e8e8e8;
  --color-silver-dark: #6a6a6a;

  /* Semantische Aliase */
  --color-accent: var(--color-fire);
  --color-accent-light: var(--color-fire-mid);
  --color-accent-warm: var(--color-fire-bright);
  --color-accent-cool: var(--color-silver);

  /* Text */
  --color-text: #ececec;
  --color-text-muted: #8a8278;

  /* Glas-Effekt */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-hover: rgba(255, 80, 0, 0.07);

  /* Abstände */
  --page-max-width: 480px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Schatten & Glow */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.55);
  --glow-accent: 0 0 40px rgba(255, 69, 0, 0.38);
  --glow-silver: 0 0 28px rgba(200, 200, 200, 0.1);

  /* Animation */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-med: 0.35s var(--ease-out);
}

/* ----- Reset & Basis ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-deep);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ----- Animierter Hintergrund ----- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 69, 0, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 85% 60%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 45% 40% at 10% 70%, rgba(180, 180, 180, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-mid) 0%, var(--color-bg-deep) 100%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatGlow 12s ease-in-out infinite;
}

.bg-glow--1 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.bg-glow--2 {
  width: 220px;
  height: 220px;
  background: var(--color-fire-deep);
  bottom: 20%;
  right: -60px;
  animation-delay: -4s;
}

.bg-glow--3 {
  width: 160px;
  height: 160px;
  background: var(--color-silver-dark);
  bottom: 10%;
  left: -40px;
  animation-delay: -8s;
  opacity: 0.35;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  33%       { transform: translate(20px, -15px) scale(1.05); opacity: 0.55; }
  66%       { transform: translate(-15px, 10px) scale(0.95); opacity: 0.45; }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 80%);
}

.neon-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 69, 0, 0.18);
  animation: pulseRing 6s ease-in-out infinite;
}

.neon-ring--1 {
  width: 400px;
  height: 400px;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.neon-ring--2 {
  width: 600px;
  height: 600px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -3s;
  border-color: rgba(255, 215, 0, 0.1);
}

@keyframes pulseRing {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50%       { opacity: 0.6; transform: translateX(-50%) scale(1.03); }
}

/* ----- Seitenlayout ----- */
.page {
  position: relative;
  z-index: 1;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

/* ----- Lade-Animation (Reveal) ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Profil-Bereich ----- */
.profile {
  text-align: center;
  margin-bottom: 2rem;
}

/* Logo-Anzeige – PNG hat schwarzen Hintergrund, kein Kasten sichtbar */
.logo-wrap {
  position: relative;
  width: min(220px, 72vw);
  margin: 0 auto 1.5rem;
  background: transparent;
  isolation: isolate;
}

.logo-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  /* Kein Hintergrund / kein Gradient am img-Element */
  background: unset;
  background-color: unset;
  background-image: none;
  border: none;
  outline: none;
  /* Schwarzer PNG-Hintergrund verschmilzt mit Seitenhintergrund */
  mix-blend-mode: lighten;
}

/* Feuer-Glow hinter dem Logo (nicht als filter am img – vermeidet Kasten-Rand) */
.logo-glow {
  position: absolute;
  inset: 15% 0;
  background: radial-gradient(ellipse at 55% 45%, rgba(255, 69, 0, 0.3), transparent 65%);
  z-index: 1;
  pointer-events: none;
  animation: logoFlicker 4s ease-in-out infinite;
  border-radius: 50%;
}

@keyframes logoFlicker {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

/* Visuell versteckt, bleibt für Screenreader/SEO */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dj-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-silver);
  margin-bottom: 0.75rem;
}

.dj-tagline__dot {
  color: var(--color-fire);
  margin: 0 0.15em;
}

.dj-bio {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ----- Link-Karten ----- */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-med);
  position: relative;
  overflow: hidden;
}

/* Licht-Streifen beim Hover */
.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transition: left 0.5s var(--ease-out);
}

.link-card:hover::before,
.link-card:focus-visible::before {
  left: 120%;
}

.link-card:hover,
.link-card:focus-visible {
  background: var(--glass-hover);
  border-color: rgba(255, 69, 0, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card), var(--glow-accent);
  outline: none;
}

.link-card:active {
  transform: translateY(0) scale(0.98);
}

/* Hervorgehobener Booking-Button – Feuer-Akzent */
.link-card--highlight {
  border-color: rgba(255, 69, 0, 0.35);
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.14), rgba(204, 34, 0, 0.08));
}

.link-card--highlight:hover,
.link-card--highlight:focus-visible {
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: var(--shadow-card), 0 0 50px rgba(255, 69, 0, 0.35);
}

.link-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  color: #fff;
}

/* Plattform-Farben (Icons) */
.link-card__icon--instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.link-card__icon--facebook   { background: #1877f2; }
.link-card__icon--tiktok     { background: #010101; border: 1px solid rgba(255,255,255,0.15); }
.link-card__icon--soundcloud { background: #ff5500; }
.link-card__icon--spotify    { background: #1db954; }
.link-card__icon--youtube    { background: #ff0000; }
.link-card__icon--twitch     { background: #9146ff; }
.link-card__icon--discord    { background: #5865f2; }
.link-card__icon--booking    { background: linear-gradient(135deg, var(--color-fire), var(--color-fire-deep)); }
.link-card__icon--press      { background: linear-gradient(135deg, var(--color-silver-dark), var(--color-silver)); color: #1a1a1a; }

.link-card__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.link-card__title {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.link-card__desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-card__arrow {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.link-card:hover .link-card__arrow,
.link-card:focus-visible .link-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ----- Copy E-Mail Button ----- */
.copy-email {
  text-align: center;
  margin-bottom: 2rem;
}

.copy-email__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.copy-email__btn:hover,
.copy-email__btn:focus-visible {
  color: var(--color-fire-mid);
  border-color: rgba(255, 69, 0, 0.4);
  background: rgba(255, 69, 0, 0.08);
  outline: none;
}

.copy-email__btn.is-copied {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.08);
}

.copy-email__toast {
  font-size: 0.75rem;
  color: #4ade80;
  margin-top: 0.5rem;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-email__toast.is-visible {
  opacity: 1;
}

/* ----- Highlight-Karten (Next Gig & Latest Mix) ----- */
.highlight-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
}

.highlight-card:hover {
  border-color: rgba(255, 69, 0, 0.28);
  box-shadow: var(--shadow-card), 0 0 30px rgba(255, 69, 0, 0.15);
}

.highlight-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-fire-mid);
  background: rgba(255, 69, 0, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.highlight-card__badge--mix {
  color: var(--color-silver-light);
  background: rgba(180, 180, 180, 0.1);
}

.highlight-card__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.highlight-card__subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.highlight-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.15rem;
}

.highlight-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.highlight-card__meta-item i {
  color: var(--color-fire);
  font-size: 0.8rem;
}

.highlight-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-fire), var(--color-fire-deep));
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.highlight-card__cta:hover,
.highlight-card__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.5);
  outline: none;
}

.highlight-card__cta:active {
  transform: scale(0.97);
}

/* ----- Mix Player ----- */
.mix-player {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mix-player__visual {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 69, 0, 0.18), rgba(204, 34, 0, 0.12)),
    radial-gradient(circle at 30% 50%, rgba(180, 180, 180, 0.06), transparent 60%);
}

.mix-player__wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
  opacity: 0.5;
}

.mix-player__wave span {
  display: block;
  width: 4px;
  height: 20%;
  background: var(--color-fire-mid);
  border-radius: 2px;
  animation: waveBar 1.2s ease-in-out infinite;
}

.mix-player__wave span:nth-child(1)  { animation-delay: 0s; }
.mix-player__wave span:nth-child(2)  { animation-delay: 0.1s; }
.mix-player__wave span:nth-child(3)  { animation-delay: 0.2s; }
.mix-player__wave span:nth-child(4)  { animation-delay: 0.3s; }
.mix-player__wave span:nth-child(5)  { animation-delay: 0.15s; }
.mix-player__wave span:nth-child(6)  { animation-delay: 0.25s; }
.mix-player__wave span:nth-child(7)  { animation-delay: 0.05s; }
.mix-player__wave span:nth-child(8)  { animation-delay: 0.35s; }
.mix-player__wave span:nth-child(9)  { animation-delay: 0.2s; }
.mix-player__wave span:nth-child(10) { animation-delay: 0.1s; }

/* Wellen-Animation nur wenn Player aktiv */
.mix-player.is-playing .mix-player__wave span {
  animation-play-state: running;
}

.mix-player:not(.is-playing) .mix-player__wave span {
  animation-play-state: paused;
  height: 15% !important;
}

@keyframes waveBar {
  0%, 100% { height: 20%; }
  50%       { height: 90%; }
}

.mix-player__play {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  transition: all var(--transition-fast);
  padding-left: 3px; /* Play-Icon optisch zentrieren */
}

.mix-player__play:hover,
.mix-player__play:focus-visible {
  background: var(--color-fire);
  border-color: var(--color-fire);
  box-shadow: 0 0 24px rgba(255, 69, 0, 0.55);
  transform: scale(1.05);
  outline: none;
}

.mix-player__play:active {
  transform: scale(0.95);
}

.mix-player__info {
  padding: 0.85rem 1rem;
}

.mix-player__progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.mix-player__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-fire), var(--color-fire-bright));
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.mix-player__times {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

/* ----- Footer ----- */
.footer {
  text-align: center;
  padding-top: 1rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.footer__tagline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 107, 0, 0.65);
}

/* ----- Wellenform-Akzent (wie im Logo unten) ----- */
.bg-waveform {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  padding-bottom: 8px;
  opacity: 0.35;
  mask-image: linear-gradient(to top, black 30%, transparent 100%);
}

.bg-waveform span {
  display: block;
  width: 3px;
  background: linear-gradient(to top, var(--color-fire-deep), var(--color-fire-bright));
  border-radius: 2px;
  animation: bgWave 1.4s ease-in-out infinite;
}

.bg-waveform span:nth-child(1)  { height: 12px; animation-delay: 0s; }
.bg-waveform span:nth-child(2)  { height: 20px; animation-delay: 0.15s; }
.bg-waveform span:nth-child(3)  { height: 28px; animation-delay: 0.3s; }
.bg-waveform span:nth-child(4)  { height: 18px; animation-delay: 0.1s; }
.bg-waveform span:nth-child(5)  { height: 32px; animation-delay: 0.25s; }
.bg-waveform span:nth-child(6)  { height: 22px; animation-delay: 0.05s; }
.bg-waveform span:nth-child(7)  { height: 14px; animation-delay: 0.2s; }
.bg-waveform span:nth-child(8)  { height: 26px; animation-delay: 0.35s; }
.bg-waveform span:nth-child(9)  { height: 16px; animation-delay: 0.12s; }
.bg-waveform span:nth-child(10) { height: 10px; animation-delay: 0.28s; }
.bg-waveform span:nth-child(11) { height: 24px; animation-delay: 0.08s; }
.bg-waveform span:nth-child(12) { height: 18px; animation-delay: 0.22s; }
.bg-waveform span:nth-child(13) { height: 30px; animation-delay: 0.18s; }
.bg-waveform span:nth-child(14) { height: 14px; animation-delay: 0.32s; }
.bg-waveform span:nth-child(15) { height: 20px; animation-delay: 0.04s; }

@keyframes bgWave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50%       { transform: scaleY(1); opacity: 1; }
}

/* ----- Responsive: Tablet & Desktop ----- */
@media (min-width: 600px) {
  .page {
    padding: 3.5rem 1.5rem 4rem;
  }

  .link-card {
    padding: 1.1rem 1.35rem;
  }

  .link-card__icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .highlight-card {
    padding: 1.75rem;
  }

  .mix-player__visual {
    height: 160px;
  }
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
