/* =============================================================
   BAZA — Promo (hero + registration)
   ============================================================= */

:root {
  --bg: #121214;
  --cream: #F7F7E9;
  --white: #FFFFFF;
  --text-muted: #9A9A9B;
  --text-muted-2: #5C5C5E;
  --red: #E12D27;
  --orange: #FF8543;
  --gradient-brand: linear-gradient(90deg, var(--red) 0%, var(--orange) 100%);
  --input-bg: #2E2E30;
  --checkbox-bg: #262629;
  --card-dark: #262629;
  --card-dark-border: #343436;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --divider: #DBDBD0;

  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'STIX Two Text', Georgia, serif;

  --container-max: 1200px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --sbw: 0px;
}

body.scroll-locked { overflow: hidden; padding-right: var(--sbw); }
body.scroll-locked .header { right: var(--sbw); }
body.scroll-locked .sound-toggle { right: calc(32px + var(--sbw)); }
@media (max-width: 640px) {
  body.scroll-locked .sound-toggle { right: calc(16px + var(--sbw)); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: none;
  border-radius: 888px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}
.btn:hover { opacity: .9; }
.btn--pill { border-radius: 888px; }
.btn--white { background: var(--white); color: var(--bg); }
.btn--dark { background: #26262B; color: var(--white); }
.btn--gradient { background: var(--gradient-brand); color: var(--white); box-shadow: 0 0 16px 2px rgba(225,45,39,.24); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 24px; font-size: 15px; line-height: 22px; border-radius: var(--radius-md); }

.btn--pill.btn--gradient {
  background-image: linear-gradient(90deg, var(--red) 0%, var(--orange) 50%, var(--red) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  transition: background-position .5s ease, opacity .2s ease;
}
.btn--pill.btn--gradient:hover { background-position: 100% 0%; opacity: 1; }

.btn--pill.btn--dark {
  transition: background .3s ease, color .3s ease, opacity .2s ease;
}
.btn--pill.btn--dark:hover { background: var(--white); color: var(--bg); opacity: 1; }

.btn--mail-cta {
  height: 54px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 22px;
  background-image: linear-gradient(90deg, var(--red) 0%, var(--orange) 50%, var(--red) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  box-shadow: 0 0 16px 2px rgba(225,45,39,.24);
  transition: background-position .5s ease, box-shadow .5s ease, opacity .2s ease;
}
.btn--mail-cta:hover {
  background-position: 100% 0%;
  box-shadow: 0 0 0 0 rgba(225,45,39,0);
  opacity: 1;
}

.btn--glow-cta {
  background-image: linear-gradient(90deg, var(--red) 0%, var(--orange) 50%, var(--red) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  box-shadow: 0 0 16px 2px rgba(225,45,39,.24);
  transition: background-position .5s ease, box-shadow .5s ease, opacity .2s ease;
}
.btn--glow-cta:hover {
  background-position: 100% 0%;
  box-shadow: 0 0 0 0 rgba(225,45,39,0);
  opacity: 1;
}

/* ---------- header (ported from vanillabaza) ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 32px;
}
.header .container { max-width: 100%; padding: 0; }
.header-wrap { display: flex; align-items: center; gap: 16px; width: 100%; }
.header-item { display: flex; align-items: center; flex: 1 1 0; }
.header-item_left { gap: 32px; }
.header-item_right { gap: 8px; justify-content: flex-end; }
.logo { display: inline-flex; }
.logo-wrap { display: flex; }

.menu {
  list-style: none;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 10px 20px;
  background: rgba(0,0,0,.32);
  border-radius: 9px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  white-space: nowrap;
}
.menu-item a {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: var(--white);
  transition: color .25s ease;
}
.menu:has(.menu-item a:hover) .menu-item a { color: rgba(255,255,255,.48); }
.menu-item a:hover { color: var(--white) !important; }

.btn_secondary {
  padding: 9px 16px;
  border-radius: 888px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  background: var(--white);
  color: var(--bg);
  transition: background .25s ease, color .25s ease;
}
.btn_secondary:hover { background: var(--bg); color: var(--white); }

.dropdown { position: relative; cursor: pointer; }
.dropdown__content {
  position: absolute;
  left: auto; right: 0;
  top: calc(100% + 4px);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--card-dark-border);
  background: var(--card-dark);
  box-shadow: 0 4px 12px 0 rgba(18,18,20,.32);
  transition: opacity .2s ease;
}
.dropdown__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  color: var(--text-muted);
}
.dropdown__item:hover { color: var(--cream); background: var(--input-bg); }
.dropdown__item.active { color: var(--cream); }
.dropdown__item.active::after {
  content: "";
  width: 24px; height: 24px;
  background: url(assets/img/check.svg) no-repeat center/cover;
}
.dropdown.is-open .dropdown__content { opacity: 1; pointer-events: all; }

.lang__head {
  height: 36px;
  box-sizing: border-box;
  gap: 4px;
  padding: 0 16px 0 12px;
  font-size: 13px;
  line-height: 18px;
  color: var(--white);
  transition: opacity .25s ease, background .25s ease, color .25s ease;
}
.lang__head:hover { opacity: .7; }
.dropdown.is-open .lang__head:hover { opacity: 1; }
.dropdown.is-open .lang__head { background: var(--white); color: var(--bg); }

.icon-mask {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--icon-src) no-repeat center / contain;
  mask: var(--icon-src) no-repeat center / contain;
}
.lang__head .icon-mask { --icon-src: url(assets/img/lang.svg); }
.icon-mask--eye { --icon-src: url(assets/img/eye.svg); color: #666668; transition: color .2s ease; }
.field__toggle.is-active .icon-mask--eye { color: var(--cream); }

.menu-btn {
  display: none;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 888px;
}

/* fullscreen mobile menu */
.menu-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 180;
}
.menu-modal.is-open { display: block; }
.menu-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.64); }
.menu-modal__window {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.menu-modal__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  color: var(--cream);
  pointer-events: none;
}
.menu-modal__head,
.menu-modal-menu {
  position: relative;
  z-index: 1;
}
.menu-modal__head { padding: 16px 32px 48px; }
.menu-modal-menu { padding: 0 32px; flex: 1; justify-content: center; }
.menu-modal__close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.menu-modal__close img { filter: brightness(0) invert(1); }
.menu-modal-menu { display: flex; flex-direction: column; align-items: center; text-align: center; }
.menu-modal-item {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-modal__footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 32px 32px;
}
.menu-modal__socials { display: flex; align-items: center; justify-content: center; gap: 24px; }
.menu-modal__social { display: flex; align-items: center; justify-content: center; transition: opacity .2s ease; }
.menu-modal__social:hover { opacity: .7; }
.icon-mask--social { width: 32px; height: 32px; color: var(--white); }
.icon-mask--social-discord { --icon-src: url(assets/img/social-discord.svg); }
.icon-mask--social-tg { --icon-src: url(assets/img/social-tg.svg); }
.icon-mask--social-happy { --icon-src: url(assets/img/social-happy.svg); }
.icon-mask--social-angry { --icon-src: url(assets/img/social-angry.svg); }
.icon-mask--social-herald { --icon-src: url(assets/img/social-herald.svg); }
.menu-modal-item__name { font-size: 20px; font-weight: 600; color: var(--cream); }
.menu-modal-item__number {
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: .32px;
  color: var(--text-muted-2);
}
.menu-modal-item:hover .menu-modal-item__name,
.menu-modal-item:hover .menu-modal-item__number {
  background-image: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-bottom: 32px;
}
.hero__stage {
  position: relative;
  overflow: hidden;
  min-height: max(796px, 100vh);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.08);
}
/* ---------- shared fixed pattern/gear/crown (both blocks) ---------- */
.site-pattern {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.site-pattern__layer { position: absolute; inset: 0; }
.site-pattern__layer--light { color: var(--cream); }
.site-pattern__layer--dark {
  color: #19191A;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}
.site-pattern__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask: url(assets/img/hero-pattern.svg) no-repeat center / cover;
  mask: url(assets/img/hero-pattern.svg) no-repeat center / cover;
}

.site-pattern__gear-wrap,
.site-pattern__crown-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.site-pattern__gear {
  width: clamp(360px, 42.6vw, 716px);
  aspect-ratio: 1 / 1;
  background-color: currentColor;
  -webkit-mask: url(assets/img/hero-gear.svg) no-repeat center / contain;
  mask: url(assets/img/hero-gear.svg) no-repeat center / contain;
  animation: hero-gear-spin 60s linear infinite;
}
@keyframes hero-gear-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.site-pattern__crown {
  width: clamp(200px, 23.6vw, 396px);
  aspect-ratio: 1 / 1;
  background-color: currentColor;
  -webkit-mask: url(assets/img/hero-crown.svg) no-repeat center / contain;
  mask: url(assets/img/hero-crown.svg) no-repeat center / contain;
  animation: hero-crown-spin 60s linear infinite;
}
@keyframes hero-crown-spin {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

.hero__seal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(120px, 12vw, 196px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: .92;
}
.hero__seal-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: hero-seal-spin 40s linear infinite;
}
.hero__seal-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 37.7%;
  height: auto;
  transform: translate(-50%, -50%);
}
@keyframes hero-seal-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 112px;
  padding-left: 32px;
  padding-right: 32px;
}
.hero__text { max-width: 656px; }

