:root {
  color-scheme: dark;
  --bg: #07080d;
  --panel: #10131d;
  --panel-2: #171b28;
  --ink: #111827;
  --text: #ffffff;
  --muted: #aeb6c5;
  --red: #ff321f;
  --red-2: #ff6a1f;
  --blue: #1798d4;
  --gold: #ffd15b;
  --line: rgba(255, 255, 255, 0.12);
  --soft-card: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 6%, rgba(255, 50, 31, 0.18), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(23, 152, 212, 0.12), transparent 26%),
    linear-gradient(180deg, #eefbfc 0 430px, #071421 431px);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.site-shell {
  min-height: 100vh;
}

.scan-screen {
  display: grid;
  gap: 24px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 44px rgba(17, 32, 42, 0.12);
}

.brand-row img {
  display: block;
  width: min(220px, 52vw);
}

.nav-actions {
  display: flex;
  gap: 8px;
}

.nav-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  background: #eef3f8;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.nav-actions .nav-telegram {
  background: var(--blue);
  color: white;
}

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 420px;
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.scanner-card,
.phone-preview,
.content-card {
  border-radius: 30px;
  box-shadow: 0 22px 54px rgba(12, 29, 39, 0.16);
}

.scanner-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 50, 31, 0.08) 0 92px, transparent 94px),
    linear-gradient(145deg, #ffffff, #f7fbff 58%, #eff7fb);
  color: var(--ink);
}

.scanner-card::after {
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 152, 212, 0.1), transparent 62%);
  content: "";
}

.eyebrow-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink);
}

.eyebrow-row span {
  width: 5px;
  height: 28px;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 50, 31, 0.9);
}

.eyebrow-row strong {
  font-size: 13px;
  letter-spacing: 0;
}

.eyebrow-row small {
  margin-left: auto;
  color: #647084;
  font-weight: 800;
}

.scanner-card h1 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-subtitle {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 0 30px;
  color: #566171;
  font-size: 18px;
  line-height: 1.6;
}

.scan-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.input-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #f0f4f8;
  color: var(--red);
  font-weight: 1000;
}

.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #647084;
  font-size: 14px;
}

.terms-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.terms-row input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--red);
}

.terms-row a {
  color: var(--ink);
  font-weight: 900;
}

.scan-banner {
  display: block;
  width: min(400px, 100%);
  height: 100px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 18px;
  background: #05070c;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(255, 50, 31, 0.18), 0 12px 28px rgba(15, 23, 42, 0.18);
}

.scan-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(170px, 0.72fr);
  gap: 12px;
}

.register-row {
  display: flex;
  justify-content: center;
}

.form-note {
  margin: 0;
  color: #647084;
  font-size: 13px;
  font-weight: 800;
}

.register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 1000;
}

.register-button {
  min-width: 260px;
  border: 1px solid rgba(7, 95, 67, 0.18);
  background: linear-gradient(180deg, #19c37d, #08915f);
  color: white;
  font-size: 15px;
  box-shadow: 0 14px 28px rgba(8, 145, 95, 0.22);
}

.phone-preview {
  display: grid;
  gap: 16px;
}

.app-card,
.mini-result {
  border-radius: 28px;
  background: white;
  color: var(--ink);
  box-shadow: 0 22px 54px rgba(12, 29, 39, 0.14);
}

.app-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.app-card img {
  width: 68px;
  height: 68px;
  border-radius: 18px;
}

.app-card p,
.section-kicker,
.mini-result span {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.app-card h2,
.content-card h2 {
  margin: 0;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.05;
}

.app-card a {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 15px;
  background: #111827;
  color: white;
  font-weight: 1000;
}

.app-card a.telegram {
  background: var(--blue);
}

.mini-result {
  padding: 22px;
}

.mini-result strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.mini-result ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mini-result li {
  position: relative;
  padding-left: 22px;
  color: #566171;
  font-weight: 800;
}

.mini-result li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.daily-trends {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px;
  border-radius: 30px;
  background: white;
  color: var(--ink);
  box-shadow: 0 22px 54px rgba(12, 29, 39, 0.12);
}

.daily-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.daily-heading h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.daily-heading > span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: #edf3f7;
  color: #324155;
  font-size: 13px;
  font-weight: 900;
}

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

.daily-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e6edf4;
  border-radius: 18px;
  background: #f8fbfd;
}

.daily-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--red-2), var(--red));
  color: white;
  font-weight: 1000;
}

