/* ── Landing page (index.html) ── */

html, body {
  min-height: 100%;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 0%, var(--bg-gradient-top) 0%, var(--bg-primary) 60%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#landing {
  min-height: 100dvh;
  max-width: 760px;
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 20px
           max(24px, calc(env(safe-area-inset-bottom) + 24px)) 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 5vh, 48px);
}

/* ── Hero ── */
.hero { text-align: center; }

.hero-ball {
  width: clamp(76px, 18vw, 104px);
  height: clamp(76px, 18vw, 104px);
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-lt), var(--ball-dark));
  box-shadow: 0 10px 40px rgba(124, 45, 18, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-ball:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 44px rgba(124, 45, 18, 0.6);
}
.hero-ball:active { transform: scale(0.98); }
.hero-letter { font-size: clamp(13px, 3vw, 16px); opacity: 0.85; }
.hero-number {
  font-size: clamp(30px, 8vw, 44px);
  -webkit-text-stroke: 3px rgba(0, 0, 0, 0.45);
  paint-order: stroke fill;
}

#landing h1 {
  font-size: clamp(2.4rem, 9vw, 4rem);
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
}
.tagline {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  letter-spacing: 1px;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: clamp(20px, 4vw, 30px) 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-cell), var(--bg-primary));
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  outline: none;
}
.card:active { transform: translateY(-1px); }

.card-icon { font-size: clamp(2rem, 7vw, 2.6rem); }
.card-title {
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 1px;
}
.card-desc {
  font-size: clamp(0.78rem, 2.6vw, 0.92rem);
  color: var(--text-muted);
  line-height: 1.35;
}

.foot {
  text-align: center;
  color: var(--text-muted);
  font-size: clamp(0.75rem, 2.6vw, 0.9rem);
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 16px;
    padding: 18px 20px;
  }
  .card-icon { font-size: 2rem; flex-shrink: 0; }
  .card-text-wrap { display: contents; }
}
/* Fourth support card using custom QR code */
.card-qr {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

@media (max-width: 560px) {
  .card-qr {
    width: 48px;
    height: 48px;
  }
}
