:root {
  --bg: #000;
  --card: #0f0f0f;
  --card-hover: #161616;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #8a8a8a;
  --red: #e4232b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  background: var(--bg) radial-gradient(90% 45% at 50% 0%, rgba(228, 35, 43, 0.12), transparent 70%) no-repeat;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  max-width: 440px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(32px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

/* Hero */
.hero { text-align: center; margin-bottom: 32px; }

.hero__logo {
  display: block;
  width: 68%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
}

.hero__intro {
  max-width: 320px;
  margin: 20px auto 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-wrap: balance;
}

/* Groups */
.group { display: flex; flex-direction: column; gap: 10px; }
.group + .group { margin-top: 28px; }

.group__label {
  padding-left: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Cards */
.card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.card:hover { background: var(--card-hover); }
.card:active { transform: scale(0.98); }
.card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.card__logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #1a1a1a;
  border-radius: 14px;
}
.card__logo { position: relative; }

.gbadge {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--card);
}
.gbadge svg { width: 13px; height: 13px; }

.stars { color: #fbbc05; letter-spacing: 1px; margin-right: 4px; }

.card__logo img { width: 34px; height: 34px; object-fit: contain; }

.card__logo--icon { background: rgba(228, 35, 43, 0.14); }
.card__logo--icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.card__sub { font-size: 0.85rem; color: var(--muted); }

.card__go {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.card__go svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card--loyalty { border-color: rgba(228, 35, 43, 0.35); }
.card--loyalty .card__go { background: var(--red); }

/* Footer */
.foot {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  font-size: 0.72rem;
  color: #555;
}

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
}
