* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff8df;
  background:
    radial-gradient(circle at top left, rgba(255, 204, 77, 0.28), transparent 28%),
    radial-gradient(circle at bottom right, rgba(0, 255, 204, 0.18), transparent 30%),
    linear-gradient(135deg, #160715 0%, #241018 48%, #071a1f 100%);
  overflow-x: hidden;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hero-card {
  width: min(94vw, 480px);
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 214, 93, 0.32);
  border-radius: 30px;
  background: rgba(12, 12, 20, 0.78);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    inset 0 0 60px rgba(255, 206, 73, 0.08);
  backdrop-filter: blur(16px);
}

.top-badge {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #1b0a00;
  background: linear-gradient(135deg, #ffe27a, #ff9f1a);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff355e, #ffd35a);
  color: #2b0500;
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(255, 75, 80, 0.35);
}

.eyebrow {
  margin: 0 0 4px;
  color: #ffde74;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 0.96;
  letter-spacing: -1.3px;
}

.subtitle {
  margin: 18px 0 20px;
  color: rgba(255, 248, 223, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

.tile-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  color: #ffe18a;
  font-size: 30px;
  font-weight: 900;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.tile.active {
  transform: scale(1.08) rotate(4deg);
  background: linear-gradient(135deg, #fff2a3, #ff3568);
  color: #25050b;
}

.status-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 223, 0.86);
  font-size: 14px;
}

.status-panel strong {
  color: #ffdc65;
  font-size: 16px;
}

.button-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.btn {
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.6px;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  color: #2a0600;
  background: linear-gradient(135deg, #fff172, #ff9c16 45%, #ff365f);
  box-shadow: 0 14px 34px rgba(255, 149, 32, 0.35);
}

.btn-secondary {
  color: #fff8df;
  background: linear-gradient(135deg, #0bc2bb, #1665ff);
  box-shadow: 0 14px 34px rgba(0, 166, 255, 0.28);
}

.btn.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

@media (max-width: 430px) {
  .hero-card {
    padding: 20px;
    border-radius: 24px;
  }

  .brand-row {
    align-items: flex-start;
  }

  .logo-mark {
    width: 62px;
    height: 62px;
    font-size: 34px;
  }

  .button-grid {
    grid-template-columns: 1fr;
  }
}
