/* ============================================================
   MEDIA HOUSE FILMS — HORROR STYLESHEET
   Attack of the Killer Refrigerator 2
   ============================================================
   HOW TO EDIT:
   - Colors: change the :root variables below
   - Fonts: swap out the Google Fonts import
   - Layout: each section has a comment header for easy finding
   ============================================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Special+Elite&family=Oswald:wght@400;600;700&family=Russo+One&display=swap');

/* === CSS VARIABLES (easy theming) === */
:root {
  --bg-black:      #000000;
  --bg-dark:       #0a0a0a;
  --bg-card:       #0f0f0f;
  --red-primary:   #cc0000;
  --red-dark:      #8b0000;
  --red-bright:    #ff2222;
  --red-glow:      rgba(204, 0, 0, 0.4);
  --neon-green:    #39ff14;
  --text-main:     #d0d0d0;
  --text-dim:      #666666;
  --border-color:  #222222;
  --font-horror:   'Creepster', cursive;
  --font-body:     'Special Elite', cursive;
  --font-ui:       'Oswald', sans-serif;
  --font-accent:   'Russo One', sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background: var(--bg-black);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

/* === FILM GRAIN OVERLAY === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* === SCANLINES OVERLAY === */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-horror); color: var(--red-primary); line-height: 1.1; }
h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1em; }
a { color: var(--red-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-primary); }
strong { color: #fff; }

/* === LAYOUT HELPERS === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.text-center { text-align: center; }

/* === NAVIGATION === */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.97);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  position: relative;
}
.nav-logo {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.nav-logo span {
  display: block;
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-main);
  padding: 6px 10px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--red-primary); }

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}
.nav-toggle:hover { border-color: var(--red-primary); color: var(--red-primary); }

/* === ANNOUNCEMENT BAR === */
.announce-bar {
  background: var(--red-dark);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.announce-bar a { color: #fff; text-decoration: underline; }

/* === PAGE HEADER (non-hero pages) === */
.page-header {
  background: var(--bg-dark);
  padding: 60px 20px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 2px;
  background: var(--red-primary);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: grayscale(30%) contrast(120%);
}
.hero-content { position: relative; z-index: 2; padding: 40px 20px; max-width: 900px; }
.hero-logo {
  max-width: 520px;
  width: 90%;
  margin: 0 auto 30px;
  display: block;
  filter: drop-shadow(0 0 30px var(--red-glow));
}
.hero-tagline {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--text-dim);
  margin-bottom: 30px;
}
.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-main);
  max-width: 600px;
  margin: 0 auto 35px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red-bright);
  border: 2px solid var(--red-primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn:hover {
  background: var(--red-primary);
  color: #fff;
  box-shadow: 0 0 20px var(--red-glow);
}
.btn-solid {
  background: var(--red-primary);
  color: #fff;
}
.btn-solid:hover {
  background: var(--red-dark);
  box-shadow: 0 0 20px var(--red-glow);
}

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--red-primary);
  padding: 28px;
  transition: box-shadow 0.3s;
}
.card:hover { box-shadow: 0 0 20px var(--red-glow); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.9rem; color: var(--text-main); margin-bottom: 0; }

/* === SECTION TITLE === */
.section-title {
  font-family: var(--font-horror);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--red-primary);
  text-align: center;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--red-primary);
  margin: 12px auto 40px;
}

/* === VIDEO WRAPPER === */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border-color);
}
.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 10px;
}
.video-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) { .video-pair { grid-template-columns: 1fr; } }

/* === FEATURE TILES (homepage grid) === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: var(--border-color);
}
.feature-tile {
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  background: var(--bg-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
}
.feature-tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  transition: opacity 0.3s;
  filter: grayscale(50%);
}
.feature-tile:hover .feature-tile-bg { opacity: 0.35; }
.feature-tile-content { position: relative; z-index: 1; }
.feature-tile-icon { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.feature-tile h3 { font-family: var(--font-horror); color: var(--red-primary); font-size: 1.3rem; margin-bottom: 4px; }
.feature-tile p { font-size: 0.8rem; color: var(--text-dim); font-family: var(--font-ui); letter-spacing: 1px; text-transform: uppercase; margin: 0; }
.feature-tile .arrow { position: absolute; top: 20px; right: 20px; color: var(--border-color); font-size: 1.2rem; transition: color 0.3s; }
.feature-tile:hover .arrow { color: var(--red-primary); }
.feature-tile:hover { background: #111; }

/* === STATS BAR === */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stat-item {
  flex: 1;
  min-width: 150px;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border-color);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-horror);
  font-size: 2.5rem;
  color: var(--red-primary);
  display: block;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-top: 6px;
}

