/* =========================================================
   Au Wondermoments — styles.css
   Interactive Event Editorial design system
   ========================================================= */

/* ---------- Custom properties ---------- */
:root {
  --bg-primary: #F6F4EF;
  --bg-secondary: #ECE8DF;
  --surface: #FFFFFF;
  --text-primary: #171717;
  --text-secondary: #5E5E5E;

  --terracotta: #C75C3A;
  --olive: #758E4F;
  --navy: #1E3654;
  --orange: #E5963A;

  --radius-sm: 10px;
  --radius-md: 24px;
  --radius-lg: 48px;
  --radius-pill: 999px;

  --gap-xs: 0.5rem;
  --gap-sm: 1rem;
  --gap-md: 2rem;
  --gap-lg: 4rem;
  --gap-xl: 8rem;

  --ff-display: "Georgia", "Times New Roman", serif;
  --ff-body: "Helvetica Neue", Arial, sans-serif;

  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  touch-action: pan-y;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-display);
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  position: relative;
}

.section-pad {
  padding: var(--gap-xl) 0;
}

@media (max-width: 900px) {
  .section-pad {
    padding: 4rem 0;
  }

  :root {
    --gap-xl: 4.5rem;
  }
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--terracotta);
}

.section-number {
  font-family: var(--ff-display);
  font-size: 5rem;
  color: var(--bg-secondary);
  position: absolute;
  top: -1.2rem;
  right: 1.5rem;
  z-index: 0;
  font-weight: 700;
  user-select: none;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-top: 0.75rem;
  max-width: 720px;
}

.section-intro {
  color: var(--text-secondary);
  max-width: 560px;
  font-size: 1.05rem;
  margin-top: var(--gap-sm);
}

.line-deco {
  width: 60px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--terracotta);
  transition: width var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 10px 30px rgba(199, 92, 58, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: #b14e30;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: #142438;
  transform: translateY(-3px) scale(1.02);
}

/* Badge (vertical / pill info) */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--bg-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.badge-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.brand img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.3rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--terracotta);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 600;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .footer-brand img {
    width: 46px;
    height: 46px;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    bottom: 0;
    background: var(--surface);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 4rem 2rem 23rem;
    z-index: 600;
    box-shadow: 0 20px 40px rgba(23, 23, 23, 0.1);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1.2rem;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--gap-md);
  }

  .header-cta .btn-outline {
    display: none;
  }

  .burger {
    display: flex;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: var(--gap-xl) 0 var(--gap-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: var(--gap-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--ff-display);
  font-size: 1.4rem;
}

.footer-brand img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
}

.footer-col h4 {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1rem;
  max-width: 360px;
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: var(--gap-lg);
  padding-top: var(--gap-md);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--gap-md);
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--gap-md);
  padding: var(--gap-lg) 0 var(--gap-md);
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  overflow: hidden;
  overflow-x: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--olive);
  opacity: 0.14;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 40% 60% 55% 45%;
  background: var(--terracotta);
  opacity: 0.12;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow-wrap: break-word;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  margin-top: 1.2rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  color: var(--terracotta);
  font-style: normal;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 480px;
  margin-top: 1.4rem;
}

.hero-actions {
  margin-top: var(--gap-md);
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.hero-cta-block {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
  box-shadow: 0 20px 50px rgba(23, 23, 23, 0.08);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hero-badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: var(--gap-md);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-poster {
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(23, 23, 23, 0.18);
  transform: translateX(6%) rotate(1.5deg);
  position: relative;
}

.hero-poster img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.hero-tag-float {
  position: absolute;
  bottom: -0.6rem;
  left: -0.8rem;
  background: var(--navy);
  color: #fff;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  max-width: 220px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-poster img {
    height: 420px;
  }

  .hero-poster {
    transform: none;
  }

  .hero-tag-float {
    left: 1rem;
    bottom: -1.2rem;
  }

  .hero-cta-block {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero-cta-block .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   ATMOSPHERE / OFFLINE NOTICE BLOCK
   ========================================================= */
.atmosphere {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 1.5rem;
  padding: var(--gap-lg) var(--gap-md);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gap-md);
}

.atmosphere::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.15;
}

.atmosphere h2 {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.atmosphere-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.atmosphere-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.atmosphere-item svg {
  flex-shrink: 0;
  color: var(--orange);
}

.atmosphere-item h4 {
  color: #fff;
  font-family: var(--ff-body);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.atmosphere-item p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .atmosphere {
    grid-template-columns: 1fr;
    margin: 0 1rem;
    padding: 3rem 1.6rem;
  }
}

/* =========================================================
   ABOUT SECTION (30/70 split)
   ========================================================= */
.about-split {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: var(--gap-lg);
  align-items: start;
}

.about-split .about-image {
  border-radius: var(--radius-lg) var(--radius-sm);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.about-split .about-image img {
  height: 520px;
  object-fit: cover;
}

.about-text p {
  color: var(--text-secondary);
  margin-top: 1.2rem;
  max-width: 600px;
}

.about-stats-row {
  display: flex;
  gap: var(--gap-md);
  margin-top: var(--gap-md);
  flex-wrap: wrap;
}

.about-stat strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--terracotta);
}

.about-stat span {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-split .about-image {
    position: static;
  }

  .about-split .about-image img {
    height: 320px;
  }
}

/* =========================================================
   PACKAGES STRIP (horizontal ribbon cards)
   ========================================================= */
.packages-strip {
  background: var(--bg-secondary);
}

.card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-sm);
  margin-top: var(--gap-lg);
}

