@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/open-sans-extrabold-ruble.woff2") format("woff2");
  unicode-range: U+20BD;
}

/* The theme supplies the Bootstrap layout, buttons and shared homepage sections. */
.birthday-page > section[aria-labelledby] { color: var(--title-color); }
.birthday-page section[id] { scroll-margin-top: 3rem; }
.birthday-page :is(a,button):focus-visible,
.birthday-header :is(a,button):focus-visible,
.birthday-footer :is(a,button):focus-visible,
.birthday-wheel-error button:focus-visible { outline: 3px solid #f6ae10 !important; outline-offset: 3px; }

.birthday-brand { display: inline-flex; width: 103px; flex: none; flex-direction: column; align-items: flex-start; }
.birthday-brand > img { width: 99.218px; height: 30.479px; }
.birthday-brand > span { display: flex; align-items: flex-start; gap: 6.41px; }
.birthday-brand > span > img { width: 29.068px; height: 28.682px; }
.birthday-brand picture { margin-top: 6.96px; }
.birthday-brand picture img { display: block; width: 67.351px; height: 15.708px; }
.birthday-menu a, .birthday-menu button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  text-align: left;
}
.birthday-header { color: var(--title-color); }
.birthday-header .birthday-menu { font-weight: 600; }
.birthday-menu :is(a,button):hover, .birthday-phone:hover { color: var(--blue); }
.birthday-phone { color: var(--title-color); }

