@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&display=swap');

:root {
  color-scheme: light;
  --ink: #17251d;
  --green: #bafb55;
  --paper: #f8faef;
  --line: #d7decf;
  --muted: #505f53;
  font-family: Rubik, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a45cde; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 24px; }
.shell { width: min(100% - 96px, 1232px); margin-inline: auto; }

.header { background: var(--paper); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 82px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 24px; font-weight: 900; line-height: .94; }
.brand img { border-radius: 50%; }
.brand small { display: block; margin-top: 5px; font-size: 11px; font-weight: 600; }
nav { display: flex; gap: clamp(18px, 3vw, 46px); }
nav a, .header-phone { text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover, .header-phone:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-phone { white-space: nowrap; }

.hero { overflow: hidden; background: var(--ink); color: var(--paper); }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 550px; align-items: center; }
.hero-copy { position: relative; z-index: 1; padding-block: 64px; }
.location { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.location span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
h1 { font-size: clamp(70px, 9vw, 142px); font-weight: 900; letter-spacing: -.075em; line-height: .83; margin-block: 28px 25px; }
h1 span { color: var(--green); }
.intro { max-width: 360px; color: #e1e9dc; font-size: 19px; line-height: 1.55; margin-bottom: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 53px; padding: 14px 23px; text-decoration: none; border-radius: 6px; font-weight: 700; text-align: center; }
.button-light { background: var(--green); color: var(--ink); }
.button-light:hover { background: #d5ff90; }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: #344a39; }
.hero-art { position: relative; display: grid; align-items: center; min-width: 0; isolation: isolate; }
.orbit {
  position: relative;
  width: min(44vw, 532px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 26px, #a1ef5c55 27px 28px), #25462c;
  border: 1px solid #719a53;
  box-shadow: 0 0 0 15px #25462c77, 0 0 0 30px #25462c33;
}
.orbit-inner { width: 59%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--green); box-shadow: 0 0 50px #a6fd5155; transform: rotate(-8deg); }
.orbit-inner img { width: 100%; height: 100%; object-fit: cover; }
.spark { position: absolute; color: var(--green); line-height: 1; }
.spark-a { left: 10%; top: 23%; font-size: clamp(24px, 4vw, 54px); }
.spark-b { right: 8%; top: 20%; font-size: clamp(36px, 5vw, 70px); }
.spark-c { left: 18%; bottom: 12%; font-size: 26px; }
.ticket { position: absolute; right: 0; bottom: 6%; transform: rotate(8deg); background: var(--green); color: var(--ink); text-decoration: none; display: grid; gap: 2px; padding: 14px 22px; border: 2px dashed #35591d; outline: 5px solid var(--green); border-radius: 3px; box-shadow: 0 8px 28px #10190f9c; }
.ticket span { font-size: 13px; font-weight: 600; }
.ticket strong { font-size: clamp(22px, 3vw, 38px); font-weight: 900; white-space: nowrap; }
.ticket:hover { transform: rotate(4deg); }

.rides { padding-block: 78px 74px; }
.section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: end; margin-bottom: 30px; }
h2 { font-size: clamp(39px, 6.4vw, 90px); line-height: .94; font-weight: 900; letter-spacing: -.07em; }
.section-head p, .ride-list li > p, .birthday p, .visit-info p { line-height: 1.55; }
.section-head p { max-width: 340px; color: var(--muted); }
.ride-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ride-list li { display: grid; grid-template-columns: 72px minmax(0,1.15fr) minmax(0,1fr); gap: 24px; padding: 17px 0; align-items: center; border-bottom: 1px solid var(--line); }
.ride-list li p { color: var(--muted); font-size: 15px; }
.ride-list h3 { margin-top: 4px; font-size: clamp(22px, 3vw, 37px); line-height: 1.08; letter-spacing: -.04em; }
.ride-icon { display: grid; place-items: center; height: 63px; border-radius: 9px; font: 700 40px/1 Arial, sans-serif; }
.house { background: #d6f7a8; transform: rotate(180deg); }
.dark { background: #ead7f8; }
.maze { background: #cee8fd; }
.balls { background: #a6e8ea; }
.cinema { background: #ffe3a2; }

.birthday-wrap { padding-bottom: 78px; }
.birthday { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; background: #e8d9fa; padding: clamp(28px, 6vw, 76px); border-radius: 14px; overflow: hidden; }
.birthday p { max-width: 380px; margin-top: 21px; }
.party-price { display: block; margin-block: 18px; font-size: 32px; font-weight: 800; }
.party-art { justify-self: center; width: min(100%, 278px); aspect-ratio: 278 / 304; overflow: hidden; border: 4px solid var(--paper); border-radius: 14px; transform: rotate(7deg); box-shadow: 11px 12px 0 #b69fd1; }
.party-art img { width: 100%; height: auto; }
.visit { background: var(--ink); color: var(--paper); }
.visit-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; padding-block: 65px; }
address { font-style: normal; font-size: 18px; line-height: 1.55; margin-block: 23px; }
.visit-info { display: grid; align-content: center; justify-items: start; gap: 11px; border-left: 1px solid #556857; padding-left: 35px; }
.visit-info a { color: var(--green); text-underline-offset: 4px; }
.visit-price { font-size: 45px; line-height: 1; letter-spacing: -.05em; }
.footer-inner { padding-block: 24px; font-size: 14px; }
.footer a { text-underline-offset: 4px; }

@media (max-width: 900px) {
  .shell { width: min(100% - 48px, 1232px); }
  .hero-inner { min-height: 480px; }
  .header-phone { display: none; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 36px, 1232px); }
  .header-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 13px; padding-block: 12px; }
  .brand img { width: 39px; height: 39px; }
  .brand { font-size: 21px; }
  nav { justify-content: space-between; gap: 10px; width: 100%; }
  nav a { font-size: 13px; padding-block: 6px; }
  .hero-inner, .section-head, .birthday, .visit-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 37px 22px; }
  h1 { font-size: clamp(62px, 16vw, 102px); margin-block: 23px 18px; }
  .intro { font-size: 16px; margin-bottom: 20px; }
  .hero-art { padding-block: 5px 25px; }
  .orbit { width: min(75vw, 340px); }
  .ticket { right: 6%; bottom: 12%; padding: 8px 13px; }
  .rides { padding-block: 50px; }
  .section-head { gap: 11px; }
  .ride-list li { grid-template-columns: 50px minmax(0, 1fr); column-gap: 13px; row-gap: 8px; }
  .ride-icon { height: 50px; font-size: 32px; }
  .ride-list li > p { grid-column: 2; }
  .birthday-wrap { padding-bottom: 50px; }
  .party-art { width: min(70%, 215px); margin-block: 4px 11px; }
  .visit-inner { gap: 30px; padding-block: 47px; }
  .visit-info { border-left: 0; border-top: 1px solid #556857; padding: 24px 0 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
}

.ticket small { font-size: 11px; font-weight: 600; }
.prices { padding-bottom: 78px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.price-panel { min-width: 0; background: #e5f4d7; border-radius: 14px; padding: clamp(16px, 3vw, 34px); }
.price-panel-xd { background: #e6edfb; }
.price-panel h3 { font-size: clamp(22px, 3vw, 33px); letter-spacing: -.04em; }
.price-panel table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.price-panel caption { text-align: left; color: var(--muted); margin-bottom: 9px; }
.price-panel th, .price-panel td { text-align: left; padding: 11px 7px; border-bottom: 1px solid #17251d38; }
.price-panel th:first-child { padding-left: 0; }
.price-panel th:last-child, .price-panel td:last-child { padding-right: 0; }
.price-panel th[scope="row"] { font-weight: 500; }
.price-panel td { white-space: nowrap; font-weight: 800; }
.rental { margin-top: 17px; font-size: 14px; line-height: 1.55; }
.birthday .party-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 11px; margin-block: 18px; font-size: clamp(22px, 3.3vw, 32px); line-height: 1.2; }
.party-price span { font-size: 15px; font-weight: 500; }
.party-art { aspect-ratio: auto; }
.visit-map { display: block; grid-column: 1 / -1; width: 100%; height: 380px; border: 0; border-radius: 14px; background: #e5f4d7; }
@media (max-width: 740px) {
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .prices { padding-bottom: 50px; }
  nav { flex-wrap: wrap; justify-content: flex-start; column-gap: 15px; row-gap: 0; }
  .visit-map { height: 300px; }
}
