/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

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

/* ================= COLORS ================= */
:root {
  --olive: #8f9144;
  --mauve: #9a6b6c;
  --yellow: #e1d34a;
  --dark: #222;
}

/* ================= BASE ================= */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--dark);
}

/* ================= LANDING PAGE ================= */

.landing-outer {
  background: var(--olive);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 12px;
}

.landing-frame {
  width: min(1440px, 100%);
}

.landing-inner {
  background: var(--mauve);
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================= HERO IMAGE ================= */

.landing-hero {
  width: 100%;
  max-width: 1100px;
  margin-bottom: 26px;
  border-radius: 20px;
  overflow: hidden;
}

.landing-hero img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* ================= TITLE + STICKER ================= */

.landing-titlewrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: 16px;
}

.landing-title {
  font-family: "Cinzel", serif;
  margin: 0;
  color: #0b0b0b;
  line-height: 1.05;
  letter-spacing: 2px;
  font-size: clamp(52px, 9vw, 140px);
}

.landing-sticker {
  width: clamp(260px, 28vw, 380px);
}

/* ================= TAGLINE ================= */

.landing-tagline {
  margin: 16px 0 22px;
  color: var(--yellow);
  font-size: clamp(14px, 3.2vw, 36px);
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
}

/* ================= NAV BUTTONS (4 + 4 GRID) ================= */

.landing-nav-wrapper {
  width: 100%;
  max-width: 1100px;
  padding: 20px 0;
}

/* Each row */
.landing-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
}


/* Space between the two rows */
.landing-nav + .landing-nav {
  margin-top: 20px;
}

/* Button */
.bigbtn {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

/* Image inside button */
.bigbtn img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* Hover effect (desktop only) */
@media (hover: hover) {
  .bigbtn:hover img {
    transform: scale(1.05);
  }
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 900px) {
  .landing-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .landing-inner {
    padding: 22px 14px 20px;
  }

  .landing-hero {
    border-radius: 14px;
    margin-bottom: 18px;
  }

  .landing-hero img {
    aspect-ratio: 4 / 3;
  }

  .landing-titlewrap {
    flex-direction: column;
    gap: 10px;
  }

  .landing-title {
    font-size: clamp(34px, 10vw, 52px);
    letter-spacing: 1px;
  }

  .landing-sticker {
    width: 110px;
  }

  .landing-tagline {
    font-size: 14px;
    margin: 10px 0 14px;
    padding: 0 6px;
  }

  .landing-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .landing-nav-wrapper {
    padding: 10px 0;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .landing-title {
    font-size: 32px;
  }

  .landing-sticker {
    width: 95px;
  }

  .landing-nav {
    gap: 8px;
  }
}
/* ================= TOP BAR ================= */

.topbar-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto 14px;
  padding: 10px 14px;
  display: flex;
  justify-content: flex-start;
}

/* ================= BACK BUTTON ================= */

.back-btn {
  display: inline-block;
  background: linear-gradient(135deg, #e1d34a, #f6e96b);
  color: #111;
  padding: 10px 22px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 
    0 6px 16px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.3s ease;
}

/* Hover (desktop only) */
@media (hover: hover) {
  .back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
      0 10px 24px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }
}

/* Active (click) */
.back-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.25);
}
/* Floating Back Button */
.back-btn{
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: linear-gradient(135deg, #e1d34a, #f6e96b);
  color: #111;
  padding: 10px 18px;
  border-radius: 999px; /* pill shape */
  font-weight: 800;
  letter-spacing: 1.2px;
  text-decoration: none;
  font-size: 14px;

  box-shadow:
    0 10px 24px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.65);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover (desktop only) */
@media (hover:hover){
  .back-btn:hover{
    transform: translateY(-2px);
    box-shadow:
      0 14px 30px rgba(0,0,0,0.42),
      inset 0 1px 0 rgba(255,255,255,0.75);
  }
}

/* Tap feedback */
.back-btn:active{
  transform: translateY(0);
}

/* Mobile tweak */
@media (max-width: 520px){
  .back-btn{
    top: 10px;
    left: 10px;
    padding: 9px 14px;
    font-size: 13px;
  }
}
