/* ============================================================
   Crown Coins Casino CA — Stylesheet
   Theme: Royal Dark Gold ("Crown")
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* palette */
  --bg:           #0d0a06;
  --bg-2:         #14100a;
  --surface:      #1a1510;
  --surface-2:    #221b12;
  --line:         #34291a;
  --line-soft:    rgba(212,175,55,.16);

  --gold:         #d4af37;
  --gold-bright:  #f3d77f;
  --gold-deep:    #a7821f;
  --champagne:    #e7d7ac;

  --text:         #f4eedd;
  --text-soft:    #c7bda4;
  --text-mute:    #8d846f;

  --radius:       14px;
  --radius-sm:    9px;
  --maxw:         1160px;
  --shadow:       0 18px 50px -22px rgba(0,0,0,.85);
  --shadow-gold:  0 10px 38px -16px rgba(212,175,55,.4);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(212,175,55,.10), transparent 60%),
    radial-gradient(900px 600px at 8% 8%, rgba(167,130,31,.07), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--ff-body);
  font-weight: 700; font-size: .96rem; letter-spacing: .02em;
  padding: .85em 1.6em; border-radius: 50px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #1a1206; box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); color: #1a1206; box-shadow: 0 14px 44px -14px rgba(212,175,55,.6); }
.btn-ghost {
  background: transparent; color: var(--champagne);
  border-color: var(--line); 
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn-sm { padding: .6em 1.15em; font-size: .85rem; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-body); font-weight: 700;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,10,6,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 76px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: 10px; }
.nav a {
  color: var(--text-soft); font-weight: 600; font-size: .9rem;
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--gold-bright); background: rgba(212,175,55,.08); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-soft); font-weight: 600; font-size: .82rem;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 50px;
}
.lang span { width: 18px; height: 13px; border-radius: 2px;
  background: linear-gradient(90deg,#fff 0 33%,#d52b1e 33% 66%,#fff 66%); display:inline-block; position:relative; }
.lang span::after{ content:"🍁"; position:absolute; inset:0; font-size:9px; text-align:center; line-height:13px; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--gold); font-size: 1.3rem; line-height: 1; padding: 8px 12px;
  border-radius: 8px; cursor: pointer;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 64px 0 50px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
}
.hero .hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  line-height: 1.06; font-weight: 700; margin: 0 0 18px;
  color: var(--text); letter-spacing: -.01em;
}
.hero .hero-title em { font-style: italic; color: var(--gold-bright); }
.hero-lead { font-size: 1.12rem; color: var(--text-soft); max-width: 33ch; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats .stat { }
.hero-stats .num { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 700; color: var(--gold-bright); line-height: 1; }
.hero-stats .lbl { font-size: .78rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }

.hero-media { position: relative; }
.hero-media .frame {
  border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); position: relative;
}
.hero-media img { width: 100%; height: auto; }
.hero-badge {
  position: absolute; left: -14px; bottom: 26px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  color: #1a1206; border-radius: 14px; padding: 14px 20px;
  box-shadow: var(--shadow-gold); font-weight: 800;
}
.hero-badge .big { font-family: var(--ff-display); font-size: 1.5rem; line-height: 1; }
.hero-badge .small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   Generic section
   ============================================================ */
.section { padding: 50px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-head h2,
.section-head .section-label {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0; color: var(--text);
}
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* payment chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--champagne); font-weight: 600; font-size: .9rem;
  padding: 11px 18px; border-radius: 50px; transition: border-color .15s, transform .15s;
}
.chip:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--gold-bright); }

/* feature / trust cards */
.cards { display: grid; gap: 18px; }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: border-color .2s, transform .2s;
  display: block;
}
.card:hover { border-color: var(--line-soft); transform: translateY(-3px); }
.card .ic {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,.12); border: 1px solid var(--line-soft);
  font-size: 1.3rem; margin-bottom: 14px;
}
.card h3, .card .card-title { margin: 0 0 8px; font-family: var(--ff-body); font-size: 1.04rem; font-weight: 700; color: var(--gold-bright); }
.card p { margin: 0; color: var(--text-soft); font-size: .93rem; line-height: 1.6; }

/* ============================================================
   Article + Table of contents layout
   ============================================================ */
.content-area { display: grid; grid-template-columns: 270px 1fr; gap: 46px; align-items: start; padding: 30px 0 60px; }

.toc {
  position: sticky; top: 96px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px;
}
.toc .toc-title {
  font-family: var(--ff-body); font-weight: 800; font-size: .76rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.toc ol { margin: 0; padding-left: 1.1em; counter-reset: none; }
.toc li { margin: 9px 0; }
.toc a { color: var(--text-soft); font-size: .9rem; line-height: 1.4; }
.toc a:hover { color: var(--gold-bright); }

.article { min-width: 0; }
.article h1 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1;
  margin: 0 0 26px; color: var(--text); letter-spacing: -.01em;
}
.article h2 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.2;
  margin: 46px 0 16px; color: var(--gold-bright);
  padding-top: 14px; border-top: 1px solid var(--line);
}
.article h3 {
  font-family: var(--ff-body); font-weight: 700; font-size: 1.12rem;
  margin: 26px 0 8px; color: var(--champagne);
}
.article p { margin: 0 0 17px; color: var(--text-soft); }
.article p strong, .article li strong { color: var(--text); font-weight: 700; }
.article em { color: var(--champagne); }
.article a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-soft); }
.article ul { margin: 0 0 18px; padding-left: 1.3em; color: var(--text-soft); }
.article li { margin: 7px 0; }

.article-figure {
  margin: 26px 0; border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}

.callout {
  background: linear-gradient(180deg, rgba(212,175,55,.10), rgba(212,175,55,.02));
  border: 1px solid var(--line-soft); border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); margin: 12px 0; padding: 18px 20px;
}
.faq-item h3 { margin: 0 0 8px; color: var(--gold-bright); }
.faq-item p { margin: 0; }

/* CTA band */
.cta-band {
  text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-soft); border-radius: 20px;
  padding: 44px 28px; margin: 16px 0 0;
}
.cta-band h2 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.6rem,3vw,2.2rem); margin: 0 0 12px; color: var(--text); }
.cta-band p { color: var(--text-soft); max-width: 52ch; margin: 0 auto 24px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 30px; padding: 40px 0 30px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.footer-nav a { color: var(--text-soft); font-size: .9rem; padding: 6px 12px; border-radius: 8px; }
.footer-nav a:hover { color: var(--gold-bright); background: rgba(212,175,55,.07); }
.footer-rg {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--text-mute); font-size: .82rem; line-height: 1.7;
}
.footer-rg .age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--gold-deep);
  color: var(--gold); font-weight: 800; font-size: .85rem; margin-right: 12px; float: left;
}
.copyright { margin-top: 22px; color: var(--text-mute); font-size: .8rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .content-area { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav, .lang { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 12px 18px; margin: 0;
  }
  .header-right .btn { padding: .6em 1.1em; font-size: .82rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards.cols-4, .cards.cols-3, .cards.cols-2 { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-stats { gap: 22px; }
  .brand img { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .btn, .card, .chip { transition: none; }
}

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }
