@import url('https://fonts.googleapis.com/css2?family=Anton&family=Tomorrow:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Design Tokens ── */
:root {
  --red: #E8221B;
  --black: #0D0D0D;
  --white: #FFFFFF;
  --font-fat: 'Anton', sans-serif;
  --font-body: 'Tomorrow', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; zoom: 1.2; }
body { font-family: var(--font-body); background: var(--black); color: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
.heading-fat {
  font-family: var(--font-fat);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.body-text { font-family: var(--font-body); }

/* ── Section Backgrounds ── */
.section-red  { background: var(--red); color: var(--black); }
.section-dark { background: var(--black); color: var(--white); }
.section-white { background: var(--white); color: var(--black); }

/* ── Divider ── */
.divider-red { height: 8px; background: var(--red); width: 100%; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; }
.btn-red  { background: var(--red);   color: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-white { background: var(--white); color: var(--black); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  border-bottom: 3px solid var(--red);
}
.nav-logo {
  font-family: var(--font-fat);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--red); letter-spacing: normal; }
.nav-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Page offset for fixed nav */
main { padding-top: 60px; }

/* ── Hero ── */
.hero {
  padding: 1rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 60vh;
}
.hero-title {
  font-size: clamp(5rem, 12vw, 11rem);
}
.hero-mascot {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-100px, 10px);
}
.hero-mascot img {
  width: 100%;
  max-width: 672px;
}
.hero-tagline {
  grid-column: 1 / -1;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 480px;
  padding-bottom: 2rem;
}

/* ── Code Block ── */
.code-block {
  background: #0a0a0a;
  border: 1px solid #222;
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  font-family: 'Courier New', Courier, monospace;
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #151515;
  border-bottom: 1px solid #222;
}
.code-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #E8221B; }
.dot-yellow { background: #f5a623; }
.dot-green  { background: #27c93f; }
.code-filename {
  font-size: 0.75rem;
  color: #555;
  margin-left: 0.5rem;
  font-family: 'Courier New', monospace;
}
.code-body {
  padding: 1.5rem;
  flex: 1;
  overflow: auto;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #ccc;
  white-space: pre;
}
.c-keyword  { color: #E8221B; font-weight: bold; }
.c-fn       { color: #61dafb; }
.c-string   { color: #98c379; }
.c-var      { color: #e5c07b; }
.c-prop     { color: #abb2bf; }
.c-comment  { color: #555; font-style: italic; }

/* ── Studio Snapshot ── */
.studio-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0;
  padding: 4rem 2rem;
}
.snapshot-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}
.snapshot-content { padding: 2rem; }
.snapshot-heading {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--red);
  margin-bottom: 2rem;
}
.snapshot-body { font-size: 0.95rem; line-height: 1.7; }
.snapshot-body p + p { margin-top: 1rem; }

/* ── In Development ── */
.in-dev {
  padding: 4rem 2rem;
  text-align: center;
}
.in-dev-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.in-dev-title {
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--red);
  margin-bottom: 2rem;
}
.in-dev-image {
  max-width: 540px;
  margin: 0 auto 2rem;
}
.in-dev-image img { width: 100%; }
.in-dev-desc {
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Game Showcase Hero ── */
.showcase-hero {
  padding: 4rem 2rem 3rem;
}
.showcase-heading {
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--red);
  margin-bottom: 2rem;
}
.showcase-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 2rem;
}
.showcase-intro { max-width: 540px; font-size: 0.95rem; line-height: 1.7; }
.showcase-intro em { font-style: italic; display: block; margin-top: 0.75rem; }

/* ── Play Now / Cards ── */
.play-now { padding: 4rem 2rem; text-align: center; }
.play-now-heading {
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--black);
  margin-bottom: 2.5rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.card {
  background: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
}
.card-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 1rem;
  border-bottom: 2px solid var(--black);
}
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1rem; flex: 1; font-size: 0.9rem; line-height: 1.6; }
.card-footer {
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 2px solid var(--black);
}
.steam-icon { width: 24px; height: 24px; }

/* ── In The Works ── */
.in-the-works {
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.works-content {}
.works-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.works-title {
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--red);
  margin-bottom: 2rem;
}
.works-desc { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.works-image img { width: 100%; border-radius: 2px; }

/* ── Blog Hero ── */
.blog-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/blog-hero-placeholder.jpg') center/cover no-repeat;
}
.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.blog-hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
}
.blog-hero-title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  color: var(--red);
  margin-bottom: 1.5rem;
}
.blog-hero-subtitle {
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Blog Article ── */
.blog-article {
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.article-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--red);
  margin-bottom: 2rem;
}
.article-desc { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.article-photo img { width: 100%; object-fit: cover; }

/* ── Life at La Bomba ── */
.life-section { padding: 4rem 2rem; }
.life-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.life-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--red);
}
.life-desc { max-width: 420px; font-size: 0.95rem; line-height: 1.7; align-self: center; }
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.life-grid img { width: 100%; height: 260px; object-fit: cover; }

