@font-face {
  font-family: "KProd Sans";
  src: url("fonts/font2-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "KProd Sans";
  src: url("fonts/font2-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "KProd Sans";
  src: url("fonts/font2-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "KProd Display";
  src: url("fonts/font-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "KProd Display";
  src: url("fonts/font-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "KProd Display";
  src: url("fonts/font-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

[hidden] {
  display: none !important;
}

:root {
  --bg: #000005;
  --card: rgba(19, 20, 29, 0.78);
  --card-strong: rgba(19, 20, 29, 0.92);
  --border: rgba(255, 15, 0, 0.22);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --primary: #ff0f00;
  --primary-2: #ff0f00;
  --cta: #ff0f00;
  --shadow: 0 18px 50px rgba(0, 0, 5, 0.6);
  --ring: 0 0 0 4px rgba(255, 15, 0, 0.35);
  --radius: 18px;
  --active-slide-img: url("img/echangeur-kin.webp");
  --overlay-bottom-alpha: 0.92;
  --overlay-top-alpha: 0.25;
  --bg-pan-x: 0px;
  --bg-mix: 0;
  --bg-shift-a: 0px;
  --bg-shift-b: 0px;
  --slide-text: #ffffff;
  --slide-muted: rgba(255, 255, 255, 0.74);
  --slide-accent: var(--primary);
  --logo-filter: drop-shadow(0 10px 22px rgba(0, 0, 5, 0.55));
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "KProd Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card-strong);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  outline: none;
  box-shadow: var(--ring);
}

.app {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 100%;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.app::before {
  content: none;
}

.app::after {
  content: none;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 70% center;
  will-change: opacity, transform;
  transform: translateZ(0) scale(1.02);
}

.bg-layer.bg-a {
  opacity: calc(1 - var(--bg-mix));
  transform: translate3d(var(--bg-shift-a), 0, 0) scale(1.02);
}

.bg-layer.bg-b {
  opacity: var(--bg-mix);
  transform: translate3d(var(--bg-shift-b), 0, 0) scale(1.02);
}

.overlay-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms linear;
  will-change: opacity;
  transform: translateZ(0);
}

.overlay-layer.overlay-normal {
  background-image: linear-gradient(
      0deg,
      rgb(0 0 5 / var(--overlay-bottom-alpha)) 0%,
      rgb(0 0 5 / var(--overlay-bottom-alpha)) 40%,
      rgb(0 0 5 / 0) 75%,
      rgb(0 0 5 / 0) 100%
    ),
    linear-gradient(180deg, rgb(0 0 5 / var(--overlay-top-alpha)) 0%, rgb(0 0 5 / 0) 10%, rgb(0 0 5 / 0) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.app:not([data-overlay]) .overlay-layer.overlay-normal {
  opacity: 1;
}

.overlay-layer.overlay-red {
  background-image: radial-gradient(
    120% 95% at 100% 0%,
    rgb(255 15 0 / 0.1) 0%,
    rgb(255 15 0 / 0.1) 20%,
    rgb(255 15 0 / 0.92) 68%,
    rgb(255 15 0 / 0.98) 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.overlay-layer.overlay-light {
  background-image: linear-gradient(
    205deg,
    rgb(255 255 255 / 0) 0%,
    rgb(255 255 255 / .5) 15%,
    rgb(255 255 255 / 0.98) 65%,
    rgb(255 255 255 / 1) 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.app[data-overlay="red"] .overlay-layer.overlay-red {
  opacity: 1;
}

.app[data-overlay="light"] .overlay-layer.overlay-light {
  opacity: 1;
}

.app[data-overlay="red"] {
  --slide-text: #ffffff;
  --slide-muted: rgba(255, 255, 255, 0.85);
  --slide-accent: #000005;
  --logo-filter: brightness(0) invert(1) drop-shadow(0 10px 22px rgba(0, 0, 5, 0.55));
  --overlay-bottom-alpha: 0.35;
  --overlay-top-alpha: 0;
}

.app[data-overlay="light"] {
  --slide-text: #000005;
  --slide-muted: rgba(0, 0, 5, 0.74);
  --slide-accent: var(--primary);
  --logo-filter: brightness(0) drop-shadow(0 10px 22px rgba(0, 0, 5, 0.55));
  --overlay-bottom-alpha: 0;
  --overlay-top-alpha: 0;
}

.app[data-overlay="red"] .topbar::before,
.app[data-overlay="light"] .topbar::before {
  background: none;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  z-index: -1;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  z-index: 20;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: var(--logo-filter);
}

.topbar-actions {
  display: inline-flex;
  gap: 10px;
}

.icon-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  min-width: 56px;
}

.icon-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.slider {
  padding-top: 64px;
  min-height: 100vh;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  height: calc(100vh - 64px);
  overflow: visible;
}

.slides::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.slide {
  width: 100vw;
  flex: 0 0 100%;
  height: calc(100vh - 64px);
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.onboard-card {
  width: 100%;
  height: calc(100vh - 64px);
  --overlay-top: 120px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  background: transparent;
  isolation: isolate;
}

.onboard-card::before {
  display: none;
}

.onboard-card::after {
  display: none;
}

.onboard-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 5, 0.38);
  backdrop-filter: blur(10px);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.chip-solid {
  border-color: rgba(255, 15, 0, 0.42);
  background: rgba(255, 15, 0, 0.22);
}

.progress-circle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 5, 0.34);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
}

.progress-ring {
  width: 56px;
  height: 56px;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3.2;
}

.progress-ring-fg {
  fill: none;
  stroke: #ff0f00;
  stroke-width: 3.2;
  stroke-linecap: round;
  filter: drop-shadow(0 8px 18px rgba(255, 15, 0, 0.42));
  transition: stroke-dasharray 250ms ease;
}

.progress-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  text-align: center;
  pointer-events: none;
}

.progress-value {
  font-weight: 900;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1;
}

.progress-label {
  font-weight: 800;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
  line-height: 1;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 4px;
}

.stat {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.stat-circle {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 5, 0.28);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
}

.stat-ring {
  width: 84px;
  height: 84px;
  transform: rotate(-90deg);
}

.stat-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3.2;
}

.stat-ring-fg {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 100, 100;
  stroke-dashoffset: 100;
  animation: statRingDraw 900ms cubic-bezier(0.2, 0, 0, 1) forwards;
}

.stat-circle-red .stat-ring-fg {
  stroke: #ff0f00;
  filter: drop-shadow(0 8px 18px rgba(255, 15, 0, 0.42));
}

.stat-circle-white .stat-ring-fg {
  stroke: rgba(255, 255, 255, 0.92);
  filter: none;
}

.slide-active .stat-ring-fg {
  animation-play-state: running;
}

@keyframes statRingDraw {
  from {
    stroke-dasharray: 0, 100;
    stroke-dashoffset: 0;
  }
  to {
    stroke-dasharray: var(--stat-p, 78), 100;
    stroke-dashoffset: 0;
  }
}

.stat-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  text-align: center;
  pointer-events: none;
}

.stat-value {
  font-weight: 950;
  font-size: 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.stat-unit {
  font-weight: 800;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  line-height: 1.2;
}

.onboard-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 76px 16px 86px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: auto;
}

.slide.story .onboard-body {
  padding: 86px 18px 104px;
  gap: 14px;
  font-family: "KProd Display", system-ui, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.28;
  color: var(--slide-text);
}

.slide.story .onboard-body > p,
.slide.story .onboard-body > h1,
.slide.story .onboard-body > h2 {
  margin: 0;
  font: inherit;
  max-width: 44ch;
  color: var(--slide-text);
}

.slide.story .onboard-text {
  max-width: 44ch;
  font-size: 20px;
  line-height: 1.28;
  color: var(--slide-text);
  display: grid;
  gap: 5px;
  hyphens: auto;
  text-wrap: pretty;
  overflow-wrap: break-word;
  font-weight: 500;
}


.slide.story .onboard-text p {
  margin: 0;
}

.slide.story .hl {
  color: var(--slide-accent);
}

.slide.story .onboard-top .chip {
  background: rgba(0, 0, 5, 0.38);
  border-color: rgba(255, 255, 255, 0.14);
}

.onboard-body-top {
  justify-content: flex-start;
}

.onboard-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.76);
}

.onboard-metric {
  font-family: "KProd Display", system-ui, sans-serif;
  font-size: 54px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.onboard-title {
  margin: 0;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.96);
}

.date-line {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.date-day {
  font-family: "KProd Display", system-ui, sans-serif;
  font-size: 64px;
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.98);
}

.date-rest {
  display: inline-block;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 5, 0.32);
  backdrop-filter: blur(10px);
}

.slide[data-route="tickets"] .onboard-body > .onboard-title {
  margin-top: auto;
}

.slide[data-route="checkout"] .onboard-body > .onboard-title {
  margin-top: auto;
}

.onboard-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.74);
  max-width: 32ch;
}

.onboard-bottom {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 5, 0.46);
  backdrop-filter: blur(10px);
}

.circle-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(19, 20, 29, 0.78);
  color: rgba(255, 255, 255, 0.92);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.circle-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.circle-btn-primary {
  border-color: rgba(255, 15, 0, 0.52);
  background: rgba(255, 15, 0, 0.95);
  color: rgba(255, 255, 255, 0.98);
}

.pill-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(19, 20, 29, 0.72);
  color: rgba(255, 255, 255, 0.92);
  font-family: "KProd Display", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 4.2vw, 17px);
  line-height: 1.05;
  border-radius: 999px;
  height: 46px;
  padding: 0 14px;
  cursor: pointer;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.pill-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.slide-content {
  max-width: 560px;
  margin: 0 auto;
  min-height: calc(100vh - 64px - 18px - 22px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 5, 0.35);
  backdrop-filter: blur(10px);
}