.birthday-hero__banner {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 7.5rem;
  background: linear-gradient(160deg,#023b7a 0%,#012d5e 45%,#011b3d 100%);
}
.birthday-hero__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/birthday-2026/confetti.svg") repeat;
  opacity: .55;
  pointer-events: none;
}
.birthday-dates { padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; font-size: 15px; font-weight: 600; }
.birthday-hero h1 { font-size: clamp(42px,5vw,68px); line-height: 1.04; letter-spacing: -.5px; }
.birthday-hero h1 em { color: #ffc93c; font-style: normal; }
.birthday-hero__lead { font-size: clamp(20px,2.3vw,30px); line-height: 1.4; }
.birthday-hero__note { color: rgba(255,255,255,.84); }
.birthday-hero .btn-outline-white:hover { background: rgba(255,255,255,.16); color: #fff; }
.birthday-wheel-box { position: relative; width: min(100%,500px); aspect-ratio: 350 / 363.46; margin-inline: auto; }
.birthday-wheel { position: absolute; inset: 0; display: block; width: 100%; aspect-ratio: 540 / 560.769; padding: 0; border: 0; background: transparent; container-type: inline-size; }
.birthday-wheel__graphic { position: absolute; top: -1.48%; left: -1.92%; width: 103.84%; height: 103.33%; pointer-events: none; }
.birthday-wheel-glow img { display: block; width: 100%; height: 100%; }
.birthday-wheel-glow { position: absolute; inset: 6.05% 6% auto; height: 88%; }
/* Align the rotation axis with the hub inside the padded SVG viewBox. */
.birthday-wheel__disc { position: absolute; inset: 0; transform-origin: 50% 50.37%; }
.birthday-wheel__labels { position: absolute; inset: 0; pointer-events: none; }
.birthday-wheel__label { position: absolute; width: 25%; margin-left: -12.5%; text-align: center; color: var(--title-color); font: 600 2.2115cqw/1.13 "Open Sans", Arial, sans-serif; }
.birthday-wheel__label b { display: block; height: 5.222cqw; color: var(--blue); font-size: 4.0385cqw; line-height: 1.36; font-weight: 800; }
.birthday-wheel__label--free b { color: #e0425d; }
.birthday-wheel__label span { display: block; }
.birthday-wheel__label:nth-child(1) { left: 59.04%; top: 19.16%; }
.birthday-wheel__label:nth-child(2) { left: 76.43%; top: 25.04%; }
.birthday-wheel__label:nth-child(3) { left: 79.23%; top: 45.94%; }
.birthday-wheel__label:nth-child(4) { left: 73.65%; top: 62.47%; }
.birthday-wheel__label:nth-child(5) { left: 59.37%; top: 72.48%; }
.birthday-wheel__label:nth-child(6) { left: 40.07%; top: 74.15%; }
.birthday-wheel__label:nth-child(7) { left: 26.35%; top: 62.47%; }
.birthday-wheel__label:nth-child(8) { left: 20.77%; top: 45.94%; }
.birthday-wheel__label:nth-child(9) { left: 22.69%; top: 25.64%; }
.birthday-wheel__label:nth-child(10) { left: 40.96%; top: 17.95%; }
@keyframes birthday-wheel-turn {
  to { transform: rotate(1turn); }
}
@media (prefers-reduced-motion: no-preference) {
  .birthday-wheel__disc, .birthday-wheel__label { animation: birthday-wheel-turn 90s linear infinite; }
  .birthday-wheel__label { animation-direction: reverse; }
}
.birthday-wheel-tag { display: none; }
.birthday-stats { margin-top: -4.5rem; }
.birthday-stat { border-radius: 24px; box-shadow: 0 5px 14px rgba(1,45,94,.17); }
.birthday-stat dt { color: var(--blue); font-size: clamp(38px,4vw,48px); font-weight: 800; line-height: 1.05; }
.birthday-about__lead { font-size: 1.1rem; }
.birthday-chips li { background: var(--blue-bg); font-size: .875rem; font-weight: 600; }
.birthday-portrait { border-radius: 28px; background: linear-gradient(165deg,#eaf3ff,#cfe2f8); }
.birthday-prizes { background: #eaf3ff; }
.birthday-prize { min-height: 185px; border-bottom: 6px solid var(--blue); border-radius: 22px; background: #fff; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.birthday-prize small { color: var(--text-color); }
.birthday-prize strong { color: var(--blue); font-size: 42px; font-weight: 800; line-height: 1.1; }
.birthday-prize--free { background: #012d5e; color: #fff; border-bottom-color: #ffc93c; }
.birthday-prize--free strong { color: #ffc93c; font-size: clamp(23px,2vw,28px); }
.birthday-band { background: linear-gradient(100deg,#198cff,#0b63d6); }
.birthday-reception { border-radius: 28px; }
.birthday-clinic { border: 1px solid #d8e6f5; border-radius: 14px; color: var(--title-color); font-weight: 600; text-decoration: none; }
.birthday-clinic img { flex-shrink: 0; }
.birthday-clinic:hover { color: var(--title-color); background: #eaf3ff; border-color: #a9cef4; }

.birthday-footer { margin: 0; background: #011b3d; color: #b7c7dc; font-size: .875rem; line-height: 1.55; }
.birthday-footer__phone { color: #fff; font-size: 1.125rem; font-weight: 700; }
.birthday-footer h2 { margin: 0 0 14px; color: #fff; font-size: 1rem; text-align: left; }
.birthday-footer nav a { color: inherit; text-decoration: none; }
.birthday-footer nav a:hover, .birthday-footer nav button:hover, .birthday-footer__phone:hover { color: #fff; text-decoration: underline; }
.birthday-footer__legal { border-top: 1px solid rgba(255,255,255,.15); font-size: .75rem; line-height: 1.6; }
.birthday-footer__legal p { margin-bottom: 10px; }
.birthday-footer__legal a { color: inherit; }

.birthday-wheel-error h2 { font-size: 22px; }
.birthday-wheel-error { width: min(420px,calc(100% - 32px)); padding: 28px; border: 0; border-radius: 20px; color: var(--title-color); }
.birthday-wheel-error::backdrop { background: rgba(1,27,61,.62); }

@media (min-width: 992px) {
  .birthday-hero__banner { padding-block: 4rem 8rem; }
  .birthday-header .birthday-menu { font-size: .9375rem; }
  .birthday-about__lead { font-size: 1.65rem; line-height: 1.4; font-weight: 700; }
  .birthday-wheel-box { width: 86%; }
  .birthday-wheel-tag { position: absolute; display: block; padding: 10px 14px; border-radius: 16px; background: #fff; color: var(--title-color); box-shadow: 0 8px 22px rgba(0,0,0,.25); font-weight: 700; font-size: .75rem; line-height: 1.25; pointer-events: none; }
  .birthday-wheel-tag--first { left: -5%; top: 3%; }
  .birthday-wheel-tag--last { right: -5%; bottom: 0; }
}
