/* ═══════════════════════════════════════════════════════
   PKG GAMES STORE — assets/css/style.css v1.0
   Dark gaming aesthetic: near-black surfaces, cyan/magenta
   neon accents, Orbitron display type + Inter body type.
═══════════════════════════════════════════════════════ */

:root {
  --bg:            #07080d;
  --bg-2:          #0d0f18;
  --surface:       rgba(255,255,255,.04);
  --surface-2:     rgba(255,255,255,.07);
  --border:        rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);

  --text:          #eef1f7;
  --text-bright:   #ffffff;
  --muted:         rgba(238,241,247,.66);
  --faint:         rgba(238,241,247,.38);

  --cyan:          #00e5ff;
  --cyan-glow:     rgba(0,229,255,.28);
  --magenta:       #ff2ecb;
  --magenta-glow:  rgba(255,46,203,.28);
  --amber:         #ffb020;

  --gradient-brand: linear-gradient(135deg, var(--cyan), var(--magenta));

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 20px 50px rgba(0,0,0,.45);

  --font-display: "Orbitron", "Jost", sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
html { background: var(--bg); overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: transparent; /* canvas colour lives on <html> — see global video-bg guard below */
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-bright); margin: 0; letter-spacing: .01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.pkg-skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--cyan); color: #001014; padding: 12px 20px;
  z-index: 1000; border-radius: 0 0 8px 0; font-weight: 600;
}
.pkg-skip-link:focus { left: 0; top: 0; }

/* ── Shared eyebrow / section head ── */
.pkg-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.pkg-section__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 24px;
}
.pkg-section__head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 12px;
}
.pkg-section__head p { color: var(--muted); font-size: 1.02rem; }

/* ── Buttons ── */
.pkg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.pkg-btn--primary {
  background: var(--gradient-brand);
  color: #050608;
  box-shadow: 0 12px 30px var(--cyan-glow);
}
.pkg-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px var(--magenta-glow); }
.pkg-btn--ghost {
  background: rgba(255,255,255,.04);
  color: var(--text-bright);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.pkg-btn--ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }
.pkg-btn--outline {
  background: transparent;
  color: var(--text-bright);
  border-color: var(--border-strong);
}
.pkg-btn--outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ══════════════════════════════════════════
   TOPBAR + NAV
══════════════════════════════════════════ */
.pkg-header { position: sticky; top: 0; z-index: 500; }

.pkg-topbar {
  background: #020305;
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
}
.pkg-topbar__inner {
  max-width: 1280px; margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--faint);
}
.pkg-topbar__left { display: flex; align-items: center; gap: 8px; }
.pkg-topbar__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow);
  display: inline-block;
}
.pkg-topbar__right { display: flex; gap: 20px; }
.pkg-topbar__right a:hover { color: var(--cyan); }

.pkg-nav {
  background: rgba(7,8,13,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.pkg-nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.pkg-logo { display: flex; align-items: baseline; gap: 8px; margin-right: auto; }
.pkg-logo__mark {
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pkg-logo__word { font-family: var(--font-display); font-size: .85rem; letter-spacing: .1em; color: var(--text-bright); }

.pkg-nav__menu { display: none; }
.pkg-nav__list { display: flex; gap: 26px; }
.pkg-nav__list a { font-size: .92rem; font-weight: 600; color: var(--muted); transition: color .15s ease; }
.pkg-nav__list a:hover { color: var(--cyan); }

.pkg-nav__cta { display: none; }

.pkg-nav__toggle {
  background: none; border: 1px solid var(--border-strong); border-radius: 8px;
  width: 42px; height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.pkg-nav__toggle span { width: 20px; height: 2px; background: var(--text-bright); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.pkg-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pkg-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pkg-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pkg-mobile-menu {
  max-height: 0; overflow: hidden;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
  transition: max-height .25s ease;
}
.pkg-mobile-menu.is-open { max-height: 420px; }
.pkg-mobile-menu__list { display: flex; flex-direction: column; padding: 8px 24px; }
.pkg-mobile-menu__list a { display: block; padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--border); }
.pkg-mobile-menu__cta {
  display: block; margin: 16px 24px 20px; text-align: center;
  background: var(--gradient-brand); color: #050608; font-weight: 700;
  padding: 13px; border-radius: 999px;
}

@media (min-width: 960px) {
  .pkg-nav__menu { display: block; }
  .pkg-nav__cta { display: inline-flex; }
  .pkg-nav__toggle { display: none; }
  .pkg-mobile-menu { display: none; }
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.pkg-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 90px;
  text-align: center;
  /* No fill here — the site-wide fixed video (or body's fallback
     color, if none is uploaded) shows straight through. */
}
.pkg-hero__glow {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  filter: blur(90px); opacity: .35; z-index: 0;
}
.pkg-hero__glow--cyan { background: var(--cyan); top: -120px; left: -120px; }
.pkg-hero__glow--magenta { background: var(--magenta); bottom: -140px; right: -100px; }
.pkg-hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .25;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.pkg-hero__inner { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; }
.pkg-hero__title {
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 20px;
}
.pkg-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 34px;
}
.pkg-hero__cta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 40px; }
.pkg-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pkg-hero__badges span {
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .06em;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-strong);
  color: var(--muted); background: var(--surface);
}

/* ══════════════════════════════════════════
   PLATFORM / MOVIE CARDS
══════════════════════════════════════════ */
.pkg-platforms, .pkg-movies, .pkg-why { padding: 90px 24px; max-width: 1280px; margin: 0 auto; }
.pkg-platforms__grid, .pkg-movies__grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pkg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.pkg-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.pkg-card--platform .pkg-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 52px; padding: 0 10px;
  border-radius: 12px; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  background: var(--gradient-brand); color: #050608;
}
.pkg-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
}
.pkg-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pkg-card p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.pkg-card__link { color: var(--cyan); font-weight: 700; font-size: .88rem; }
.pkg-card--movie { text-align: left; }

