/*
Theme Name: THOFI AI RADIO
Theme URI: https://thofi65.de
Author: thofi65
Description: Dunkles Neon-WordPress-Theme für THOFI AI RADIO.
Version: 1.0
License: Private
Text Domain: thofi-ai-radio
*/

:root {
  --bg: #050008;
  --violet: #a855f7;
  --cyan: #06b6d4;
  --text: #ffffff;
  --soft: #d8c7ff;
  --green: #86efac;
}

* { box-sizing: border-box; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(168,85,247,0.35), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(6,182,212,0.20), transparent 35%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }

.thofi-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5,0,8,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.thofi-nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.thofi-brand {
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
}

.thofi-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--soft);
}

.thofi-links a { text-decoration: none; }

.thofi-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px;
}

.thofi-hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.thofi-logo {
  width: min(360px, 90vw);
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(168,85,247,0.7));
}

.thofi-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(34,197,94,0.14);
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}

.thofi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  margin: 0 0 14px;
  letter-spacing: 1px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 16px;
}

h3 { margin-top: 0; }

.thofi-claim {
  font-size: 22px;
  color: var(--soft);
  margin-bottom: 24px;
}

.thofi-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.thofi-btn,
button.thofi-btn {
  display: inline-block;
  padding: 14px 19px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  box-shadow: 0 14px 28px rgba(6,182,212,0.25);
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 16px;
}

.thofi-btn.secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: none;
}

.thofi-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
}

.thofi-section { padding: 60px 0; }

audio {
  width: 100%;
  margin-top: 12px;
}

.thofi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.thofi-mini {
  padding: 20px;
  border-radius: 22px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--soft);
}

.thofi-mini strong {
  color: white;
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.thofi-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.thofi-platforms a {
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
}

iframe {
  border: 0;
  width: 100%;
  border-radius: 14px;
  margin-top: 16px;
}

.thofi-about-text {
  font-size: 18px;
  color: #eee6ff;
}

.thofi-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.thofi-form input,
.thofi-form textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.28);
  color: white;
  font-size: 15px;
}

.thofi-form textarea { min-height: 130px; resize: vertical; }

.thofi-form label {
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.thofi-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--soft);
  font-size: 14px;
}

.thofi-check input {
  width: auto;
  margin-top: 5px;
}

.thofi-note {
  color: #bda7ff;
  font-size: 14px;
  margin-top: 12px;
}

.thofi-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 26px 20px;
  text-align: center;
  color: #a78bfa;
  font-size: 14px;
}

.thofi-footer a {
  color: #d8c7ff;
  text-decoration: none;
  margin: 0 8px;
}

.thofi-legal {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 20px;
}

.thofi-legal h1 {
  font-size: clamp(36px, 6vw, 58px);
}

.thofi-warning {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,193,7,0.12);
  border: 1px solid rgba(255,193,7,0.3);
  color: #ffe8a3;
  margin: 20px 0;
}

@media (max-width: 800px) {
  .thofi-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .thofi-grid {
    grid-template-columns: 1fr;
  }
  .thofi-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}


.thofi-spotify-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.12);
  color: #d8c7ff;
}


/* Contact Form 7 – THOFI Design */
.thofi-form-box {
  margin-top: 22px;
}

.wpcf7 form {
  display: grid;
  gap: 14px;
}

.wpcf7 label {
  display: block;
  color: #d8c7ff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.32);
  color: #ffffff;
  font-size: 15px;
  outline: none;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: rgba(6,182,212,0.75);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.12);
}

.wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.wpcf7 .wpcf7-submit {
  display: inline-block;
  padding: 14px 19px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  box-shadow: 0 14px 28px rgba(6,182,212,0.25);
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 16px;
}

.wpcf7 .wpcf7-submit:hover {
  filter: brightness(1.08);
}

.wpcf7-list-item {
  margin: 0;
  color: #d8c7ff;
}

.wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.wpcf7-acceptance input {
  margin-top: 5px;
}

.wpcf7-response-output {
  border-radius: 14px !important;
  padding: 12px 14px !important;
  color: #ffffff;
}