.daily-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.daily-card p {
  margin: 0;
  color: #647084;
  font-size: 13px;
  font-weight: 800;
}

.daily-card dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
}

.daily-card dl div {
  padding: 10px;
  border-radius: 12px;
  background: white;
}

.daily-card dt {
  margin-bottom: 4px;
  color: #7b8797;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-card dd {
  margin: 0;
  font-size: 14px;
  font-weight: 1000;
}

.daily-note {
  margin: 14px 0 0;
  color: #647084;
  font-size: 13px;
  font-weight: 800;
}

.home-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 24px;
}

.content-card {
  min-height: 220px;
  padding: 26px;
  background: white;
  color: var(--ink);
}

.content-card p:not(.section-kicker) {
  margin: 14px 0 0;
  color: #566171;
  font-size: 16px;
  line-height: 1.65;
}

.game-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.game-chips span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #edf3f7;
  color: #1e293b;
  font-size: 13px;
  font-weight: 900;
}

.loading-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 50, 31, 0.16), transparent 34%),
    #07080d;
  text-align: center;
}

.scan-loader {
  display: grid;
  gap: 18px;
  width: min(500px, 100%);
}

.loader-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.loader-brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.loader-brand p {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 12px;
  font-weight: 1000;
}

.loader-brand strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 23px;
}

.laser-grid {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 50, 31, 0.24);
  border-radius: 34px;
  background:
    linear-gradient(rgba(255, 50, 31, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 50, 31, 0.12) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 62%);
  background-size: 30px 30px, 30px 30px, auto;
}

.laser-grid::before,
.laser-grid::after {
  position: absolute;
  inset: 34px;
  border: 3px solid var(--red);
  border-radius: 26px;
  content: "";
  box-shadow: 0 0 36px rgba(255, 50, 31, 0.36);
}

.laser-grid::after {
  inset: 86px;
  border-style: dashed;
  opacity: 0.55;
  animation: spin 8s linear infinite;
}

.laser-grid > span {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 5px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 0 28px var(--red), 0 0 80px var(--red);
  animation: scanLine 1.25s ease-in-out infinite alternate;
}

.scan-target {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
}

.scan-target span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background: white;
  color: var(--red);
  box-shadow: 0 0 36px rgba(255, 50, 31, 0.32);
  font-size: 34px;
  font-weight: 1000;
}

.scan-target small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.loader-copy p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.progress-rail {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-rail i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold));
  animation: progressRun 1.6s ease-in-out infinite alternate;
}

