/*
Theme Name: Weird Frequencies
Theme URI: https://weirdfrequencies.com
Author: Weird Frequencies
Author URI: https://weirdfrequencies.com
Description: Dark, late-night radio style theme inspired by Coast to Coast AM and the official Weird Frequencies logo (neon blue + energy orange). Built for the podcast – Latest Episode, Next Show, Clips, and Weird News.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weird-frequencies
Tags: dark, podcast, blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS Variables – Easy to customize
   ========================================================================== */
:root {
  --wf-bg: #000000;
  --wf-bg-alt: #0a0a0f;
  --wf-bg-card: #111118;
  --wf-text: #f0f4ff;
  --wf-text-muted: #8a9bb8;
  --wf-accent: #00aaff;          /* electric neon blue from logo */
  --wf-accent-hover: #33bbff;
  --wf-accent-2: #ffaa00;        /* warm orange/yellow energy orb */
  --wf-accent-glow: #00ccff;
  --wf-border: #1a2030;
  --wf-success: #00c853;
  --wf-font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --wf-font-display: 'Space Grotesk', 'Inter', sans-serif;
  --wf-radius: 8px;
  --wf-shadow: 0 4px 30px rgba(0, 170, 255, 0.15);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--wf-font-main);
  background: var(--wf-bg);
  color: var(--wf-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--wf-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--wf-accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wf-font-display);
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.wf-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.wf-section {
  padding: 48px 0;
}

.wf-section-title {
  font-size: 1.75rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wf-section-title::before {
  content: '';
  width: 4px;
  height: 28px;
  background: var(--wf-accent);
  border-radius: 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.wf-header {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wf-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

.wf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wf-logo {
  font-family: var(--wf-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wf-text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wf-logo img {
  height: 42px;
  width: auto;
  display: block;
}
.wf-logo-text span {
  color: var(--wf-accent);
  text-shadow: 0 0 12px rgba(0, 170, 255, 0.5);
}

.wf-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wf-nav a {
  color: var(--wf-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.wf-nav a:hover,
.wf-nav .current-menu-item a {
  color: var(--wf-text);
}

.wf-header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--wf-radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wf-btn-primary {
  background: linear-gradient(135deg, var(--wf-accent), #0088cc);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.35);
}
.wf-btn-primary:hover {
  background: linear-gradient(135deg, var(--wf-accent-hover), #00aaff);
  color: #fff;
  box-shadow: 0 0 28px rgba(0, 170, 255, 0.5);
}

.wf-btn-outline {
  background: transparent;
  color: var(--wf-text);
  border: 1px solid var(--wf-border);
}
.wf-btn-outline:hover {
  border-color: var(--wf-accent);
  color: var(--wf-accent);
}

.wf-btn-live {
  background: linear-gradient(135deg, #ff2d55, #ff6b6b);
  color: #fff;
  animation: pulse-live 2s infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 45, 85, 0); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.wf-hero {
  padding: 60px 0 40px;
  background: 
    radial-gradient(ellipse 80% 50% at 85% 15%, rgba(255, 170, 0, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at top, #0a1525 0%, var(--wf-bg) 70%);
  border-bottom: 1px solid var(--wf-border);
}

.wf-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.wf-hero-label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wf-accent-2);
  margin-bottom: 12px;
}

.wf-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.wf-hero-meta {
  color: var(--wf-text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.wf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Show Cards (Latest / Next)
   ========================================================================== */
.wf-show-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.wf-show-card {
  background: var(--wf-bg-card);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.wf-show-card:hover {
  border-color: var(--wf-accent);
  transform: translateY(-2px);
}

.wf-show-card-header {
  padding: 16px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wf-show-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
}
.wf-show-badge.latest {
  background: rgba(0, 170, 255, 0.18);
  color: var(--wf-accent);
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.25);
}
.wf-show-badge.next {
  background: rgba(255, 170, 0, 0.15);
  color: var(--wf-accent-2);
  box-shadow: 0 0 12px rgba(255, 170, 0, 0.2);
}

.wf-show-card-body {
  padding: 16px 20px 24px;
}

.wf-show-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.wf-show-card .host {
  font-size: 0.9rem;
  color: var(--wf-text-muted);
  margin-bottom: 12px;
}

.wf-show-card p {
  color: var(--wf-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   Clips Grid
   ========================================================================== */
.wf-clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.wf-clip-card {
  background: var(--wf-bg-card);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.wf-clip-card:hover {
  border-color: var(--wf-accent);
}

.wf-clip-thumb {
  aspect-ratio: 16/9;
  background: var(--wf-bg-alt);
  position: relative;
}
.wf-clip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wf-clip-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.wf-clip-card:hover .wf-clip-play {
  opacity: 1;
}

.wf-clip-info {
  padding: 14px;
}
.wf-clip-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.wf-clip-info .date {
  font-size: 0.8rem;
  color: var(--wf-text-muted);
}

/* ==========================================================================
   News / Articles
   ========================================================================== */
.wf-news-list {
  display: grid;
  gap: 16px;
}

.wf-news-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--wf-bg-card);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  transition: border-color 0.2s ease;
}
.wf-news-item:hover {
  border-color: var(--wf-accent);
}

.wf-news-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.wf-news-item .source {
  font-size: 0.8rem;
  color: var(--wf-text-muted);
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.wf-newsletter {
  background: 
    radial-gradient(ellipse at top right, rgba(255, 170, 0, 0.12), transparent 50%),
    linear-gradient(135deg, #0a1525, #05050a);
  border: 1px solid var(--wf-border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 170, 255, 0.08);
}

.wf-newsletter h2 {
  margin-bottom: 8px;
}
.wf-newsletter p {
  color: var(--wf-text-muted);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.wf-newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.wf-newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  background: var(--wf-bg);
  color: var(--wf-text);
  font-size: 1rem;
}
.wf-newsletter-form input:focus {
  outline: none;
  border-color: var(--wf-accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.wf-footer {
  background: var(--wf-bg-alt);
  border-top: 1px solid var(--wf-border);
  padding: 48px 0 32px;
  margin-top: 60px;
}

.wf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.wf-footer h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wf-text-muted);
  margin-bottom: 16px;
}

.wf-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wf-footer li {
  margin-bottom: 8px;
}
.wf-footer a {
  color: var(--wf-text-muted);
  font-size: 0.95rem;
}
.wf-footer a:hover {
  color: var(--wf-text);
}

.wf-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--wf-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--wf-text-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .wf-hero-grid,
  .wf-show-grid {
    grid-template-columns: 1fr;
  }
  .wf-nav {
    display: none; /* Replace with mobile menu later */
  }
  .wf-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .wf-footer-grid {
    grid-template-columns: 1fr;
  }
  .wf-newsletter-form {
    flex-direction: column;
  }
  .wf-header-cta .wf-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}
