:root {
  color-scheme: dark;
  --red: #e50923;
  --deep-red: #8a0014;
  --ink: #111217;
  --paper: #f7f8fb;
  --muted: #737782;
  --line: rgba(229, 9, 35, 0.16);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 4%, rgba(229, 9, 35, 0.35), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.14), transparent 28%),
    #070609;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(20, 22, 28, 0.1);
  border-radius: 12px;
  background: #f2f3f7;
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 0 12px;
}

input:focus {
  border-color: rgba(229, 9, 35, 0.5);
  box-shadow: 0 0 0 3px rgba(229, 9, 35, 0.08);
}

.phone-preview {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 18px;
}

.mobile-app {
  position: relative;
  width: min(100%, 430px);
  min-height: min(900px, calc(100vh - 36px));
  max-height: calc(100vh - 36px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #f4f5f8;
  box-shadow: var(--shadow);
}

.mobile-app::-webkit-scrollbar {
  width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 10px;
  background: linear-gradient(180deg, rgba(244, 245, 248, 0.96), rgba(244, 245, 248, 0.78));
  backdrop-filter: blur(12px);
}

.location-button,
.table-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.location-button {
  min-width: 0;
  flex: 1 1 auto;
  gap: 8px;
  padding: 0;
  max-width: 260px;
}

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

.pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(229, 9, 35, 0.12);
}

.table-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(229, 9, 35, 0.18);
  padding: 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.table-pill strong {
  margin-left: 5px;
  color: var(--red);
}

.tab-page {
  display: none;
  padding: 0 14px 92px;
}

.tab-page.active {
  display: block;
}

.hero-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #210006, #09090d 58%, #41000a);
  color: white;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.hero-copy span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.hero-copy h1 {
  margin: 8px 0 8px;
  color: white;
  font-size: 42px;
  line-height: 1;
}

.hero-copy p {
  max-width: 230px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.game-card,
.points-card,
.content-card,
.reserve-card,
.profile-card {
  margin-top: 14px;
  border: 1px solid rgba(20, 22, 28, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(10, 10, 14, 0.08);
}

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
}

.section-kicker,
.page-title span,
.points-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
p {
  margin: 0;
}

h2 {
  margin-top: 7px;
  font-size: 19px;
}

p {
  color: var(--muted);
  line-height: 1.5;
}

.red-button {
  min-height: 40px;
  border-radius: 10px;
  padding: 0 14px;
  background: linear-gradient(135deg, #fa1831, #a70018);
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(229, 9, 35, 0.24);
}

.points-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  padding: 20px;
}

.points-card.tall {
  display: block;
  min-height: 150px;
  background:
    linear-gradient(120deg, rgba(229, 9, 35, 0.08), transparent 58%),
    white;
}

.points-card strong {
  display: block;
  margin: 8px 0;
  font-size: 45px;
  line-height: 1;
}

.points-card em {
  color: var(--red);
  font-size: 16px;
  font-style: normal;
}

.speed-ring {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 8px solid rgba(229, 9, 35, 0.16);
  border-top-color: var(--red);
  border-radius: 99px;
  background: linear-gradient(145deg, #fff, #eceef3);
}

.speed-ring span {
  color: var(--deep-red);
  font-size: 24px;
  font-weight: 900;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.quick-grid button {
  display: grid;
  min-height: 82px;
  place-items: center;
  border-radius: 16px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(10, 10, 14, 0.07);
}

.quick-grid span {
  font-size: 26px;
}

.invite-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 132px;
  margin-top: 14px;
  border-radius: 18px;
  padding: 20px;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.76), rgba(55, 0, 10, 0.78)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  color: white;
}

.invite-banner p {
  color: rgba(255, 255, 255, 0.75);
}

.content-card,
.reserve-card,
.profile-card {
  padding: 16px;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.member-bind-card .red-button {
  width: 100%;
}

.home-bind-form .red-button {
  width: 100%;
}

.home-member-summary {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.home-member-summary .avatar {
  width: 54px;
  font-size: 24px;
}

.home-member-summary strong,
.home-member-summary p {
  display: block;
  overflow-wrap: anywhere;
}

.home-member-points {
  min-width: 96px;
  border-radius: 14px;
  padding: 9px 10px;
  background: rgba(229, 9, 35, 0.08);
  text-align: right;
}

.home-member-points span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.home-member-points strong {
  display: block;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

#logoutMemberButton {
  background: transparent;
  color: var(--muted);
}

.card-heading button {
  background: transparent;
  color: var(--muted);
}

.activity-row,
.exchange-row,
.profile-line {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(20, 22, 28, 0.06);
}

.activity-row:first-of-type {
  border-top: 0;
}

.activity-icon {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffeced, #ffb7c0);
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.activity-icon.dark {
  background: linear-gradient(145deg, #272832, #08090d);
  color: white;
}

.status-hot {
  color: var(--red);
  font-weight: 900;
}

.page-title {
  padding: 14px 4px 8px;
}

.page-title h1 {
  margin-top: 4px;
  font-size: 28px;
}

.category-bar {
  position: sticky;
  top: 62px;
  z-index: 8;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 12px;
  background: linear-gradient(180deg, #f4f5f8 70%, rgba(244, 245, 248, 0));
}

.category-bar::-webkit-scrollbar {
  height: 0;
}

.category-bar button {
  flex: 0 0 auto;
  min-height: 34px;
  border-radius: 99px;
  padding: 0 14px;
  background: white;
  color: var(--muted);
  box-shadow: 0 8px 20px rgba(10, 10, 14, 0.06);
}

.category-bar button.active {
  background: var(--red);
  color: white;
}

.menu-feed {
  display: grid;
  gap: 12px;
}

.food-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  padding: 12px;
  background: white;
  box-shadow: 0 12px 30px rgba(10, 10, 14, 0.08);
}

.food-thumb {
  display: grid;
  place-items: center;
  width: 76px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.88), transparent 22%),
    linear-gradient(145deg, #ffccd1, #e50923 55%, #1d0509);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.food-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-card h2 {
  margin: 0 0 5px;
  font-size: 17px;
}

.food-card strong {
  color: var(--red);
  font-size: 18px;
}

.add-button {
  display: grid;
  width: 34px;
  min-height: 34px;
  place-items: center;
  border-radius: 99px;
  background: var(--red);
  color: white;
  font-size: 24px;
  line-height: 1;
}

.cart-drawer {
  position: sticky;
  bottom: 68px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  padding: 14px;
  background: rgba(20, 22, 28, 0.94);
  color: white;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.cart-drawer p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.customer-cart-items {
  display: grid;
  gap: 5px;
  max-height: 112px;
  margin: 6px 0;
  overflow-y: auto;
}

.customer-cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.customer-cart-row > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-cart-row > div {
  display: grid;
  grid-template-columns: 24px 24px 24px;
  align-items: center;
  text-align: center;
}

.customer-cart-row button {
  display: grid;
  min-height: 24px;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.profile-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #262832, #e50923);
  color: white;
  font-size: 30px;
  font-weight: 900;
}

.level-progress {
  height: 9px;
  overflow: hidden;
  margin-top: 9px;
  border-radius: 99px;
  background: #e1e3e9;
}

.level-progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ff7b8a);
}

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

.rules-grid span {
  border-radius: 12px;
  padding: 10px;
  background: #f0f1f5;
  color: #2a2d35;
  font-size: 13px;
}

.exchange-row,
.profile-line {
  grid-template-columns: minmax(0, 1fr) auto;
}

.exchange-row strong,
.profile-line strong {
  color: var(--red);
}

.reserve-card h2 {
  margin: 8px 0;
}

.reserve-card button {
  width: 100%;
  margin-top: 14px;
}

.note-text {
  color: #4f535d;
}

.member-log-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(20, 22, 28, 0.06);
}

.member-log-row:first-of-type {
  border-top: 0;
}

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

.member-log-row small {
  margin-top: 4px;
  color: var(--muted);
}

.member-log-delta {
  color: var(--red);
  font-weight: 900;
}

.bottom-tabs {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 8px 12px 12px;
  border-top: 1px solid rgba(20, 22, 28, 0.06);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.bottom-tabs button {
  min-height: 42px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bottom-tabs button.active {
  background: rgba(229, 9, 35, 0.1);
  color: var(--red);
}

.customer-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 30;
  width: min(360px, calc(100vw - 40px));
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(17, 18, 23, 0.94);
  color: white;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.customer-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 520px) {
  .phone-preview {
    display: block;
    min-height: 100vh;
    padding: 0;
  }

  .mobile-app {
    width: 100%;
    min-height: 100vh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .topbar {
    padding-inline: 14px;
  }

  .location-button {
    max-width: calc(100% - 92px);
  }

  .game-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-card .red-button {
    width: 100%;
  }

  .points-card {
    grid-template-columns: minmax(0, 1fr) 78px;
    padding: 16px;
  }

  .points-card strong {
    font-size: 36px;
  }

  .speed-ring span {
    font-size: 19px;
  }

  .quick-grid {
    gap: 7px;
  }

  .quick-grid button {
    min-width: 0;
    min-height: 76px;
    padding: 6px 2px;
    font-size: 12px;
  }

  .food-card {
    grid-template-columns: 68px minmax(0, 1fr) 34px;
    gap: 10px;
  }

  .food-thumb {
    width: 68px;
  }
}

/* 2026 immersive member-club refresh */
:root {
  --red: #cf2439;
  --red-bright: #ef3f52;
  --deep-red: #7d111f;
  --gold: #dfa94d;
  --gold-light: #f0c875;
  --teal: #52d8d1;
  --ink: #f7f1e8;
  --paper: #151316;
  --surface: #191619;
  --surface-strong: #211b1e;
  --muted: #9e9590;
  --line: rgba(223, 169, 77, 0.17);
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.42);
}

html {
  background: #070607;
}

body {
  background:
    linear-gradient(90deg, rgba(223, 169, 77, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(223, 169, 77, 0.02) 1px, transparent 1px),
    linear-gradient(135deg, rgba(125, 17, 31, 0.22), transparent 36%),
    linear-gradient(315deg, rgba(22, 93, 96, 0.1), transparent 32%),
    #070607;
  background-size: 74px 74px, 74px 74px, auto, auto, auto;
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

button,
input {
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    background 170ms ease,
    color 170ms ease,
    box-shadow 170ms ease;
}

button:active {
  transform: scale(0.97);
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(82, 216, 209, 0.72);
  outline-offset: 2px;
}

input {
  border: 1px solid rgba(223, 169, 77, 0.15);
  border-radius: 8px;
  background: rgba(6, 6, 7, 0.62);
  color: #fff9ef;
}

input::placeholder {
  color: #746d69;
}

input:focus {
  border-color: rgba(82, 216, 209, 0.65);
  box-shadow: 0 0 0 3px rgba(82, 216, 209, 0.08);
}

.phone-preview {
  padding: 24px;
}

.mobile-app {
  scrollbar-color: rgba(223, 169, 77, 0.2) transparent;
  border: 1px solid rgba(223, 169, 77, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(165, 31, 43, 0.055), transparent 260px),
    #100e10;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.018),
    0 0 50px rgba(165, 31, 43, 0.1);
}

.mobile-app::-webkit-scrollbar {
  width: 4px;
}

.mobile-app::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(223, 169, 77, 0.18);
}

.topbar {
  padding: 15px 17px 13px;
  border-bottom: 1px solid rgba(223, 169, 77, 0.1);
  background:
    linear-gradient(90deg, rgba(165, 31, 43, 0.06), transparent),
    rgba(14, 12, 14, 0.86);
  backdrop-filter: blur(22px) saturate(1.2);
}

.location-button {
  gap: 10px;
  color: var(--ink);
}

.location-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  text-align: left;
}

.location-copy small {
  color: #8f7761;
  font-size: 8px;
  font-weight: 900;
}

.location-copy strong {
  color: #fff7eb;
  font-size: 14px;
}

.pin-dot {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background:
    url("/higr-emblem.svg") center / 110% no-repeat,
    #090809;
  box-shadow:
    0 0 0 1px rgba(223, 169, 77, 0.4),
    0 0 20px rgba(165, 31, 43, 0.22);
}

.table-pill {
  min-height: 36px;
  border: 1px solid rgba(223, 169, 77, 0.25);
  border-radius: 6px;
  background: rgba(223, 169, 77, 0.055);
  color: #8f857e;
  font-size: 11px;
}

.table-pill strong {
  color: var(--gold-light);
  font-size: 13px;
}

.tab-page {
  padding: 12px 14px 100px;
}

.tab-page.active {
  animation: pageEnter 340ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

.hero-card {
  min-height: 250px;
  border: 1px solid rgba(223, 169, 77, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(44, 6, 13, 0.9), rgba(7, 7, 10, 0.92) 56%, rgba(20, 66, 72, 0.68)),
    #0c090c;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.38),
    inset 0 0 70px rgba(165, 31, 43, 0.08);
}

.hero-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(120deg, transparent 52%, rgba(223, 169, 77, 0.08) 52.2%, transparent 52.5%);
  background-size: 42px 42px, 42px 42px, auto;
}

.hero-card::after {
  position: absolute;
  right: -20px;
  bottom: -22px;
  z-index: 1;
  width: 210px;
  height: 210px;
  content: "";
  opacity: 0.14;
  background: url("/higr-emblem.svg") center / contain no-repeat;
  filter: saturate(0.9);
  transform: rotate(-12deg);
}

#heroCanvas {
  z-index: 0;
  opacity: 0.82;
}

.hero-copy {
  z-index: 2;
  min-height: 250px;
  padding: 28px 26px;
}

.hero-copy::before {
  width: 42px;
  height: 2px;
  margin-bottom: 18px;
  content: "";
  background: linear-gradient(90deg, var(--red-bright), var(--gold));
  box-shadow: 0 0 18px rgba(223, 169, 77, 0.2);
}

.hero-copy span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 290px;
  margin: 9px 0 12px;
  font-size: 43px;
  font-weight: 780;
  line-height: 1.02;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
}

.hero-copy p {
  max-width: 245px;
  color: rgba(245, 235, 226, 0.68);
  font-size: 13px;
}

.game-card,
.points-card,
.content-card,
.reserve-card,
.profile-card,
.food-card {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid rgba(223, 169, 77, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.024), transparent 46%),
    rgba(25, 22, 25, 0.94);
  box-shadow:
    0 15px 36px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.018);
}

