/* ============================================
   UPLAND REVIVAL — DESIGN SYSTEM
   Colors derived from the logo:
   - Sunset gradient: orange → magenta → deep navy
   - Gold/orange accents
   - Dark backgrounds
   ============================================ */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161e;
  --bg-card-hover: #1e1e28;

  --color-orange: #FFA73A;
  --color-orange-bright: #FF7043;
  --color-gold: #FFC845;
  --color-gold-bright: #FFD700;
  --color-magenta: #c44b8c;
  --color-navy: #0C2D50;
  --color-navy-light: #1a3a5c;

  --text-primary: #FFFFFF;
  --text-secondary: #B0B8C8;
  --text-muted: #6b7280;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 167, 58, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.nav-logo img {
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--color-orange);
}

.nav-cta {
  background: var(--color-orange);
  color: var(--bg-primary) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--color-gold);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255, 167, 58, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 30% 70%, rgba(196, 75, 140, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 80%, rgba(12, 45, 80, 0.15) 0%, transparent 50%),
    var(--bg-primary);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  margin: 0 auto 32px;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 167, 58, 0.2), 0 0 120px rgba(196, 75, 140, 0.1);
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(255, 167, 58, 0.2), 0 0 120px rgba(196, 75, 140, 0.1); }
  50% { box-shadow: 0 0 80px rgba(255, 167, 58, 0.3), 0 0 160px rgba(196, 75, 140, 0.15); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--color-orange);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.tag {
  background: rgba(255, 167, 58, 0.1);
  border: 1px solid rgba(255, 167, 58, 0.25);
  color: var(--color-orange);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-gold);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-bright) 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(255, 167, 58, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 167, 58, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-orange);
  border: 2px solid var(--color-orange);
  padding: 12px 28px;
}

.btn-outline:hover {
  background: var(--color-orange);
  color: var(--bg-primary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ABOUT / VALUE PROPS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), border-color var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 167, 58, 0.2);
}

.about-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================
   WATCH / FEATURED VIDEO
   ============================================ */
.watch-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.watch-badge {
  display: inline-block;
  background: rgba(255, 167, 58, 0.15);
  color: var(--color-orange);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.watch-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.watch-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ============================================
   EPISODES GRID
   ============================================ */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.episode-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.episode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 167, 58, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.episode-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.episode-card:hover .episode-thumb img {
  transform: scale(1.05);
}

.episode-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.episode-info {
  padding: 16px 20px 20px;
}

.episode-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.episode-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.episodes-more {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   TOPICS GRID
   ============================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 20px 18px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition), border-color var(--transition);
}

.topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 167, 58, 0.2);
}

.topic-icon {
  font-size: 1.2rem;
}

/* ============================================
   HOSTS
   ============================================ */
.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.host-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.host-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 167, 58, 0.2);
}

.host-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--bg-primary);
}

.host-ktwice {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-bright) 100%);
}

.host-kevin {
  background: linear-gradient(135deg, var(--color-navy-light) 0%, var(--color-magenta) 100%);
}

.host-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.host-role {
  display: block;
  color: var(--color-orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.host-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.host-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.host-socials a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.host-socials a:hover {
  color: var(--color-orange);
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 167, 58, 0.2);
}

.project-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: var(--radius);
}

.project-logo-placeholder {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--bg-card-hover);
  border-radius: var(--radius);
}

.project-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-status {
  display: inline-block;
  background: rgba(131, 199, 125, 0.15);
  color: #83C77D;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-soon {
  background: rgba(255, 200, 69, 0.15);
  color: var(--color-gold);
}

/* ============================================
   DISCORD CTA SECTION
   ============================================ */
.section-cta {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 167, 58, 0.08) 0%, transparent 60%),
    var(--bg-primary);
  text-align: center;
  padding: 120px 0;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 48px 0;
}

.footer-content {
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-orange);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cards */
.about-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.about-card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.about-card.fade-in:nth-child(4) { transition-delay: 0.3s; }

.episode-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.episode-card.fade-in:nth-child(3) { transition-delay: 0.15s; }
.episode-card.fade-in:nth-child(4) { transition-delay: 0.2s; }
.episode-card.fade-in:nth-child(5) { transition-delay: 0.25s; }
.episode-card.fade-in:nth-child(6) { transition-delay: 0.3s; }

.topic-card.fade-in:nth-child(2) { transition-delay: 0.05s; }
.topic-card.fade-in:nth-child(3) { transition-delay: 0.1s; }
.topic-card.fade-in:nth-child(4) { transition-delay: 0.15s; }
.topic-card.fade-in:nth-child(5) { transition-delay: 0.2s; }
.topic-card.fade-in:nth-child(6) { transition-delay: 0.25s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .watch-featured {
    grid-template-columns: 1fr;
  }

  .watch-info {
    text-align: center;
  }

  .hosts-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right var(--transition);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-num {
    font-size: 1.2rem;
  }

  .section {
    padding: 72px 0;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .section-cta {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
