:root {
  color-scheme: dark;
  --bg: #09090d;
  --surface: #121218;
  --surface-2: #1a1a22;
  --surface-3: #23232d;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8f8fb;
  --muted: #a9a9b4;
  --accent: #ff365f;
  --accent-2: #8b5cf6;
  --cyan: #37d5ff;
  --success: #39d98a;
  --warning: #ffbf45;
  --danger: #ff5a6c;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
  font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(139, 92, 246, 0.16), transparent 32rem),
    radial-gradient(circle at 80% 85%, rgba(255, 54, 95, 0.13), transparent 30rem),
    #050507;
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(55, 213, 255, 0.65);
  outline-offset: 2px;
}

.device-shell {
  position: relative;
  width: min(430px, 100vw);
  height: min(900px, calc(100dvh - 24px));
  min-height: 680px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.device-shell::after {
  content: "";
  position: absolute;
  z-index: 120;
  left: 50%;
  bottom: 3px;
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  transform: translateX(-50%);
  pointer-events: none;
}

.status-bar {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 18px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 700;
  pointer-events: none;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-icons svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 12px;
}

.signal-bars i {
  display: block;
  width: 2.4px;
  border-radius: 2px;
  background: currentColor;
}

.signal-bars i:nth-child(1) { height: 4px; }
.signal-bars i:nth-child(2) { height: 6px; }
.signal-bars i:nth-child(3) { height: 8px; }
.signal-bars i:nth-child(4) { height: 11px; }

.battery {
  position: relative;
  display: block;
  width: 18px;
  height: 9px;
  border: 1.4px solid currentColor;
  border-radius: 2.5px;
  padding: 1px;
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 1.5px;
  height: 3px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
}

.battery i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: 1px;
  background: currentColor;
}

.top-bar {
  position: absolute;
  z-index: 20;
  top: 30px;
  left: 0;
  right: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(9, 9, 13, 0.98), rgba(9, 9, 13, 0.9));
  backdrop-filter: blur(18px);
}

.top-bar.transparent {
  background: linear-gradient(180deg, rgba(4, 4, 8, 0.86), transparent);
  backdrop-filter: none;
}

.top-title {
  min-width: 0;
}

.top-title h1,
.top-title p {
  margin: 0;
}

.top-title h1 {
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.top-title p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.location-button,
.icon-button,
.avatar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.location-button {
  max-width: 255px;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.location-button span {
  display: block;
  min-width: 0;
}

.location-button strong,
.location-button small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.location-button strong {
  font-size: 0.88rem;
}

.location-button small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.7rem;
}

.icon-button,
.avatar-button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-2);
}

.avatar-button {
  background: linear-gradient(145deg, var(--accent), #8b2df6);
  font-size: 0.86rem;
  font-weight: 800;
}

.ui-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-view {
  position: absolute;
  inset: 94px 0 78px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  background: var(--bg);
}

.app-view::-webkit-scrollbar,
.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.app-view.detail-mode {
  top: 30px;
}

.app-view.checkout-mode {
  top: 30px;
  bottom: 0;
}

.app-view.no-nav {
  bottom: 0;
}

.view-content {
  padding: 6px 18px 30px;
}

.detail-mode .view-content {
  padding: 0 0 32px;
}

.section {
  margin: 24px 0;
}

.section:first-child {
  margin-top: 8px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-header h2,
.section-header p {
  margin: 0;
}

.section-header h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--muted);
  font-size: 0.8rem;
}

.text-button {
  padding: 6px 0;
  border: 0;
  color: #ff6f8d;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: var(--surface);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
  font-size: 1rem;
}

.search-box input::placeholder {
  color: #777784;
}

.horizontal-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin: 0 -18px;
  padding: 0 18px 6px;
}

.quick-card {
  position: relative;
  flex: 0 0 300px;
  min-height: 132px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(255, 54, 95, 0.96), rgba(118, 44, 231, 0.88)),
    var(--surface-2);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.quick-card.alt {
  background: linear-gradient(135deg, #153d60, #2b1768);
}

.quick-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -36px;
  bottom: -44px;
  border: 24px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.quick-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quick-card h3,
.quick-card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.quick-card h3 {
  font-size: 1.25rem;
}

.quick-card p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -18px;
  padding: 2px 18px 4px;
  scrollbar-width: none;
}

.chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8d8df;
  background: var(--surface);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
}

.chip.selected {
  border-color: rgba(255, 54, 95, 0.55);
  color: #fff;
  background: rgba(255, 54, 95, 0.18);
}

.chip.subtle {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 0.76rem;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
}

.movie-card {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  background: var(--surface-2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 280ms ease;
}

.movie-card:hover .poster img {
  transform: scale(1.035);
}

.poster-badge {
  position: absolute;
  left: 9px;
  bottom: 9px;
  max-width: calc(100% - 18px);
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(5, 5, 9, 0.78);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
  font-weight: 800;
}

.movie-card h3,
.movie-card p {
  margin: 0;
}

.movie-card h3 {
  margin-top: 9px;
  overflow: hidden;
  font-size: 0.95rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.movie-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.bottom-nav {
  position: absolute;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 7px 7px max(7px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(15, 15, 20, 0.96);
  backdrop-filter: blur(24px);
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 16px;
  color: #888894;
  background: transparent;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
}

.nav-item::before {
  content: "";
  position: absolute;
  top: 5px;
  width: 50px;
  height: 30px;
  border-radius: 999px;
  background: transparent;
  transition: background 180ms ease;
}

.nav-item .ui-icon,
.nav-item span {
  position: relative;
  z-index: 1;
}

.nav-item.active {
  color: #fff;
}

.nav-item.active::before {
  background: rgba(255, 54, 95, 0.2);
}

.nav-item.active .ui-icon {
  color: #ff6f8d;
}

.detail-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.detail-hero > img {
  width: 100%;
  height: 430px;
  display: block;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 3, 7, 0.18) 18%, rgba(9, 9, 13, 0.15) 45%, var(--bg) 98%);
}

.detail-back {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 16px;
  background: rgba(4, 4, 8, 0.7);
  backdrop-filter: blur(12px);
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 16px;
  background: rgba(4, 4, 8, 0.7);
  backdrop-filter: blur(12px);
}

.detail-body {
  position: relative;
  z-index: 3;
  margin-top: -94px;
  padding: 0 18px 24px;
}

.detail-body h1,
.detail-body p {
  margin: 0;
}

.detail-body h1 {
  max-width: 340px;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 16px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 9px;
  border-radius: 9px;
  color: #e5e5e9;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.73rem;
  font-weight: 700;
}

.synopsis {
  color: #c4c4cc;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cinema-block {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.cinema-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.cinema-block h3,
.cinema-block p {
  margin: 0;
}

.cinema-block h3 {
  font-size: 0.98rem;
}

.cinema-block p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.showtimes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.showtime {
  min-height: 55px;
  padding: 8px 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: var(--surface-2);
  cursor: pointer;
  font-weight: 800;
}

.showtime small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
}

.showtime.high-demand {
  border-color: rgba(255, 191, 69, 0.45);
}

.screen-card,
.list-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.screen-card {
  padding: 18px;
}

.list-card {
  overflow: hidden;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 12px 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  width: 100%;
}

button.list-row {
  cursor: pointer;
}

.list-row:last-child {
  border-bottom: 0;
}

.row-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ff829b;
  background: rgba(255, 54, 95, 0.13);
}

.row-copy {
  flex: 1;
  min-width: 0;
}

.row-copy strong,
.row-copy small {
  display: block;
}

.row-copy strong {
  font-size: 0.91rem;
}

.row-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.counter-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.counter-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: var(--surface-2);
  cursor: pointer;
}

.counter-button:disabled {
  opacity: 0.34;
  cursor: default;
}

.counter-value {
  min-width: 20px;
  text-align: center;
  font-weight: 800;
}

.sticky-action {
  position: sticky;
  z-index: 12;
  bottom: -1px;
  margin: 24px -18px -30px;
  padding: 14px 18px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(9, 9, 13, 0.96);
  backdrop-filter: blur(20px);
}