.result-screen {
  width: min(100%, 540px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px 14px 86px;
  background: #07080b;
}

.result-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0 10px;
  background: linear-gradient(180deg, #07080b 70%, rgba(7, 8, 11, 0));
}

.back-button,
.top-home-button {
  display: grid;
  place-items: center;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.back-button {
  width: 42px;
  cursor: pointer;
  font-size: 28px;
}

.top-home-button {
  min-width: 72px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 900;
}

.result-header p {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 900;
}

.result-header h1 {
  margin: 0;
  font-size: 20px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 0 12px;
}

.summary-strip div {
  min-width: 0;
  padding: 12px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

.summary-strip span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-strip strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.return-note {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  padding: 13px 14px;
  border: 1px solid rgba(25, 195, 125, 0.22);
  border-radius: 18px;
  background: rgba(25, 195, 125, 0.11);
  color: white;
}

.return-note strong {
  font-size: 14px;
  line-height: 1.2;
}

.return-note span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.action-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.action-bar button {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-weight: 950;
}

.action-bar button + button {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.game-list {
  display: grid;
  gap: 16px;
}

.game-card {
  padding: 22px;
  border-radius: 26px;
  background: white;
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.game-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.game-title {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 12px;
}

.rank-mark {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 56px;
  font-weight: 1000;
  font-style: italic;
  line-height: 0.78;
}

.game-title h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  font-style: italic;
  line-height: 1.1;
}

.game-title p {
  margin: 5px 0 0;
  color: #717783;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-label {
  min-width: 62px;
  text-align: right;
}

.score-label strong {
  display: block;
  font-size: 18px;
  font-style: italic;
}

.score-label span {
  display: block;
  color: #f25a68;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.05;
}

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

.stat-grid div {
  min-height: 78px;
  padding: 13px;
  border: 1px solid #ffe1e3;
  border-radius: 16px;
  background: #fff6f6;
}

.stat-grid div:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
}

.stat-grid span {
  display: block;
  margin-bottom: 10px;
  color: #ff8391;
  font-size: 13px;
  font-weight: 950;
  font-style: italic;
}

.stat-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.3;
}

.stat-grid div:first-child span {
  margin-bottom: 0;
}

.stat-grid div.bet-split-card {
  display: block;
  min-height: auto;
}

.stat-grid div.bet-split-card > span {
  margin-bottom: 10px;
}

.bet-split-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bet-split-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
}

.bet-split-list li + li {
  border-top: 1px solid #ffe1e3;
}

.bet-split-list b {
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
}

.bet-split-list em {
  overflow: hidden;
  color: #6b7280;
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bet-split-list strong {
  font-size: 14px;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}

.guide-button {
  display: block;
  margin: 14px 0 0 auto;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.home-result-button {
  display: grid;
  place-items: center;
  min-height: 54px;
  margin: 8px 0 0;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--red-2), var(--red));
  color: white;
  cursor: pointer;
  font-weight: 1000;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 46px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.site-footer p {
  margin: 0;
  color: #b9c7d6;
  line-height: 1.55;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.site-footer a {
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ecf5ff;
  font-size: 14px;
  font-weight: 800;
}

.simple-page {
  display: grid;
  align-content: start;
  gap: 34px;
  min-height: 100vh;
  padding-bottom: 56px;
}

.simple-card {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(26px, 5vw, 44px);
  border-radius: 32px;
  background: white;
  color: var(--ink);
  box-shadow: 0 22px 54px rgba(12, 29, 39, 0.16);
}

.simple-card > img {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  margin-bottom: 18px;
}

.simple-card h1 {
  max-width: 560px;
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.98;
}

.simple-card p:not(.section-kicker) {
  max-width: 580px;
  color: #566171;
  font-size: 17px;
  line-height: 1.65;
}

.simple-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.simple-actions a {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 16px;
  background: #111827;
  color: white;
  font-weight: 1000;
}

.simple-actions .telegram {
  background: var(--blue);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.page-grid article,
.text-page,
.contact-list div {
  border-radius: 24px;
  background: white;
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(12, 29, 39, 0.1);
}

.page-grid article {
  padding: 22px;
}

.page-grid h2,
.text-page h2 {
  margin: 0 0 10px;
}

.page-grid p {
  margin: 0;
  color: #566171;
  line-height: 1.58;
}

.text-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(26px, 5vw, 48px);
}

.text-page h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.text-page h2 {
  margin-top: 28px;
}

.text-page p {
  color: #566171;
  font-size: 17px;
  line-height: 1.72;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.contact-list div {
  display: grid;
  gap: 10px;
  padding: 18px;
  box-shadow: none;
  background: #f3f7fb;
}

.contact-list a {
  color: var(--blue);
  font-weight: 900;
}

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

@keyframes scanLine {
  from {
    transform: translateY(56px);
  }
  to {
    transform: translateY(320px);
  }
}

@keyframes progressRun {
  from {
    transform: translateX(-8%);
  }
  to {
    transform: translateX(150%);
  }
}

@media (max-width: 920px) {
  body {
    background: linear-gradient(180deg, #e9fbfd 0 520px, #071421 521px);
  }

  .top-nav,
  .hero-wrap,
  .daily-trends,
  .home-content,
  .site-footer,
  .page-grid {
    width: min(100% - 28px, 540px);
  }

  .top-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-row {
    display: flex;
    justify-content: center;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-actions a {
    justify-content: center;
    padding: 0 8px;
  }

  .hero-wrap,
  .daily-card,
  .home-content,
  .site-footer,
  .page-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .scanner-card {
    min-height: auto;
  }

  .phone-preview {
    order: 2;
  }

  .home-content {
    order: 3;
  }

  .daily-card dl {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .scanner-card {
    padding: 24px 18px;
    border-radius: 26px;
  }

  .scanner-card h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .form-bottom,
  .button-row {
    grid-template-columns: 1fr;
  }

  .form-bottom {
    display: grid;
  }

  .button-row,
  .summary-strip,
  .stat-grid,
  .game-head,
  .daily-card dl {
    grid-template-columns: 1fr;
  }

  .scan-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 1;
    border-radius: 18px;
  }

  .register-button {
    width: 100%;
    min-width: 0;
  }

  .app-card {
    grid-template-columns: 64px 1fr;
  }

  .app-card img {
    width: 60px;
    height: 60px;
  }

  .score-label {
    text-align: left;
  }
}