/* === TIMELINE / HISTORY === */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 110px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--red-primary) 5%, var(--red-primary) 95%, transparent);
}
.film-entry {
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.film-year-badge {
  flex-shrink: 0;
  width: 110px;
  padding: 8px 10px;
  background: var(--red-dark);
  color: #fff;
  font-family: var(--font-horror);
  font-size: 1.1rem;
  text-align: center;
  border: 1px solid var(--red-primary);
  white-space: nowrap;
  line-height: 1.3;
  margin-top: 0;
  position: relative;
  z-index: 2;
}
.film-panel {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--red-primary);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  margin-left: 30px;
}
.film-panel-images {
  display: flex;
  flex-direction: column;
  background: #000;
}
.film-panel-images img {
  width: 100%;
  height: auto;
  display: block;
}
.film-panel-images img + img {
  border-top: 1px solid #222;
}
.film-panel-content { padding: 32px; }
.film-panel-content h2 { font-size: 1.6rem; margin-bottom: 6px; }
.film-panel-content .film-year { font-family: var(--font-ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-dim); margin-bottom: 16px; }
.film-panel-content p { font-size: 0.9rem; line-height: 1.7; }
@media (max-width: 700px) {
  .timeline::before { left: 16px; }
  .film-entry { flex-direction: column; gap: 10px; }
  .film-year-badge { width: auto; font-size: 0.9rem; padding: 6px 14px; }
  .film-panel { margin-left: 0; grid-template-columns: 1fr; }
}

/* === CALLOUT BOX === */
.callout {
  border: 1px solid var(--red-primary);
  background: rgba(204, 0, 0, 0.06);
  padding: 20px 24px;
  margin: 20px 0;
}
.callout p { margin: 0; font-size: 0.88rem; }

/* === PULL QUOTE === */
.pull-quote {
  border-left: 4px solid var(--red-primary);
  padding: 16px 24px;
  background: var(--bg-card);
  font-size: 1.1rem;
  font-style: italic;
  margin: 30px 0;
  color: var(--text-main);
}

/* === PERKS / INVESTOR CARDS === */
.perk-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.perk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--red-primary);
  padding: 22px;
}

/* === GAME SECTION === */
.game-frame-wrap {
  width: 100%;
  height: 85vh;
  min-height: 500px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  background: #000;
}
.game-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.game-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px 20px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
}
.game-controls span { color: #fff; }

/* === VENMO / DONATION === */
.venmo-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--red-primary);
  padding: 32px 24px;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}
.venmo-handle-display {
  display: block;
  font-family: var(--font-ui);
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--red-bright);
  margin-top: 10px;
}
.donate-amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 16px 0;
}
.donate-btn {
  padding: 8px 16px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  background: var(--bg-dark);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}
.donate-btn:hover, .donate-btn.active {
  border-color: var(--red-primary);
  color: var(--red-primary);
  background: rgba(204, 0, 0, 0.08);
}

/* === STORE === */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.product-card:hover { box-shadow: 0 0 20px var(--red-glow); }
.product-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  filter: grayscale(10%) contrast(105%);
  display: block;
}
.product-body { padding: 20px; }
.product-title { font-family: var(--font-horror); color: var(--red-primary); font-size: 1.3rem; margin-bottom: 6px; }
.product-price { font-family: var(--font-ui); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.product-desc { font-size: 0.85rem; color: var(--text-main); margin-bottom: 14px; line-height: 1.6; }

/* === BIO CARDS === */
.bio-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; overflow: hidden; }
.bio-photo { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; filter: grayscale(30%); }
.bio-placeholder { background: #111; min-height: 260px; display: flex; align-items: center; justify-content: center; }
.bio-placeholder span { font-size: 3rem; }
.bio-content { padding: 28px; }
.bio-name { font-family: var(--font-horror); color: var(--red-primary); font-size: 1.8rem; margin-bottom: 4px; }
.bio-title { font-family: var(--font-ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-dim); margin-bottom: 16px; }
@media (max-width: 600px) { .bio-card { grid-template-columns: 1fr; } }

/* === TIMELINE LIST (script journey) === */
.timeline-list { border-left: 2px solid var(--red-dark); padding-left: 24px; }
.timeline-list-item { position: relative; margin-bottom: 20px; }
.timeline-list-item::before {
  content: '';
  position: absolute;
  left: -30px; top: 8px;
  width: 8px; height: 8px;
  background: var(--red-primary);
  border-radius: 50%;
}
.timeline-list-item .year { font-family: var(--font-horror); color: var(--red-primary); font-size: 1.1rem; }
.timeline-list-item p { font-size: 0.88rem; color: var(--text-main); margin: 3px 0 0; }

/* === CTA BANNER === */
.cta-banner {
  background: var(--red-dark);
  border-top: 2px solid var(--red-primary);
  border-bottom: 2px solid var(--red-primary);
  padding: 50px 20px;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }

/* === FOOTER === */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  padding: 40px 20px 30px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-horror);
  font-size: 1.6rem;
  color: var(--red-primary);
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--red-primary); }
.footer-contact { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 8px; }
.footer-contact a { color: var(--text-dim); }
.footer-contact a:hover { color: var(--red-primary); }
.footer-copy { font-family: var(--font-ui); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: #333; }

/* === DISCLAIMER === */
.disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 20px;
}

