/*
Theme Name: BlackLightRadioV1
Theme URI:  https://blacklightradio.com
Author:     BlackLight Radio
Author URI: https://blacklightradio.com
Description: Dark neon 80s theme with sticky Live365 player, Facebook feed & Sponsors CPT.
Version:    1.1
License:    GNU General Public License v2 or later
Text Domain: blacklightradiov1
*/

/* Import Press Start 2P for headings */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --bg-color: #0B0B0B;
  --fg-color: #FFFFFF;
  --grid-color: rgba(47,47,47,0.1);
  --neon-pink: #FF00FF;
  --neon-cyan: #00FFFF;
  --accent-purple: #BF00FF;
}

.tagembed-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.tagembed-outer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.tagembed-inner {
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}

.tagembed-widget {
  width: 100% !important;
  max-width: 100% !important;
}

/* Subtle grid overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    url('assets/images/grid.png') repeat,
    var(--bg-color);
  background-size: 100px 100px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Base page styles */
body {
  background-color: var(--bg-color);
  color: var(--fg-color);
  font-family: Arial, system-ui, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

/* Neon‐glow headings & nav links */
h1, h2, nav a {
  font-family: 'Press Start 2P', monospace;
  color: var(--fg-color);
  text-shadow:
    0 0 2px var(--neon-pink),
    0 0 8px var(--neon-pink),
    0 0 12px var(--accent-purple);
  margin-bottom: 1rem;
}

/* Hide page title on homepage */
body.home .entry-title {
  display: none;
}

/* Neon‐border cards */
.card {
  background: #121212;
  border: 2px solid transparent;
  padding: 1rem;
  border-radius: 8px;
  transition: border-color .3s, box-shadow .3s;
  position: relative;
  z-index: 1;
}
.card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* Sponsors grid */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

/* Primary neon nav */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.nav-menu li {
  margin: 0;
}

.nav-menu a:hover {
  text-shadow:
    0 0 4px var(--neon-cyan),
    0 0 12px var(--neon-cyan),
    0 0 16px var(--accent-purple);
}

/* Sticky footer player */
.player-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  padding: 4px;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.player-wrapper iframe {
  width: 100%;
  max-width: 800px;
  height: 140px; /* or 180px if 140 is too tight */
  border: none;
}

@media (max-width: 600px) {
  .player-wrapper {
    height: 48px;
    overflow: hidden;
  }
  .player-wrapper.expanded {
    height: auto;
  }
}

/* VHS glitch effect */
.vhs-glitch {
  position: relative;
  z-index: 1;
}
.vhs-glitch::before,
.vhs-glitch::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: inherit;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glitch 5s infinite;
  opacity: 0.3;
}
@keyframes glitch {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  10% { clip-path: inset(10% 0 85% 0); transform: translate(-2px, -2px); }
  20% { clip-path: inset(85% 0 10% 0); transform: translate(2px, 2px); }
  30% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 1px); }
  40% { clip-path: inset(60% 0 20% 0); transform: translate(1px, -3px); }
}

.blr-custom-player {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background-color: #0b0b0b;
  box-shadow:
    0 -2px 10px var(--neon-pink),
    0 -4px 16px var(--neon-cyan);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  color: var(--fg-color);
}

.player-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.player-meta img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 6px var(--neon-cyan);
}

.player-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  color: var(--fg-color);
  text-shadow: 0 0 2px var(--neon-pink), 0 0 8px var(--neon-pink);
}

.player-controls button {
  font-family: 'Press Start 2P', monospace;
  background-color: var(--neon-cyan);
  border: none;
  color: black;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 0 8px var(--neon-cyan), 0 0 12px var(--neon-pink);
}

.powered-by {
  font-size: 0.7rem;
  text-align: right;
  color: #ccc;
  flex-grow: 1;
}

.powered-by a {
  color: var(--neon-cyan);
  text-decoration: none;
}

.live365-badge {
  height: 32px;
  transition: all 0.3s ease-in-out;
  filter: drop-shadow(0 0 3px var(--neon-cyan));
}

.live365-badge:hover {
  filter:
    drop-shadow(0 0 4px var(--neon-pink))
    drop-shadow(0 0 8px var(--neon-cyan))
    drop-shadow(0 0 12px var(--accent-purple));
  transform: scale(1.05);
}