/* ══════════════════════════════════════════
   LATEST ARRIVALS — auto-scrolling marquee on desktop
   (GSAP-driven, paused on hover), native swipeable
   scroll-snap row on mobile. See assets/js/arrivals-marquee.js.
══════════════════════════════════════════ */
.pkg-arrivals { padding: 90px 0; overflow: hidden; }
.pkg-arrivals__track-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pkg-arrivals__track-wrap::-webkit-scrollbar { display: none; }
.pkg-arrivals__track {
  display: flex;
  gap: 20px;
  padding: 4px 24px 16px;
  width: max-content;
}
.pkg-arrival-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.pkg-arrival-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pkg-arrival-card__thumb {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2);
  background-image: linear-gradient(160deg, rgba(0,229,255,.14), rgba(255,46,203,.12));
}
.pkg-arrival-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gradient-brand); color: #050608;
  font-family: var(--font-display); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; font-weight: 800;
}
.pkg-arrival-card__body { padding: 16px; }
.pkg-arrival-card__tag {
  display: block; color: var(--cyan); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px;
}
.pkg-arrival-card h3 { font-size: 1rem; line-height: 1.3; }

@media (min-width: 900px) {
  .pkg-arrivals__track-wrap { overflow: hidden; }
  .pkg-arrivals__track { padding: 4px 0 16px; will-change: transform; }
}

/* ══════════════════════════════════════════
   PACKAGES / PRICING
══════════════════════════════════════════ */
.pkg-packages { padding: 90px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pkg-packages__grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pkg-price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.pkg-price-card--popular {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(0,229,255,.07), rgba(255,46,203,.05));
  transform: scale(1.02);
}
.pkg-price-card__ribbon {
  position: absolute; top: -13px; left: 26px;
  background: var(--gradient-brand); color: #050608;
  font-family: var(--font-display); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; font-weight: 700;
}
.pkg-price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pkg-price-card__desc { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.pkg-price-card__price { font-family: var(--font-display); font-size: 2rem; color: var(--text-bright); margin-bottom: 20px; }
.pkg-price-card__price span { color: var(--amber); font-size: 1.1rem; }
.pkg-price-card__features { margin-bottom: 26px; flex: 1; }
.pkg-price-card__features li {
  padding: 9px 0 9px 22px; position: relative; color: var(--muted); font-size: .92rem;
  border-bottom: 1px solid var(--border);
}
.pkg-price-card__features li::before {
  content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800;
}
.pkg-price-card .pkg-btn { width: 100%; }
.pkg-packages__footnote { text-align: center; color: var(--faint); font-size: .82rem; margin-top: 28px; }

/* ══════════════════════════════════════════
   WHY US
══════════════════════════════════════════ */
.pkg-why__grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pkg-why__num {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 10px;
}
.pkg-why__item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pkg-why__item p { color: var(--muted); font-size: .92rem; }

/* ══════════════════════════════════════════
   VISIT US
══════════════════════════════════════════ */
.pkg-visit {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--border);
}
.pkg-visit__info {
  padding: 90px 24px; max-width: 620px; margin: 0 auto; text-align: center;
}
.pkg-visit__address { font-size: 1.15rem; color: var(--text-bright); font-weight: 600; margin-bottom: 6px; }
.pkg-visit__hours { color: var(--muted); margin-bottom: 26px; }
.pkg-visit__photo {
  width: 100%; max-width: 420px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto 24px;
  border: 1px solid var(--border);
}
.pkg-visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.pkg-visit__cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pkg-visit__map { width: 100%; min-height: 320px; }
.pkg-visit__map iframe { width: 100%; height: 100%; min-height: 320px; }