/* ── Press & Media ── */
.press-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.press-photo { overflow: hidden; }
.press-photo img { width: 100%; height: 100%; object-fit: cover; }
.press-content { padding: 3rem 2.5rem; }
.press-heading {
  font-size: clamp(3rem, 5vw, 5rem);
  color: var(--black);
  margin-bottom: 1rem;
}
.press-desc { font-size: 0.9rem; line-height: 1.6; margin-bottom: 2rem; color: var(--black); }
.press-links { display: flex; flex-direction: column; gap: 0.6rem; }
.press-links .btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 1rem;
}

/* ── Newsletter ── */
.newsletter-section { padding: 3rem 2rem; }
.newsletter-chip {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  margin-bottom: 0;
}
.newsletter-card {
  background: var(--white);
  color: var(--black);
  max-width: 520px;
  padding: 2.5rem;
}
.newsletter-title {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.newsletter-label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.newsletter-input {
  width: 100%;
  border: 2px solid var(--red);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 1rem;
}
.newsletter-input:focus { border-color: var(--black); }
.newsletter-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 999px;
}
.newsletter-fine {
  font-size: 0.7rem;
  color: #888;
  margin-top: 0.75rem;
  text-align: center;
}

/* ── Contact Section ── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
  align-items: start;
}
.contact-quote {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* ── Large Quote ── */
.large-quote { padding: 4rem 2rem; }
.large-quote-text {
  font-size: clamp(3rem, 7vw, 7rem);
  color: var(--red);
}

/* ── Footer ── */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 2.5rem 2rem;
}
.footer-logo {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--black);
  line-height: 1;
}
.footer-right {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--black);
}
.footer-social { display: flex; gap: 1rem; margin-top: 0.75rem; margin-bottom: 1rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--black);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  transition: opacity 0.15s;
}
.footer-social a:hover { opacity: 0.8; }
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-legal a { color: var(--black); text-decoration: underline; }
.footer-legal a:hover { opacity: 0.7; }

/* ── Placeholder Images ── */
.placeholder-img {
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .in-the-works { grid-template-columns: 1fr; }
  .blog-article { grid-template-columns: 1fr; }
  .press-section { grid-template-columns: 1fr; }
  .life-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  html { zoom: 1; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--black);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 3px solid var(--red);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-mascot { order: -1; transform: none; justify-content: center; }
  .hero-mascot img { max-width: 260px; }

  .code-body { white-space: pre-wrap; font-size: 0.75rem; }

  .studio-snapshot { grid-template-columns: 1fr; }
  .snapshot-content { padding: 2rem 0; }

  .site-footer { grid-template-columns: 1fr; gap: 2rem; }
  .life-grid { grid-template-columns: 1fr; }
  .life-grid img { height: 200px; }

  .press-photo { min-height: 280px; }

  .contact-section { grid-template-columns: 1fr; }
  .newsletter-card { max-width: 100%; }
  .large-quote-text { font-size: clamp(2.5rem, 10vw, 5rem); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 4rem; }
  .snapshot-heading { font-size: 2.5rem; }
}