.pkg-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(23, 23, 23, 0.05);
}

.pkg-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 50px rgba(23, 23, 23, 0.1);
}

.pkg-card.featured {
  background: var(--navy);
  color: #fff;
  transform: translateY(-14px);
}

.pkg-card.featured .pkg-price,
.pkg-card.featured h3 {
  color: #fff;
}

.pkg-card.featured ul li {
  color: rgba(255, 255, 255, 0.75);
}

.pkg-index {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: var(--terracotta);
}

.pkg-card.featured .pkg-index {
  color: var(--orange);
}

.pkg-price {
  font-family: var(--ff-display);
  font-size: 2.1rem;
  color: var(--text-primary);
}

.pkg-price span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: var(--ff-body);
}

.pkg-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.pkg-card ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  gap: 0.5rem;
}

.pkg-card ul li svg {
  flex-shrink: 0;
  color: var(--olive);
  margin-top: 3px;
}

@media (max-width: 1100px) {
  .card-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .pkg-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .card-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   GALLERY — staggered grid
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 1.2rem;
  margin-top: var(--gap-lg);
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-grid figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-grid figure:hover figcaption {
  opacity: 1;
}

.gallery-grid figure:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid figure:nth-child(2) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-grid figure:nth-child(3) {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-grid figure:nth-child(4) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-grid figure:nth-child(5) {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-grid figure:nth-child(6) {
  grid-column: span 1;
  grid-row: span 1;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-grid figure:nth-child(1) {
    grid-column: span 2;
  }
}

/* =========================================================
   ADVANTAGES — big text + small photo layout
   ========================================================= */
.advantages {
  display: grid;
  grid-template-columns: 0.55fr 0.45fr;
  gap: var(--gap-lg);
  align-items: center;
}

.advantage-list {
  display: flex;
  flex-direction: column;
}

.advantage-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.4rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  transition: padding var(--transition);
}

.advantage-item:hover {
  padding-left: 0.6rem;
}

.advantage-item:first-child {
  border-top: 1px solid rgba(23, 23, 23, 0.1);
}

.advantage-item .num {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--bg-secondary);
  -webkit-text-stroke: 1px var(--terracotta);
}

.advantage-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.advantage-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.advantage-photo {
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  overflow: hidden;
}

.advantage-photo img {
  height: 480px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .advantages {
    grid-template-columns: 1fr;
  }

  .advantage-photo img {
    height: 280px;
  }
}

/* =========================================================
   STATS — big numbers band
   ========================================================= */
.stats-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 1.5rem;
  padding: var(--gap-lg) var(--gap-md);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}

.stat-item {
  text-align: left;
  position: relative;
  padding-left: 1.4rem;
}

.stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--orange);
  border-radius: var(--radius-pill);
}

.stat-item strong {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  display: block;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band {
    margin: 0 1rem;
    padding: 3rem 1.6rem;
  }
}

/* =========================================================
   FORM SECTION
   ========================================================= */
.form-section {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  gap: var(--gap-lg);
}

.form-notice {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
  margin-top: 1.4rem;
  border-left: 4px solid var(--terracotta);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field input,
.field textarea,
.field select {
  border: 2px solid var(--bg-secondary);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(199, 92, 58, 0.12);
}

.field.error input,
.field.error textarea {
  border-color: var(--terracotta);
}

.field .error-msg {
  font-size: 0.78rem;
  color: var(--terracotta);
  min-height: 1em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 900px) {
  .form-section {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MODAL
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  padding: 1.5rem;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 3rem 2.6rem;
  max-width: 440px;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
}

.modal-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.modal-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--terracotta);
  color: #fff;
}

.modal-box .btn {
  margin-top: 1.6rem;
}

/* =========================================================
   PAGE HERO (sub-pages)
   ========================================================= */
.page-hero {
  padding: 8rem 0 var(--gap-lg);
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.12;
}

.page-hero-label {
  font-family: var(--ff-display);
  font-size: 6.5rem;
  color: rgba(23, 23, 23, 0.06);
  position: absolute;
  right: 2rem;
  top: 3rem;
  letter-spacing: -0.02em;
  z-index: 0;
}

.page-hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero-sub {
  color: var(--text-secondary);
  max-width: 560px;
  margin-top: 1.2rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.badges-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* =========================================================
   VERTICAL LABEL (large vertical headings decoration)
   ========================================================= */
.vertical-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--ff-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: absolute;
  left: -2rem;
  top: 0;
}

/* =========================================================
   COMPARISON TABLE (editorial style, not classic table)
   ========================================================= */