@media (min-width: 900px) {
  .pkg-visit { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .pkg-visit__info { text-align: left; margin: auto 0 auto 0; padding: 60px 60px; max-width: none; }
  .pkg-visit__cta-row { justify-content: flex-start; }
  .pkg-visit__photo { margin-left: 0; }
}

/* ══════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════ */
.pkg-final-cta {
  text-align: center; padding: 90px 24px;
  border-top: 1px solid var(--border);
  /* background intentionally removed — video shows through here too */
}
.pkg-final-cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 12px; }
.pkg-final-cta p { color: var(--muted); max-width: 480px; margin: 0 auto 32px; }
.pkg-final-cta__row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.pkg-footer { background: #020305; border-top: 1px solid var(--border); }
.pkg-footer__top {
  max-width: 1280px; margin: 0 auto; padding: 70px 24px 40px;
  display: grid; gap: 40px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
.pkg-footer__brand p { color: var(--muted); font-size: .9rem; margin: 16px 0 20px; max-width: 320px; }
.pkg-logo--footer { margin-bottom: 4px; }
.pkg-footer__social { display: flex; gap: 10px; }
.pkg-footer__social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700;
  color: var(--muted); transition: color .15s ease, border-color .15s ease;
}
.pkg-footer__social a:hover { color: var(--cyan); border-color: var(--cyan); }
.pkg-footer__col h3 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.pkg-footer__col ul li { margin-bottom: 10px; }
.pkg-footer__col a { color: var(--muted); font-size: .92rem; }
.pkg-footer__col a:hover { color: var(--cyan); }
.pkg-footer__contact li { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.pkg-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 22px 24px; text-align: center;
  color: var(--faint); font-size: .8rem;
}
.pkg-footer__attribution { margin-top: 6px; font-size: .74rem; }
.pkg-footer__attribution a { color: var(--muted); text-decoration: underline; }
.pkg-footer__attribution a:hover { color: var(--cyan); }

@media (max-width: 860px) {
  .pkg-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pkg-footer__top { grid-template-columns: 1fr; }
}

/* ── Sticky header state (class toggled by main.js on scroll) ── */
.pkg-nav.is-scrolled {
  background: rgba(7,8,13,.97);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

/* ══════════════════════════════════════════
   SITE-WIDE BACKGROUND VIDEO
   Mirrors the pattern from Beast of Africa's global-video-bg.css:
   #pkgHeroVideoBg is a direct child of <body> (see header.php), so
   position:fixed is never trapped inside another element. Canvas
   fallback colour lives on <html> (above), body is transparent, and
   this layer sits at z-index:-1 — behind literally everything, in
   front of the true canvas. No filter/blur/darkening on the footage
   itself; it plays at full opacity, clean and clear.
   Z-index map: -1 video · 500 header
══════════════════════════════════════════ */
.pkg-site-video-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg); /* fallback shown before ready, and if nothing is uploaded */
}
.pkg-site-video-bg--static {
  background-size: cover;
  background-position: center;
}
.pkg-site-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  transform: translateZ(0);
}
.pkg-site-video-bg.pkg-video-ready video { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .pkg-site-video-bg video { display: none; }
}

/* Mobile only: small screens pack more text over a smaller area of
   video, so a light neutral grade keeps copy readable without
   touching the footage on tablet/desktop. */
@media (max-width: 768px) {
  .pkg-site-video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7,8,13,.22) 0%, rgba(7,8,13,.5) 100%);
  }
}

/* ══════════════════════════════════════════
   CATALOG — archive/taxonomy grid + single item page
   (archive-pkg_game.php, archive-pkg_movie.php,
   taxonomy-pkg_platform.php, taxonomy-pkg_genre.php,
   single-pkg_game.php, single-pkg_movie.php)
══════════════════════════════════════════ */
.pkg-catalog-archive { max-width: 1280px; margin: 0 auto; padding: 70px 24px 100px; }

.pkg-catalog-filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 40px;
}
.pkg-catalog-filter {
  font-size: .85rem; font-weight: 600; color: var(--muted);
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.pkg-catalog-filter:hover { color: var(--text-bright); border-color: var(--cyan); }
.pkg-catalog-filter.is-active {
  background: var(--gradient-brand); color: #050608; border-color: transparent;
}

.pkg-catalog-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-bottom: 40px;
}
.pkg-catalog-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.pkg-catalog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pkg-catalog-card__link { display: block; }
.pkg-catalog-card__thumb {
  aspect-ratio: 3 / 4; background-size: cover; background-position: center;
  background-color: var(--surface-2);
  background-image: linear-gradient(160deg, rgba(0,229,255,.14), rgba(255,46,203,.12));
}
.pkg-catalog-card__body { padding: 14px 16px; }
.pkg-catalog-card__tag {
  display: block; color: var(--cyan); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px;
}
.pkg-catalog-card h3 { font-size: .98rem; line-height: 1.3; }

