/* Boomber Man - shared site styles (home, about, privacy, contact; header/footer/ads on the guide).
   Design tokens and components come from guide.html. */
:root {
  --bg: #10142a; --panel: #1a2040; --panel2: #222a52; --line: #2f3a6e;
  --text: #eef1ff; --muted: #a9b2dc; --gold: #ffd23a; --red: #ff5a4a;
  --green: #4cc040; --blue: #4d8cff; --purple: #b680ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Fredoka", "Trebuchet MS", Verdana, sans-serif; font-size: 17px; line-height: 1.55;
  background-image: radial-gradient(circle at 20% 0%, #24306a 0, transparent 45%), radial-gradient(circle at 90% 30%, #2b1f55 0, transparent 40%);
  background-attachment: fixed;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px 40px; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
a { color: var(--gold); }
h1 { font-size: clamp(40px, 8vw, 68px); color: var(--gold); letter-spacing: 1px;
     text-shadow: 0 4px 0 #b4751a, 0 8px 18px rgba(0,0,0,.5); }
h2 { font-size: 30px; }

/* site header + nav */
.site-header { background: rgba(16,20,42,.92); border-bottom: 1px solid var(--line); }
.site-header .bar { max-width: 1040px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center;
                    justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { color: var(--gold); font-weight: 700; font-size: 22px; letter-spacing: 1px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand img { width: 28px; height: 28px; }
.site-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.site-nav a { color: var(--text); text-decoration: none; padding: 6px 14px; border-radius: 999px; background: var(--panel2);
              border: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--gold); color: var(--gold); }

/* buttons */
.play-btn { display: inline-block; margin-top: 22px; padding: 14px 34px; border-radius: 16px; background: var(--gold);
            color: #3a2400; font-weight: 700; font-size: 20px; text-decoration: none; box-shadow: 0 5px 0 #b4751a; transition: transform .1s; }
.play-btn:hover { transform: translateY(-2px); }
.play-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #b4751a; }
.btn2 { display: inline-block; margin-top: 22px; padding: 12px 26px; border-radius: 16px; background: var(--panel2); color: var(--text);
        border: 2px solid var(--line); font-weight: 600; font-size: 18px; text-decoration: none; }
.btn2:hover { border-color: var(--gold); color: var(--gold); }

/* hero */
.hero { text-align: center; padding: 44px 0 20px; }
.hero-art { display: block; margin: 0 auto 10px; max-width: 100%; }
.tagline { color: var(--muted); font-size: 20px; margin-top: 10px; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* sections and text */
.sec { padding-top: 44px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sec-num { width: 38px; height: 38px; border-radius: 12px; background: var(--gold); color: #3a2400; font-weight: 700;
           display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.prose p { color: var(--muted); margin-bottom: 14px; max-width: 760px; }
.prose p b, .prose li b { color: var(--text); }
.prose h2 { margin: 30px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { color: var(--muted); padding-left: 22px; margin: 0 0 14px; max-width: 760px; }
.prose li { margin-bottom: 6px; }
.page-title { padding: 40px 0 6px; }
.page-title h1 { font-size: clamp(34px, 7vw, 52px); }
.page-title p { color: var(--muted); margin-top: 8px; }

.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.card { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.card h3 { font-size: 20px; margin-bottom: 4px; }
.card p { color: var(--muted); }
.row { display: flex; gap: 14px; align-items: center; }
canvas.sp { flex: none; display: block; }
.sprites { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.sprites canvas { background: rgba(255,255,255,.05); border-radius: 14px; }
.titan-card { border-color: #b68a2a; background: linear-gradient(160deg, #2c2346, #3a2418); }
.titan-card .lvl { color: var(--gold); font-size: 13px; font-weight: 600; }
.titan-card canvas { background: radial-gradient(circle, rgba(255,210,58,.18), transparent 70%); border-radius: 18px; }
.bb-banner { border-radius: 14px; padding: 10px; text-align: center; font-weight: 700; font-size: 22px; letter-spacing: 2px; color: #fff;
             background: repeating-linear-gradient(-45deg, #d8261c 0 22px, #1a1a1a 22px 44px); box-shadow: inset 0 0 0 3px #ffd23a; }
.bb-banner span { background: #10142a; padding: 4px 14px; border-radius: 8px; }
.bush-box { background: linear-gradient(135deg, #1d4a2a, #1a2f40); border: 1px solid #2f7a44; border-radius: 22px; padding: 20px; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); margin: 0; }
.checks li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; color: var(--muted); margin: 0; }
.checks li::before { content: "✔ "; color: var(--green); font-weight: 700; }
.checks li b { color: var(--text); }
details.faq { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
details.faq p { color: var(--muted); margin-top: 8px; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; color: var(--muted); max-width: 760px; }
.cta { text-align: center; padding: 36px 0 8px; }

/* ad slots: hidden until ads.js fills them (no empty boxes) */
.ad-slot { display: none; margin: 44px auto; max-width: 728px; min-height: 110px; text-align: center; }
.ad-slot::before { content: "Advertisement"; display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
                   color: var(--muted); opacity: .75; margin-bottom: 4px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(10,13,30,.7); margin-top: 40px; padding: 28px 16px 36px; text-align: center; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-bottom: 14px; }
.site-footer a { color: var(--text); text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: var(--gold); }
.site-footer small { font-size: 14px; }

@media (max-width: 520px) { body { font-size: 16px; } h2 { font-size: 25px; } .hero { padding-top: 28px; } .brand { font-size: 19px; } }