.wpcf7-not-valid-tip {
  color: #fca5a5;
  font-size: 13px;
  margin-top: 5px;
}


/* Künstler-Feature-Seite */
.thofi-artist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 24px 0 60px;
}

.thofi-artist-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thofi-artist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.55);
}

.thofi-artist-avatar {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(6,182,212,0.35);
}

.thofi-artist-card h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.thofi-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,0.15);
  color: #86efac;
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 650px) {
  .thofi-artist-card {
    grid-template-columns: 1fr;
  }
}


.thofi-artist-description {
  color: #d8c7ff;
  margin: 10px 0 0;
}

.thofi-artist-description p {
  margin: 0 0 10px;
}


/* Künstler-Karten + Detailseite */
.thofi-artist-grid-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.thofi-artist-card-compact {
  grid-template-columns: 1fr;
}

.thofi-artist-image-link {
  display: block;
  text-decoration: none;
}

.thofi-artist-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 0 24px rgba(6,182,212,0.22);
}

.thofi-artist-avatar-large {
  width: 100%;
  height: 230px;
  border-radius: 22px;
  font-size: 72px;
}

.thofi-detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
}

.thofi-detail-image {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 0 34px rgba(168,85,247,0.38);
}

.thofi-detail-avatar {
  width: 320px;
  height: 320px;
  font-size: 110px;
  border-radius: 28px;
}

.thofi-back-link {
  display: inline-block;
  color: #d8c7ff;
  text-decoration: none;
  margin-bottom: 14px;
  font-weight: 800;
}

.thofi-detail-content {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #eee6ff;
  font-size: 18px;
}

@media (max-width: 800px) {
  .thofi-detail-layout {
    grid-template-columns: 1fr;
  }

  .thofi-detail-avatar {
    width: 100%;
    height: 240px;
  }
}


/* Kompakte Künstlerübersicht mit Suche, Filter, Sortierung */
.thofi-artist-tools {
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr;
  gap: 12px;
  align-items: center;
}

.thofi-artist-search,
.thofi-artist-select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.32);
  color: #ffffff;
  font-size: 15px;
  outline: none;
}

.thofi-artist-select option {
  background: #050008;
  color: #ffffff;
}

.thofi-artist-grid-cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.thofi-artist-card-compact {
  grid-template-columns: 72px 1fr !important;
  align-items: center;
  padding: 14px;
  gap: 14px;
}

.thofi-artist-image,
.thofi-artist-avatar-large {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px;
  object-fit: cover;
  border-radius: 16px;
}

.thofi-artist-avatar-large {
  font-size: 30px !important;
}

.thofi-artist-card-content h2 {
  font-size: 18px;
  margin: 0 0 5px;
}

.thofi-artist-card-content p {
  font-size: 13px;
  margin: 3px 0;
  color: #d8c7ff;
}

.thofi-artist-card-content .thofi-buttons {
  margin-top: 8px;
  gap: 7px;
}

.thofi-artist-card-content .thofi-btn {
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 11px;
}

.thofi-load-wrap {
  text-align: center;
  margin: 28px 0 60px;
}

#artistCount {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .thofi-artist-tools {
    grid-template-columns: 1fr;
  }

  .thofi-artist-grid-cards {
    grid-template-columns: 1fr;
  }
}


/* Complete Preview Fix */
.thofi-preview-player,
.thofi-spotify-embed {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
}

.thofi-preview-player audio {
  width: 100%;
  display: block;
}

.thofi-preview-player p,
.thofi-spotify-embed p {
  margin-top: 0;
  color: #d8c7ff;
}

.thofi-spotify-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 14px;
}

.thofi-artist-card-content .thofi-buttons .thofi-btn {
  white-space: nowrap;
}


/* WordPress Audio Player Automatik */
.thofi-preview-player .wp-audio-shortcode {
  width: 100% !important;
  max-width: 100% !important;
}

.thofi-preview-player .mejs-container,
.thofi-preview-player .mejs-controls {
  border-radius: 14px;
}

.thofi-preview-player {
  overflow: hidden;
}