.pkg-catalog-empty {
  text-align: center; color: var(--muted); max-width: 520px; margin: 0 auto;
  padding: 40px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius);
}

.pkg-catalog-pagination { display: flex; justify-content: center; gap: 8px; }
.pkg-catalog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border-radius: 8px; border: 1px solid var(--border-strong);
  color: var(--muted); font-weight: 600; font-size: .85rem;
}
.pkg-catalog-pagination .page-numbers.current { background: var(--gradient-brand); color: #050608; border-color: transparent; }
.pkg-catalog-pagination .page-numbers:hover { color: var(--cyan); border-color: var(--cyan); }

/* ── Single game / movie detail page ── */
.pkg-single-catalog {
  max-width: 1100px; margin: 0 auto; padding: 60px 24px 100px;
  display: grid; gap: 40px; grid-template-columns: 1fr;
}
.pkg-single-catalog__cover {
  width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background-size: cover; background-position: center; background-color: var(--surface-2);
  border: 1px solid var(--border);
}
.pkg-single-catalog__cover--poster { aspect-ratio: 2 / 3; max-width: 320px; }
.pkg-single-catalog__details h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 8px 0 16px; }
.pkg-single-catalog__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pkg-single-catalog__tag {
  font-size: .78rem; font-weight: 700; color: var(--cyan);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 14px;
}
.pkg-single-catalog__meta { margin-bottom: 20px; }
.pkg-single-catalog__meta li { color: var(--muted); font-size: .92rem; margin-bottom: 6px; }
.pkg-single-catalog__meta strong { color: var(--text-bright); }
.pkg-single-catalog__desc { color: var(--muted); line-height: 1.7; margin-bottom: 30px; max-width: 640px; }
.pkg-single-catalog__cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

@media (min-width: 900px) {
  .pkg-single-catalog { grid-template-columns: 380px 1fr; align-items: start; }
  .pkg-single-catalog__cover--poster { max-width: none; }
}

/* ══════════════════════════════════════════
   MOBILE OPTIMIZATION PASS
   Everything above is already fluid (auto-fit grids, clamp() type,
   the mobile nav drawer, the swipeable arrivals row). This section
   tightens the spots that only show up on an actual small phone:
   the topbar getting cramped, too much dead air in the hero, price
   cards clipping at the popular-card scale bump, and touch targets.
══════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Topbar: address + hours next to phone + WhatsApp is too much
     copy for a 360-400px screen — keep it to one clean row. */
  .pkg-topbar__inner { padding: 8px 16px; font-size: .74rem; }
  .pkg-topbar__left span:last-child { display: none; } /* "— Open Daily" text; dot stays as a status cue */
  .pkg-topbar__right { gap: 12px; }

  .pkg-nav__inner { padding: 12px 16px; gap: 12px; }

  /* Hero: less top/bottom air so the value prop is visible without
     scrolling on short phone viewports. */
  .pkg-hero { padding: 64px 20px 56px; }
  .pkg-hero__cta-row { margin-bottom: 28px; }
  .pkg-hero__cta-row .pkg-btn { flex: 1 1 auto; min-width: 0; }

  /* Full-width, stacked CTAs are easier to hit with a thumb than a
     wrapped row of pill buttons. */
  .pkg-final-cta__row, .pkg-visit__cta-row {
    flex-direction: column; align-items: stretch;
  }
  .pkg-final-cta__row .pkg-btn, .pkg-visit__cta-row .pkg-btn { width: 100%; }

  /* The "Most Popular" card's scale(1.02) reads fine in a multi-
     column grid but clips awkwardly once cards stack full-width. */
  .pkg-price-card--popular { transform: none; }

  .pkg-section__head { margin-bottom: 32px; }
  .pkg-platforms, .pkg-arrivals, .pkg-packages, .pkg-movies, .pkg-why { padding-top: 56px; padding-bottom: 56px; }

  /* Map iframes are heavy on mobile data; keep the embed present
     but shorter so it doesn't dominate the scroll or the payload. */
  .pkg-visit__map, .pkg-visit__map iframe { min-height: 240px; }

  /* Every tap target at least 44px tall, per mobile a11y guidance. */
  .pkg-btn { padding: 14px 24px; min-height: 44px; }
  .pkg-nav__toggle { width: 44px; height: 44px; }
}

/* ── Fallback content (index.php) ── */
.pkg-fallback-content { max-width: 800px; margin: 0 auto; padding: 80px 24px; }
.pkg-fallback-article__body { color: var(--muted); margin-top: 20px; }
