/* Rummy Gold — application website */
:root {
  --bg: #04170e;
  --bg2: #0a3320;
  --bg3: #146b3c;
  --panel: #0b2e1d;
  --line: rgba(247, 201, 72, .22);
  --gold: #f7c948;
  --gold-soft: #fff3c4;
  --gold-deep: #b97810;
  --gold-grad: linear-gradient(180deg, #fff6cf 0%, #f9d86a 35%, #e3a524 70%, #b97810 100%);
  --text: #eef8f2;
  --muted: #a9cdb8;
  --red: #fb7185;
  --radius: 18px;
  --wrap: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.serif { font-family: 'Cinzel', Georgia, serif; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(4, 23, 14, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.brand span { font-family: 'Cinzel', Georgia, serif; font-size: 19px; letter-spacing: .5px; white-space: nowrap; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--gold); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 0%, var(--bg3) 0%, var(--bg2) 45%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-icon {
  width: 220px; height: 220px; border-radius: 48px;
  box-shadow: 0 0 0 3px rgba(247, 201, 72, .6), 0 24px 60px rgba(0, 0, 0, .55), 0 0 80px rgba(247, 201, 72, .25);
}
.eyebrow { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.hero h1 {
  font-family: 'Cinzel', Georgia, serif; font-weight: 900; font-size: 56px; line-height: 1.05; margin: 8px 0 6px;
  background: linear-gradient(180deg, #fffbe6 0%, #ffe07a 35%, #f2b029 70%, #c47d0c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .by { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.hero .by b { color: var(--text); }
.hero p.lead { font-size: 18px; max-width: 560px; color: #d7ece0; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(0, 0, 0, .3); border: 1px solid var(--line); color: var(--gold-soft);
}
.badge.age { background: #b91c1c; border-color: #fca5a5; color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 14px;
  font-weight: 700; font-size: 15px; transition: transform .12s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold-grad); color: #4a2a00; box-shadow: 0 4px 0 #8a5a0b, 0 10px 24px rgba(247, 201, 72, .3); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, .04); }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
section.block:nth-of-type(even) { background: linear-gradient(180deg, rgba(10, 51, 32, .45), transparent); }
.sec-title { font-family: 'Cinzel', Georgia, serif; font-size: 32px; font-weight: 900; color: var(--gold-soft); margin-bottom: 8px; }
.sec-sub { color: var(--muted); margin-bottom: 36px; max-width: 680px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ic { font-size: 28px; margin-bottom: 8px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; color: var(--gold-soft); }
.feature p { font-size: 14px; color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 24px; overflow: hidden;
  background: repeating-linear-gradient(45deg, rgba(247, 201, 72, .06) 0 12px, transparent 12px 24px), var(--panel);
  border: 2px dashed rgba(247, 201, 72, .35);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot .ph { color: var(--muted); font-size: 13px; padding: 12px; }
.shot .ph b { display: block; color: var(--gold); font-size: 15px; margin-bottom: 4px; }
.shot.has-img { border: 1px solid var(--line); }

.info-table { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); vertical-align: top; font-size: 15px; }
.info-table th { width: 34%; color: var(--muted); font-weight: 500; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

.notice {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
  background: rgba(185, 28, 28, .14); border: 1px solid rgba(252, 165, 165, .4);
}
.notice .big { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #b91c1c; color: #fff; font-weight: 800; font-size: 18px; }
.notice h3 { color: #fecaca; margin-bottom: 4px; }
.notice p { color: #f3d3d3; font-size: 15px; }

.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card .feature a { font-weight: 600; }
.contact-card .feature a[href^="mailto"] { overflow-wrap: anywhere; }

/* ---------- Legal pages ---------- */
.legal-hero { background: radial-gradient(90% 120% at 50% 0%, var(--bg3), var(--bg2) 55%, var(--bg)); border-bottom: 1px solid var(--line); padding: 48px 0 36px; }
.legal-hero h1 { font-family: 'Cinzel', Georgia, serif; font-size: 40px; color: var(--gold-soft); }
.legal-hero p { color: var(--muted); }
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 22px; color: var(--gold-soft); margin: 36px 0 10px; padding-top: 8px; }
.legal h3 { font-size: 17px; color: var(--gold); margin: 20px 0 6px; }
.legal p, .legal li { color: #d9ebe1; font-size: 15.5px; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal .toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 8px; }
.legal .toc ol { padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc li { font-size: 14.5px; margin-bottom: 4px; break-inside: avoid; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14.5px; }
.legal th, .legal td { border: 1px solid rgba(255, 255, 255, .1); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--panel); color: var(--gold-soft); }
.callout { background: var(--panel); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; margin: 14px 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .links a { color: var(--muted); }
.site-footer .links a:hover { color: var(--gold); }
.disclaimer { width: 100%; font-size: 12.5px; color: #7fa892; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 28px; padding-top: 44px; }
  .hero-icon { width: 160px; height: 160px; border-radius: 36px; }
  .hero h1 { font-size: 40px; }
  .hero p.lead { margin: 0 auto; }
  .badges, .cta { justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .legal .toc ol { columns: 1; }
}
@media (max-width: 560px) {
  .nav a.hide-sm { display: none; }
  .brand span { font-size: 16px; }
  .brand img { width: 32px; height: 32px; }
  .nav { gap: 12px; font-size: 13px; }
  .features { grid-template-columns: 1fr; }
  .sec-title { font-size: 26px; }
  .legal-hero h1 { font-size: 30px; }
  .info-table th { width: 40%; }
  .info-table th, .info-table td { padding: 12px; font-size: 14px; }
  .notice { flex-direction: column; }
}
