/* ══════════════════════════════════════════
   DOUGH OR DIE  —  Enhanced Stylesheet
   ══════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

:root {
  --cream:    #F2E8DC;
  --tan:      #BEAD9C;
  --bark:     #3F281B;
  --coffee:   #916440;
  --espresso: #110A06;
  --teal:     #5F8F87;
  --teal-lt:  #7FA7A0;
  --rose:     #E59A8C;
  --white:    #ffffff;

  --shadow-sm: 0 4px 14px rgba(17,10,6,.14);
  --shadow-md: 0 8px 28px rgba(17,10,6,.2);
  --shadow-lg: 0 16px 48px rgba(17,10,6,.28);
}

@font-face {
  font-family: "Recipety";
  src: url("Recipety.otf") format("opentype");
}

body {
  font-family: "Fredoka", sans-serif;
  background: linear-gradient(170deg, #F2E8DC 0%, #E0D4C3 40%, #BEAD9C 100%);
  color: var(--bark);
  min-height: 100vh;
  padding-top: 2.5rem; /* space for fixed ticker */
}

/* ── Flour Canvas ─────────────────────────── */
#flour-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* ── Progress Dots ────────────────────────── */
#progress-nav {
  position: fixed;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.progress-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(63,40,27,.25);
  border: 1.5px solid rgba(63,40,27,.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.progress-dot.active {
  background: var(--bark);
  transform: scale(1.4);
  border-color: var(--bark);
}

.progress-dot:hover {
  background: var(--teal);
  border-color: var(--teal);
}

/* ── Sticky Nav ───────────────────────────── */
#sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(63,40,27,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  border-bottom: 1px solid rgba(242,232,220,.1);
}

#sticky-nav.nav-visible {
  transform: translateY(0);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(242,232,220,.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--rose);
}

/* ── Ticker Banner ────────────────────────── */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--bark);
  color: var(--cream);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 2px solid var(--coffee);*/
}

.banner-track {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.banner-content {
  display: inline-block;
  padding-right: 2rem;
  white-space: nowrap;
}

.tick-sep {
  color: var(--rose);
  margin: 0 0.6rem;
  font-size: 0.6rem;
  vertical-align: middle;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Hero ─────────────────────────────────── */
#hero-header {
  position: relative;
  z-index: 15;
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(145,100,64,.35) 0%, transparent 70%),
    linear-gradient(to bottom, var(--bark) 0%, #6B3F22 55%, #916440 100%);
  overflow: hidden;
}

/* Animated grain overlay on hero */
#hero-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.game-logo {
  max-width: min(460px, 90vw);
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.5));
  animation: heroLand 1s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}

@keyframes heroLand {
  from { opacity: 0; transform: translateY(-30px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tagline {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(242,232,220,.85);
  animation: heroFade 1s ease 0.7s both;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cta-button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--teal);
  color: var(--cream);
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(95,143,135,0);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  animation: heroFade 1s ease 1s both;
}

.cta-button:hover {
  background: var(--rose);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(229,154,140,.4);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(242,232,220,.4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: heroFade 1.2s ease 1.4s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(242,232,220,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ── Showcase Container ───────────────────── */
#showcase-container {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

/* ── Section Shared ───────────────────────── */
section {
  width: 100%;
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--rose);
  border-radius: 2px;
  margin-top: 0.5rem;
}

/* ── Scroll Reveal ────────────────────────── */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.reveal-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.55s ease var(--card-delay, 0s),
              transform 0.55s cubic-bezier(0.22,1,0.36,1) var(--card-delay, 0s);
}

.reveal-card.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-row {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.reveal-row:nth-child(odd)  { transform: translateX(-50px); }
.reveal-row:nth-child(even) { transform: translateX(50px); }

.reveal-row.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* ── Trailer ──────────────────────────────── */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(95,143,135,.2);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Feature Cards (Mechanics & Themes) ───── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.feature-card {
  background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
  border-radius: 15px;
  padding: 0.75rem;
  box-shadow: 0 5px 20px rgba(17, 10, 6, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(17, 10, 6, 0.2);
}

.card-inner {
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.8' numOctaves='4' /%3E%3C/filter%3E%3C/defs%3E%3Crect width='100' height='100' fill='%23ddd' /%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.2' /%3E%3C/svg%3E");
  border-radius: 10px;
  padding: 1rem;
  box-shadow: inset 0 0 14px rgba(95, 143, 135, 1);
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
}

.feature-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(17,10,6,.2));
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) translateY(-2px);
}

.feature-card h3 {
  color: #3F281B;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(63,40,27,.8);
}

/* ── Environments – horizontal scroll ──────── */
.env-section {
  max-width: 100%;
  padding: 0;
}

.env-section .section-label,
.env-section .section-title {
  padding: 0 1.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.env-section .section-title {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}


/* ── Environments – carousel ────────────── */
.env-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.env-carousel-track {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.env-carousel-track-inner {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.env-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.env-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.env-slide:hover img {
  transform: scale(1.03);
}

.env-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(17,10,6,.8) 0%, transparent 100%);
  color: var(--cream);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.env-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(95,143,135,0.5);
  background: rgba(242,232,220,0.9);
  color: var(--bark);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.env-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
}

.env-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cream);
  transform: scale(1.1);
}

.env-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.env-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(63,40,27,.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.env-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}

.env-hint {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: rgba(63,40,27,.4);
  letter-spacing: 0.08em;
}

/* ── Screenshots – uniform grid ─────────── */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.shot-item {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  aspect-ratio: 16 / 9;
}

.shot-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.shot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.shot-item:hover img {
  transform: scale(1.06);
}

.shot-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(17,10,6,.7) 0%, transparent 100%);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.shot-item:hover .shot-caption {
  opacity: 1;
}

