/* Death by a Thousand Laughs — Main Stylesheet */
/* Dark desert night theme. Monty Python absurd energy. */

:root {
  --bg-dark: #1A1A2E;
  --bg-card: #16213E;
  --accent-red: #E94560;
  --accent-cream: #FFD699;
  --accent-pink: #FF6B9D;
  --accent-blue: #0F3460;
  --text-muted: #8892B0;
  --text-light: #CCD6F6;
  --text-bright: #FFD699;
  --font-display: 'Luckiest Guy', cursive;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(26,26,46,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-red);
  padding: 0 1rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-cream);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-logo span { color: var(--accent-red); }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--accent-cream); }

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--accent-cream); border-radius: 2px; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.3), rgba(26,26,46,0.9));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--accent-cream);
  text-shadow: 4px 4px 0 var(--accent-red), 0 0 40px rgba(233,69,96,0.3);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title span { color: var(--accent-red); text-shadow: 4px 4px 0 #000; }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-red);
  color: white;
  box-shadow: 0 4px 20px rgba(233,69,96,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(233,69,96,0.6); }

.btn-outline {
  background: transparent;
  color: var(--accent-cream);
  border: 2px solid var(--accent-cream);
}
.btn-outline:hover { background: var(--accent-cream); color: var(--bg-dark); }

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

/* === SECTIONS === */
.section {
  padding: 5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent-cream);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(233,69,96,0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-red); box-shadow: 0 8px 30px rgba(233,69,96,0.15); }

.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

.card-body { padding: 1.5rem; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent-cream);
  margin-bottom: 0.5rem;
}

.card-text { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

.card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-red);
}

/* === MERCH CARDS === */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.merch-card {
  background: var(--bg-card);
  border: 1px solid rgba(233,69,96,0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  text-align: center;
}
.merch-card:hover { transform: translateY(-4px); border-color: var(--accent-red); }

.merch-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }

.merch-body { padding: 1.2rem; }

.merch-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-cream);
  margin-bottom: 0.3rem;
}

.merch-desc { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.8rem; }

.merch-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === CHARACTER CARDS === */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.char-card {
  background: var(--bg-card);
  border: 1px solid rgba(233,69,96,0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.char-card:hover { transform: translateY(-3px); }

.char-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }

.char-body { padding: 1.5rem; }

.char-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-cream);
  margin-bottom: 0.3rem;
}

.char-role {
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.char-desc { color: var(--text-muted); font-size: 0.9rem; }

/* === BLOG / SQUEAKS === */
.squeak-list { list-style: none; }

.squeak-item {
  background: var(--bg-card);
  border: 1px solid rgba(233,69,96,0.15);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}
.squeak-item:hover { border-color: var(--accent-red); }

.squeak-date { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.3rem; }

.squeak-text { color: var(--text-light); font-size: 1rem; }

.squeak-tag {
  display: inline-block;
  background: rgba(233,69,96,0.15);
  color: var(--accent-red);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  margin-right: 0.3rem;
}

/* === MOVIE EMBED === */
.movie-card {
  background: var(--bg-card);
  border: 2px solid var(--accent-red);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.movie-header { position: relative; }
.movie-header img { width: 100%; display: block; }

.movie-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-red);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
}

.movie-body { padding: 2rem; }

.movie-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-cream);
  margin-bottom: 0.5rem;
}

.movie-desc { color: var(--text-muted); margin-bottom: 1.5rem; }

.stats-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: var(--bg-dark);
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  text-align: center;
  flex: 1;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-cream);
}

.stat-label { color: var(--text-muted); font-size: 0.75rem; }

/* === SIGNUP === */
.signup-box {
  background: var(--bg-card);
  border: 2px solid var(--accent-red);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.signup-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.signup-form input {
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(233,69,96,0.3);
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
  outline: none;
}
.signup-form input:focus { border-color: var(--accent-red); }

/* === FOOTER === */
footer {
  background: var(--bg-card);
  border-top: 2px solid var(--accent-red);
  padding: 3rem 1rem;
  text-align: center;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-cream); }

.footer-squeak {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-cream);
  margin-top: 1rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg-dark); padding: 1rem; border-bottom: 2px solid var(--accent-red); }
  .card-grid, .merch-grid, .char-grid { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
  .signup-form input { min-width: auto; }
  .stats-row { flex-wrap: wrap; }
}

/* === MISC === */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.gap-1 { gap: 1rem; }
.flex-center { display: flex; justify-content: center; align-items: center; }
