/* The pages under /games/ that explain one way to play, written for people who
   arrive from a search. Same look as landing.html. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #0a0a0a; color: #eee; font-family: 'Inter', -apple-system, sans-serif; line-height: 1.6; }
h1, h2, h3 { font-family: 'Paytone One', sans-serif; letter-spacing: 0.5px; }
a { color: #E30613; }
strong { color: #fff; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* The game's red world map behind the top of the page, fading into the black. */
body { position: relative; }
body::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 760px;
  background: linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.7)), url('/public/landing-bg.jpg') center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent);
}

.top { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.top .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.top .brand img { width: 32px; height: 32px; border-radius: 8px; }
.top .brand span { font-family: 'Paytone One', sans-serif; letter-spacing: 2px; font-size: 14px; }
.top .play-link { color: #ddd; text-decoration: none; font-size: 13px; font-weight: 600; }
.top .play-link:hover { color: #fff; }

.intro { display: grid; grid-template-columns: 1fr 250px; gap: 56px; align-items: center; padding: 44px 0 64px; }
.intro h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; margin-bottom: 18px; }
.intro h1 .accent { color: #FFD400; }   /* red would sink into the red map */
.intro .lead { font-size: clamp(16px, 2vw, 19px); color: #e2e2e2; margin-bottom: 26px; max-width: 580px; }
.note { display: block; color: #c4c4c4; font-size: 13px; margin-top: 14px; }

.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.play-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #E30613; color: #fff; text-decoration: none;
  padding: 15px 30px; border-radius: 15px;
  font-family: 'Paytone One', sans-serif; letter-spacing: 1px; font-size: 16px;
  box-shadow: 0 10px 30px rgba(227,6,19,0.35); transition: transform 0.15s, box-shadow 0.15s;
}
.play-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(227,6,19,0.45); }
/* Apple's own badge, as supplied: their guidelines forbid recolouring it. */
.store-badge { display: inline-block; line-height: 0; transition: transform 0.15s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 54px; width: auto; }

.phone {
  background: #0a0a0a; border-radius: 34px; padding: 7px; width: 100%;
  box-shadow: 0 0 0 2px #1c1c1c, 0 25px 60px rgba(0,0,0,0.65), 0 8px 24px rgba(227,6,19,0.15);
  transform: rotate(2.5deg);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; }

section { padding: 44px 0; }
.label { color: #E30613; font-size: 12px; font-weight: 800; letter-spacing: 3px; margin-bottom: 10px; }
section h2 { font-size: clamp(25px, 3.6vw, 34px); line-height: 1.2; margin-bottom: 24px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #141414; border: 1px solid #1e1e1e; border-radius: 20px; padding: 26px; }
.step .num {
  display: inline-flex; width: 38px; height: 38px; border-radius: 50%;
  background: #E30613; color: #fff; font-family: 'Paytone One', sans-serif;
  font-size: 17px; align-items: center; justify-content: center; margin-bottom: 12px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: #aaa; font-size: 15px; }

.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.reasons h3 { font-size: 17px; margin-bottom: 6px; }
.reasons p { color: #bbb; font-size: 15px; }

.faq { max-width: 760px; }
.faq h3 { font-size: 17px; margin: 24px 0 6px; }
.faq h3:first-of-type { margin-top: 0; }
.faq p { color: #bbb; font-size: 15px; }

.end { background: #141414; border: 1px solid #1e1e1e; border-radius: 24px; padding: 40px; margin: 28px 0 50px; text-align: center; }
.end h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 8px; }
.end p { color: #bbb; margin-bottom: 22px; }
.end .ctas { justify-content: center; }
.end .also { margin: 22px 0 0; font-size: 14px; }

footer { border-top: 1px solid #1e1e1e; padding: 26px 0 34px; text-align: center; color: #555; font-size: 12px; }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 10px; }
footer .links a { color: #888; text-decoration: none; font-size: 12px; font-weight: 600; }
footer .links a:hover { color: #E30613; }

/* Under 860 px the phone goes below the buttons: Play has to be in the first view
   at about 390x660, what Safari on an iPhone shows with its bars. */
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: 40px; padding: 22px 0 44px; }
  .phone { max-width: 230px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; gap: 22px; }
  section { padding: 34px 0; }
  .end { padding: 30px 20px; }
}