.hero h1 {
  margin: 0 0 32px;
  font-size: clamp(32px, 3.3vw, 56px);
  line-height: 1;
  font-weight: 800;
  color: var(--cream);
}
.hero__lead {
  margin: 0 0 32px;
  max-width: 420px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.44;
  font-weight: 500;
  color: var(--white);
}

.hero__badges { display: flex; gap: 32px; flex-wrap: wrap; }
.badge-item { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.badge-item__label { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--cream); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px 2px;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,.08);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: .32px;
}
.badge--light { background: var(--cream); color: var(--bg); }

.floating-card {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 32px;
  width: min(376px, calc(100% - 64px));
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.countdown__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
}
.countdown__title {
  margin: 0 0 4px;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: .32px;
  font-weight: 400;
  color: var(--white);
}
.countdown__subtitle { margin: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-muted); }
.link-btn {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  padding: 0;
}
.countdown__body {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.countdown__timer { display: flex; align-items: center; justify-content: center; gap: 16px; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; }
.countdown__value { font-size: 40px; line-height: 48px; font-weight: 800; color: var(--cream); font-variant-numeric: tabular-nums; }
.countdown__label { font-size: 13px; line-height: 18px; font-weight: 400; color: var(--text-muted); }
.countdown__dots { display: flex; flex-direction: column; gap: 4px; margin-bottom: 9px; }
.countdown__dots span {
  width: 8px;
  height: 8px;
  border-radius: 888px;
  background: #666668;
  animation: countdown-dot-blink 1.4s ease-in-out infinite;
}
@keyframes countdown-dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}
.countdown__actions { display: flex; gap: 8px; }
.countdown__actions .btn { flex: 1; }

