/* Static Site Factory v3 — shared stylesheet for all 4 templates (byte-identical copies).
   Layout, spacing, responsive rules, buttons/glow, cards and footer follow the Golden Masters:
     slot           https://na8-am95x.pages.dev/
     lottery        https://lottery-history-am95.netlify.app/
     football(+tips) https://ufa-base-scr4.netlify.app/
   Colours come from the per-site palette block in index.html (--bg, --surface, --surface2, --accent, --accent2, ...). */
:root {
  color-scheme: dark;
  --bg: #200A12;
  --bg2: #200A12;
  --surface: #331020;
  --surface2: #451527;
  --border: #642238;
  --text: #FFF0F4;
  --muted: #DDB2C0;
  --accent: #FB7185;
  --accent2: #FDA4AF;
  --on-accent: #200A12;
  --glow: rgba(251, 113, 133, .28);
  font-family: Tahoma, "Leelawadee UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 15px;
  background: var(--bg);
}
.page { width: min(100%, 370px); text-align: center; }
.header { padding: 0 10px 16px; }
.wordmark, .footer-brand {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  overflow-wrap: anywhere;
  margin: 0;
}
.wordmark {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -.6px;
  font-style: italic;
  color: var(--accent);
  -webkit-text-stroke: 1.2px var(--accent2);
  paint-order: stroke fill;
  text-shadow: 0 2px 0 var(--surface2), 0 4px 0 var(--bg), 0 6px 12px var(--bg);
}

/* Search line under the wordmark (Golden Master markup + typing.js: clip-path reveal/erase, absolute cursor). */
.typing {
  position: relative;
  margin: 0 0 18px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: .4em;
  row-gap: 2px;
}
.search-prefix { flex: none; white-space: nowrap; }
.typing-keyword { position: relative; display: inline-block; min-width: 0; max-width: 100%; }
.typing-text { display: block; overflow-wrap: anywhere; color: var(--accent); }
.typing-cursor { display: none; position: absolute; color: var(--accent); pointer-events: none; line-height: 1; }
.typing-keyword[data-enhanced] .typing-cursor { display: block; animation: cursor-blink 1s step-end infinite; }
@keyframes cursor-blink { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } }
.master-promo { margin: 0; width: 100%; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .typing-text { clip-path: none !important; }
  .typing-keyword[data-enhanced] .typing-cursor { display: none; animation: none; }
}
.actions { display: grid; gap: 10px; margin-top: 12px; }
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.button-primary { position: relative; isolation: isolate; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.button-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 12px var(--accent), 0 0 25px var(--accent);
  opacity: .2;
  animation: signup-glow 2.4s ease-in-out infinite;
}
@keyframes signup-glow { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .button-primary::before { animation: none; opacity: .35; } }
.button-secondary { background: var(--surface); color: var(--accent); border-color: var(--accent); }
.button-tertiary { background: var(--surface2); color: var(--accent2); border-color: var(--accent2); }
.button-primary:hover { background: var(--accent2); border-color: var(--accent2); }
.button-secondary:hover { background: var(--surface2); }
.button-tertiary:hover { background: var(--surface); }
.button:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.footer { margin-top: 20px; color: var(--muted); }
.footer-brand { color: var(--text); font-size: 14px; line-height: 1.5; letter-spacing: .5px; }
.copyright { margin: 5px 0 0; font-size: 12px; line-height: 1.7; }
@media (max-width: 374px) {
  .wordmark { font-size: 30px; }
}
@media (max-height: 700px) {
  body { padding-block: 20px; }
  .header { padding-bottom: 16px; }
}

/* --- slot promo card --- */
.promo-card { min-height: 370px; padding: 25px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; justify-content: center; gap: 17px; }
.promo-title { margin: 0; font-size: 23px; line-height: 1.5; }
.offers { display: grid; gap: 10px; }
.offer { padding: 15px 9px; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; font-size: 19px; line-height: 1.5; }
.offer strong { color: var(--accent); font-size: 26px; white-space: nowrap; }
@media (max-width: 374px) {
  .promo-card { min-height: 340px; padding: 22px 15px; }
  .offer { font-size: 17px; }
  .offer strong { font-size: 23px; }
}

/* --- football / football_tips card --- */
.football-card { justify-content: center; align-items: stretch; gap: 14px; }
.football-brand {
  align-self: center;
  margin: 0;
  padding: 4px 16px 4px 19px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .3em;
  line-height: 1.6;
}
.football-card .promo-title { font-size: 20px; text-wrap: balance; overflow-wrap: anywhere; }
.football-subtitle { margin: -4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.football-offer {
  display: grid;
  gap: 8px;
  padding: 18px 12px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.football-offer-text { margin: 0; color: var(--text); font-size: 17px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.football-offer-amount {
  margin: 0;
  color: var(--accent);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  text-shadow: 0 0 14px var(--accent);
  overflow-wrap: anywhere;
}
@media (max-width: 374px) {
  .football-card { min-height: 340px; padding: 22px 15px; }
  .football-card .promo-title { font-size: 18px; }
  .football-offer-text { font-size: 16px; }
  .football-offer-amount { font-size: 27px; }
}

/* --- lottery card --- */
.lottery-card { justify-content: center; gap: 20px; }
.lottery-features { display: grid; gap: 14px; }
.lottery-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.lottery-feature-icon { color: var(--accent); font-size: 14px; flex: none; }
@media (max-width: 374px) {
  .lottery-card { min-height: 340px; padding: 22px 15px; }
  .lottery-feature { font-size: 17px; padding: 17px 10px; }
}