.button-row {
  display: flex;
  gap: 10px;
}

.primary-button,
.secondary-button,
.danger-button {
  min-height: 52px;
  padding: 12px 18px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  flex: 1;
  color: #fff;
  background: linear-gradient(110deg, #ff365f, #df2c73);
  box-shadow: 0 10px 24px rgba(255, 54, 95, 0.2);
}

.primary-button:disabled {
  color: #74747e;
  background: #24242d;
  box-shadow: none;
  cursor: default;
}

.secondary-button {
  color: #efeff3;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.danger-button {
  color: #ff8ca0;
  background: rgba(255, 90, 108, 0.12);
  border: 1px solid rgba(255, 90, 108, 0.22);
}

.checkout-head {
  position: sticky;
  z-index: 15;
  top: 0;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 72px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 13, 0.96);
  backdrop-filter: blur(20px);
}

.checkout-head h1,
.checkout-head p {
  margin: 0;
}

.checkout-head h1 {
  font-size: 1.05rem;
}

.checkout-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
}

.progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-rail span {
  display: block;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hold-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 191, 69, 0.24);
  border-radius: 11px;
  color: #ffd37d;
  background: rgba(255, 191, 69, 0.1);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.checkout-body {
  padding: 20px 18px 30px;
}

.checkout-body > h2,
.checkout-body > p {
  margin: 0;
}

.checkout-body > h2 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.checkout-body > p {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.summary-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0;
  color: #d1d1d8;
  font-size: 0.89rem;
}

.summary-line strong {
  color: var(--text);
  text-align: right;
}

.summary-line.total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
}

.summary-line.total strong {
  color: #fff;
  font-size: 1.25rem;
}

.seat-stage {
  position: relative;
  height: 38px;
  margin: 22px auto 30px;
  color: var(--muted);
  text-align: center;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seat-stage::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 10px;
  border-top: 3px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  box-shadow: 0 -5px 16px rgba(255, 255, 255, 0.22);
}

.seat-map-wrap {
  position: relative;
  overflow: auto;
  min-height: 330px;
  margin: 0 -10px;
  padding: 12px 10px 28px;
  scrollbar-width: none;
}

.seat-map {
  width: max-content;
  min-width: 100%;
  transform-origin: top center;
  transition: transform 180ms ease;
}

.seat-row {
  display: grid;
  grid-template-columns: 22px repeat(8, 32px) 22px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 9px 0;
}

.row-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.seat {
  position: relative;
  width: 32px;
  height: 29px;
  border: 1.5px solid #737381;
  border-radius: 10px 10px 7px 7px;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

.seat::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -4px;
  height: 5px;
  border: 1px solid currentColor;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

.seat.available {
  color: #737381;
}

.seat.selected {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 54, 95, 0.13);
}

.seat.unavailable {
  border-color: #34343d;
  color: #34343d;
  background: #34343d;
  cursor: not-allowed;
}

.seat.held {
  border-color: var(--warning);
  color: var(--warning);
  background: repeating-linear-gradient(135deg, rgba(255, 191, 69, 0.22) 0 4px, transparent 4px 8px);
  cursor: not-allowed;
}

.seat.accessible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.seat-number {
  color: inherit;
  font-size: 0.6rem;
  font-weight: 800;
}

.seat.selected .seat-number,
.seat.unavailable .seat-number {
  color: #fff;
}

.zoom-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.zoom-controls button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface-2);
  cursor: pointer;
}

.legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
}

.legend-dot {
  width: 17px;
  height: 15px;
  flex: 0 0 auto;
  border: 1.5px solid #737381;
  border-radius: 5px;
}

.legend-dot.selected { border-color: var(--accent); background: var(--accent); }
.legend-dot.unavailable { border-color: #34343d; background: #34343d; }
.legend-dot.held { border-color: var(--warning); background: rgba(255, 191, 69, 0.2); }

.product-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.product-thumb {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #3b2347, #191426);
  font-size: 2rem;
}

.product-card h3,
.product-card p {
  margin: 0;
}

.product-card h3 {
  font-size: 0.91rem;
}

.product-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.73rem;
}

.product-card .price {
  margin-top: 7px;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 800;
}

.promo-field,
.form-field {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.form-field label {
  color: #d5d5dd;
  font-size: 0.82rem;
  font-weight: 700;
}

.promo-field > div {
  display: flex;
  gap: 8px;
}

.text-input,
.select-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: var(--surface-2);
}

.text-input:focus,
.select-input:focus {
  border-color: rgba(255, 54, 95, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 54, 95, 0.11);
}

.promo-field .secondary-button {
  flex: 0 0 auto;
}

.promo-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
}

.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 70px;
  margin-top: 10px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.payment-option.selected {
  border-color: rgba(255, 54, 95, 0.65);
  background: rgba(255, 54, 95, 0.07);
}

.payment-logo {
  width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #252530;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.payment-copy {
  flex: 1;
}

.payment-copy strong,
.payment-copy small {
  display: block;
}

.payment-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
}

.radio-dot {
  width: 21px;
  height: 21px;
  border: 2px solid #666673;
  border-radius: 50%;
}

.selected .radio-dot {
  border: 6px solid var(--accent);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 13px;
  border-radius: 14px;
  color: #d2d2da;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
  line-height: 1.45;
}

.notice.warning {
  color: #ffe0a2;
  background: rgba(255, 191, 69, 0.1);
}

.scrim {
  position: absolute;
  z-index: 50;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(3px);
  animation: fade-in 160ms ease both;
}

.bottom-sheet {
  position: absolute;
  z-index: 55;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: calc(100% - 36px);
  overflow-y: auto;
  padding: 10px 18px max(22px, env(safe-area-inset-bottom));
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #17171e;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.45);
  animation: sheet-up 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sheet-handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #50505a;
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sheet-head h2,
.sheet-head p {
  margin: 0;
}

.sheet-head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.sheet-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.confirmation-card {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.confirmation-movie {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.confirmation-movie img {
  width: 62px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 11px;
}

.confirmation-movie h3,
.confirmation-movie p {
  margin: 0;
}

.confirmation-movie p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.77rem;
}

.full-overlay {
  position: absolute;
  z-index: 60;
  inset: 0;
  overflow-y: auto;
  background: var(--bg);
  animation: fade-in 180ms ease both;
}

.intro-screen {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: max(42px, env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom));
}

.intro-art {
  position: relative;
  min-height: 360px;
  flex: 1;
  overflow: hidden;
  margin: -42px -22px 24px;
  background: #141420;
}

.intro-art img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  position: absolute;
  object-fit: cover;
}

.intro-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 9, 0.05), var(--bg));
}

