:root {
  --c-sky: #47B6E8;
  --c-orange: #F08424;
  --c-blue: #3961AA;
  --c-yellow: #FFCD27;
  --c-purple: #5A3C8F;
  --c-live-red: #C91F2E;
  --c-bg: #F8FAFC;
  --c-surface: #FFFFFF;
  --c-text: #1A1A2E;
  --c-text-muted: #4A5568;
  --c-border: #E2E8F0;
  --font-heading: 'Chillax', 'Segoe UI', sans-serif;
  --font-body: 'General Sans', 'Segoe UI', sans-serif;
  --shadow-md: 0 12px 34px rgba(26, 26, 46, 0.12);
  --max-w: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
}
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
}

.live-skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 300;
  background: var(--c-purple);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}
.live-skip:focus { top: 16px; }

.live-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(71, 182, 232, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(255, 205, 39, 0.18), transparent 30%),
    var(--c-bg);
}
.live-shell {
  width: min(100% - 40px, var(--max-w));
  margin: 0 auto;
}
.live-hero {
  padding: clamp(44px, 7vw, 84px) 0 34px;
}
.live-hero .live-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.live-intro {
  padding-top: 20px;
}
.live-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--c-blue);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.live-kicker span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--c-orange);
  box-shadow: 0 0 0 6px rgba(240, 132, 36, 0.16);
}
.live-intro h1 {
  margin: 18px 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 7vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--c-purple);
}
.live-subtitle {
  margin: 0;
  max-width: 680px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--c-text-muted);
}
.live-subtitle strong { color: var(--c-orange); }
.live-greeting {
  max-width: 660px;
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 5px solid var(--c-yellow);
  background: rgba(255, 255, 255, 0.72);
}
.live-greeting p {
  margin: 0 0 10px;
  color: var(--c-text);
  line-height: 1.55;
}
.live-greeting p:last-child { margin-bottom: 0; }

.live-payment,
.live-sticky,
.live-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.live-payment {
  position: sticky;
  top: 98px;
  padding: 18px;
}
.live-payment__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 700;
}
.live-payment__top span { color: var(--c-blue); }
.live-payment__top strong {
  color: #fff;
  background: var(--c-orange);
  border-radius: 8px;
  padding: 7px 12px;
}
.live-payment__qr {
  width: 100%;
  border: 1px solid var(--c-border);
  border-radius: 8px;
}
.live-payment p,
.live-copy {
  color: var(--c-text-muted);
  line-height: 1.55;
}
.live-payment__number {
  margin: 14px 0 8px;
  color: var(--c-live-red) !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}
