:root {
  font: 16px/1.5 system-ui, sans-serif;
  --night: #101124;
  --night-soft: #1c1e39;
  --paper: #f5f5fb;
  --white: #fff;
  --ink: #17192e;
  --muted: #565a73;
  --line: #dbddeb;
  --signal: #dcff53;
  --violet: #5142d2;
  --lavender: #edebff;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, fieldset { margin: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, .plan input:focus-visible + label {
  outline: 3px solid #7565ed;
  outline-offset: 4px;
}
.wrap { width: min(1190px, calc(100% - 64px)); margin-inline: auto; }
.top, .hero, footer { background: var(--night); color: var(--white); }
.top { border-bottom: 1px solid #31334c; }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top-inner { min-height: 76px; }
.brand { flex: 0 0 auto; }
.brand img, .footer-brand { width: 144px; height: auto; }
nav { display: flex; gap: 30px; color: #dedff2; }
nav a, .top-action { text-decoration: none; font-weight: 650; font-size: .9rem; }
nav a:hover { color: var(--signal); }
.top-action { padding: 9px 13px; border: 1px solid #5d607c; border-radius: 7px; }
.top-action span { color: var(--signal); margin-left: 6px; }
.hero { background: radial-gradient(ellipse at 30% 100%, #262054, var(--night) 66%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(24px, 5vw, 75px); padding-block: 36px 48px; }
.hero-copy { padding-block: 18px; }
.location { display: flex; align-items: center; gap: 9px; color: #dbd8ff; margin: 0 0 18px; font-size: .88rem; font-weight: 700; }
.location span { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px #dcff5328; }
h1, h2 { margin: 0; line-height: .96; letter-spacing: -.068em; font-weight: 900; }
h1 { font-size: clamp(4rem, 8.6vw, 8.1rem); }
h1 span { color: var(--signal); }
h2 { font-size: clamp(2.05rem, 4.7vw, 4rem); }
.hero-summary { max-width: 34ch; color: #deddf2; margin-block: 22px 26px; font-size: 1.03rem; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; border: 0; border-radius: 8px; padding: 11px 17px; background: var(--signal); color: var(--night); font: inherit; font-weight: 850; text-decoration: none; cursor: pointer; }
.action:hover { background: #eaff9b; }
.hero-photo { position: relative; overflow: hidden; border-radius: 14px; background: var(--night-soft); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.16; object-fit: cover; }
.hero-photo figcaption { position: absolute; bottom: 14px; right: 14px; padding: 9px 13px; border-radius: 7px; background: var(--night); color: var(--white); font-size: .85rem; }
.hero-photo strong { color: var(--signal); }
.section { padding-block: clamp(42px, 6vw, 77px); scroll-margin-top: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px 24px; flex-wrap: wrap; }
.section-head p, .arrival p { color: var(--muted); }
.section-head .age-rule { margin: 0; border: 1px solid var(--line); padding: 7px 11px; border-radius: 7px; font-size: .86rem; font-weight: 700; }
.student { display: flex; align-items: center; gap: 12px; margin-block: 13px 15px; padding: 12px 15px; background: var(--lavender); border: 1px solid #ccc5fa; border-radius: 10px; cursor: pointer; }
.student input { accent-color: var(--violet); width: 19px; height: 19px; margin: 0; }
.student small { display: block; color: var(--muted); }
.student b { margin-left: auto; color: var(--violet); font-size: 1.25rem; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plan { position: relative; }
.plan label { position: relative; display: flex; flex-direction: column; min-height: 176px; height: 100%; padding: 16px; border: 2px solid var(--line); border-radius: 11px; background: var(--white); cursor: pointer; }
.plan label:hover { border-color: var(--violet); }
.plan input:checked + label { background: var(--night-soft); border-color: var(--violet); color: var(--white); }
.plan-icon { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 10px; border-radius: 7px; background: var(--lavender); color: #4134b1; font-size: 1.23rem; font-weight: 750; }
.plan input:checked + label .plan-icon { background: var(--signal); color: var(--night); }
.plan label::after { content: ""; position: absolute; top: 16px; right: 16px; width: 14px; height: 14px; border: 1px solid #737795; border-radius: 50%; }
.plan input:checked + label::after { background: var(--signal); border: 4px solid var(--night-soft); outline: 1px solid var(--signal); }
.plan-description { color: var(--muted); font-size: .82rem; padding-bottom: 9px; }
.plan input:checked + label .plan-description { color: #d3d5ed; }
.plan-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: auto; font-variant-numeric: tabular-nums; }
.plan-price { font-size: clamp(1.21rem, 2.45vw, 1.8rem); font-weight: 900; letter-spacing: -.035em; }
.plan-old { font-size: .84rem; opacity: .8; }
.checkout { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.verification legend { font-weight: 850; font-size: 1.15rem; }
.verification p, .payment p { color: var(--muted); font-size: .88rem; margin-block: 5px 13px; }
.payment { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 15px; }
.payment p { margin: 0; }
.venue { background: var(--night-soft); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
.gallery figure { position: relative; overflow: hidden; border-radius: 12px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; padding: 5px 8px; border-radius: 5px; background: var(--night); color: var(--white); font-size: .8rem; }
.arrival { display: grid; align-items: center; grid-template-columns: .58fr 1.42fr; gap: 25px; }
.arrival .gallery { margin-top: 0; }
.footer-inner { min-height: 68px; font-size: .84rem; }
.footer-inner span { color: #d3d5ed; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid #dcdff0; padding-block: 14px; }
.faq details:last-child { border-bottom: 1px solid #dcdff0; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }
dialog { width: min(440px, calc(100% - 28px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 14px; color: var(--ink); background: var(--white); }
dialog::backdrop { background: #0c0d23b8; }
.ticket-head { position: relative; padding: 22px; background: var(--night-soft); color: var(--white); }
.ticket-head p:first-child { margin-top: 0; color: var(--signal); font-size: .9rem; font-weight: 800; }
.ticket-head h2 { font-size: clamp(1.7rem, 7vw, 2.45rem); }
#validity { margin-bottom: 0; color: #e0e1f4; font-size: .88rem; }
.close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 7px; background: transparent; color: var(--white); font-size: 1.6rem; cursor: pointer; }
.ticket-body { padding: 14px 22px 20px; text-align: center; }
.ticket-body p { margin: 6px 0 11px; color: var(--muted); font-size: .84rem; }
.ticket-body .action { width: 100%; justify-content: center; }
#qr img { width: auto; max-width: 100%; height: auto; margin: auto; }
#reference { font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 830px) {
  .wrap { width: calc(100% - 38px); }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 17px; }
  h1 { font-size: clamp(3rem, 9.5vw, 5rem); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 610px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { min-height: 61px; }
  .brand img, .footer-brand { width: 112px; }
  nav { display: none; }
  .hero-inner, .arrival { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 22px 18px; gap: 17px; }
  .hero-copy { padding-block: 0; }
  .location { margin-bottom: 12px; }
  .hero-summary { margin-block: 12px 16px; }
  .hero-photo img { aspect-ratio: 1.65; }
  .section-head p { margin: 8px 0 0; }
  .student { margin-top: 14px; }
  .plan label { padding: 12px; min-height: 158px; }
  .plan label::after { top: 12px; right: 12px; }
  .gallery { gap: 9px; }
  .payment { flex-direction: column; align-items: stretch; }
  .payment .action { justify-content: center; }
  .arrival { gap: 18px; }
}

.action[hidden] { display: none; }
.action:disabled { opacity: .5; cursor: not-allowed; }
.verification .action { min-height: 42px; margin-right: 5px; font-size: .88rem; }
#check-age { color: var(--violet); background: var(--lavender); }
