/* The occasion pages (/occasion.html?o=birthday | halloween | christmas). Uses home.css for the sidebar and cards. */
.occback { display: inline-block; margin: 0 0 12px; color: #cdbbea; text-decoration: none; font-weight: 800; }
.occback:hover { color: #fff; }

/* the occasion's own banner */
.ohero { position: relative; border-radius: 22px; overflow: hidden; height: 430px; background: #1d0d2c;
  border: 2px solid rgba(255,255,255,.12); box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.ohero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ohero .otxt { position: absolute; inset: 0 auto 0 0; width: 55%; padding: 4% 3.5%; box-sizing: border-box; display: flex; flex-direction: column;
  justify-content: center; gap: 12px; background: linear-gradient(90deg, rgba(20,8,30,.85), rgba(20,8,30,.55) 70%, transparent); z-index: 2; }
.ohero h1 { margin: 0; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; text-shadow: 0 3px 14px rgba(0,0,0,.6); }
.ohero p { margin: 0; color: #f0e6ff; font-size: 1.15rem; font-weight: 700; max-width: 30em; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.ohbtns { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.unlockedTag { padding: 8px 16px; border-radius: 99px; background: rgba(62,240,140,.2); border: 1px solid rgba(62,240,140,.6); font-weight: 900; }
.buy { border: 0; border-radius: 99px; padding: 12px 26px; font: 900 1.1rem 'Nunito', sans-serif; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #ff4f9a, #d42fd0); box-shadow: 0 6px 18px rgba(255,60,160,.45); }
.buy:hover { transform: scale(1.04); }
.demoBuy { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.45); box-shadow: none; }

/* Halloween: the title sits on the parchment of the spooky room */
.occ-hween .ohero .otxt { inset: 15% 28% 33% 28%; width: auto; padding: 0 2%; align-items: center; text-align: center; background: none; gap: 8px; }
.occ-hween .ohero h1 { color: #4a1d06; text-shadow: none; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.occ-hween .ohero p { color: #5a2d10; text-shadow: none; font-size: 1.05rem; }
.occ-hween .ohero .badge { background: #6b2a8a; }
.occ-hween .ohero .bg { object-position: 50% 40%; }

/* Birthday: the piñata courtyard */
.occ-bday .ohero .bg { object-position: 50% 45%; }

/* Christmas: designed banner (no painted Christmas art yet) — snow falling over a warm red/green scene */
.occ-xmas .ohero { background: radial-gradient(70% 90% at 75% 30%, #2f8a3e 0%, #144a22 45%, #0b2414 100%); }
.occ-xmas .ohero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 60% at 15% 100%, rgba(200,30,50,.45), transparent 70%),
  radial-gradient(30% 40% at 90% 90%, rgba(255,210,61,.25), transparent 70%); }
.occ-xmas .ohero .otxt { background: none; }
.occ-xmas .deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.occ-xmas .deco span { position: absolute; font-size: 7rem; filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); }
.occ-xmas .deco span:nth-child(1) { right: 22%; bottom: 8%; font-size: 13rem; }
.occ-xmas .deco span:nth-child(2) { right: 6%; bottom: 10%; font-size: 8rem; }
.occ-xmas .deco span:nth-child(3) { right: 38%; bottom: 6%; font-size: 6rem; }
.occ-xmas .deco span:nth-child(4) { right: 14%; bottom: 2%; font-size: 5rem; }
.occ-xmas .deco i { position: absolute; top: -10px; border-radius: 50%; background: #fff; animation: snow linear infinite; }
@keyframes snow { to { transform: translateY(470px) translateX(var(--drift, 20px)); } }
.occ-xmas .ohero .badge { background: #c8283c; }

/* the games, and the "unlock these" cover over them while locked */
.ogames { position: relative; min-height: 300px; }
.ogames .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ogames.locked .cards { filter: blur(3px) saturate(.7) brightness(.6); pointer-events: none; }
.lockover { position: absolute; inset: -10px; display: grid; place-items: center; z-index: 3; }
.lockover[hidden] { display: none; }
.lockbox { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 26px 34px; border-radius: 24px; max-width: 520px;
  background: rgba(20,8,36,.92); border: 2px solid #ff4fd8; box-shadow: 0 0 40px rgba(255,79,216,.45), 0 20px 50px rgba(0,0,0,.5); }
.lockbox .lk { font-size: 3rem; line-height: 1; }
.lockbox h3 { margin: 0; font-family: 'Fredoka', sans-serif; font-size: 1.8rem; }
.lockbox p { margin: 0; color: #e4d6f5; font-weight: 800; }
.buy.big { font-size: 1.35rem; padding: 14px 34px; }
.lockbox .buymsg { color: #ffd0e8; } .lockbox .buymsg:empty { display: none; }
.lockbox .fine { color: #b9a6d6; }
.gcard.bbingo .fo { background: radial-gradient(circle at 50% 40%, #ff7ac0, #7a1f9a 85%); border-color: #ffd23d; }
.gcard.hbingo .fo { background: radial-gradient(circle at 50% 40%, #ff8a1f, #4a1470 80%); border-color: #ff8a1f; }
.gcard.xbingo .fo { background: radial-gradient(circle at 50% 40%, #2fbf4a, #8a1020 85%); border-color: #ffd23d; }
.gcard.soon .fo { background: rgba(255,255,255,.05); border: 3px dashed rgba(255,255,255,.3); box-shadow: none; opacity: .8; }

/* phones */
@media (max-width: 700px) {
  .ohero { height: auto; min-height: 380px; }
  .ohero .otxt { position: relative; width: 100%; min-height: 380px; justify-content: flex-end; background: linear-gradient(0deg, rgba(20,8,30,.92), rgba(20,8,30,.4) 70%, transparent); }
  .occ-hween .ohero .otxt { position: absolute; inset: 12% 14% 30% 14%; min-height: 0; justify-content: center; }
  .occ-hween .ohero h1 { font-size: 1.5rem; } .occ-hween .ohero p { font-size: .8rem; }
  .ohero .ohbtns { display: none; } /* phones: the unlock cover just below has the button */
  .occ-xmas .deco span:nth-child(1) { font-size: 7rem; right: 4%; bottom: auto; top: 6%; }
  .occ-xmas .deco span:nth-child(n+2) { display: none; }
  .ogames .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lockbox { padding: 18px; } .lockbox h3 { font-size: 1.35rem; }
  .lockbox .buy { width: 100%; }
}

/* once the painted ChatGPT banner is in: the normal title-on-the-left layout for every occasion (no parchment / emoji) */
.painted .ohero .otxt { inset: 0 auto 0 0 !important; width: 52% !important; padding: 4% 3.5% !important; align-items: flex-start !important; text-align: left !important;
  background: linear-gradient(90deg, rgba(20,8,30,.85), rgba(20,8,30,.5) 70%, transparent) !important; }
.painted .ohero h1 { color: #fff !important; text-shadow: 0 3px 14px rgba(0,0,0,.6) !important; font-size: clamp(2.2rem, 4vw, 3.8rem) !important; }
.painted .ohero p { color: #f0e6ff !important; text-shadow: 0 2px 8px rgba(0,0,0,.6) !important; font-size: 1.15rem !important; }
.painted .deco span { display: none; }
.painted .ohero .bg { object-position: 50% 50%; z-index: 0; }
.painted.occ-xmas .deco { z-index: 1; }
@media (max-width: 700px) { .painted .ohero .otxt { position: relative !important; width: 100% !important; inset: auto !important; min-height: 380px; justify-content: flex-end; } }

/* Baby Shower (Kita 2026-10-05) */
.occ-baby .ohero .badge { background: #e0458f; }
.occ-baby .ohero .bg { object-position: 50% 0%; } /* Jade stands at the top right — keep her whole head in (Kita 2026-10-06) */
@media (max-width: 700px) { .occ-baby .ohero .bg { object-position: 82% 0%; } } /* phone: the crop follows Jade */
.oprizes { max-width: 980px; margin: 18px auto; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.08); border: 2px solid rgba(255,126,182,.5); text-align: center; }
.oprizes h2 { margin: 0 0 6px; }
.oprizes p { margin: 0 0 12px; opacity: .9; }
.oprizes .bprize { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; font-weight: 800; }
.oprizes .bprize button { border: 2px solid rgba(255,255,255,.35); border-radius: 99px; padding: 10px 18px; background: rgba(255,255,255,.08); color: #fff; font: 800 1rem 'Nunito', sans-serif; cursor: pointer; }
.oprizes .bprize button.on { background: linear-gradient(90deg, #ff7eb6, #ffb86b); border-color: #fff; }
.oprizes .bprize a { color: #ffd76a; font-weight: 900; }
