:root {
  --ink: #102745;
  --muted: #355073;
  --soft: #5f7495;
  --paper: #f4f8fd;
  --card: #ffffff;
  --accent: #0f5bd8;
  --accent-2: #f4b000;
  --cta-red: #c6182d;
  --line: #d6e2f3;
  --max: 1180px;
  --radius: 1rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffda32 0%, #fff2a0 24%, #ffffff 47%, #ffffff 55%, #b9d7fb 73%, #4d8fe5 100%);
  font: 16px/1.7 "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.16em; }

a:focus-visible, button:focus-visible, details:focus-visible {
  outline: 3px solid #1e1b2a;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #ffffff;
  border-radius: 0.6rem;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  backdrop-filter: blur(14px);
  background: rgba(243, 248, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  gap: 0.3rem;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--ink);
}

.brand span { color: var(--accent); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

nav a:hover { background: var(--card); color: var(--accent); }

nav a.nav-demo-btn, nav a.nav-real-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.4rem 0.95rem;
  font-weight: 900;
}

nav a.nav-demo-btn {
  background: var(--accent);
  color: #ffffff;
}

nav a.nav-demo-btn:hover { background: #0c4bb8; color: #ffffff; }

nav a.nav-real-btn {
  background: var(--cta-red);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(198, 24, 45, 0.32);
}

nav a.nav-real-btn:hover { background: #a81227; color: #ffffff; }

.hero {
  padding: 5.6rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.kicker {
  margin: 0 0 0.6rem;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: #102745;
}

p { margin: 0 0 1rem; color: var(--muted); }

.content-note {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent-2);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0.7rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.hero-card {
  position: sticky;
  top: 88px;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(15,91,216,0.1);
}

.hero-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  color: #102745;
}

ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }

li { margin: 0.4rem 0; color: var(--muted); }

.hero-card ul { margin-bottom: 0; }

.demo-slot, .content-block {
  padding: 0 0 4rem;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 3.1vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #102745;
}

h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.1rem;
  line-height: 1.28;
  color: #173f7a;
}

.content-block { border-top: 1px solid rgba(214, 226, 243, 0.9); }

#autor p, #faq p { color: var(--ink); }
#autor a { color: #0a2554; }
#faq h3 { color: var(--ink); }

.widget-placeholder {
  background: var(--card);
  border: 1px dashed var(--accent);
  border-radius: 1.1rem;
  padding: 1.4rem;
  margin: 1.2rem 0;
  overflow: auto;
}

.widget-placeholder p { color: var(--ink); margin-bottom: 0.85rem; }

.widget-code {
  margin: 0;
  padding: 0.9rem;
  overflow: auto;
  border-radius: 0.7rem;
  background: #0c2f66;
  color: #eaf2ff;
  font-size: 0.82rem;
  line-height: 1.5;
}

.small-note {
  font-size: 0.88rem;
  color: var(--soft);
  background: rgba(255,255,255,0.5);
  border-radius: 0.7rem;
  padding: 0.85rem 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15,91,216,0.08);
}

.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 624 / 1100;
  object-fit: cover;
  display: block;
  background: #ddd;
}

figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--soft);
  background: #f1f6fe;
}

.sources-list {
  margin: 0;
  padding-left: 1.15rem;
}

.sources-list li { margin: 0.35rem 0; }

