/* Gilded Reel — educational slot-machine mechanics site
   Palette: parchment ground, walnut ink, brass + garnet + felt accents */

:root {
  --parchment: #F3E9D2;
  --parchment-dim: #E9DCBB;
  --ink: #241812;
  --charcoal: #34261C;
  --brass: #C9A24B;
  --brass-dark: #8C6B23;
  --garnet: #7A2331;
  --garnet-dark: #591620;
  --felt: #1F4B3F;
  --felt-dark: #143530;
  --cream-card: #FBF5E6;
  --rule: rgba(36, 24, 18, 0.18);
  --max: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--charcoal);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--garnet); }

.stat, .num {
  font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

header.site {
  border-bottom: 3px solid var(--ink);
  background: var(--parchment);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.2rem;
}

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem; letter-spacing: 0.01em; }

nav.primary { display: flex; gap: 1.9rem; }
nav.primary a { text-decoration: none; color: var(--charcoal); font-size: 0.95rem; padding-bottom: 4px; border-bottom: 2px solid transparent; }
nav.primary a:hover, nav.primary a[aria-current="page"] { border-bottom-color: var(--garnet); color: var(--ink); }

.lang-pill { font-size: 0.78rem; border: 1px solid var(--rule); border-radius: 999px; padding: 0.25rem 0.7rem; color: var(--charcoal); text-decoration: none; white-space: nowrap; }
.lang-pill:hover { border-color: var(--brass-dark); }

.hero { padding: 3.2rem 0 3.6rem; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.eyebrow { color: var(--garnet-dark); font-family: 'Fraunces', serif; font-style: italic; font-size: 1.05rem; margin-bottom: 0.6rem; }
.hero-actions { display: flex; gap: 0.9rem; margin-top: 1.6rem; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; padding: 0.75rem 1.35rem; border-radius: 3px; font-size: 0.98rem; font-weight: 600; border: 1.5px solid var(--ink); }
.btn-primary { background: var(--garnet); color: var(--cream-card); border-color: var(--garnet-dark); }
.btn-primary:hover { background: var(--garnet-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--parchment); }

.hero-art { width: 100%; height: auto; }

.panel { position: relative; background: var(--cream-card); border: 1px solid var(--rule); padding: 1.7rem 1.8rem; }
.panel::before, .panel::after, .panel .rivet-br, .panel .rivet-bl {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass); box-shadow: inset 0 0 0 1px var(--brass-dark);
}
.panel::before { top: 10px; left: 10px; }
.panel::after { top: 10px; right: 10px; }
.panel .rivet-bl { bottom: 10px; left: 10px; }
.panel .rivet-br { bottom: 10px; right: 10px; }

section { padding: 3.4rem 0; }
section.tint { background: var(--parchment-dim); }
section.dark { background: var(--felt-dark); color: #EFE6D2; }
section.dark h2, section.dark h3 { color: var(--brass); }
section.dark a { color: var(--brass); }

.section-head { max-width: 42rem; margin-bottom: 2.2rem; }
.rule { border: none; border-top: 1px solid var(--rule); margin: 2.6rem 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.card { border: 1px solid var(--rule); background: var(--cream-card); padding: 1.3rem 1.4rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

.tag { display: inline-block; font-size: 0.72rem; color: var(--felt-dark); border: 1px solid var(--felt); border-radius: 999px; padding: 0.15rem 0.6rem; margin-bottom: 0.6rem; }

table.terms { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
table.terms th, table.terms td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.terms th { font-family: 'Fraunces', serif; font-weight: 600; width: 13rem; color: var(--ink); }

ol.steps, ul.plain { padding-left: 1.2rem; }
ol.steps li, ul.plain li { margin-bottom: 0.6rem; }

.callout { border-left: 3px solid var(--brass-dark); padding: 0.9rem 1.2rem; background: rgba(201, 162, 75, 0.12); font-size: 0.96rem; }

.faq-item { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.faq-item h3 { margin-bottom: 0.4rem; font-size: 1.08rem; }
.faq-item p { margin-bottom: 0; }

footer.site { border-top: 3px solid var(--ink); background: var(--ink); color: #C9BBA4; padding: 2.4rem 0 2rem; font-size: 0.9rem; }
footer.site a { color: var(--brass); }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.disclaimer { max-width: 40rem; opacity: 0.85; margin-top: 1rem; font-size: 0.82rem; }
.footer-nav { display: flex; gap: 1.2rem; }
.footer-nav a { text-decoration: none; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  nav.primary { display: none; }
}

/* Play now banner and responsive safeguards */
.play-now-btn{display:inline-flex;align-items:center;justify-content:center;margin:18px 0 22px;padding:13px 30px;min-height:48px;box-sizing:border-box;border-radius:8px;background:#ff9800;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:16px;line-height:1.2}.play-now-btn:hover{opacity:.9;transform:translateY(-1px)}img,svg{max-width:100%;height:auto}html,body{max-width:100%;overflow-x:hidden}@media(max-width:768px){.play-now-btn{width:100%;max-width:320px;min-height:52px;font-size:17px}.wrap{width:min(100% - 32px, var(--wrap, 1200px))}.primary{flex-wrap:wrap}table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}
