/* Lucky Cat Arcade — site styles
   Palette from the original Divi site:
   black #000, white #fff, yellow #ffd800, red #f94242, maroon #b60000 */

:root {
  --black: #000;
  --ink: #141414;
  --white: #fff;
  --yellow: #ffd800;
  --red: #f94242;
  --maroon: #b60000;
  --maroon-dark: #8a0000;
  --cream: #fff8f0;
  --gray: #5c5c5c;
  --line: #ececec;
  --heading: "Fraunces", Georgia, serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --header-h: 112px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
a:hover { color: var(--red); }
h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }
li::marker { color: var(--maroon); font-weight: 600; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--yellow); color: var(--black); padding: .6em 1em; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 860px); margin-inline: auto; }
.wrap .narrow { width: 100%; max-width: 860px; }

/* ---------- Header (split menu, logo centered) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 2rem;
}
.nav-list { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-list li { margin: 0; }
.nav-list a {
  font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #555; text-decoration: none; padding: .4em 0; position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform .2s;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--red); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.logo img { width: auto; height: 88px; }

.menu-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
  justify-self: end;
}
.menu-toggle span { display: block; width: 28px; height: 3px; background: var(--black); margin: 6px 0; border-radius: 2px; transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  :root { --header-h: 84px; }
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .nav-left, .nav-right { display: none; }
  .logo img { height: 64px; }
  .menu-toggle { display: block; }
  .mobile-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 3px solid var(--maroon);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .mobile-nav.open { max-height: 480px; }
  .mobile-nav ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1.25rem; }
  .mobile-nav li { margin: 0; border-bottom: 1px solid var(--line); }
  .mobile-nav a {
    display: block; padding: .9rem 0; text-decoration: none; color: var(--ink);
    font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 15px;
  }
  .mobile-nav a[aria-current="page"] { color: var(--red); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--white); background: var(--maroon);
  padding: 1em 2em; border-radius: 999px; border: 2px solid var(--maroon);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); transform: translateY(-2px); }
.btn-light { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.btn-light:hover { background: var(--white); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--maroon); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); text-align: center;
  padding: clamp(6rem, 15vw, 12rem) 0;
  background: #000 url("/images/hero-1920.webp") center / cover no-repeat;
  background-attachment: fixed;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .52); z-index: -1; }
.hero h1, .hero p { color: var(--white); }
.hero h1 { margin-bottom: .3em; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero .tagline {
  font-family: var(--heading); font-size: clamp(1.2rem, 2.6vw, 1.75rem); font-weight: 500; margin: 0;
}
.hero .btn-row { justify-content: center; }

/* Page hero for inner pages */
.page-hero {
  position: relative; color: var(--white); text-align: center;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background: #000 center / cover no-repeat;
  background-attachment: fixed;
  isolation: isolate;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.65)); z-index: -1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 46rem; margin: 1rem auto 0; font-size: 1.05rem; }

/* Parallax photo strip */
.photo-strip {
  min-height: clamp(220px, 32vw, 380px);
  background: #000 center / cover no-repeat;
  background-attachment: fixed;
}
@media (hover: none), (max-width: 980px) {
  .hero, .page-hero, .photo-strip { background-attachment: scroll; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--black); color: rgba(255,255,255,.88); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark li::marker { color: var(--yellow); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--maroon); margin-bottom: .8rem;
}
.section-dark .eyebrow { color: var(--yellow); }
.lead { font-size: 1.12rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.2rem; }
.steps li {
  counter-increment: step; display: flex; align-items: center; gap: 1rem;
  font-weight: 600; font-size: 1.1rem; margin-bottom: .9rem;
}
.steps li::before {
  content: counter(step); flex: 0 0 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--black);
  font-family: var(--heading); font-weight: 800;
}

.card-panel {
  background: var(--white); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 10px 40px rgba(0,0,0,.08); border-top: 5px solid var(--maroon);
}

/* Feature cards (home "how it works") */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 34px rgba(0,0,0,.08); text-align: left;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,.13); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 1.5rem 1.6rem 1.7rem; }
.card-body h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.card-body p { margin: 0; color: var(--gray); font-size: 1rem; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; background: var(--yellow);
  box-shadow: inset 0 0 0 4px var(--maroon);
}
.section-dark .check-list li::before { box-shadow: inset 0 0 0 4px var(--red); }

