@font-face {
  font-family: "RotondaC";
  src: url("../font/RotondaC.woff2") format("woff2"),
       url("../font/RotondaC.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RotondaC";
  src: url("../font/RotondaC-Bold.woff2") format("woff2"),
       url("../font/RotondaC-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RotondaC";
  src: url("../font/RotondaC-Bold.woff2") format("woff2"),
       url("../font/RotondaC-Bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --orange: #ee7202;
  --orange-deep: #d96500;
  --blue: #005ca9;
  --yellow: #ffd500;
  --red: #d12023;
  --ink: #1c1c1c;
  --peach: #fff4e8;
  --card: #fff;
  --line: rgba(238, 114, 2, .35);
  --radius: 28px;
  --header: 84px;
  --font: "RotondaC", "Nunito", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background: var(--orange);
}
main { flex: 1; display: flex; flex-direction: column; }
.sheet { display: flex; flex-direction: column; min-height: 100vh; }
.footer { margin-top: auto; position: relative; z-index: 2; }
.app-view { display: none; flex: 1; align-items: safe center; justify-content: center; width: 100%; padding: 28px 0 40px; box-sizing: border-box; }
.app-view:not([hidden]) { display: flex; }
.app-view .auth { margin: 0 auto; }
body[data-view="login"] #view-home,
body[data-view="register"] #view-home,
body[data-view="cabinet"] #view-home { display: none; }
img { max-width: 100%; }
a { color: inherit; }
button, input { font-family: inherit; }
.container { width: min(1265px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: .01em; }
h2 { margin: 0 0 8px; font-size: 48px; text-align: center; color: var(--orange); }
.section-orange h2, .page-home .hero + .section h2 { color: var(--orange); }
.section-orange h2 { color: #fff; }
.section { position: relative; padding: 72px 0; background: #fffaf4; overflow: hidden; }
.section-peach { background: linear-gradient(180deg, #fff7ee 0%, #ffe8cc 100%); }
.section-orange { background: var(--orange); color: #fff; }
.muted, .text-link { display: block; text-align: center; color: var(--orange); }
.text-link { margin-bottom: 22px; font-size: 16px; }
.byn { width: .62em; height: 1em; margin: 0 .08em 0 .04em; vertical-align: -.12em; display: inline-block; }
.pill {
  width: fit-content;
  margin: 12px auto;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--orange);
  border: 1px solid var(--line);
}
.kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.qty { display: inline-flex; min-width: 64px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--yellow); color: var(--blue); align-items: center; justify-content: center; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: var(--orange);
  color: #fff;
}
.header__row { height: 100%; display: flex; align-items: center; gap: 22px; }
.logo img { height: 42px; width: auto; display: block; }
.nav { display: flex; gap: 18px; flex: 1; }
.nav a { text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; }
.header__tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { display: flex; gap: 6px; font-weight: 800; font-size: 14px; }
.lang a { color: #fff; text-decoration: none; opacity: .75; }
.lang a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #005CA9; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid #fff; background: transparent; color: #fff;
  display: grid; place-items: center; text-decoration: none; cursor: pointer;
}
.burger { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  font-weight: 800; text-decoration: none; cursor: pointer;
}
.btn-blue { background: var(--blue); color: #fff; }
.header__code { white-space: nowrap; flex-shrink: 0; }
.btn-yellow { background: var(--yellow); color: #16325c; }
.btn-arrow, .btn-arrow--blue { transform: scaleX(-1); transition: transform .2s ease; }
.btn-orange { background: var(--orange); color: #fff; }
.btn:disabled, .btn.is-wait { opacity: .55; cursor: progress; }

.hero-art { position: relative; }
.hero-art img { width: 100%; display: block; margin-top: -4.64%; }
.hero { overflow: hidden; background: var(--orange); }
.hero-building { display: none; }
.hero-tag { display: none; }
.hero-cta {
  position: relative; z-index: 2;
  min-height: 54px; color: #16325c; background: var(--yellow);
}

.ornament { position: absolute; width: 180px; opacity: .9; pointer-events: none; }
.ornament-left { left: 0; top: 40px; }
.ornament-right { right: 0; bottom: 20px; }

.rules__viewport { position: relative; min-height: 520px; }
.rules-card {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--orange);
  color: #fff;
  border-radius: 32px;
  min-height: 500px;
  overflow: hidden;
}
.rules-card.is-active { display: grid; }
.rules-card__copy { padding: 48px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.rules-card h3 { margin: 18px 0 8px; font-size: 42px; line-height: 1.1; color: var(--yellow); }
.rules-card p { margin: 0 0 22px; font-size: 20px; }
.rules-card__art { display: grid; place-items: center; padding: 20px; }
.rules-card__art img { max-height: 440px; object-fit: contain; }
.steps { display: flex; gap: 10px; }
.steps button {
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: #fff; color: var(--orange); font-weight: 800; font-size: 18px; cursor: pointer;
}
.steps button.is-active { background: var(--yellow); color: var(--blue); }

.prize {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 28px; margin: 18px 0;
  box-shadow: 0 10px 30px rgba(238,114,2,.08);
}
.prize h3 { margin: 10px 0; font-size: 56px; color: var(--orange); line-height: 1; }
.prize-special h3 { font-size: 40px; }
.prize img { width: 100%; border-radius: 20px; object-fit: cover; max-height: 320px; }
.partner-mark { width: 92px !important; height: auto; max-height: none; border-radius: 8px; margin-bottom: 8px; }
.other-title { text-align: left; color: var(--orange); margin-top: 28px; }
.prize-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prize-grid article { background: #fff; border-radius: 22px; padding: 22px; min-height: 160px; box-shadow: 0 8px 24px rgba(238,114,2,.08); }
.prize-grid h4 { margin: 0 0 6px; color: var(--orange); font-size: 28px; }
.prize-grid p { margin: 0 0 16px; }

.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; gap: 18px; transition: transform .35s ease; }
.slider__track img { width: calc((100% - 36px) / 3); flex: 0 0 calc((100% - 36px) / 3); border-radius: 18px; background: #fff; cursor: pointer; }
.arrow {
  position: absolute; top: 42%; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: var(--orange); font-size: 28px; cursor: pointer; z-index: 2;
}
.arrow[data-dir="-1"] { left: -8px; }
.arrow[data-dir="1"] { right: -8px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.section-peach .dots button, .section:not(.section-orange) .dots button { background: rgba(238,114,2,.35); }
.dots button.is-active { width: 26px; background: var(--yellow); }

.partners-banner { background: #fff; border-radius: 28px; padding: 28px; text-align: center; }
.partners { display: flex; justify-content: center; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.partners span {
  min-width: 180px; height: 84px; display: grid; place-items: center;
  border-left: 1px solid var(--line); font-weight: 800; color: var(--blue); font-size: 22px;
}
.partners span:first-child { border: 0; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.winner-card { background: #fff6ea; color: var(--orange); border-radius: 26px; overflow: hidden; min-height: 280px; }
.winner-card img, .winner-card .ph { width: 100%; height: 160px; object-fit: cover; display: block; background: #f3d7b0; }
.winner-card div { padding: 14px 16px 18px; }
.winner-card strong { display: block; font-size: 22px; }
.winner-card span, .winner-card small { display: block; }
.search {
  margin: 28px auto; width: min(820px, 100%); display: flex; align-items: center;
  background: rgba(255,255,255,.18); border-radius: 999px; padding: 6px 8px 6px 18px;
}
.search input { flex: 1; border: 0; background: transparent; color: #fff; font-size: 18px; outline: none; }
.search input::placeholder { color: rgba(255,255,255,.8); }
.search button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 22px; cursor: pointer; }
.table-wrap { overflow: auto; background: #fff; border-radius: 18px; }
table { width: 100%; border-collapse: collapse; color: var(--orange); }
th, td { padding: 12px 14px; text-align: left; font-weight: 700; }
th { border-bottom: 1px solid var(--line); }
td { border-top: 1px solid #ffe1c4; font-weight: 600; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pager button { min-width: 32px; height: 42px; border: 0; background: transparent; color: #fff; font-weight: 800; cursor: pointer; }
.section:not(.section-orange) .pager button { color: var(--orange); }
.pager button.is-active { color: var(--yellow); }
.empty { text-align: center; }

.faq { max-width: 920px; margin: 28px auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--orange); font-size: 22px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; }
.faq details[open] summary:after { content: "–"; }
.faq details p { margin: 8px 0 0; color: #8a5a32; }
#faqMore { display: block; margin: 22px auto 0; }
.faq .is-extra { display: none; }
.faq.is-open .is-extra { display: block; }

.cookie-bar {
  position: fixed;
  z-index: 70;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 16px 14px 20px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 700; }
.cookie-bar a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar .btn { min-height: 42px; padding: 0 22px; flex: none; }
@media (max-width: 1023px) {
  .cookie-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 14px;
  }
  .cookie-bar .btn { width: 100%; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 20, 40, .92);
  padding: 24px;
}
.lightbox[hidden] { display: none !important; }
html.lightbox-open { overflow: hidden; }
.lightbox img {
  width: auto; height: auto; max-width: min(920px, 92vw); max-height: calc(100vh - 140px);
  object-fit: contain; background: #fff; border: 1px solid #fff;
}
.lightbox__close {
  position: absolute; top: 20px; right: 20px; z-index: 1;
  width: 48px; height: 48px; padding: 0; border: 2px solid #fff; border-radius: 50%;
  background: transparent; cursor: pointer;
}
.lightbox__close::before,
.lightbox__close::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 20px; height: 2px; background: #fff; border-radius: 1px;
}
.lightbox__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.auth { width: min(1180px, calc(100% - 32px)); margin: 28px auto 48px; }
.card { background: #fff; border-radius: 36px; padding: 36px 32px 42px; box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.auth-card { width: min(560px, 100%); margin: 0 auto; text-align: center; }
.auth-card--wide { width: min(1080px, 100%); text-align: left; }
.auth h1, .cabinet h1 { margin: 0 0 22px; color: var(--orange); font-size: 40px; text-align: center; }
.stack { display: grid; gap: 12px; }
.field input,
.field select {
  width: 100%; height: 44px; border-radius: 999px; border: 1.5px solid var(--orange);
  padding: 0 16px; text-align: center; font-size: 16px; outline: none; background: #fff;
  font-family: inherit; color: var(--orange);
}
.field select {
  text-align: left;
  padding-right: 40px;
  cursor: pointer;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ee7202' d='M1.2.8 6 5.6 10.8.8 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field select.is-empty { color: rgba(238,114,2,.5); }
.field select option { color: var(--ink); }
.field input:focus,
.field select:focus { box-shadow: 0 0 0 3px rgba(238,114,2,.15); }
.field input.is-error,
.field select.is-error,
.app-view .field select.is-error { border-color: var(--red); }
.field input[readonly] { background: #fff7f0; }
.form-error { color: var(--red); margin: 0; min-height: 0; }
.form-error:not([hidden]) { margin-top: 4px; }
.form-ok { color: var(--blue); font-weight: 800; }
.auth-links { margin-top: 18px; }
.auth-links a { color: var(--orange); font-weight: 800; }
.reg-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.auth-card--wide .field input,
.auth-card--wide .field select { text-align: left; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 14px; line-height: 1.35; }
.check input { margin-top: 3px; accent-color: var(--orange); }
.hint { color: #888; font-size: 12px; }
.lead { color: #666; }

.cabinet-tabs, .code-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.cabinet-tabs button, .code-tabs button {
  border: 0; background: rgba(255,255,255,.35); color: #fff; border-radius: 999px;
  min-height: 42px; padding: 0 16px; font-weight: 800; cursor: pointer;
}
.cabinet-tabs button.is-active, .code-tabs button.is-active { background: #fff; color: var(--orange); }
.profile-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; text-align: left; }
.profile-grid .field input { text-align: left; }
.profile-side { display: grid; gap: 12px; align-content: start; }
.count-card { background: #fff7f0; border-radius: 18px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.count-card b { font-size: 42px; color: var(--orange); }
.codes-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.codes-cards { display: none; }
.code-form { max-width: 460px; margin: 8px auto 18px; text-align: center; }
.logout { margin-top: 18px; }

.mobile-menu { position: fixed; inset: var(--header) 0 0 0; z-index: 40; background: var(--orange); }
.mobile-menu[hidden] { display: none; }
.mobile-menu__panel { display: grid; gap: 14px; padding: 28px 22px; }
.mobile-menu a { color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; text-align: center; background: rgba(255,255,255,.12); border-radius: 16px; padding: 12px; }
.mobile-menu a.btn { background: var(--blue); color: #fff; font-size: 18px; }

.btn, .icon-btn, .nav a, .lang a, .steps button, .footer__social a, .arrow {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, filter .18s ease, opacity .18s ease, text-decoration-color .18s ease;
}
.nav a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}
.nav a:hover { text-decoration-color: #fff; }
.lang a:hover { opacity: 1; }
.btn-blue:hover { background: var(--orange); transform: translateY(-2px); }
.btn:hover .btn-arrow { transform: translateX(6px) scaleX(-1); }
.btn:active .btn-arrow,
.btn:disabled .btn-arrow,
.btn:disabled:hover .btn-arrow { transform: scaleX(-1); }
.btn-blue:active { background: var(--blue); transform: none; }
.btn-yellow:hover { background: #ffe14a; transform: translateY(-2px); }
.btn-yellow:active { background: var(--blue); color: #fff; transform: none; }
.btn-yellow:active .btn-arrow { filter: brightness(0) invert(1); }
.btn-orange.is-solid:hover,
.btn-orange.is-ready:hover,
#faqMore:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.btn-orange.is-solid:active,
.btn-orange.is-ready:active,
#faqMore:active {
  background: var(--blue);
  color: #fff;
  filter: none;
  transform: none;
}
.btn-orange.is-solid:active .btn-arrow,
.btn-orange.is-ready:active .btn-arrow,
#faqMore:active .btn-arrow { filter: brightness(0) invert(1); }
.btn:disabled, .btn:disabled:hover, .btn:disabled:active { transform: none; filter: none; }
#accountLink:hover, #accountLink:active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
body[data-auth="1"] #accountLink:hover,
body[data-auth="1"] #accountLink:active {
  background: #004a88;
  border-color: #004a88;
  color: #fff;
}
.burger__icon--open { display: none; }
.burger:hover,
.burger[aria-expanded="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.burger[aria-expanded="true"] .burger__icon--menu { display: none; }
.burger[aria-expanded="true"] .burger__icon--open { display: block; }
.steps button:hover:not(.is-active) { box-shadow: 0 0 0 2px var(--orange); }
.footer .footer__social a:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.footer .footer__social a:active { background: var(--orange); color: #fff; }
.slider .arrow:hover { transform: scale(1.08); }
.slider .arrow:active { background: var(--orange); }
.slider .arrow:active img { filter: brightness(0) invert(1); }

@keyframes head-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
.js .header .logo,
.js .header .nav,
.js .header .header__tools { animation: head-in .7s ease both; }
.js .header .nav { animation-delay: .12s; }
.js .header .header__tools { animation-delay: .24s; }

@keyframes hero-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hero-float {
  from { transform: translate3d(0, 4px, 0) rotate(-1.6deg); }
  to { transform: translate3d(0, -10px, 0) rotate(1.8deg); }
}
@keyframes hero-spin {
  from { transform: rotate(-8deg) scale(.97); }
  to { transform: rotate(8deg) scale(1.03); }
}
@keyframes hero-bob {
  from { transform: translate3d(0, 3px, 0); }
  to { transform: translate3d(0, -6px, 0); }
}
.js .hero-main > * { animation: hero-in .4s ease backwards; }
.js .hero-main .hero-date { animation-delay: 0s; }
.js .hero-main .hero-title { animation-delay: .05s; }
.js .hero-main img[src*="stork"] {
  animation: hero-in .4s ease backwards, hero-float 2.8s ease-in-out infinite alternate;
  animation-delay: .1s, .1s;
  transform-origin: 50% 80%;
}
.js .hero-main img[src*="orn-left"] {
  animation: hero-in .4s ease backwards, hero-spin 4.2s ease-in-out infinite alternate;
  animation-delay: .15s, .15s;
  transform-origin: center;
}
.js .hero-main img[src*="orn-right"] {
  animation: hero-in .4s ease backwards, hero-spin 4.8s ease-in-out infinite alternate-reverse;
  animation-delay: .2s, -.8s;
  transform-origin: center;
}
.js .hero-main img[src*="layer-1"] { animation-delay: .25s; }
.js .hero-main img[src*="group-a"] { animation-delay: .3s; }
.js .hero-main img[src*="group-b"] { animation-delay: .35s; }

.js .hero-main img[src*="logos"] { animation-delay: .45s; }
.js .hero-main .hero-cta { animation-delay: .5s; }

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active, .icon-btn:hover, .slider .arrow:hover, .slider .arrow:active { transform: none; }
}