.hero__side {
  position: absolute;
  z-index: 2;
  top: 112px;
  right: 32px;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gift-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gift-card__cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background: var(--bg);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  transition: background .3s ease;
}
.gift-card__cta:hover { background: #1D1D1F; }
.gift-card__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.16) 45%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.16) 55%, transparent 100%);
  transform: translateX(-180%);
  animation: gift-cta-shine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gift-cta-shine {
  0%   { transform: translateX(-180%); }
  14%  { transform: translateX(220%); }
  100% { transform: translateX(220%); }
}
.gift-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.gift-row__img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.gift-row__text { flex: 1; min-width: 0; }
.gift-row__title { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--bg); }
.gift-row__meta { margin: 2px 0 0; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--text-muted-2); }
.gift-row__plus { flex-shrink: 0; }

.gift-card__title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 800; color: var(--bg); }
.mail-form { display: flex; flex-direction: column; gap: 16px; }
.input {
  width: 100%;
  height: 54px;
  box-sizing: border-box;
  background: var(--input-bg);
  border: none;
  border-radius: var(--radius-md);
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  outline: none;
  transition: all .3s ease;
}
.input::placeholder { color: var(--text-muted); transition: color .3s ease; }
.input:hover::placeholder { color: var(--cream); }
.input--light { background: var(--white); color: var(--bg); box-shadow: 4px 8px 16px 2px rgba(0,0,0,.08); }
.input--light::placeholder { color: var(--text-muted); }
.input--light:hover::placeholder { color: var(--bg); }

