/* ToyStorm landing page - pure static, no build step */

:root {
  --bg: #0c1026;
  --bg-2: #131a3a;
  --card: #1a2148;
  --card-2: #202a5c;
  --ink: #f2f4ff;
  --ink-dim: #aab2d8;
  --red: #ff5a4e;
  --yellow: #ffc93e;
  --green: #4fe87f;
  --blue: #53b9ff;
  --radius: 22px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  padding: 56px 20px 0;
  background:
    radial-gradient(1000px 520px at 50% -140px, #24306e 0%, rgba(36, 48, 110, 0) 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 60%);
  text-align: center;
  overflow: hidden;
}

/* candy-brick top edge */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 90px,
    var(--yellow) 90px 180px,
    var(--green) 180px 270px,
    var(--blue) 270px 360px
  );
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero-logo {
  width: 200px;
  height: auto;
  margin: 0 auto 18px;
  border-radius: 44px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.hero-title {
  font-size: clamp(3rem, 9vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.hero-title span { color: var(--yellow); }

.hero-hook {
  margin: 16px auto 30px;
  max-width: 560px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--ink-dim);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-play {
  background: linear-gradient(180deg, #ff7a5e 0%, var(--red) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 90, 78, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-play:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 90, 78, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.btn-soon {
  background: var(--card);
  color: var(--ink-dim);
  border: 2px dashed #3a4680;
  cursor: default;
  font-size: 1rem;
  padding: 14px 26px;
}

.hero-shot {
  max-width: 1060px;
  margin: 44px auto 0;
}

.hero-shot img {
  width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 4px solid var(--card-2);
  border-bottom: none;
  box-shadow: 0 -14px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- SECTIONS ---------- */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 20px 12px;
}

.section-title {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 900;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--ink-dim);
  margin: 8px 0 34px;
  font-size: 1.05rem;
}

/* ---------- CHARACTERS ---------- */

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.char-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  border-top: 6px solid var(--accent);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.char-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.char-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
}

.weapon-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--accent);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.char-blurb {
  color: var(--ink-dim);
  min-height: 3em;
}

.char-tool {
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}

.char-tool span {
  color: var(--ink-dim);
  font-weight: 400;
}

.wide-shot {
  margin-top: 34px;
  text-align: center;
}

.wide-shot img {
  border-radius: var(--radius);
  border: 4px solid var(--card-2);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}

.wide-shot figcaption {
  margin-top: 12px;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* ---------- MODES ---------- */

.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.mode-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.mode-card figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mode-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mode-body {
  padding: 20px 22px 24px;
}

.mode-body h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--yellow);
}

.mode-body p { color: var(--ink-dim); }

/* ---------- FEATURES ---------- */

.feature-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.feature-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid #2b3568;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.98rem;
}

.feat-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex: none;
}

.dot-red { background: var(--red); }
.dot-yellow { background: var(--yellow); }
.dot-green { background: var(--green); }
.dot-blue { background: var(--blue); }

.cta-again {
  text-align: center;
  margin: 44px 0 20px;
}

/* ---------- FOOTER ---------- */

.footer {
  margin-top: 60px;
  padding: 28px 20px 34px;
  border-top: 1px solid #232c58;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-dim);
}

.footer img { border-radius: 8px; }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .hero { padding-top: 44px; }
  .hero-logo { width: 160px; }
  .section { padding-top: 56px; }
}

@media (max-width: 480px) {
  .hero-logo { width: 130px; border-radius: 30px; }
  .btn { padding: 14px 26px; font-size: 1rem; }
  .btn-soon { font-size: 0.9rem; }
  .feature-strip li { width: 100%; justify-content: flex-start; }
}

/* AZ Studio footer mark - the keyed logo sits on the dark ground. */
.footer-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