.blr-welcome-banner {
  background: linear-gradient(to bottom, #0b0b0b, #111);
  padding: 1.5rem;
  text-align: center;
  border-bottom: 2px solid var(--neon-cyan);
  box-shadow: 0 4px 12px var(--neon-pink);
  position: relative;
  z-index: 900;
}

.blr-logo-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.blr-banner-logo {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 0 6px var(--neon-cyan));
  animation: flickerGlow 1.2s infinite alternate;
}

.blr-banner-text h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.85rem;
  color: var(--fg-color);
  text-shadow:
    0 0 2px var(--neon-pink),
    0 0 8px var(--neon-pink),
    0 0 12px var(--accent-purple);
  margin: 0;
  animation: slowPulse 4s ease-in-out infinite;
}

@keyframes slowPulse {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 2px var(--neon-pink), 0 0 8px var(--neon-pink), 0 0 12px var(--accent-purple);
  }
  50% {
    opacity: 0.85;
    text-shadow: 0 0 6px var(--neon-cyan), 0 0 14px var(--neon-cyan);
  }
}

@keyframes flickerGlow {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 6px var(--neon-cyan)); }
  50% { opacity: 0.92; filter: drop-shadow(0 0 2px var(--neon-pink)); }
}

/* Responsive contact page layout */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 2rem auto;
  max-width: 1000px;
  padding: 1rem;
  justify-content: center;
}

.speakpipe-wrapper,
.contact-form-wrapper {
  flex: 1 1 300px;
  min-width: 280px;
}

.contact-form-wrapper {
  flex: 1 1 500px;
}

/* Neon box style */
.neon-box {
  padding: 1rem;
  background-color: #111;
  border: 2px solid #0ff;
  box-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #0ff;
  border-radius: 10px;
}

/* WPForms fixes */
.wpforms-form label {
  color: #fff !important;
}

.wpforms-form input,
.wpforms-form textarea,
.wpforms-form select {
  background-color: #000;
  color: #0ff;
  border: 1px solid #0ff;
}

.wpforms-form button[type="submit"] {
  background-color: #0ff;
  color: #000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
}

.wpforms-form button[type="submit"]:hover {
  background-color: #00e6e6;
}

/* Facebook link */
.contact-links a {
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
}

.contact-links a:hover {
  text-shadow: 0 0 5px #0ff;
}

/* Fix for WPForms name fields */
.wpforms-form .wpforms-field-name input {
  background-color: #000;
  color: #0ff;
  border: 1px solid #0ff;
}

/* Optional: adjust placeholder too */
.wpforms-form .wpforms-field-name input::placeholder {
  color: #0ff;
  opacity: 0.6;
}

.contact-links {
  display: block;
  clear: both;
  width: 100%;
  margin: 3rem auto 2rem;
  text-align: center;
  z-index: 10;
  position: relative;
}

.contact-links p,
.contact-links a {
  display: inline-block;
  color: #0ff !important;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
}

.contact-links a:hover {
  text-shadow: 0 0 5px #0ff;
}

/* Fix deeper nested name fields */
.wpforms-field-name input[type="text"] {
  background-color: #000 !important;
  color: #0ff !important;
  border: 1px solid #0ff !important;
}

/* Override WPForms default variables for modern style */
:root {
  --wpforms-field-background-color: #000 !important;
  --wpforms-field-text-color: #0ff !important;
  --wpforms-label-color: #0ff !important;
}

.site-main {
  padding-bottom: 160px;
}

:root {
  --wpforms-field-background-color: #000 !important;
  --wpforms-field-text-color: #0ff !important;
  --wpforms-label-color: #0ff !important;
}

/* Also make borders match the green glow manually */
.wpforms-form input,
.wpforms-form textarea,
.wpforms-form select {
  border: 1px solid #0ff !important;
  color: #0ff !important;
  background-color: #000 !important;
}

/* Make placeholder text slightly dimmer green */
.wpforms-form input::placeholder,
.wpforms-form textarea::placeholder {
  color: #0ff;
  opacity: 0.5;
}

.wpforms-form input,
.wpforms-form textarea,
.wpforms-form select {
  box-shadow: 0 0 8px #0ff, 0 0 16px #0ff;
}

