/* Bubble Burst site — colors taken from the game itself */

:root {
  --bg: #000000;
  --panel: #101010;
  --line: #2e2e2e;
  --text: #e6e6e6;
  --muted: #9b9b9b;
  --red: #ff1e15;
  --green: #2bcd3d;
  --yellow: #f7ca0e;
  --blue: #5273f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

header.site {
  text-align: center;
  padding: 48px 0 8px;
}

h1 {
  font-size: 2.4em;
  margin: 0.2em 0;
  letter-spacing: 1px;
}

.tagline {
  color: var(--muted);
  margin-top: 0;
}

/* the four token dots used as a brand mark */
.tokens {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
}

.tokens span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #000;
  display: inline-block;
}

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

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

.buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 0;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
}

.btn-play {
  background: var(--green);
  color: #000;
}

.btn-how {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn:hover {
  filter: brightness(1.15);
}

video, img {
  max-width: 100%;
  height: auto;
}

.demo {
  display: block;
  margin: 20px auto 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}

section {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

h2 {
  font-size: 1.3em;
  margin-top: 0;
}

h2 .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.figures {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 14px 0;
}

.figures figure {
  margin: 0;
  text-align: center;
}

.figures img {
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 320px;
  width: 100%;
}

.figures figcaption {
  color: var(--muted);
  font-size: 0.85em;
  padding-top: 6px;
}

.objective {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
}

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.85em;
  padding: 24px 0 8px;
}

footer.site a {
  color: var(--muted);
}