.intro-brand {
  position: absolute;
  z-index: 2;
  top: 58px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.intro-skip {
  position: absolute;
  z-index: 3;
  top: 48px;
  right: 18px;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.intro-copy h1,
.intro-copy p {
  margin: 0;
}

.intro-copy h1 {
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.intro-copy p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.intro-dots {
  display: flex;
  gap: 6px;
  margin: 22px 0 16px;
}

.intro-dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #393941;
}

.intro-dots i.active {
  width: 22px;
  background: var(--accent);
}

.choice-grid {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: inherit;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.choice-card.selected {
  border-color: var(--accent);
  background: rgba(255, 54, 95, 0.08);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.launch-screen {
  position: absolute;
  z-index: 100;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 54, 95, 0.19), transparent 16rem),
    #08080c;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.launch-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.brand-mark {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--accent), #7c3aed);
  box-shadow: 0 18px 50px rgba(255, 54, 95, 0.3);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  display: block;
  width: 11px;
  height: 38px;
  border-radius: 8px;
  background: #fff;
}

.brand-mark::before {
  position: absolute;
  left: 20px;
  transform: rotate(-18deg);
}

.brand-mark::after {
  position: absolute;
  right: 20px;
  transform: rotate(18deg);
}

.brand-mark span {
  height: 28px;
}

.launch-screen > p {
  margin: 20px 0 0;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.launch-screen > p b {
  color: #ff6685;
}

.launch-loader {
  position: absolute;
  bottom: 56px;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.snackbar {
  position: absolute;
  z-index: 90;
  left: 16px;
  right: 16px;
  bottom: 92px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  color: #fff;
  background: #2a2a33;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  font-size: 0.86rem;
  line-height: 1.4;
  animation: snackbar-in 180ms ease both;
}

.rewards-card {
  position: relative;
  overflow: hidden;
  min-height: 205px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, #d32a50, #6d2bda 85%);
  box-shadow: 0 20px 42px rgba(83, 31, 159, 0.24);
}

.rewards-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 32px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.rewards-card h2,
.rewards-card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.rewards-card h2 {
  font-size: 1.35rem;
}

.rewards-card p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}

.points-value {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.points-value small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.benefit-card {
  min-height: 118px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.benefit-card .row-icon {
  margin-bottom: 14px;
}

.benefit-card strong,
.benefit-card small {
  display: block;
}

.benefit-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.ticket-card {
  overflow: hidden;
  border-radius: 24px;
  color: #17171d;
  background: #f7f5f2;
}

.ticket-top {
  padding: 18px;
  color: #fff;
  background: linear-gradient(120deg, #c8244e, #7e2fd2);
}

.ticket-top h2,
.ticket-top p {
  margin: 0;
}

.ticket-top p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.ticket-main {
  position: relative;
  padding: 20px;
}

.ticket-main::before,
.ticket-main::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
}

.ticket-main::before { left: -10px; }
.ticket-main::after { right: -10px; }

.ticket-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.ticket-details small,
.ticket-details strong {
  display: block;
}

.ticket-details small {
  color: #77727c;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.ticket-details strong {
  margin-top: 3px;
  font-size: 0.9rem;
}

.demo-qr {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 9px solid #fff;
  border-radius: 8px;
  color: #fff;
  background:
    repeating-linear-gradient(0deg, #17171d 0 6px, #fff 6px 11px),
    repeating-linear-gradient(90deg, transparent 0 7px, #17171d 7px 12px);
  background-blend-mode: multiply;
  box-shadow: 0 0 0 1px #d8d3d0;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.demo-qr span {
  padding: 5px 7px;
  border-radius: 5px;
  background: #17171d;
}

.ticket-note {
  margin: 12px 0 0;
  color: #77727c;
  font-size: 0.68rem;
  text-align: center;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 40px 24px;
  text-align: center;
}

.empty-state .row-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 20px;
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.empty-state h2 {
  font-size: 1.25rem;
}

.empty-state p {
  max-width: 280px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.empty-state .primary-button {
  width: 100%;
  margin-top: 22px;
}

.waiting-room {
  min-height: calc(100dvh - 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
}

.queue-ring {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 8px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--accent);
  border-right-color: var(--accent-2);
  border-radius: 50%;
  animation: spin 2.3s linear infinite;
}

.queue-ring span {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  color: #fff;
  background: var(--bg);
  font-size: 1.8rem;
  font-weight: 900;
  animation: spin 2.3s linear infinite reverse;
}

.waiting-room h1,
.waiting-room p {
  margin: 0;
}

.waiting-room h1 {
  font-size: 1.55rem;
}

.waiting-room p {
  max-width: 315px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.queue-status {
  width: 100%;
  margin-top: 26px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 18px 0;
  padding: 4px;
  border-radius: 14px;
  background: #0e0e13;
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.auth-tabs button.active {
  color: #fff;
  background: var(--surface-3);
}

.form-grid {
  display: grid;
  gap: 2px;
}

.field-help {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.divider-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 17px 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.divider-label::before,
.divider-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.processing {
  min-height: calc(100% - 40px);
  display: grid;
  place-items: center;
  padding: 40px 24px;
  text-align: center;
}

.processing-spinner {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border: 5px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.processing h1,
.processing p {
  margin: 0;
}

.processing p {
  margin-top: 9px;
  color: var(--muted);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheet-up {
  from { transform: translateY(26px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes snackbar-in {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 560px) {
  body {
    display: block;
    background: var(--bg);
  }

  .device-shell {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-height: 720px) and (min-width: 561px) {
  .device-shell {
    height: 100dvh;
    min-height: 0;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