/* ---------- FAQ accordion ---------- */
.faq { margin-top: 2rem; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: .9rem; background: var(--white);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: 0 8px 28px rgba(0,0,0,.07); border-color: transparent; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.4rem; position: relative;
  font-family: var(--heading); font-weight: 600; font-size: 1.2rem; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--maroon); color: var(--white);
  display: grid; place-items: center; font-family: var(--body); font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--red); }
.faq .answer { padding: 0 1.4rem 1.2rem; }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 1rem; margin: 1.6rem 0 1rem; }
.price-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.price-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1000px) { .price-grid.cols-5, .price-grid.cols-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .price-grid.cols-5, .price-grid.cols-6 { grid-template-columns: repeat(2, 1fr); } }
.price {
  position: relative; background: var(--white); border: 2px solid #f1d4d4; border-radius: 12px;
  padding: 1.3rem .9rem 1.2rem; text-align: center; display: flex; flex-direction: column; gap: .25rem;
}
.price .label { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--maroon); }
.price .amount { font-family: var(--heading); font-weight: 800; font-size: 1.85rem; color: var(--black); line-height: 1.1; }
.price .note { font-size: .82rem; color: var(--gray); line-height: 1.4; }
.price.featured { border-color: var(--maroon); }
.badge {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--yellow); color: var(--black); font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .25em .8em; border-radius: 999px;
}
.callout {
  background: var(--cream); border-left: 5px solid var(--yellow); border-radius: 0 12px 12px 0;
  padding: 1.3rem 1.5rem; margin: 1.5rem 0;
}
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

.package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; margin: 1.5rem 0 2rem; }
@media (max-width: 820px) { .package-grid { grid-template-columns: 1fr; } }
.package { display: flex; flex-direction: column; }
.package h3 { margin-bottom: .3rem; }
.package .price-tag { font-family: var(--heading); font-size: 2.4rem; font-weight: 800; color: var(--maroon); line-height: 1; margin-bottom: .6rem; }
.package .extra { margin-top: auto; padding-top: .8rem; border-top: 1px dashed #e3c9c9; }
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 1.5rem 0; }
@media (max-width: 900px) { .addon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .addon-grid { grid-template-columns: 1fr; } }
.addon { background: var(--white); border-radius: 12px; padding: 1.2rem 1.3rem; border: 1px solid var(--line); }
.addon h4 { margin-bottom: .3rem; }
.addon p, .addon ul { margin: 0; font-size: .98rem; }

.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.5rem; }
@media (max-width: 720px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- Games ---------- */
.games-group { margin-top: 2.5rem; }
.games-group > h2 { display: flex; align-items: center; gap: .8rem; }
.games-group > h2::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(249,66,66,.18); }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.game-cat { background: var(--white); border-radius: 12px; padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-top: 4px solid var(--maroon); }
.game-cat h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.game-cat ul { list-style: none; padding: 0; margin: 0; font-size: .98rem; }
.game-cat li { padding: .3rem 0; border-bottom: 1px dashed var(--line); margin: 0; }
.game-cat li:last-child { border-bottom: 0; }
.fine { font-size: .92rem; color: var(--gray); }

/* ---------- About ---------- */
.signature { font-family: var(--heading); font-style: italic; font-size: 1.15rem; color: var(--maroon); }
.post-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 0; align-items: stretch; text-decoration: none; color: inherit;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 34px rgba(0,0,0,.08);
  margin-top: 1.8rem; transition: transform .25s;
}
.post-card:hover { transform: translateY(-3px); color: inherit; }
.post-card img { height: 100%; width: 100%; object-fit: cover; }
.post-card div { padding: 1.6rem 1.8rem; }
.post-card h3 { margin-bottom: .4rem; }
.post-card .more { color: var(--maroon); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 680px) { .post-card { grid-template-columns: 1fr; } .post-card img { aspect-ratio: 16/9; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--maroon); color: var(--white); text-align: center; padding: clamp(3rem, 7vw, 4.5rem) 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 40rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon); color: var(--white); }
.footer-main {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 2.5rem; align-items: center;
  padding: 3.5rem 0 3rem; text-align: center;
}
.footer-main a { color: var(--white); }
.footer-main a:hover { color: var(--yellow); }
.footer-main p { margin: 0 0 .4rem; }
.footer-logo img { width: 210px; margin-inline: auto; }
.footer-heading { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--yellow); margin-bottom: .6rem !important; }
.footer-hours { list-style: none; padding: 0; margin: .2rem 0 0; font-size: .95rem; }
.footer-hours li { margin: 0 0 .15rem; }
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr; } .footer-logo { order: -1; } }
.footer-bar { border-top: 1px solid rgba(255,255,255,.18); background: var(--maroon-dark); }
.footer-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.85); }
.footer-bar a { color: rgba(255,255,255,.85); }
.social { display: flex; gap: .8rem; list-style: none; margin: 0; padding: 0; }
.social li { margin: 0; }
.social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--white); transition: background .2s, color .2s;
}
.social a:hover { background: var(--yellow); color: var(--black); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Blog post ---------- */
.post-meta { color: rgba(255,255,255,.85); font-size: .95rem; margin-top: .8rem; }

/* Focus styles */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Polish (Nov 2026) ---------- */
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* Hours & location bar under the home hero */
.info-bar { background: var(--black); color: rgba(255,255,255,.88); border-bottom: 4px solid var(--maroon); font-size: .95rem; }
.info-grid { display: grid; grid-template-columns: 2fr 1.4fr .8fr; gap: 1rem 2rem; padding: 1.1rem 0; }
.info-grid a { color: var(--white); text-decoration: none; }
.info-grid a:hover { color: var(--yellow); }
.info-grid .nowrap { white-space: nowrap; }
.info-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: .1rem; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; text-align: center; gap: .8rem; } }

