/* Boss777 Play website. Gold + espresso palette carried over from the game. No inline styles anywhere (strict CSP). */
:root {
  --gold: #e89b00;
  --gold-light: #fbb833;
  --gold-dark: #a35f00;
  --deep: #78520d;
  --ink: #2d1e17;
  --ink-soft: #5b4636;
  --cream: #f9f7f4;
  --parchment: #dfcca1;
  --line: #e5e2de;
  --white: #fff;
  --radius: 18px;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Roboto, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--gold-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #ffe08a; box-shadow: 0 4px 0 #000; }
.btn-dark:hover { color: #fff3b0; box-shadow: 0 6px 0 #000; }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-gold { background: linear-gradient(180deg, #ffe9a0, #f5b316); color: var(--ink); box-shadow: 0 4px 0 var(--deep); }
.btn-gold:hover { color: var(--ink); box-shadow: 0 6px 0 var(--deep); }
.btn-lg { padding: 16px 34px; font-size: 20px; }
.btn .play-icon { width: 0; height: 0; border-left: 14px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--gold); box-shadow: 0 2px 0 rgba(45, 30, 23, .18); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: block; flex: none; }
.brand img { display: block; height: 30px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover { text-decoration: underline; }
.header-row .btn { padding: 9px 20px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(255, 236, 170, .55), transparent 60%),
    linear-gradient(180deg, var(--gold) 0%, #cf8500 100%);
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.eyebrow { margin: 0 0 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--ink); opacity: .8; }
.hero h1 { margin: 0 0 16px; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.05; font-style: italic; font-weight: 900; letter-spacing: -.01em; }
.hero h1 span { display: block; color: #fff; text-shadow: 0 3px 0 rgba(120, 82, 13, .55); }
.lead { margin: 0 0 26px; font-size: 19px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { padding: 6px 14px; border-radius: 999px; background: rgba(45, 30, 23, .88); color: #ffe08a; font-size: 14px; font-weight: 700; }

/* static slot-machine illustration */
.machine-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.machine {
  width: 100%; max-width: 440px; padding: 10px; border-radius: 22px;
  background: linear-gradient(180deg, #5a3f30, #2d1e17); border: 3px solid #ffd98a;
  box-shadow: 0 18px 40px rgba(45, 30, 23, .45); transform: rotate(-2deg);
}
.reels { display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #fffbf0, #f1e2bc); box-shadow: inset 0 0 14px rgba(45, 30, 23, .4); }
.cell { aspect-ratio: 1 / 1.1; padding: 9%; border-right: 1px solid rgba(120, 82, 13, .2); border-bottom: 1px solid rgba(120, 82, 13, .12); position: relative; }
.cell:nth-child(5n) { border-right: 0; }
.cell svg { display: block; width: 100%; height: 100%; }
.cell.win::before { content: ''; position: absolute; inset: 4%; border-radius: 14px; background: radial-gradient(circle, rgba(249, 168, 37, .6), transparent 72%); }
.cell.win svg { position: relative; filter: drop-shadow(0 0 6px rgba(255, 190, 40, .95)); }
.winbadge { padding: 8px 22px; border-radius: 999px; font-weight: 900; font-style: italic; letter-spacing: .06em; background: linear-gradient(180deg, #fff3b0, #f5b316); color: var(--ink); box-shadow: 0 4px 0 var(--deep); }
.caption { margin: 0; font-size: 13px; color: var(--ink); opacity: .8; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.section h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; font-style: italic; font-weight: 900; }
.section .sub { margin: 0 0 36px; max-width: 42em; color: var(--ink-soft); font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section.alt .card { background: var(--cream); }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p, .card address { margin: 0; color: var(--ink-soft); font-size: 16px; font-style: normal; }
.card .ico { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #ffe9a0, #f5b316); color: var(--ink); font-weight: 900; font-size: 20px; box-shadow: 0 3px 0 var(--deep); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #ffe08a; font-weight: 900; font-size: 18px; }
.steps h3 { margin: 6px 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.notice { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 28px; border-radius: var(--radius); background: var(--ink); color: #f6ead0; }
.notice .age { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ffe9a0, #f5b316); color: var(--ink); font-weight: 900; font-size: 24px; box-shadow: 0 4px 0 var(--deep); }
.notice h2 { color: #ffe08a; font-size: 26px; margin-bottom: 8px; }
.notice ul { margin: 0; padding-left: 20px; }
.notice li { margin-bottom: 6px; }
.notice a { color: #ffe08a; }

.cta-band { text-align: center; padding: 64px 0; background: linear-gradient(180deg, var(--gold) 0%, #cf8500 100%); }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); font-style: italic; font-weight: 900; }
.cta-band p { margin: 0 0 24px; font-size: 18px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Legal pages ---------- */
.legal-hero { background: linear-gradient(180deg, var(--gold) 0%, #d68d00 100%); padding: 44px 0 40px; }
.legal-hero h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 46px); font-style: italic; font-weight: 900; line-height: 1.1; }
.legal-hero p { margin: 0; font-weight: 700; }
.legal { max-width: 800px; margin: 0 auto; padding: 40px 20px 72px; }
.legal h2 { margin: 40px 0 10px; font-size: 24px; line-height: 1.25; padding-top: 6px; }
.legal h3 { margin: 24px 0 6px; font-size: 18px; }
.legal p, .legal li { color: #3a2a20; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .key { border: 2px solid var(--gold); background: #fff8e6; border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.legal .key h2 { margin-top: 0; font-size: 20px; }
.legal .key ul { margin-bottom: 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin: 24px 0; }
.toc h2 { margin: 0 0 8px; font-size: 18px; }
.toc ol { margin: 0; columns: 2; column-gap: 32px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.legal dl { margin: 0; }
.legal dt { font-weight: 800; margin-top: 12px; }
.legal dd { margin: 2px 0 0; color: #3a2a20; }
.legal address { font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.legal .todo { background: #fff3cd; border-left: 4px solid var(--gold-dark); padding: 10px 14px; border-radius: 6px; }
.notfound { text-align: center; padding: 96px 20px; }
.notfound h1 { font-size: 48px; margin: 0 0 8px; font-style: italic; font-weight: 900; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #eadcc0; padding: 48px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.2fr; gap: 36px; }
.footer-logo { display: block; height: 30px; width: auto; margin-bottom: 14px; }
.footer-note { margin: 0; max-width: 30em; color: #cdb98c; font-size: 14px; }
.site-footer h2 { margin: 0 0 10px; font-size: 15px; color: #ffe08a; letter-spacing: .04em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.site-footer a { color: #ffe08a; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.55; }
.footer-contact { margin: 12px 0 0; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 224, 138, .2); }
.footer-bottom p { margin: 0; font-size: 13px; color: #b9a67d; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .machine { max-width: 360px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps li { margin-top: 12px; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .toc ol { columns: 1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .header-row { justify-content: space-between; }
  .brand img { height: 26px; }
  .hero { padding: 32px 0 48px; }
  .section { padding: 52px 0; }
  .notice { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
@media print {
  .site-header, .site-footer, .cta-band { display: none; }
  body { background: #fff; }
}

/* ---------- Age bar, screenshots, help cards, FAQ (added for Google Ads social-casino review) ---------- */
.agebar { background: var(--ink); color: #f6ead0; font-size: 14px; line-height: 1.4; text-align: center; padding: 8px 0; }
.agebar strong { color: #ffe08a; }
.agebar a { color: #ffe08a; font-weight: 700; white-space: nowrap; }
.agebar a:hover { color: #fff; }

.center { text-align: center; }
.shots { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 22px; border: 3px solid var(--ink); box-shadow: 0 12px 28px rgba(45, 30, 23, .28); background: var(--gold); }
.shots figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }

.helpcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 24px; }
.helpcard { background: #fff8e6; border: 2px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; }
.section.alt .helpcard { background: var(--cream); }
.helpcard h3 { margin: 0 0 4px; font-size: 19px; }
.helpcard p { margin: 0 0 8px; font-size: 15px; color: var(--ink-soft); }
.helpcard .helpnum { font-size: 30px; font-weight: 900; line-height: 1.2; color: var(--ink); }
.helpcard .helpnum a { color: var(--ink); text-decoration: none; }
.helpcard .helpnum a:hover { text-decoration: underline; }
.legal .helpcards { grid-template-columns: 1fr 1fr; }
.legal .note { font-size: 14px; color: var(--ink-soft); }

.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.footer-help { margin: 12px 0 0; max-width: 30em; color: #eadcc0; font-size: 14px; }
.footer-help strong { color: #ffe08a; }

@media (max-width: 900px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .helpcards, .legal .helpcards, .faq { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shots { gap: 14px; }
  .agebar { font-size: 13px; }
}
