/* ric-zai-inc.com — main stylesheet
   Dark neon casino aesthetic. Vanilla CSS, mobile-first, no framework. */

:root {
  --bg: #202427;
  --bg-raised: #2a2f33;
  --bg-card: #262b2e;
  --border: #3a4045;
  --text: #eef1f3;
  --text-dim: #a6adb3;
  --text-muted: #969da3;
  --gold: #f5b942;
  --gold-bright: #ffd166;
  --neon-pink: #ff3d81;
  --neon-teal: #2de1c2;
  --neon-purple: #b06bff;
  --danger: #ff5c5c;
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1200px;
  --shadow-card: 0 4px 20px rgba(0,0,0,.35);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold);
  color: #1a1d1f; padding: .75em 1.25em; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(32,36,39,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { height: 28px; width: auto; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--text-dim); font-weight: 600; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle {
  background: none; border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: .5rem .7rem; font-size: 1.1rem;
  cursor: pointer;
}
@media (min-width: 900px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}
.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: var(--bg-raised); border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .9rem 1.25rem; color: var(--text-dim); border-top: 1px solid var(--border);
  font-weight: 600;
}
.mobile-nav a:hover { color: var(--gold); background: var(--bg-card); }
@media (min-width: 900px) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,61,129,.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(45,225,194,.10), transparent 40%),
    var(--bg);
  padding: 3.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: .4em;
}
.hero .stat-number {
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.subtitle { font-size: 1.1rem; color: var(--text-dim); max-width: 640px; margin: 0 auto 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 1.5rem; }
.badge {
  border: 1px solid var(--border); border-radius: 999px; padding: .4rem 1rem;
  font-size: .85rem; color: var(--text-dim); background: var(--bg-card);
}
.btn {
  display: inline-block; padding: .8rem 1.8rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; cursor: pointer; border: none;
}
.btn-primary { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); color: #1a1d1f; }
.btn-primary:hover { color: #1a1d1f; filter: brightness(1.08); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Section ---------- */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-raised); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.section-header h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.section-header p { color: var(--text-dim); }

/* ---------- Grids & Cards ---------- */
.grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.grid-2col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold); }
.card .card-art { aspect-ratio: 4/3; background: var(--bg-raised); }
.card .card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.card .meta { font-size: .8rem; color: var(--text-muted); margin-bottom: .6rem; }
.card .desc { font-size: .88rem; color: var(--text-dim); flex: 1; }
.card .tag {
  display: inline-block; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--neon-teal); border: 1px solid rgba(45,225,194,.35);
  border-radius: 999px; padding: .15rem .6rem; margin-top: .5rem; align-self: flex-start;
}

/* category tiles on homepage / hub */
.cat-tile {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.2rem; text-align: center;
}
.cat-tile .icon { width: 46px; height: 46px; margin: 0 auto .8rem; }
.cat-tile h3 { font-size: 1rem; margin-bottom: .3rem; }
.cat-tile p { font-size: .85rem; color: var(--text-dim); margin: 0; }
.cat-tile:hover { border-color: var(--neon-purple); }

/* provider cards (text only, no logos) */
.provider-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; text-align: left;
}
.provider-card h3 { color: var(--gold); font-size: 1.05rem; }
.provider-card p { font-size: .88rem; color: var(--text-dim); margin: 0; }

/* Top Rated Casinos — text-only, no links/CTAs per policy */
.casino-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.casino-list li {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.casino-list strong { color: var(--text); display: block; margin-bottom: .3rem; }
.casino-list span { font-size: .85rem; color: var(--text-dim); }
.no-aff-note {
  margin-top: 1.25rem; font-size: .85rem; color: var(--text-muted);
  border-left: 3px solid var(--gold); padding-left: .9rem;
}

/* Filter bar (vanilla JS) */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 1.75rem; }
.filter-btn {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim);
  border-radius: 999px; padding: .5rem 1.1rem; font-size: .85rem; cursor: pointer;
}
.filter-btn:hover { color: var(--text); }
.filter-btn[aria-pressed="true"] {
  background: var(--gold); color: #1a1d1f; border-color: var(--gold); font-weight: 700;
}

/* Article / news */
.article-hero { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--border); }
.article-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.article-meta { color: var(--text-muted); font-size: .9rem; }
.article-body { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem; }
.article-body h2 { margin-top: 2em; font-size: 1.4rem; color: var(--gold-bright); }
.article-body h3 { margin-top: 1.5em; font-size: 1.15rem; }
.article-body ul { color: var(--text-dim); }
.author-box {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem;
  margin: 2rem 0;
}
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
}
.author-box h3 { margin: 0 0 .2rem; font-size: 1rem; }
.author-box p { margin: 0; font-size: .85rem; color: var(--text-dim); }

.news-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem;
}
.news-card time { font-size: .78rem; color: var(--text-muted); }
.news-card h3 { font-size: 1.05rem; margin: .3rem 0 .5rem; }
.news-card p { font-size: .88rem; color: var(--text-dim); }

/* Responsible gambling banner (verbatim text, appears in every footer) */
.rg-banner {
  background: var(--bg-raised); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 1rem 0; text-align: center;
}
.rg-banner p { margin: 0; font-size: .82rem; color: var(--text-dim); max-width: 900px; margin: 0 auto; }
.rg-banner strong { color: var(--gold); }

/* Forms */
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; margin-bottom: .35rem; font-size: .88rem; color: var(--text-dim); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .7rem .9rem; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font: inherit;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* Footer */
.site-footer { background: #191c1e; border-top: 1px solid var(--border); padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); margin-bottom: 2rem; }
.footer-col h4 { font-size: .9rem; color: var(--text); margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: var(--text-dim); font-size: .88rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.25rem; font-size: .8rem;
  color: var(--text-muted); text-align: center;
}
.footer-disclaimer { max-width: 800px; margin: 0 auto 1rem; text-align: center; font-size: .8rem; color: var(--text-muted); }

/* utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
@media (min-width: 700px) {
  .hero { padding: 5rem 0 4rem; }
  .section { padding: 4.5rem 0; }
}