.site-footer {
  margin-top: 1rem;
  padding: 3rem 0 4.5rem;
  background: linear-gradient(180deg, #0c3f8f, #07183f);
  color: #d9e8ff;
}

.footer-row {
  display: grid;
  gap: 0.8rem;
}

.site-footer p { color: #cfe0ff; margin: 0.3rem 0; }

.site-footer a { color: #ffd23f; font-weight: 800; }

.demo-widget-wrap {
  min-height: 260px;
  padding: 1rem;
  margin: 1.2rem 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: 0 10px 28px rgba(15,91,216,0.08);
  overflow: hidden;
}

.demo-notice {
  margin: 1rem 0;
  padding: 0.9rem 1.1rem;
  background: #fff8df;
  border: 1px solid #f1d26a;
  border-radius: 0.85rem;
  color: var(--ink);
}

.real-money-block { display: grid; gap: 0.75rem; }

/* ---- Pill buttons (style per owner reference: white rounded button, bold dark text) ---- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 1rem 2.5rem;
  border: 0;
  border-radius: 1.2rem;
  background: #ffffff;
  color: #13203a;
  font: inherit;
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(7, 24, 63, 0.26);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.pill-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(7, 24, 63, 0.32); }
.pill-btn:active { transform: translateY(0); filter: brightness(0.97); }

.pill-btn--yellow {
  background: var(--accent-2);
  color: #13203a;
  box-shadow: 0 14px 30px rgba(244, 176, 0, 0.35);
}

.pill-btn--yellow:hover { box-shadow: 0 18px 36px rgba(244, 176, 0, 0.42); }

/* Red variant for the real-money CTA (owner decision: demo = yellow, real money = red) */
.pill-btn--red {
  background: var(--cta-red);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(198, 24, 45, 0.34);
}

.pill-btn--red:hover { box-shadow: 0 18px 36px rgba(198, 24, 45, 0.44); }

/* ---- Bonus banner (layout per owner reference) ---- */
.bonus-banner-wrap { padding-top: 4.4rem; }

.bonus-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 4.2rem 1.5rem 1.9rem;
  border-radius: 1.75rem;
  border: 2px solid rgba(255, 210, 63, 0.5);
  background: linear-gradient(165deg, #1565d8 0%, #0f4eb8 55%, #0a2f7a 100%);
  box-shadow: 0 26px 54px rgba(10, 47, 122, 0.38);
}

.bonus-banner__gift {
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  width: 124px;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(7, 24, 63, 0.4));
}

.bonus-banner__title {
  margin: 0;
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.bonus-banner__cta {
  width: min(100%, 560px);
  min-height: 86px;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  padding: 0.9rem 1.35rem;
  background: #ffda32;
  color: #082f75;
  box-shadow: 0 14px 30px rgba(255, 218, 50, 0.4);
}

.bonus-banner__cta:hover { background: #ffe35f; color: #082f75; }

.bonus-banner__cta-label {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 900;
}

.bonus-banner__code {
  font-size: clamp(2.1rem, 4.5vw, 2.7rem);
  font-weight: 900;
  line-height: 1.1;
  color: #082f75;
}

@media (max-width: 920px) {
  .bonus-banner { padding: 3.6rem 1.1rem 1.5rem; }
  .bonus-banner__gift { width: 104px; top: -44px; }
  .bonus-banner__cta { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { position: static; max-width: 100%; }
  .header-row { min-height: 64px; flex-direction: column; align-items: flex-start; padding: 0.8rem 0; }
  nav { gap: 0.35rem 0.65rem; }
}

@media (max-width: 760px) {
  .container { width: min(100%, calc(100% - 28px)); }
  .gallery { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  nav a { padding: 0.3rem 0.48rem; font-size: 0.82rem; }
  h1 { font-size: clamp(2.1rem, 9vw, 3.4rem); }
}


/* Compact game preview with a vertical action on each side. */
#demo { padding-bottom: 1.25rem; }
#jogar-com-dinheiro-real { padding-top: 1.5rem; }

.demo-actions {
  display: grid;
  grid-template-columns: clamp(44px, 7vw, 72px) minmax(0, 1fr) clamp(44px, 7vw, 72px);
  align-items: stretch;
  gap: clamp(8px, 1.4vw, 16px);
  width: min(100%, 620px);
  margin: 1rem auto 0;
}

.demo-stage {
  position: relative;
  width: min(100%, 38dvh, 380px);
  aspect-ratio: 624 / 1100;
  margin-inline: auto;
  background: #0b1220;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 91, 216, 0.14);
}

.demo-poster {
  position: absolute;
  inset: 0;
  margin: 0;
}

.demo-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b1220;
}

.demo-close {
  position: absolute;
  z-index: 2;
  top: 0.45rem;
  right: 0.45rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #c6182d;
  color: #ffffff;
  font: 700 1.6rem/1 Arial, sans-serif;
  cursor: pointer;
}

.demo-frame[hidden], .demo-poster[hidden], .demo-close[hidden] { display: none; }

.demo-actions .demo-launch-button,
.demo-actions .real-money-cta {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0.6rem 0.3rem;
  border-radius: 1rem;
  font-size: clamp(0.68rem, 1.15vw, 0.9rem);
  line-height: 1;
  letter-spacing: 0.01em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

@media (max-width: 420px) {
  .demo-actions { gap: 7px; }
  .demo-actions .demo-launch-button,
  .demo-actions .real-money-cta { font-size: 0.64rem; padding: 0.35rem 0.15rem; }
}
