/* Rummy Home — simple white content site */
:root {
  --green: #1b5e3a;
  --green-dark: #14472c;
  --green-light: #e8f5ee;
  --text: #222;
  --muted: #555;
  --border: #ddd;
  --bg: #fff;
  --bg-soft: #f7f7f7;
  --link: #0b5fff;
  --max: 960px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
.container { width: min(var(--max), 94%); margin: 0 auto; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
}
.logo img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--green); text-decoration: none; }
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  line-height: 1.3;
}
.btn:hover { text-decoration: none; filter: brightness(0.95); }
.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline {
  background: #fff;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green-light); color: var(--green-dark); }
.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: var(--green);
  color: #fff;
  padding: 2rem 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.hero p {
  color: #e7f3ec;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.hero .btn-gold {
  background: #f5c518;
  color: #222;
}
.hero .btn-gold:hover { background: #e0b400; color: #222; }
.hero-note { font-size: 0.9rem; color: #cfe5d8; }
.hero-visual img {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* Sections */
section { padding: 2.25rem 0; }
.section-title {
  font-size: 1.45rem;
  color: var(--green-dark);
  margin-bottom: 0.85rem;
  font-weight: 700;
  border-bottom: 2px solid var(--green-light);
  padding-bottom: 0.4rem;
}
.lead { color: var(--muted); margin-bottom: 1rem; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  background: var(--bg-soft);
}
.box h3 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}
.box p, .box li { font-size: 0.95rem; color: var(--muted); }
.box img { border-radius: 6px; margin-bottom: 0.75rem; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
table.specs {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}
table.specs th, table.specs td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
table.specs th {
  width: 32%;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
}
table.specs tr:last-child th,
table.specs tr:last-child td { border-bottom: none; }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step) ".";
  font-weight: 700;
  color: var(--green);
}
.steps strong { display: block; color: var(--text); margin-bottom: 0.15rem; }
.steps span { color: var(--muted); font-size: 0.95rem; }

/* Games */
.games-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}
.games-list li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.92rem;
  color: var(--text);
  background: #fff;
  margin: 0;
}

/* CTA band */
.cta-band {
  background: var(--green-light);
  border: 1px solid #c5e0d0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cta-band h3 { color: var(--green-dark); font-size: 1.2rem; margin-bottom: 0.25rem; }
.cta-band p { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border); background: #fff; }
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--green-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p {
  padding: 0 1rem 0.95rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Pros cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pros-cons ul { margin-top: 0.5rem; color: var(--muted); font-size: 0.95rem; }

/* Images strip */
.img-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.img-strip img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 1.75rem 0 1.25rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.footer-grid h4 { color: var(--text); margin-bottom: 0.5rem; font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--green); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.disclaimer { margin-top: 0.75rem; font-size: 0.8rem; color: #777; }

/* Sticky mobile download */
.sticky-dl {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
}
.sticky-dl .btn { width: 100%; text-align: center; }

/* Responsive */
@media (max-width: 800px) {
  .hero-grid, .two-col, .pros-cons, .footer-grid { grid-template-columns: 1fr; }
  .three-col, .img-strip { grid-template-columns: 1fr; }
  .hero-visual img { margin: 0 auto; max-width: 280px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 3%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header-inner { position: relative; }
  .sticky-dl { display: block; }
  body { padding-bottom: 64px; }
  section { padding: 1.75rem 0; }
}