.compare-table {
  margin-top: var(--gap-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  align-items: center;
}

.compare-row+.compare-row {
  border-top: 1px solid var(--bg-secondary);
}

.compare-row.head {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.compare-row.head div {
  color: #fff;
}

.compare-row div {
  padding: 1.4rem 1.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.compare-row div:first-child {
  color: var(--text-primary);
  font-weight: 600;
}

.compare-row:not(.head):hover {
  background: var(--bg-secondary);
}

.compare-row .accent {
  color: var(--terracotta);
  font-weight: 700;
}

@media (max-width: 900px) {
  .compare-table {
    overflow-x: auto;
  }

  .compare-row {
    grid-template-columns: 1.2fr repeat(4, 0.9fr);
    min-width: 720px;
  }
}

/* =========================================================
   PACKAGES PAGE — customization / showcase
   ========================================================= */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-sm);
  margin-top: var(--gap-lg);
}

.custom-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition), background var(--transition);
}

.custom-card:hover {
  transform: translateY(-6px);
  background: var(--surface);
  box-shadow: 0 20px 40px rgba(23, 23, 23, 0.08);
}

.custom-card svg {
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.custom-card h4 {
  margin-bottom: 0.5rem;
}

.custom-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .custom-grid {
    grid-template-columns: 1fr;
  }
}

.showcase-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--gap-lg);
}

.showcase-banner img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.showcase-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 54, 84, 0.1), rgba(30, 54, 84, 0.75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: #fff;
}

.showcase-banner h3 {
  color: #fff;
  font-size: 2rem;
  max-width: 560px;
}

/* =========================================================
   GAME PAGE
   ========================================================= */
.anchor-menu {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: var(--gap-md);
  position: sticky;
  top: 90px;
  z-index: 100;
  background: var(--bg-primary);
  padding: 1rem 0;
}

.anchor-menu a {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--bg-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.anchor-menu a:hover {
  background: var(--terracotta);
  color: #fff;
  transform: translateY(-2px);
}

.game-block {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: var(--gap-md);
  padding: var(--gap-lg) 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  align-items: center;
}

.game-block:nth-of-type(even) {
  grid-template-columns: 0.55fr 0.45fr;
}

.game-block:nth-of-type(even) .game-media {
  order: 2;
}

.game-media {
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  overflow: hidden;
}

.game-media img {
  height: 380px;
  object-fit: cover;
}

.game-info h3 {
  font-size: 2rem;
}

.game-info .tag {
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-info p {
  color: var(--text-secondary);
  margin-top: 1rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.rules-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.rules-box h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive);
  margin-bottom: 0.6rem;
}

.rules-box p,
.rules-box li {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.rules-box ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (max-width: 900px) {

  .game-block,
  .game-block:nth-of-type(even) {
    grid-template-columns: 1fr;
  }

  .game-block:nth-of-type(even) .game-media {
    order: 0;
  }

  .game-media img {
    height: 260px;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .anchor-menu {
    position: static;
  }
}

/* How it works / role of hosts / process steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-sm);
  margin-top: var(--gap-lg);
}

.step-card {
  position: relative;
  padding-top: 2rem;
}

.step-card .step-num {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  color: var(--bg-secondary);
  -webkit-text-stroke: 1.5px var(--terracotta);
  margin-bottom: 0.6rem;
}

.step-card h4 {
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FULLSCREEN BANNER
   ========================================================= */
.full-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 0 1.5rem;
}

.full-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.full-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 54, 84, 0.85), rgba(30, 54, 84, 0.25));
  z-index: 1;
}

.full-banner .content {
  position: relative;
  z-index: 2;
  padding: var(--gap-lg) var(--gap-md);
  color: #fff;
  max-width: 640px;
}

.full-banner h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.full-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .full-banner {
    margin: 0 1rem;
  }
}

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  margin-top: var(--gap-md);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-content ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0;
}

.legal-content ul li {
  color: var(--text-secondary);
  padding-left: 1.4rem;
  position: relative;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: var(--gap-lg);
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  transition: transform var(--transition);
}

.contact-info-card:hover {
  transform: translateX(6px);
}

.contact-info-card svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

.contact-info-card h4 {
  margin-bottom: 0.3rem;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Generic two column / values grid (About page)
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-sm);
  margin-top: var(--gap-lg);
}

.value-card {
  padding: 2rem 0;
}

.value-card .num {
  font-family: var(--ff-display);
  color: var(--terracotta);
  font-size: 1.1rem;
}

.value-card h4 {
  margin: 0.6rem 0 0.6rem;
  font-size: 1.2rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.timeline {
  margin-top: var(--gap-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--gap-md);
  padding: 1.8rem 0;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
}

.timeline-item .year {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--terracotta);
}

.timeline-item h4 {
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* Owner mention highlight */
.owner-quote {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  margin-top: var(--gap-md);
  border-left: 4px solid var(--olive);
  font-style: italic;
  color: var(--text-primary);
}

.owner-quote span {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-weight: 700;
  color: var(--olive);
  font-size: 0.9rem;
}

/* Reveal animation on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}