/* Force label color for Email and Comment or Message fields */
.wpforms-form .wpforms-field-email label,
.wpforms-form .wpforms-field-textarea label,
.wpforms-form .wpforms-field label {
  color: #0ff !important;
}

.wpforms-form button[type="submit"] {
  background-color: #000;
  color: #0ff;
  border: 2px solid #0ff;
  padding: 0.75rem 2rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow:
    0 0 6px #0ff,
    0 0 12px #0ff;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  margin-top: 1rem;
}

/* Hover/active effect */
.wpforms-form button[type="submit"]:hover {
  background-color: #0ff;
  color: #000;
  box-shadow:
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 30px #0ff;
  transform: scale(1.05);
}

/* Force override for WPForms Submit Button */
.wpforms-form .wpforms-submit {
  background-color: #000 !important;
  color: #0ff !important;
  border: 2px solid #0ff !important;
  padding: 0.75rem 2rem !important;
  font-family: 'Press Start 2P', monospace !important;
  font-size: 0.85rem !important;
  cursor: pointer;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow:
    0 0 6px #0ff,
    0 0 12px #0ff;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  margin-top: 1rem;
}

/* Hover effect */
.wpforms-form .wpforms-submit:hover {
  background-color: #0ff !important;
  color: #000 !important;
  box-shadow:
    0 0 10px #0ff,
    0 0 20px #0ff,
    0 0 30px #0ff;
  transform: scale(1.05);
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 6px #0ff, 0 0 12px #0ff;
  }
  50% {
    box-shadow: 0 0 14px #0ff, 0 0 28px #0ff;
  }
}

.wpforms-form .wpforms-submit {
  animation: glowPulse 2s ease-in-out infinite;
}

.contact-form-header {
  font-family: 'Press Start 2P', monospace;
  color: #0ff;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
  text-align: center;
}

.speakpipe-graphic {
  margin-top: 1rem;
  text-align: center;
}

.speakpipe-graphic img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 6px #0ff);
}

.neon-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #0ff;
  color: #0ff;
  background-color: #000;
  font-family: 'Press Start 2P', monospace;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 6px #0ff, 0 0 12px #0ff;
  transition: all 0.3s ease;
}

.neon-button:hover {
  background-color: #0ff;
  color: #000;
  box-shadow: 0 0 12px #0ff, 0 0 24px #0ff;
}

.messenger-icon-flicker {
  height: 1.25em;
  margin-right: 0.5em;
  vertical-align: middle;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 2px #0ff) drop-shadow(0 0 4px #0ff);
}

.blr-nav a.active {
  text-shadow:
    0 0 4px var(--neon-cyan),
    0 0 8px var(--neon-cyan),
    0 0 16px var(--accent-purple),
    0 0 24px var(--neon-cyan);
  padding-bottom: 0.25rem;
  border-bottom: none;
}

.about-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: #0b0b0b;
  border: 2px solid var(--neon-cyan);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-pink);
}

.about-section h1,
.about-section h2 {
  font-family: 'Press Start 2P', monospace;
  color: var(--fg-color);
  text-shadow:
    0 0 2px var(--neon-pink),
    0 0 8px var(--neon-cyan),
    0 0 12px var(--accent-purple);
  margin-bottom: 1rem;
}

.about-section p,
.about-section ul {
  font-family: Arial, sans-serif;
  color: #fff;
  line-height: 1.7;
  font-size: 1rem;
}

.about-section ul {
  padding-left: 1.5rem;
}

.about-section ul li {
  margin-bottom: 0.5rem;
  list-style-type: "➤ ";
  color: var(--neon-cyan);
}

.about-hero {
  text-align: center;
  margin-top: 2rem;
}

.about-hero img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow:
    0 0 12px var(--neon-cyan),
    0 0 24px var(--neon-pink);
}
/* Fade-up animation */
.about-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Flicker effect for H1 */
.about-section.intro h1 {
  opacity: 0;
  animation: flickerIn 1.2s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes flickerIn {
  0% { opacity: 0; }
  20% { opacity: 0.5; }
  40% { opacity: 0.1; }
  60% { opacity: 1; }
  80% { opacity: 0.6; }
  100% { opacity: 1; }
}

.program-poster {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 12px var(--neon-cyan), 0 0 24px var(--neon-pink);
  margin-top: 2rem; /* Adds space above the image */
  margin-bottom: 2rem;
}

}
.program-nav {
  text-align: center;
  margin: 2rem auto;
}

