/* start.messagebet.co. Loaded after main.css (copied from the main site); tokens come from there. */

/* no mobile tab bar on the landing, so no room is reserved for it */
:root { --tabbar-h: 0px; }
@media (max-width: 760px) { :root { --tabbar-h: 0px; } }

/* <picture> wrappers from the build behave like the image they hold */
.page--start picture { display: contents; }

/* ---------- section 1: hero ---------- */

.sm-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 72px 0 88px; }
.sm-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(115deg, transparent 20%, #000 70%);
}
.sm-hero::after {
  content: ""; position: absolute; right: -12%; top: -30%; width: 60vw; height: 60vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(200, 240, 60, .16), rgba(200, 240, 60, 0) 62%);
}
.sm-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.sm-hero__title { font-size: clamp(44px, 6.6vw, 84px); line-height: .92; font-weight: 800; font-stretch: 68%; letter-spacing: -.015em; }
.sm-hero__title .hero__mark { display: block; }
.sm-hero__lead { margin-top: 22px; font-size: 19px; color: #cfd4da; max-width: 56ch; }
.sm-hero .btn--lg .icon { margin-left: 6px; }

.sm-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.sm-points__item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; color: #cfd4da; }
.sm-points__item .icon { flex: none; width: 20px; height: 20px; color: var(--lime); }

.sm-hero__visual { position: relative; display: flex; justify-content: center; }
.sm-phone { position: relative; width: 100%; max-width: 400px; padding: 12px; border-radius: 40px; background: var(--ink-3); box-shadow: 0 0 0 1px var(--ink-line), 0 40px 80px -30px rgba(0, 0, 0, .8); transform: rotate(2deg); }
.sm-phone .chat { max-width: none; }
.sm-badge {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 800; white-space: nowrap; box-shadow: var(--shadow-lg);
}
.sm-badge .icon { width: 18px; height: 18px; }
.sm-badge--wa { left: -6px; top: 18%; background: #fff; color: var(--ink); }
.sm-badge--ref { right: -6px; bottom: 10%; background: var(--lime); color: var(--ink); }

/* ---------- section 2: markets ---------- */

.sm-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sm-sport {
  display: flex; flex-direction: column; height: 100%; padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sm-sport:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.sm-sport__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--lime); display: grid; place-items: center; margin-bottom: 16px; }
.sm-sport__icon .icon { width: 24px; height: 24px; }
.sm-sport__name { font-size: 20px; font-weight: 800; font-stretch: 82%; line-height: 1.15; }
.sm-sport__markets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.sm-chip { padding: 4px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-soft); font-size: 12px; font-weight: 600; color: var(--muted); }
.sm-sport--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.sm-sport--dark:hover { border-color: var(--lime); }
.sm-sport--dark .sm-chip { background: var(--ink-3); border-color: var(--ink-line); color: var(--muted-light); }

.sm-casino {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center;
  margin-top: 24px; padding: 36px; border-radius: var(--r-xl); background: var(--ink); color: #fff; overflow: hidden;
}
.sm-casino__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.sm-casino__kicker .icon { width: 18px; height: 18px; }
.sm-casino__title { margin-top: 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; font-weight: 800; font-stretch: 72%; }
.sm-casino__text { margin-top: 12px; color: var(--muted-light); max-width: 48ch; }
.sm-casino__link { margin-top: 18px; color: #fff; }
.sm-covers { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sm-covers__item:nth-child(even) { transform: translateY(18px); }
.sm-covers__img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .8); }

/* ---------- section 3: getting started ---------- */

.sm-start .split { align-items: start; }
.sm-safe { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sm-safe__item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.sm-safe__item .icon { width: 18px; height: 18px; }
.sm-safe__note { margin-top: 12px; font-size: 14px; color: var(--muted); }

.sm-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 56px; padding: 32px 36px; border-radius: var(--r-xl); background: var(--lime);
}
.sm-cta__title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1; font-weight: 800; font-stretch: 72%; color: var(--ink); }
.sm-cta__text { margin-top: 8px; color: #2f3a12; max-width: 52ch; }
.sm-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .sm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-grid__item:nth-last-child(-n+2) { grid-column: span 1; }
}

@media (max-width: 1024px) {
  .sm-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sm-hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .sm-casino { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 760px) {
  .sm-hero { padding: 40px 0 56px; }
  .sm-hero__lead { font-size: 17px; }
  .sm-hero .hero__actions .btn { flex: 1 1 100%; }
  .sm-points { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sm-phone { transform: none; border-radius: 34px; padding: 10px; }
  .sm-badge { font-size: 13px; padding: 8px 12px; }
  .sm-badge--wa { left: 0; top: -14px; }
  .sm-badge--ref { right: 0; bottom: -14px; }
  .sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sm-sport { padding: 16px; }
  .sm-sport__name { font-size: 18px; }
  .sm-casino { padding: 24px 20px 36px; }
  .sm-covers { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .sm-covers__item:nth-child(even) { transform: translateY(10px); }
  .sm-covers__img { border-radius: 10px; }
  .sm-cta { margin-top: 40px; padding: 24px 20px; }
  .sm-cta__actions { width: 100%; }
  .sm-cta__actions .btn { flex: 1; }
}

@media (max-width: 420px) {
  .sm-grid { grid-template-columns: minmax(0, 1fr); }
  .sm-sport { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .sm-sport__icon { margin-bottom: 0; }
  .sm-sport__markets { width: 100%; padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-sport { transition: none; }
  .sm-sport:hover { transform: none; }
}