/* === RESPONSIVE — TABLET (768px) === */
@media (max-width: 768px) {
  /* --- Hamburger nav --- */
  .nav-inner { height: 52px; padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0; right: 0;
    background: rgba(0,0,0,0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    border-bottom: 2px solid var(--red-primary);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.8);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 24px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
  }
  .nav-links a:last-child { border-bottom: none; }

  /* --- Layout --- */
  .hero { min-height: 70vh; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); }
  .card-grid { grid-template-columns: 1fr; }
  .two-col-grid { grid-template-columns: 1fr !important; }

  /* --- Inline grids --- */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* --- Fridge-found section --- */
  .fridge-found-inner { grid-template-columns: 1fr !important; }
  .fridge-found-content { padding: 30px 20px !important; }

  /* --- Legacy card --- */
  .legacy-card { grid-template-columns: 1fr !important; }

  /* --- Timeline --- */
  .film-entry { flex-direction: column; gap: 10px; }
  .film-year-badge { width: auto; font-size: 0.9rem; padding: 6px 14px; }
  .film-panel, .film-entry > .card { margin-left: 0 !important; }
  .film-panel { grid-template-columns: 1fr; }

  /* Attack 3 featured row — stack on mobile */
  .akr3-feature { flex-direction: column !important; }
  .akr3-feature .akr3-poster { min-height: 260px !important; }
}

/* === RESPONSIVE — PHONE (480px) === */
@media (max-width: 480px) {
  /* --- Typography scale-up for readability --- */
  .nav-logo { font-size: 0.9rem; }
  .hero-tagline { font-size: 0.75rem; letter-spacing: 2px; }
  .hero-sub { font-size: 0.88rem; }
  .hero-logo { max-width: 90vw !important; }
  .stat-number { font-size: 2rem; }
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* --- Layout tightening --- */
  .section { padding: 36px 0; }
  .container { padding: 0 14px; }
  .feature-grid { grid-template-columns: 1fr !important; }
  .feature-tile { min-height: 130px; }

  /* --- Bio cards --- */
  .bio-card-wrap { flex-direction: column; }
  .bio-photo-wrap { width: 100% !important; min-height: 220px; }

  /* --- Buttons --- */
  .btn { padding: 10px 16px; font-size: 0.72rem; letter-spacing: 2px; }
  .btn + .btn { margin-top: 0; }

  /* --- Pull quotes --- */
  .pull-quote { font-size: 0.95rem; padding: 14px 16px; }

  /* --- CTA banner --- */
  .cta-banner { padding: 36px 16px; }
  .cta-banner h2 { font-size: 1.6rem; }

  /* --- Timeline badge --- */
  .film-year-badge { font-size: 0.75rem; letter-spacing: 2px; padding: 6px 12px; }

  /* --- Venmo donation --- */
  .venmo-box-big { padding: 24px 16px !important; }
  .donate-btn { padding: 8px 14px !important; font-size: 0.8rem !important; }

  /* --- Game frame --- */
  .game-frame-wrap { height: 65vh; min-height: 320px; }
  .game-controls { font-size: 0.78rem; padding: 10px 16px; }

  /* --- SVG logos (Venmo) --- */
  .venmo-logo-svg { width: 160px !important; height: auto !important; }

  /* --- Announcement bar --- */
  .announce-bar { font-size: 0.7rem; letter-spacing: 1px; padding: 8px 14px; }
}
