/*
Theme Name: JamesBlonde
Theme URI: https://007jamesblonde.com
Author: Wyatt Sanders
Description: Spy-themed gaming streamer website for 007JamesBlonde
Version: 2.0.0
Text Domain: jamesblonde
*/

:root {
  --bg: #0a0a0f;
  --bg-card: #111118;
  --bg-card-hover: #1a1a24;
  --border: #2a2a3a;
  --gold: #d4a547;
  --gold-hover: #e0b85c;
  --gunmetal: #1a1a2e;
  --accent-red: #ef4444;
  --text: #e4e4e7;
  --text-dim: #71717a;
  --font: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Orbitron', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }

/* Header */
.site-header {
  position: sticky; top: 0; background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--gold);
  display: flex; align-items: center; gap: 8px;
}
.logo-barrel {
  width: 32px; height: 32px; border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  position: relative; animation: barrel-spin 8s linear infinite;
}
@keyframes barrel-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.logo-barrel::before {
  content: ''; position: absolute; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%;
}
nav.primary-nav { display: flex; gap: 4px; }
nav.primary-nav a {
  color: var(--text-dim); padding: 8px 14px; border-radius: 6px;
  font-size: 0.85rem; font-weight: 500; transition: all 0.2s;
}
nav.primary-nav a:hover { color: var(--gold); background: rgba(212,165,71,0.1); }
.mobile-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  nav.primary-nav {
    position: fixed; top: 64px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px;
    transform: translateY(-100%); opacity: 0; pointer-events: none; transition: all 0.3s;
  }
  nav.primary-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
}

/* Hero */
.hero {
  padding: 80px 24px; text-align: center;
  background: linear-gradient(180deg, rgba(212,165,71,0.08) 0%, var(--bg) 60%);
}
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold); margin-bottom: 12px;
}
.hero .tagline {
  font-size: 1.2rem; color: var(--text-dim); margin-bottom: 8px;
}
.hero .classified {
  font-size: 0.8rem; color: var(--accent-red); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; transition: all 0.2s;
}
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: rgba(212,165,71,0.1); }

/* Live Badge */
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(239,68,68,0.15); border: 1px solid var(--accent-red);
  border-radius: 20px; padding: 6px 16px; margin-bottom: 24px;
}
.live-dot {
  width: 8px; height: 8px; background: var(--accent-red); border-radius: 50%;
  animation: live-pulse 1.5s infinite;
}
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.live-text { color: var(--accent-red); font-size: 0.85rem; font-weight: 600; }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.section-title {
  font-family: var(--font-heading); font-size: 1.5rem; color: var(--gold);
  margin-bottom: 8px;
}
.section-subtitle { color: var(--text-dim); margin-bottom: 32px; }

/* Featured Video */
.featured-video {
  max-width: 800px; margin: 0 auto 40px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden;
}
.video-embed {
  width: 100%; aspect-ratio: 16/9; background: var(--gunmetal);
  display: flex; align-items: center; justify-content: center;
}
.video-info { padding: 16px 24px; }
.video-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.video-info p { font-size: 0.85rem; color: var(--text-dim); }

/* Clips Grid */
.clips-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px;
}
.clip-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; transition: all 0.3s;
}
.clip-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.clip-thumb {
  width: 100%; aspect-ratio: 16/9; background: var(--gunmetal);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.clip-thumb .play-overlay {
  width: 48px; height: 48px; background: rgba(212,165,71,0.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #000;
}
.clip-info { padding: 12px 16px; }
.clip-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.clip-info .clip-meta { font-size: 0.8rem; color: var(--text-dim); }

/* Stats */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px;
  margin-bottom: 40px;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; text-align: center;
}
.stat-value {
  font-family: var(--font-heading); font-size: 2rem; color: var(--gold); margin-bottom: 4px;
}
.stat-label { font-size: 0.85rem; color: var(--text-dim); }

/* About */
.about-section {
  display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center;
  max-width: 900px; margin: 0 auto;
}
.about-avatar {
  width: 200px; height: 200px; border-radius: 50%; background: var(--gunmetal);
  border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 4rem; margin: 0 auto;
}
.about-text h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--gold); }
.about-text p { color: var(--text-dim); margin-bottom: 12px; }
@media (max-width: 768px) { .about-section { grid-template-columns: 1fr; text-align: center; } }

/* Games */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.game-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; text-align: center; transition: all 0.3s;
}
.game-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.game-icon { font-size: 2.5rem; margin-bottom: 12px; }
.game-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.game-card p { font-size: 0.75rem; color: var(--text-dim); }

/* Community CTA */
.community-cta {
  background: linear-gradient(135deg, rgba(212,165,71,0.1), rgba(239,68,68,0.05));
  border: 1px solid var(--border); border-radius: 16px;
  padding: 48px 24px; text-align: center; margin: 40px 0;
}
.community-cta h3 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--gold); margin-bottom: 8px; }
.community-cta p { color: var(--text-dim); margin-bottom: 24px; }
.social-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 20px; color: var(--text); font-size: 0.9rem; transition: all 0.2s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* Schedule */
.schedule-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
}
.schedule-table th, .schedule-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border);
}
.schedule-table th { background: var(--bg-card); color: var(--gold); font-size: 0.85rem; text-transform: uppercase; }
.schedule-table tr:hover td { background: var(--bg-card-hover); }
.schedule-live { color: var(--accent-red); font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 40px 24px; margin-top: 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-inner p { color: var(--text-dim); font-size: 0.85rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }

/* Page content */
.page-content { max-width: 800px; margin: 40px auto 60px; padding: 0 24px; }
.page-content h1 { font-family: var(--font-heading); font-size: 2rem; color: var(--gold); margin-bottom: 24px; }
.page-content p { color: var(--text-dim); margin-bottom: 16px; }
.page-content a { color: var(--gold); }

/* Single */
.single-body { max-width: 800px; margin: 40px auto 60px; padding: 0 24px; }
.single-body h1 { font-family: var(--font-heading); font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.single-body p { color: var(--text-dim); margin-bottom: 16px; line-height: 1.8; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; right: 24px; background: var(--gold); color: #000;
  padding: 12px 24px; border-radius: 12px; font-weight: 600;
  transform: translateY(100px); opacity: 0; transition: all 0.3s; z-index: 9999;
}
.toast.show { transform: translateY(0); opacity: 1; }