/* Party package badge (Royale) */
.package { position: relative; }
.package-badge { top: -.85rem; left: auto; right: 1.6rem; transform: none; font-size: .75rem; }

/* Lucky coin glisten in the header logo */
.logo { position: relative; display: block; line-height: 0; }
.coin-shine {
  position: absolute; left: 51.2%; top: 43.4%; width: 15.2%; height: 18.2%;
  border-radius: 50%; overflow: hidden; pointer-events: none;
}
.coin-shine::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.85) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: coin-sweep 6s ease-in-out infinite;
}
.logo::after {
  content: ""; position: absolute; left: 60.5%; top: 40.5%; width: 7%; aspect-ratio: 1;
  background: #fff; pointer-events: none;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  transform: scale(0); opacity: 0;
  animation: coin-twinkle 6s ease-in-out infinite;
  filter: drop-shadow(0 0 2px rgba(255,216,0,.9));
}
@keyframes coin-sweep {
  0%, 62% { transform: translateX(-120%); }
  78%, 100% { transform: translateX(120%); }
}
@keyframes coin-twinkle {
  0%, 74% { transform: scale(0) rotate(0); opacity: 0; }
  80% { transform: scale(1) rotate(45deg); opacity: 1; }
  88%, 100% { transform: scale(0) rotate(90deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .coin-shine::before, .logo::after { animation: none; opacity: 0; }
}

/* Step numbers styled as the lucky cat's gold coin */
.steps li { position: relative; }
.steps li::before {
  flex: 0 0 2.9rem; height: 2.9rem;
  background:
    linear-gradient(125deg, transparent 24%, rgba(255,255,255,.8) 24% 31%, transparent 31% 37%, rgba(255,255,255,.6) 37% 41%, transparent 41%),
    #fed800;
  border: 3px solid #000;
  box-shadow: inset 0 -5px 0 #f68900, 2px 3px 0 rgba(0,0,0,.12);
  font-size: 1.15rem; padding-bottom: 2px;
  transform: rotate(-6deg);
}
.steps li::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 2.9rem; height: 2.9rem;
  margin-top: -1.45rem; border-radius: 50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.9) 50%, transparent 58%) no-repeat;
  background-size: 300% 100%; background-position: 120% 0;
  animation: step-coin-shine 18s ease-in-out infinite;
}
/* One coin shines every 6 seconds, in turn (offset 3s from the logo's shine) */
.steps li:nth-child(1)::after { animation-delay: 3s; }
.steps li:nth-child(2)::after { animation-delay: 9s; }
.steps li:nth-child(3)::after { animation-delay: 15s; }
@keyframes step-coin-shine {
  0% { background-position: 120% 0; }
  5%, 100% { background-position: -20% 0; }
}
@media (prefers-reduced-motion: reduce) { .steps li::after { animation: none; display: none; } }

/* Highlighter for key differences (party Nekoin counts) */
mark.hl {
  color: inherit; font-weight: 700; padding: 0 .15em; margin-left: -.15em; border-radius: 2px;
  background: linear-gradient(transparent 55%, rgba(254, 216, 0, .7) 55%);
}
