/* Dumbotron Games shared stylesheet
   Brand: dark navy #0d1530, yellow #ffc400, cream #f4ecd8.
   Bold, playful, slightly weird. */

:root {
  --navy: #0d1530;
  --navy-2: #141c3d;
  --yellow: #ffc400;
  --cream: #f4ecd8;
  --muted: #9aa3c0;
  --red: #ff5a5a;
  --green: #35d05a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Arial Black", "Trebuchet MS", sans-serif;
  color: var(--yellow);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: var(--yellow); }

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

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hazard stripe bars */
.tape {
  height: 18px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0 18px,
    var(--navy) 18px 36px
  );
  border-top: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
}

/* Header */
.site-header {
  padding: 28px 0 18px;
  text-align: center;
}

.brand-mark {
  display: inline-block;
  font-family: "Arial Black", sans-serif;
  font-size: clamp(28px, 6vw, 52px);
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-shadow: 3px 3px 0 #000;
}

.brand-mark small {
  display: block;
  font-size: clamp(12px, 2.4vw, 17px);
  letter-spacing: 0.35em;
  color: var(--cream);
  text-shadow: none;
  margin-top: 6px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 48px 0 56px;
}

.hero h1 {
  font-size: clamp(34px, 7vw, 64px);
  margin-bottom: 0.2em;
  text-shadow: 4px 4px 0 #000;
}

.hero .tagline {
  font-size: clamp(16px, 3vw, 22px);
  color: var(--cream);
  font-style: italic;
  margin: 0 0 1.2em;
}

.hero-art {
  width: min(420px, 86vw);
  margin: 0 auto 24px;
  border: 4px solid var(--yellow);
  box-shadow: 8px 8px 0 #000;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
}

.specs li {
  background: var(--navy-2);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-family: "Arial Black", sans-serif;
  font-size: 18px;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 #000;
  transition: transform 0.08s ease;
}

.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #000; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }

.btn-ghost {
  background: transparent;
  color: var(--yellow);
  border: 3px solid var(--yellow);
  box-shadow: none;
}

/* Sections */
section.block { padding: 48px 0; }

section.block h2 {
  font-size: clamp(24px, 5vw, 36px);
  text-shadow: 3px 3px 0 #000;
}

.alt { background: var(--navy-2); }

/* Featured game card (homepage) */
.game-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--navy-2);
  border: 3px solid var(--yellow);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 8px 8px 0 #000;
}

.game-card img {
  border: 3px solid var(--yellow);
  border-radius: 6px;
}

.game-card h3 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 0.3em; }
.game-card p { color: var(--cream); }
.game-card .fine { color: var(--muted); font-size: 14px; }

/* Component grid */
.components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.component {
  background: var(--navy-2);
  border: 2px solid #2a3560;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.component img {
  border-radius: 6px;
  margin-bottom: 10px;
}

.component h3 { font-size: 18px; margin-bottom: 0.2em; }
.component p { color: var(--muted); font-size: 14px; margin: 0; }

/* How to play steps */
.steps { counter-reset: step; padding: 0; list-style: none; }

.steps li {
  position: relative;
  background: var(--navy-2);
  border-left: 6px solid var(--yellow);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px 16px 64px;
  margin-bottom: 14px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 34px;
  height: 34px;
  background: var(--yellow);
  color: var(--navy);
  font-family: "Arial Black", sans-serif;
  font-size: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li strong { color: var(--yellow); }

/* Callout boxes */
.callout {
  border: 2px solid var(--yellow);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0;
  background: #141c3d;
}

.callout.danger { border-color: var(--red); background: #3d0d12; }
.callout.danger strong { color: var(--red); }

.callout.tip { border-color: var(--green); background: #0d2b16; }
.callout.tip strong { color: var(--green); }

/* Wild die faces */
.wildfaces {
  border: 3px solid var(--yellow);
  border-radius: 10px;
  margin: 18px auto;
  max-width: 640px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery figure {
  margin: 0;
  border: 3px solid #2a3560;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-2);
}

.gallery figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

/* Notify form */
.notify {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.notify form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.notify input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 8px;
  border: 3px solid var(--yellow);
  background: var(--navy);
  color: var(--cream);
}

.notify input[type="email"]::placeholder { color: var(--muted); }

.notify .note { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .brand-mark { font-size: 24px; margin-bottom: 8px; }
.site-footer p { margin: 6px 0; }

/* Responsive */
@media (max-width: 700px) {
  .game-card { grid-template-columns: 1fr; text-align: center; }
  .game-card img { max-width: 260px; margin: 0 auto; }
  .steps li { padding-left: 58px; }
  section.block { padding: 34px 0; }
}