.checkbox-row { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.checkbox-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-row__box {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 2px 4px 8px 1px rgba(0,0,0,.04);
}
.checkbox-row__box img { display: none; }
.checkbox-row input:checked + .checkbox-row__box img { display: block; }
.checkbox-row__box--dark { background: var(--checkbox-bg); }
.checkbox-row__label { font-size: 13px; line-height: 18px; font-weight: 400; color: var(--bg); }
.gift-card__divider { height: 1px; background: var(--divider); }

/* ---------- registration ---------- */
.registration {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 64px 0;
}
.registration__pattern {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: .5;
  pointer-events: none;
}

.registration__grid {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 64px;
  padding: 64px 32px;
}
.registration__footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.reg-col { display: flex; align-items: stretch; gap: 32px; }
.step-rail { display: flex; flex-direction: column; align-items: center; gap: 0; flex-shrink: 0; }
.step-rail__num {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--red);
  border-radius: 888px;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: .32px;
  color: var(--cream);
}
.reg-col--why .step-rail__num { border-color: var(--card-dark-border); }
.reg-col--why { padding-top: 124px; }
.step-rail__line { flex: 1; width: 2px; background: var(--red); min-height: 80px; margin-top: -1px; }
.step-rail__line--muted { background: #343436; }

.reg-col__inner { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.reg-col__head { display: flex; flex-direction: column; gap: 16px; }
.reg-col h2 { margin: 0; font-size: clamp(32px, 2.9vw, 56px); line-height: 1; font-weight: 800; color: var(--cream); }
.reg-col__lead { margin: 0; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.44; font-weight: 500; color: var(--cream); }
.reg-col__lead em { font-style: italic; font-family: var(--font-serif); font-size: 20px; line-height: 28px; }

.reg-form { display: flex; flex-direction: column; gap: 16px; }
.field { position: relative; }
.field--password .input { padding-right: 56px; }
.field__toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
}
.reg-form__checks { display: flex; flex-direction: column; gap: 16px; }
.reg-form__checks .checkbox-row__label { color: var(--text-muted); font-size: 15px; line-height: 22px; }
.reg-form__checks .checkbox-row__label .inline-link {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--text-muted);
  transition: opacity .2s ease;
}
.reg-form__checks .checkbox-row__label .inline-link:hover { opacity: .7; }

.accordion { display: flex; flex-direction: column; gap: 16px; }
.accordion__item {
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion__header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 16px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.accordion__num {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 28px;
  letter-spacing: .32px;
  color: var(--text-muted);
  width: 24px;
  flex-shrink: 0;
}
.accordion__title { flex: 1; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--bg); }
.accordion__icon { flex-shrink: 0; transition: transform .2s ease; }
.accordion__header[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel-inner { overflow: hidden; }
.accordion__text {
  margin: 0;
  padding: 0 16px 16px 56px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-muted-2);
}
.accordion__text + .accordion__text { padding-top: 0; margin-top: -4px; }