.live-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.live-btn:hover { transform: translateY(-1px); }
.live-btn--primary {
  width: 100%;
  background: var(--c-orange);
  color: #fff;
}
.live-btn--primary:hover { background: #d6711c; }
.live-btn--ghost {
  background: #EEF4FF;
  color: var(--c-blue);
}
.live-section {
  padding: 24px 0 80px;
}
.live-shell--form {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.live-sticky {
  position: sticky;
  top: 98px;
  padding: 14px;
  text-align: center;
}
.live-sticky span {
  display: block;
  margin-bottom: 10px;
  color: var(--c-blue);
  font-weight: 700;
}
.live-sticky img {
  border: 1px solid var(--c-border);
  border-radius: 8px;
}
.live-sticky strong {
  display: block;
  margin-top: 10px;
  color: var(--c-orange);
  font-size: 1.45rem;
}
.live-sticky__amount small {
  display: block;
  margin-top: 8px;
  color: var(--c-live-red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}
.live-card {
  padding: clamp(20px, 4vw, 34px);
}
.live-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.live-card h2,
.live-success h2,
.live-unavailable h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--c-purple);
}
.live-step {
  flex: 0 0 auto;
  color: var(--c-blue);
  background: #EEF4FF;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
}
.live-hidden { display: none; }
.live-panel {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.live-panel.is-active { display: block; }
.live-panel legend {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}
.live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.live-field,
.live-upload {
  display: grid;
  gap: 8px;
}
.live-field span,
.live-upload span {
  font-weight: 700;
  color: var(--c-text);
}
.live-field input,
.live-upload input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  padding: 12px 13px;
  color: var(--c-text);
}
.live-upload {
  margin-top: 18px;
  padding: 18px;
  border: 1.5px dashed var(--c-blue);
  border-radius: 8px;
  background: #F8FBFF;
}
.live-upload small {
  color: var(--c-text-muted);
}
.live-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.live-actions .live-btn--primary { width: auto; flex: 1; }
.live-error {
  display: none;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #FFF2E8;
  color: #8F3E00;
  font-weight: 700;
}
.live-success {
  text-align: center;
  padding: 34px 16px;
}
.live-success__icon {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--c-sky);
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
}
.live-success p {
  margin: 8px auto 0;
  color: var(--c-text-muted);
  font-size: 1.08rem;
}
.live-success__lead {
  color: var(--c-text) !important;
  font-weight: 700;
}
.live-success__list {
  display: inline-grid;
  gap: 6px;
  margin: 14px auto 8px;
  padding: 0;
  list-style: none;
  color: var(--c-text);
  text-align: left;
  font-weight: 700;
}
.live-success__list li::before {
  content: '✓';
  margin-right: 8px;
  color: var(--c-sky);
}
.live-unavailable {
  padding: 18px;
  border-radius: 8px;
  background: #FFF8DB;
  border: 1px solid rgba(255, 205, 39, 0.55);
}
.live-unavailable p { color: var(--c-text-muted); }

.live-footer {
  padding: clamp(34px, 6vw, 62px) 0 28px;
  background:
    linear-gradient(135deg, rgba(90, 60, 143, 0.96), rgba(57, 97, 170, 0.95)),
    var(--c-purple);
  color: #fff;
}
.live-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.live-footer__contact {
  display: grid;
  gap: 8px;
}
.live-footer__eyebrow {
  color: var(--c-yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.live-footer h2 {
  margin: 0;
  max-width: 560px;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.live-footer__mail {
  width: fit-content;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.live-footer__actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}
.live-footer__home,
.live-footer__internal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.live-footer__home {
  min-height: 52px;
  padding: 14px 22px;
  background: var(--c-yellow);
  color: var(--c-text);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.live-footer__home:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}
.live-footer__internal {
  min-height: 34px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}
.live-footer__internal:hover { color: #fff; }
.live-footer__legal {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .live-hero .live-shell,
  .live-shell--form {
    grid-template-columns: 1fr;
  }
  .live-payment,
  .live-sticky {
    position: static;
  }
  .live-sticky {
    display: grid;
    grid-template-columns: 96px 1fr minmax(132px, auto);
    align-items: center;
    gap: 14px;
    text-align: left;
  }
  .live-sticky span { margin-bottom: 0; }
  .live-footer__inner {
    grid-template-columns: 1fr;
  }
  .live-footer__actions {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .live-shell { width: min(100% - 28px, var(--max-w)); }
  .live-hero { padding-top: 34px; }
  .live-grid { grid-template-columns: 1fr; }
  .live-card__head {
    display: grid;
    justify-items: start;
  }
  .live-actions {
    flex-direction: column;
  }
  .live-actions .live-btn { width: 100%; }
  .live-sticky {
    grid-template-columns: 80px 1fr;
    padding: 10px;
  }
  .live-sticky__amount {
    grid-column: 1 / -1;
  }
  .live-sticky strong { font-size: 1.15rem; }
  .live-footer__home,
  .live-footer__mail {
    width: 100%;
  }
  .live-footer__actions {
    width: 100%;
  }
  .live-footer__legal {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-btn,
  .live-footer__home {
    transition: none;
  }
}