.slide[data-route="home"] .slide-content,
.slide[data-route="done"] .slide-content {
  justify-content: center;
}

.kicker {
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-size: 13px;
}

.title {
  font-family: "KProd Display", system-ui, sans-serif;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0;
}

.section-title {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.01em;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.fineprint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--card-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-img,
.event-img,
.detail-img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-meta-title {
  font-weight: 800;
  font-size: 16px;
}

.hero-meta-sub {
  color: var(--muted);
  font-size: 14px;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px;
  font-weight: 800;
  font-size: clamp(15px, 4.2vw, 17px);
  line-height: 1.05;
  cursor: pointer;
  min-height: 48px;
  background: var(--card);
  color: var(--text);
  transition: background 200ms ease, transform 200ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  border-color: rgba(255, 15, 0, 0.45);
  background: var(--primary);
  color: rgba(255, 255, 255, 0.95);
}

.btn-ghost {
  background: transparent;
}

.btn-full {
  width: 100%;
}

.card-list {
  display: grid;
  gap: 12px;
}

.event-card {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--card-strong);
  border-radius: var(--radius);
  padding: 12px;
  display: grid;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-align: left;
}

.event-card:focus-visible {
  outline: none;
  box-shadow: var(--ring), var(--shadow);
}

.event-body {
  display: grid;
  gap: 4px;
}

