/* ===========================
   Purple Haze Creative House
   Stylesheet
   =========================== */

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

:root {
  --gold: #d4a836;
  --gold-light: #e8c35a;
  --purple: #8e44ad;
  --dark: #1a1a1a;
  --darker: #111;
  --light: #fafafa;
  --gray: #888;
  --gray-light: #ccc;
  --text: #444;
  --text-light: #777;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--gray-light);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-text {
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text);
  border-bottom: 1px solid var(--dark);
  padding-bottom: 4px;
}

.btn-text:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  font-weight: 600;
}

.btn-dark:hover {
  background: #333;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid #eee;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

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

.logo {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.logo-purple {
  color: var(--purple);
  font-weight: 600;
}

.logo-gold {
  color: var(--gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  background: #fff;
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gray);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gray-light);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #eee;
  padding: 20px 0;
  background: #fff;
}

.ticker-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-light);
}

.ticker-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--gray-light);
  margin: 0 24px;
}

/* --- Section Labels --- */
.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* --- Story Section --- */
.story {
  padding: 120px 0;
  background: #fafafa;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 32px;
}

.story-title em {
  color: var(--gold);
  font-style: italic;
}

.story-text {
  max-width: 640px;
  margin-bottom: 32px;
}

.story-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 16px;
}

.story-text strong {
  color: var(--dark);
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 60px;
  border: 1.5px solid var(--gold);
}

.stat-card {
  padding: 40px 32px;
  border: 0.75px solid var(--gold);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-light);
}

/* --- Channels Section --- */
.channels {
  padding: 120px 0;
  background: #fff;
}

.channels-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 60px;
}

.channels-title em {
  color: var(--gold);
  font-style: italic;
}

/* --- Channel Card --- */
.channel-card {
  position: relative;
  margin-bottom: 48px;
  border: 1px solid #eee;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.channel-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.channel-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.channel-banner {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.channel-banner-1 {
  background: linear-gradient(135deg, #1a0a00 0%, #3d1f00 40%, #1a0a00 100%);
}

.channel-banner-2 {
  background: linear-gradient(135deg, #0a2e1a 0%, #1a4a2e 40%, #0a2e1a 100%);
}

.channel-banner-3 {
  background: linear-gradient(135deg, #2a1f00 0%, #4a3500 40%, #2a1f00 100%);
}

.channel-banner-4 {
  background: linear-gradient(135deg, #1a0a2e 0%, #2e1a4a 40%, #1a0a2e 100%);
}

.channel-banner-5 {
  background: linear-gradient(135deg, #0a1a2e 0%, #1a2e4a 40%, #0a1a2e 100%);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.3) 100%);
}

.banner-text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.banner-title-neon {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(231, 76, 60, 0.6), 0 0 60px rgba(231, 76, 60, 0.3);
  margin-bottom: 8px;
}

.banner-title-block {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.banner-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.channel-body {
  padding: 32px 36px 24px;
}

.channel-number {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 12px;
}

.channel-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.channel-genre {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.channel-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 600px;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  border: 1px solid #ddd;
  border-radius: 20px;
  color: var(--text);
}

.channel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.channel-arrow {
  font-size: 1.3rem;
  color: var(--text-light);
  transition: transform 0.3s, color 0.3s;
}

.channel-card:hover .channel-arrow {
  transform: translateX(4px);
  color: var(--gold);
}

.channel-subscribe {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text);
  cursor: pointer;
  transition: color 0.3s;
}

.channel-subscribe:hover {
  color: var(--gold);
}

/* --- Contact Section --- */
.contact {
  padding: 120px 0;
  background: #fafafa;
  text-align: center;
}

.contact-inner {
  max-width: 600px;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.contact-title em {
  color: var(--gold);
  font-style: italic;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

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

/* --- Footer --- */
.footer {
  padding: 60px 0 40px;
  background: #fff;
}

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

.footer-channels a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-light);
  transition: color 0.3s;
}

.footer-channels a:hover {
  color: var(--gold);
}

.footer-divider {
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-scroll {
    display: none;
  }

  .ticker-inner {
    gap: 0;
    font-size: 0.6rem;
  }

  .ticker-divider {
    margin: 0 12px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .story-title,
  .channels-title,
  .contact-title {
    font-size: 2.2rem;
  }

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

  .channel-banner {
    height: 160px;
  }

  .channel-body {
    padding: 24px 20px 20px;
  }

  .channel-name {
    font-size: 1.5rem;
  }

  .banner-title-neon {
    font-size: 2rem;
  }

  .banner-title-block {
    font-size: 1.3rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

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

  .story-title,
  .channels-title,
  .contact-title {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .ticker-inner span:nth-child(n+7) {
    display: none;
  }
}
