/* Domino Club - shared styles. Palette matches the app exactly. */
:root {
  --night-edge: #060302;
  --night-mid: #140a05;
  --panel-top: #341c10;
  --panel-bottom: #1a0c06;
  --panel-stroke: #8a6329;
  --gold-light: #fde9a6;
  --gold: #d7a94f;
  --gold-mid: #b4802f;
  --gold-deep: #6e4711;
  --cream: #f3e8d4;
  --cream-dim: #cbb18a;
  --green: #7cf35e;
  --green-fill: #1e4a17;
  --max: 1080px;
  --r: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night-edge);
  color: var(--cream);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-light); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(6, 3, 2, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(138, 99, 41, 0.35);
}
.nav { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand span {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-mid));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: Georgia, "Times New Roman", serif; font-size: 19px;
}
.nav nav { margin-left: auto; display: flex; gap: 18px; font-size: 14.5px; font-weight: 600; }
.nav nav a { color: var(--cream-dim); }
.nav nav a:hover { color: var(--gold-light); text-decoration: none; }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 560px;
  background: radial-gradient(60% 70% at 50% 0%, rgba(201, 140, 62, .30), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
h1 {
  margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.01em;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-mid));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { font-size: clamp(17px, 2.2vw, 20px); color: var(--cream-dim); margin: 0 0 26px; max-width: 30em; }
.shot { width: 100%; max-width: 360px; border-radius: 30px; display: block; margin: 0 auto;
  box-shadow: 0 30px 70px rgba(0,0,0,.75), 0 0 0 1px rgba(138,99,41,.4); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px;
  padding: 14px 24px; border-radius: 14px; border: 2px solid var(--green);
  background: linear-gradient(180deg, var(--green-fill), #0d2a0b); color: var(--green);
  box-shadow: 0 0 22px rgba(75, 227, 49, .28);
}
.btn:hover { text-decoration: none; filter: brightness(1.12); }
.btn.ghost { border-color: var(--panel-stroke); background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom)); color: var(--gold-light); box-shadow: none; }
.note { font-size: 13.5px; color: var(--cream-dim); }

/* Sections */
section { padding: 56px 0; border-top: 1px solid rgba(138, 99, 41, .22); }
h2 {
  font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 10px; color: var(--gold-light); letter-spacing: -0.01em;
}
h3 { font-size: 19px; margin: 0 0 6px; color: var(--cream); }
.lede { color: var(--cream-dim); margin: 0 0 28px; max-width: 62ch; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  border: 1px solid var(--panel-stroke); border-radius: var(--r); padding: 20px;
}
.card p { margin: 0; color: var(--cream-dim); font-size: 15px; }
.card .ico { font-size: 22px; margin-bottom: 10px; display: block; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.shots img { width: 100%; border-radius: 22px; box-shadow: 0 18px 44px rgba(0,0,0,.65), 0 0 0 1px rgba(138,99,41,.35); }

/* Article / legal pages */
.doc { padding: 48px 0 72px; max-width: 74ch; }
.doc h1 { font-size: clamp(30px, 4.6vw, 42px); margin-bottom: 6px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--cream); font-size: 16.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.updated { color: var(--cream-dim); font-size: 14px; margin-bottom: 30px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(138,99,41,.3); vertical-align: top; }
.doc th { color: var(--gold-light); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

footer { border-top: 1px solid rgba(138, 99, 41, .3); padding: 34px 0 48px; color: var(--cream-dim); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-left: auto; }

@media (max-width: 820px) {
  .hero { padding: 46px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { order: 1; } .hero-art { order: 2; }
  .grid, .shots { grid-template-columns: 1fr; }
  .nav nav { gap: 14px; font-size: 13.5px; }
  .foot nav { margin-left: 0; }
}
