/*
Theme Name: Star FM România
Theme URI: https://starfm.2good.at
Author: Star FM România
Description: Dunkles modernes Club-Theme für STAR FM România — Neon-Akzente, Radioplayer, Dedicatii, xat-Chat.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: starfm
Tags: dark, radio, music, one-column, custom-logo, custom-menu, responsive-layout
*/

:root {
  --bg: #0f111b;
  --bg2: #121212;
  --panel: #171a29;
  --panel2: #1d2135;
  --neon: #00e5ff;
  --accent: #ff1744;
  --text: #e8ecf8;
  --muted: #9aa3c0;
  --border: rgba(0, 229, 255, .25);
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 229, 255, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 23, 68, .10), transparent 60%),
    radial-gradient(1000px 600px at -10% 20%, rgba(0, 229, 255, .10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--neon); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(15, 17, 27, .82);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand img { height: 52px; width: auto; display: block; border-radius: 8px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a:hover { background: rgba(0,229,255,.10); text-decoration: none; }
.main-nav .live-link { color: var(--accent); }
.nav-live-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); margin-right: 7px;
  box-shadow: 0 0 8px var(--accent); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---- Hero ---- */
.hero { padding: 48px 16px 26px; text-align: center; }
.hero-logo { width: min(360px, 80vw); height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.hero h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  margin: 18px 0 6px;
  letter-spacing: .5px;
}
.hero h1 .neon { color: var(--neon); text-shadow: 0 0 18px rgba(0,229,255,.55); }
.hero .sub { color: var(--muted); max-width: 640px; margin: 0 auto 18px; }

.btn-neon {
  display: inline-block;
  background: linear-gradient(135deg, #00e5ff 0%, #00b0ff 100%);
  color: #04121a;
  font-weight: 800;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(0,229,255,.45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-neon:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(0,229,255,.65); text-decoration: none; color: #04121a; }
.btn-neon:active { transform: translateY(0); }
.btn-accent {
  display: inline-block;
  background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
  color: #fff;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 20px rgba(255,23,68,.35);
}

/* ---- Now Playing ---- */
.nowplaying {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; color: var(--muted);
  font-size: .95rem; margin-top: 14px; flex-wrap: wrap;
}
.nowplaying .np-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); animation: pulse 2s infinite; }
.nowplaying .np-title { color: var(--text); font-weight: 600; }

/* ---- Player Box ---- */
.player-box {
  max-width: 720px;
  margin: 10px auto 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
}
.player-row { display: flex; align-items: center; gap: 16px; }
.play-btn {
  width: 62px; height: 62px; border-radius: 50%;
  border: none; cursor: pointer; font-size: 1.6rem;
  background: linear-gradient(135deg, #00e5ff, #00b0ff); color: #04121a;
  box-shadow: 0 0 22px rgba(0,229,255,.5);
  flex: 0 0 auto;
}
.play-btn.playing { background: linear-gradient(135deg, #ff1744, #c2002b); color: #fff; }
.vol-wrap { display: flex; align-items: center; gap: 8px; color: var(--muted); }
input[type="range"].vol { width: 130px; accent-color: var(--neon); }
.player-status { color: var(--muted); font-size: .9rem; margin-top: 10px; min-height: 1.2em; }

/* ---- Sektionen / Karten ---- */
section.block { padding: 30px 16px; }
section.block h2 {
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  text-align: center;
  margin: 0 0 18px;
}
section.block h2 .neon { color: var(--neon); }
.grid { max-width: 1100px; margin: 0 auto; display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--panel);
  border: 1px solid rgba(0,229,255,.16);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 8px; color: var(--neon); font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- Chat ---- */
.chat-wrap { position: relative; max-width: 900px; margin: 0 auto; }
.chat-wrap iframe {
  width: 100%; height: 480px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #000;
  display: block;
}
.chat-gate {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15,17,27,0) 40%, rgba(15,17,27,.92) 100%);
  pointer-events: none;
}
.chat-gate span {
  pointer-events: auto;
  background: rgba(0,229,255,.14);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .9rem;
}
.chat-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 10px; }

/* ---- DedicatieFormular ---- */
.dedicatii-box {
  max-width: 640px; margin: 0 auto;
  background: var(--panel);
  border: 1px solid rgba(255,23,68,.22);
  border-radius: var(--radius);
  padding: 22px;
}
.dedicatii-box label { display: block; font-size: .85rem; color: var(--muted); margin: 12px 0 4px; font-weight: 600; }
.dedicatii-box input[type=text], .dedicatii-box input[type=tel], .dedicatii-box textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid rgba(0,229,255,.25);
  border-radius: 10px;
  color: var(--text);
  padding: 11px 13px;
  font: inherit;
}
.dedicatii-box textarea { min-height: 84px; resize: vertical; }
.dedicatii-box .hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.dedicatii-form-msg { margin-top: 12px; font-size: .95rem; color: var(--neon); min-height: 1.3em; }
.dedicatii-form-msg.err { color: var(--accent); }

/* ---- Footer ---- */
.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 26px 16px;
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
}
.site-footer a { color: var(--neon); }
.footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }

/* ---- Inner Pages (contact / privacy) ---- */
.page-shell {
  max-width: 860px;
  margin: 34px auto;
  padding: 0 16px 40px;
}
.page-shell article {
  background: var(--panel);
  border: 1px solid rgba(0,229,255,.16);
  border-radius: var(--radius);
  padding: 26px clamp(16px, 4vw, 34px);
}
.page-shell h1 { color: var(--neon); margin-top: 0; }
.page-shell h2 { color: var(--text); margin-top: 26px; font-size: 1.15rem; }
.page-shell p, .page-shell li { color: #c9d2ea; }
.page-shell strong { color: var(--text); }

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  z-index: 100;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
}
.cookie-banner p { margin: 0; font-size: .88rem; color: var(--muted); }
.cookie-banner button {
  background: var(--neon); color: #04121a; font-weight: 700;
  border: none; border-radius: 999px; padding: 9px 20px; cursor: pointer;
}

@media (max-width: 640px) {
  .site-header .wrap { gap: 10px; }
  .brand img { height: 42px; }
  .player-row { flex-direction: column; }
  .chat-wrap iframe { height: 420px; }
}

/* ---- WordPress-Standard-Inhaltsstile ---- */
.entry-content a { border-bottom: 1px dotted rgba(0,229,255,.5); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid rgba(0,229,255,.2); padding: 8px 10px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute;
}