@media (max-width: 768px) {
  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .env-slide img {
    height: 240px;
  }

  .env-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .shot-grid {
    grid-template-columns: 1fr;
  }
}



/* ── Team ─────────────────────────────────── */
.team-csv {
  background: rgba(255,255,255,.88);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid rgba(145,100,64,.1);
  overflow-x: hidden;
}

.csv-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(190,173,156,.35);
  transition: background 0.2s;
}

.csv-row:not(.header):hover {
  background: rgba(95,143,135,.06);
  border-radius: 8px;
}

.csv-row.header {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bark);
  background: rgba(190,173,156,.4);
  border-radius: 8px;
  margin-bottom: 0.2rem;
}

.csv-row.contributors {
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 0.85rem;
  line-height: 1.6;
}

.csv-row:last-child { border-bottom: none; }

.csv-row a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.csv-row a:hover {
  color: var(--rose);
  text-decoration: underline;
}

/* ── Footer ───────────────────────────────── */
footer {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(to bottom, var(--bark) 0%, var(--espresso) 100%);
  color: rgba(242,232,220,.6);
  font-size: 0.85rem;
  margin-top: 2rem;
}

/* ── Lightbox ─────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: lbIn 0.3s cubic-bezier(0.22,1,0.36,1);
}

@keyframes lbIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 36px;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1001;
}

.lightbox-close:hover { color: var(--rose); }

/* ══════════════════════════════════════════
   MOBILE  (≤ 768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  #progress-nav { display: none; }

  .nav-links {
    gap: 0.9rem;
    font-size: 0.82rem;
  }

  .nav-inner { padding: 0.6rem 1rem; }

  #hero-header {
    min-height: 90vh;
    padding: 3rem 1rem 5rem;
  }

  .game-logo { max-width: 88vw; }

  .tagline { font-size: 0.95rem; }

  section {
    max-width: 100%;
    margin: 2.5rem auto;
    padding: 0 1rem;
  }

  /* Mechanics stack vertically */
  /* Environment section padding */
  .env-section .section-label,
  .env-section .section-title,
  .env-hint { padding: 0 1rem; }

  /* Team table */
  .team-csv { padding: 0.5rem; }

  .csv-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.2rem;
    padding: 0.6rem 0.5rem;
    word-break: break-word;
  }

  .csv-row.contributors {
    grid-template-columns: 1fr;
  }

  .csv-row.header span:not(:first-child) { display: none; }

  footer { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .nav-links a:not(:first-child):not(:last-child) {
    display: none;
  }
}

/* ── Overview Section ─────────────────── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.overview-block {
  background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
  border-radius: 15px;
  padding: 0.75rem;
  box-shadow: 0 5px 20px rgba(17, 10, 6, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(17, 10, 6, 0.2);
}

.overview-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.overview-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #3F281B;
  margin-bottom: 0.5rem;
}

.overview-block p {
  font-size: 0.9rem;
  color: #916440;
  line-height: 1.55;
}

.overview-pitch {
  background: linear-gradient(135deg, #3F281B 0%, #916440 100%);
  color: #F2E8DC;
  border-radius: 14px;
  padding: 1.5rem 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  box-shadow: 0 8px 28px rgba(17,10,6,.2);
  /*border-left: 4px solid #E59A8C;*/
}

@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .overview-pitch {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
  }
}

/* ── Zigzag (How You Play) ───────────────── */
.zigzag {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.zz-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.zz-row--flip {
  flex-direction: row-reverse;
}

.zz-img-wrap {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
  box-shadow: 0 5px 20px rgba(17,10,6,0.12), inset 0 0 14px rgba(95,143,135,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.zz-img-wrap::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px dashed rgba(95,143,135,0.35);
}

.zz-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(17,10,6,0.2));
  transition: transform 0.4s ease;
}

.zz-row:hover .zz-icon {
  transform: scale(1.12) rotate(-3deg);
}

.zz-text {
  flex: 1;
}

.zz-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.zz-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.zz-text p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(63,40,27,0.8);
  max-width: 480px;
}

.zz-row--flip .zz-text {
  text-align: right;
}

.zz-row--flip .zz-text p {
  margin-left: auto;
}

@media (max-width: 768px) {
  .zz-row,
  .zz-row--flip {
    flex-direction: column;
    text-align: center;
  }

  .zz-row--flip .zz-text {
    text-align: center;
  }

  .zz-row--flip .zz-text p {
    margin-left: 0;
  }

  .zz-img-wrap {
    width: 100px;
    height: 100px;
  }

  .zz-icon {
    width: 52px;
    height: 52px;
  }
}

/* ── Lightbox nav buttons ────────────────── */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 1002;
}

.lightbox-nav:hover {
  background: rgba(229,154,140,0.7);
  border-color: rgba(229,154,140,0.8);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  display: block;
}

.lightbox-nav--prev { left: 24px; }
.lightbox-nav--next { right: 24px; }

@media (max-width: 600px) {
  .lightbox-nav--prev { left: 8px; }
  .lightbox-nav--next { right: 8px; }
}

/* ── Overview image icons ────────────────── */
.overview-img-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(17,10,6,0.2));
  transition: transform 0.3s ease;
}

.overview-block:hover .overview-img-icon {
  transform: scale(1.1) translateY(-2px);
}