.footer-note {
  position: relative;
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--card-dark);
  border: 1px solid var(--card-dark-border);
  border-radius: 8px;
  padding: 32px;
}
.footer-note p { margin: 0; max-width: 886px; font-size: clamp(15px, 1vw, 18px); line-height: 1.44; font-weight: 500; color: var(--cream); flex: 1; min-width: 260px; }
.tg-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px 8px 8px;
  border: 1px solid var(--cream);
  border-radius: 888px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--cream);
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease;
}
.tg-pill:hover { background: var(--cream); color: var(--bg); }
.tg-pill__icon {
  width: 48px; height: 48px;
  border-radius: 888px;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  display: flex; align-items: center; justify-content: center;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
  nav { display: none; }
  .menu-btn { display: flex; }

  .hero { padding-bottom: 32px; }
  .hero__stage { min-height: 0; }
  .hero__overlay { background: rgba(0,0,0,.16); }
  .hero__content { padding-top: 0; text-align: center; }
  .hero__seal {
    position: relative;
    inset: auto;
    z-index: 2;
    width: clamp(160px, 28vw, 220px);
    transform: none;
    margin: 112px auto 32px;
    opacity: 1;
  }
  .hero__text { max-width: none; margin: 0 auto; }
  .hero__lead { max-width: 480px; margin-left: auto; margin-right: auto; }
  .hero__badges { justify-content: center; }
  .badge-item { align-items: center; }

  .hero__side {
    position: relative;
    inset: auto;
    width: auto;
    margin: 0;
    padding: 0;
    gap: 0;
  }
  .gift-card--yorik,
  .gift-card--mail {
    border-radius: 0;
    padding: 32px;
  }
  .gift-card--yorik {
    border-bottom: 1px solid var(--divider);
  }
  .floating-card { position: relative; inset: auto; width: auto; margin: 24px 32px 32px; }

  .registration__grid { grid-template-columns: 1fr; gap: 48px; }
  .reg-col { flex-direction: column; align-items: stretch; }
  .step-rail { align-self: flex-start; }
  .reg-col--why { padding-top: 0; }
  .step-rail__line { display: none; }
}

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero__content { padding-left: 16px; padding-right: 16px; }
  .gift-card--yorik,
  .gift-card--mail { padding: 16px; }
  .floating-card { margin-left: 16px; margin-right: 16px; margin-bottom: 16px; }
  .registration { padding-top: 32px; }
  .registration__grid { padding-left: 16px; padding-right: 16px; padding-top: 32px; padding-bottom: 32px; gap: 32px; }
  .registration__footer-wrap { padding-left: 16px; padding-right: 16px; }
  .accordion { gap: 12px; }
  .reg-form { gap: 12px; }

  .hero__video { object-position: 70% top; }

  .header { padding: 12px 16px; }
  .header-wrap { gap: 8px; }
  .header-item_right .btn_secondary { display: none; }
  .menu-modal__head { padding: 12px 16px 48px; }
  .menu-modal-menu { padding: 0 16px 16px; }
  .menu-modal__footer { padding: 16px 16px 24px; }

  .hero { padding-bottom: 16px; }
  .hero__overlay { background: rgba(0,0,0,.32); }
  .hero__content { padding-top: 0; text-align: center; }
  .hero__seal { width: 96px; margin: 88px auto 16px; }
  .hero__text { margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
  .hero h1 { margin: 0; font-size: 32px; }
  .hero__lead { margin: 0 auto; }
  .hero__badges { flex-direction: column; align-items: center; gap: 16px; justify-content: center; }
  .badge-item { align-items: center; }

  .countdown__timer { flex-wrap: wrap; }
  .countdown__actions { flex-direction: column; }

  .reg-col { gap: 16px; }
  .step-rail__num { width: 48px; height: 48px; font-size: 20px; }

  .footer-note { padding: 32px 16px 16px; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .tg-pill { justify-content: center; }

  .popup-modal { max-width: 100%; }
}

/* ---------- gift popups (slide-in, style ported from vanillabaza char-modal) ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .4s;
}
.popup-overlay.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.popup-overlay__shadow {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.64);
  opacity: 0;
  transition: opacity .3s ease;
}
.popup-overlay.is-open .popup-overlay__shadow { opacity: 1; }

.popup-modal {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  overflow-y: auto;
  background: var(--cream) url(assets/img/golden-ratio2.svg) no-repeat center / cover;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  padding: 16px 32px 32px;
  transform: translateX(100%);
  transition: transform .4s ease;
}
.popup-overlay.is-open .popup-modal { transform: translateX(0); }
.popup-modal > * { flex-shrink: 0; }

.popup-modal__close {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--divider);
  color: var(--bg);
  margin-left: auto;
  transition: opacity .3s ease;
}
.popup-modal__close:hover { opacity: .7; }
.icon-mask--close { --icon-src: url(assets/img/plus.svg); width: 18px; height: 18px; color: var(--bg); transform: rotate(45deg); }

.popup-modal__heading { margin: 0; font-size: 24px; line-height: 32px; font-weight: 800; color: var(--bg); }

.popup-modal__list { display: flex; flex-direction: column; gap: 16px; }
.popup-modal__row { display: flex; align-items: center; gap: 12px; }
.popup-modal__row-img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.popup-modal__row-name { flex: 1; min-width: 0; margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--bg); text-align: left; }
.popup-modal__row-qty {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 33px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(0,0,0,.04);
  font-size: 15px;
  font-weight: 400;
  color: var(--bg);
}

.popup-modal__btn { margin-top: auto; width: 100%; }

/* ---------- background music toggle (styled like the header lang button) ---------- */
.sound-toggle {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 150;
  width: 36px;
  height: 36px;
  border-radius: 888px;
  background: var(--bg);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.sound-toggle:hover { background: #1D1D1F; transform: scale(1.05); }
.sound-toggle.is-muted { background: var(--white); color: var(--bg); }
.sound-toggle.is-muted:hover { background: var(--white); }
.sound-toggle__icon { width: 24px; height: 24px; }
.sound-toggle__icon--off { display: none; }
.sound-toggle.is-muted .sound-toggle__icon--on { display: none; }
.sound-toggle.is-muted .sound-toggle__icon--off { display: block; }

.eq-bar { transform-box: fill-box; transform-origin: center bottom; animation: eq-bounce 1s ease-in-out infinite; }
.eq-bar--1 { animation-delay: 0s; }
.eq-bar--2 { animation-delay: .15s; }
.eq-bar--3 { animation-delay: .3s; }
.eq-bar--4 { animation-delay: .45s; }
@keyframes eq-bounce {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(.4); }
}

@media (max-width: 640px) {
  .sound-toggle { right: 16px; bottom: 16px; }
  .popup-modal { padding: 16px; gap: 16px; }
}

/* ---------- Laravel integration: form feedback ---------- */
.field-error { margin: -4px 0 0; font-size: 13px; line-height: 18px; color: #ff6b5e; }
.mail-form__status { margin: 0; font-size: 13px; line-height: 18px; color: var(--bg); }
.mail-form__status.is-error { color: #c0322b; }
a.gift-card__cta { text-decoration: none; }
.grecaptcha-badge { visibility: hidden; }