.program-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.program-nav a {
  font-family: 'Press Start 2P', monospace;
  color: var(--neon-cyan);
  text-decoration: none;
  text-shadow: 0 0 3px var(--neon-pink), 0 0 6px var(--neon-cyan);
  transition: text-shadow 0.3s ease;
}

.program-nav a:hover {
  text-shadow: 0 0 8px var(--neon-pink), 0 0 12px var(--neon-cyan);
}
.platform-header {
  margin-top: 4rem;
}
@media (min-width: 900px) {
  .blr-nav ul {
    flex-wrap: nowrap !important;
  }
}

.nav-menu {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}

.site-main > section {
  padding: 2rem;
}

/* Ensure nav menu aligns to main content */
.nav-menu {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.marquee-frame {
  z-index: 0;
}

.blr-nav {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 2rem 1rem; /* top, sides, bottom */
  box-sizing: border-box;
  position: relative;
  z-index: 1001;
  background: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 2rem;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  background: transparent;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5); /* optional */
}

.marquee-frame {
  background: transparent !important;
}

.site-header {
  background: transparent !important;
}

.blr-nav::before,
.blr-nav::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow:
    0 0 4px var(--neon-cyan),
    0 0 8px var(--neon-pink);
  opacity: 0.8;
}

.blr-nav::before {
  margin-bottom: 0.5rem;
}

.blr-nav::after {
  margin-top: 0.5rem;
}

.program-nav::before,
.program-nav::after {
  content: "";
  display: block;
  height: 2px;
  width: 60%;
  margin: 1.5rem auto;
  background: var(--neon-cyan);
  box-shadow:
    0 0 3px var(--neon-cyan),
    0 0 6px var(--neon-pink);
  opacity: 0.5;
}

.intro-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

#track-title a {
  color: #0ff;
  text-decoration: none;
}

#track-title a:visited {
  color: #6de0e0;
  text-decoration: none;
}

#track-title a:hover {
  color: #fff;
  text-shadow: 0 0 6px #0ff;
  text-decoration: none;
}

.nav-menu a,
.nav-menu a:visited,
.nav-menu a:hover,
.nav-menu a.active {
  text-decoration: none;
}
.nav-menu a.active {
  border: none !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

.fb-wrapper {
  max-width: 525px;
  margin: 0 auto;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--neon-cyan);
  border-radius: 10px;
  box-shadow: 0 0 15px var(--neon-pink);
  background-color: #000;
}

.fb-inner-align {
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
padding: 0 0 0 1.75rem; /* top, right, bottom, left */
}

.fb-page {
  margin-top: 0.5rem !important;
}

.fb-page,
.fb-page > span,
.fb-page iframe {
  width: 500px !important;
}

.fb-header {
  text-align: center;
}

.facebook-intro {
  text-align: center;
}

.standard-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  color: #fff;
}

.standard-page .page-title:first-of-type {
  margin-top: 1rem;
}

/* === CONSISTENT NAVIGATION STYLING — FINALIZED === */

/* Default state: neon teal with pink glow, correct font */
.nav-menu a {
  font-family: 'Press Start 2P', monospace;
  color: #00ffff !important; /* Teal */
  text-decoration: none !important;
  text-shadow:
    0 0 2px #ff00ff,
    0 0 8px #ff00ff,
    0 0 12px #bf00ff;
  transition: all 0.3s ease;
  border-bottom: none !important;
}

/* Hover state: white with teal glow — NO underline */
.nav-menu a:hover,
.nav-menu .current-menu-item > a:hover,
.nav-menu .current_page_item > a:hover,
.nav-menu a.active:hover {
  color: #ffffff !important;
  text-shadow:
    0 0 4px #00ffff,
    0 0 12px #00ffff,
    0 0 16px #00ffff;
  border-bottom: none !important;
  padding-bottom: 0;
  text-decoration: none !important;
}

/* Active/current page state: teal with subtle teal glow */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu a.active {
  color: #00ffff !important;
  text-shadow:
    0 0 4px #00ffff,
    0 0 8px #00ffff;
  border-bottom: none !important;
  padding-bottom: 0;
  text-decoration: none !important;
}