.event-title {
  font-weight: 900;
  letter-spacing: 0.01em;
}

.event-sub {
  color: var(--muted);
  font-size: 14px;
}

.detail-card {
  border-radius: var(--radius);
  background: var(--card-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-img {
  height: 170px;
  border-radius: 0;
  border: none;
}

.detail-body {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.detail-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(19, 20, 29, 0.72);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.pill-strong {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 15, 0, 0.45);
  background: rgba(255, 15, 0, 0.18);
}

.ticket-list {
  display: grid;
  gap: 10px;
}

.ticket {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card-strong);
  box-shadow: var(--shadow);
}

.ticket-left {
  display: grid;
  gap: 3px;
}

.ticket-name {
  font-weight: 900;
}

.ticket-sub {
  font-size: 14px;
  color: var(--muted);
}

.ticket-right {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.price {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 5, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 8px;
}

.qty-btn {
  appearance: none;
  border: none;
  background: #ff0f00;
  color: rgba(255, 255, 255, 0.92);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.qty-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.qty-value {
  min-width: 18px;
  text-align: center;
  font-weight: 900;
}

.summary {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(19, 20, 29, 0.72);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
}

.summary-muted {
  font-weight: 700;
  color: var(--muted);
}

.summary-strong {
  font-size: 16px;
}

.summary-amount {
  color: rgba(255, 255, 255, 0.92);
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.label {
  font-weight: 800;
  color: var(--muted);
  font-size: 13px;
}

.input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(19, 20, 29, 0.78);
  padding: 12px 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.input:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-color: rgba(255, 15, 0, 0.6);
}

.status {
  min-height: 18px;
  font-weight: 700;
  color: var(--muted);
}

.status .error {
  color: #ff6b63;
}

.status .ok {
  color: #78f0a5;
}

.ussd-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: stretch;
  padding: 0;
  background: rgba(0, 0, 5, 0.74);
  backdrop-filter: blur(12px);
}

.ussd-modal[hidden] {
  display: none;
}

.ussd-modal-card {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 28px 18px;
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
}

.ussd-spinner {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 15, 0, 0.95);
  margin: 2px auto 4px;
  animation: ussdspin 900ms linear infinite;
}

.ussd-title {
  font-family: "KProd Display", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.96);
}

.ussd-text {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.result-icon {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 6px auto 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.result-icon svg {
  width: 42px;
  height: 42px;
  display: block;
}

.result-icon-success {
  color: #78f0a5;
  border-color: rgba(120, 240, 165, 0.35);
  background: rgba(120, 240, 165, 0.12);
}

.result-icon-failed {
  color: #ff6b63;
  border-color: rgba(255, 107, 99, 0.35);
  background: rgba(255, 107, 99, 0.12);
}

@keyframes ussdspin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.receipt {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(19, 20, 29, 0.78);
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  font-weight: 800;
}

.receipt-row span:last-child {
  text-align: right;
  max-width: 68%;
  overflow-wrap: anywhere;
}

.dots {
  display: none;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(19, 20, 29, 0.7);
  box-shadow: 0 10px 24px rgba(0, 0, 5, 0.55);
  pointer-events: auto;
  cursor: pointer;
}

.dot.active {
  width: 18px;
  background: rgba(255, 15, 0, 0.55);
  border-color: rgba(255, 15, 0, 0.65);
}

.providers {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(19, 20, 29, 0.72);
}

.provider-logo {
  height: 34px;
  width: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 840px) {
  .slide {
    padding: 24px 18px 28px;
  }
}

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