.game-card::before,
.points-card::before,
.content-card::before,
.reserve-card::before,
.profile-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 58px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0.75;
}

.game-card {
  padding: 18px;
  background:
    linear-gradient(110deg, rgba(165, 31, 43, 0.16), transparent 48%),
    rgba(25, 22, 25, 0.96);
}

.section-kicker,
.page-title span,
.points-card span {
  color: var(--gold-light);
  font-size: 11px;
}

h1,
h2,
.activity-row strong,
.profile-card strong {
  color: #fff8ef;
}

h2 {
  font-size: 18px;
}

p {
  color: var(--muted);
}

.red-button {
  min-height: 42px;
  border: 1px solid rgba(235, 83, 99, 0.62);
  border-radius: 6px;
  background:
    linear-gradient(135deg, #d63045, #861422 74%),
    var(--deep-red);
  color: #fffaf2;
  box-shadow:
    0 12px 24px rgba(125, 17, 31, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.1);
}

.red-button:hover {
  border-color: rgba(255, 130, 141, 0.72);
  background: linear-gradient(135deg, #ea4053, #a31d2d 74%);
  box-shadow: 0 14px 30px rgba(125, 17, 31, 0.42), 0 0 20px rgba(207, 36, 57, 0.1);
}

.home-member-card {
  background:
    linear-gradient(120deg, rgba(82, 216, 209, 0.055), transparent 48%),
    rgba(24, 22, 25, 0.96);
}

.card-heading {
  margin-bottom: 12px;
}

.card-heading button,
#logoutMemberButton {
  color: #b8a177;
  font-size: 12px;
}

.note-text {
  color: #9d948e;
}

.points-card {
  grid-template-columns: minmax(0, 1fr) 94px;
  min-height: 154px;
  padding: 20px;
  background:
    linear-gradient(118deg, rgba(151, 24, 40, 0.28), transparent 54%),
    linear-gradient(300deg, rgba(82, 216, 209, 0.09), transparent 44%),
    #1c171a;
}

.points-card::after {
  position: absolute;
  right: 95px;
  bottom: -54px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(223, 169, 77, 0.08);
  content: "";
  transform: rotate(45deg);
}

.points-card strong {
  position: relative;
  z-index: 1;
  margin: 10px 0;
  background: linear-gradient(180deg, #fff9e8, #e8b95f);
  background-clip: text;
  color: transparent;
  font-size: 43px;
}

.points-card em {
  color: var(--teal);
  font-size: 13px;
}

.speed-ring {
  position: relative;
  z-index: 1;
  border: 6px solid rgba(223, 169, 77, 0.14);
  border-top-color: var(--gold);
  border-right-color: var(--red-bright);
  background:
    radial-gradient(circle, rgba(165, 31, 43, 0.2), transparent 62%),
    #100e10;
  box-shadow: 0 0 24px rgba(223, 169, 77, 0.08);
}

.speed-ring span {
  color: var(--gold-light);
  font-size: 20px;
}

.quick-grid {
  gap: 8px;
  margin-top: 12px;
}

.quick-grid button {
  min-height: 82px;
  border: 1px solid rgba(223, 169, 77, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent),
    #181518;
  color: #d8cec4;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.quick-grid button:hover {
  border-color: rgba(223, 169, 77, 0.3);
  background:
    linear-gradient(145deg, rgba(165, 31, 43, 0.12), rgba(223, 169, 77, 0.04)),
    #1b171a;
  color: #fff7ec;
  transform: translateY(-3px);
}

.quick-grid span {
  filter: saturate(0.72);
  font-size: 24px;
}

.invite-banner {
  position: relative;
  min-height: 138px;
  overflow: hidden;
  border: 1px solid rgba(223, 169, 77, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(105deg, rgba(9, 8, 10, 0.96), rgba(82, 12, 24, 0.82)),
    #140c0f;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.27);
}

.invite-banner::after {
  position: absolute;
  top: -45px;
  right: 82px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(223, 169, 77, 0.12);
  content: "";
  transform: rotate(45deg);
}

.invite-banner > * {
  position: relative;
  z-index: 1;
}

.activity-row,
.exchange-row,
.profile-line {
  border-top-color: rgba(223, 169, 77, 0.1);
}

.activity-row > span:not(.status-hot) {
  color: #a89d95;
}

.activity-icon {
  border: 1px solid rgba(239, 63, 82, 0.24);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(239, 63, 82, 0.19), rgba(223, 169, 77, 0.06)),
    #211518;
  color: #f17884;
}

.activity-icon.dark {
  border-color: rgba(82, 216, 209, 0.18);
  background:
    linear-gradient(145deg, rgba(82, 216, 209, 0.11), transparent),
    #111417;
  color: var(--teal);
}

.status-hot {
  color: #f06473;
}

.page-title {
  position: relative;
  margin-bottom: 8px;
  padding: 16px 4px 14px 16px;
  border-bottom: 1px solid rgba(223, 169, 77, 0.11);
}

.page-title::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.page-title h1 {
  color: #fff7ec;
  font-size: 29px;
}

.category-bar {
  top: 61px;
  padding: 10px 0 13px;
  background: linear-gradient(180deg, #100e10 76%, rgba(16, 14, 16, 0));
}

.category-bar button {
  min-height: 34px;
  border: 1px solid rgba(223, 169, 77, 0.12);
  border-radius: 6px;
  background: #191619;
  color: #938a84;
  box-shadow: none;
}

.category-bar button.active {
  border-color: rgba(239, 63, 82, 0.58);
  background: linear-gradient(135deg, #b91f33, #74111d);
  color: #fff8ef;
  box-shadow: 0 8px 20px rgba(125, 17, 31, 0.26);
}

.food-card {
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 13px;
  margin-top: 0;
  padding: 11px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.food-card:hover {
  border-color: rgba(223, 169, 77, 0.27);
  background:
    linear-gradient(110deg, rgba(165, 31, 43, 0.09), transparent 48%),
    #1d191c;
  transform: translateY(-2px);
}

.food-thumb {
  width: 78px;
  border: 1px solid rgba(223, 169, 77, 0.13);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(165, 31, 43, 0.48), rgba(223, 169, 77, 0.13)),
    #1a1114;
}

.food-thumb img {
  transition: transform 260ms ease, filter 260ms ease;
}

.food-card:hover .food-thumb img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
}

.food-card h2 {
  color: #f7eee5;
}

.food-card strong {
  color: var(--gold-light);
}

.add-button {
  width: 36px;
  min-height: 36px;
  border: 1px solid rgba(239, 63, 82, 0.54);
  border-radius: 50%;
  background: linear-gradient(135deg, #d82e43, #831320);
  box-shadow: 0 8px 18px rgba(125, 17, 31, 0.28);
}

.cart-drawer {
  bottom: 70px;
  border: 1px solid rgba(223, 169, 77, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(165, 31, 43, 0.12), transparent 48%),
    rgba(14, 12, 14, 0.96);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.customer-cart-row button {
  border: 1px solid rgba(223, 169, 77, 0.12);
  border-radius: 4px;
  background: rgba(223, 169, 77, 0.07);
}

.profile-card {
  background:
    linear-gradient(110deg, rgba(82, 216, 209, 0.06), transparent 50%),
    rgba(25, 22, 25, 0.96);
}

.avatar {
  border: 1px solid rgba(223, 169, 77, 0.35);
  background:
    linear-gradient(145deg, rgba(223, 169, 77, 0.2), rgba(165, 31, 43, 0.46)),
    #151013;
  color: #f8ce7d;
  box-shadow: 0 0 24px rgba(165, 31, 43, 0.15);
}

.level-progress {
  background: rgba(255, 255, 255, 0.07);
}

.level-progress span {
  background: linear-gradient(90deg, var(--red), var(--gold), var(--teal));
  box-shadow: 0 0 14px rgba(82, 216, 209, 0.16);
}

.rules-grid span {
  border: 1px solid rgba(223, 169, 77, 0.1);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(165, 31, 43, 0.06), transparent),
    rgba(8, 8, 9, 0.54);
  color: #c9c0b8;
}

.exchange-row strong,
.profile-line strong {
  color: var(--gold-light);
}

.member-log-row {
  border-top-color: rgba(223, 169, 77, 0.1);
}

.member-log-row small {
  color: var(--muted);
}

.member-log-delta {
  color: var(--gold-light);
}

.bottom-tabs {
  gap: 2px;
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(223, 169, 77, 0.14);
  background: rgba(14, 12, 14, 0.94);
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px) saturate(1.2);
}

.bottom-tabs button {
  position: relative;
  display: grid;
  min-height: 52px;
  place-items: center;
  gap: 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #7f7772;
  font-size: 11px;
}

.bottom-tabs button::before {
  display: block;
  color: #8e847d;
  content: "◆";
  font-size: 11px;
}

.bottom-tabs button[data-tab-target="homePage"]::before {
  content: "⌂";
  font-size: 17px;
}

.bottom-tabs button[data-tab-target="pointsPage"]::before {
  content: "◇";
  font-size: 16px;
}

.bottom-tabs button[data-tab-target="orderPage"]::before {
  content: "+";
  font-size: 19px;
  font-weight: 400;
}

.bottom-tabs button[data-tab-target="reservePage"]::before {
  content: "□";
  font-size: 15px;
}

.bottom-tabs button[data-tab-target="profilePage"]::before {
  content: "●";
  font-size: 11px;
}

.bottom-tabs button.active {
  border-color: rgba(223, 169, 77, 0.16);
  background:
    linear-gradient(135deg, rgba(165, 31, 43, 0.18), rgba(223, 169, 77, 0.04)),
    rgba(255, 255, 255, 0.015);
  color: #f0c978;
}

.bottom-tabs button.active::before {
  color: #f0c978;
  filter: drop-shadow(0 0 8px rgba(223, 169, 77, 0.28));
}

.customer-toast {
  border: 1px solid rgba(82, 216, 209, 0.34);
  border-radius: 7px;
  background: rgba(10, 18, 20, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.52), 0 0 24px rgba(82, 216, 209, 0.08);
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  body {
    background: #100e10;
  }

  .phone-preview {
    padding: 0;
  }

  .mobile-app {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .topbar {
    padding-inline: 14px;
  }

  .hero-card {
    min-height: 238px;
  }

  .hero-copy {
    min-height: 238px;
    padding: 24px 22px;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .points-card {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .points-card strong {
    font-size: 36px;
  }

  .quick-grid button {
    min-height: 78px;
  }
}

@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;
  }
}
