/* ============================================================
   crypto24casinos — styles.css
   Clean, trust-first design for the homepage.
   ============================================================ */

/* === 1. Design tokens === */
:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-hover: #f1f5f9;

  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --text: #0f172a;
  --text-muted: #64748b;

  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-soft: #eff6ff;

  --success: #16a34a;
  --success-soft: #f0fdf4;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.08);
  --max-width: 1180px;
  --transition: 0.15s ease;
}

/* === 2. Reset === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font: inherit; }

/* === 3. Typography === */
h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
p { margin-bottom: 12px; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

a:focus { outline: none; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* === 4. Utilities === */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-muted { color: var(--text-muted); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* === 5. Header === */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

/* === Logo === */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}



.cta-button {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition);
}
.cta-button:hover { background: var(--accent-hover); }

/* === Mobile menu toggle === */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-icon {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, top 0.2s ease;
}
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.header-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

/* === 6. Main layout === */
.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

.section { margin-bottom: 56px; }
.section-title { margin-bottom: 24px; text-align: center; }

/* === 7. Hero === */
.hero {
  position: relative;
  text-align: center;
  padding: 40px 0 40px;
  overflow: hidden;
  background: transparent;
  margin-bottom: 32px;
  isolation: isolate;
}

/* BTC līnija fonā */
.btc-chart {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  height: 140px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

.btc-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.btc-chart-line {
  fill: none;
  stroke: url(#btcGoldGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: d 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.55))
          drop-shadow(0 0 14px rgba(247, 147, 26, 0.35));
}

.btc-chart-fill {
  fill: url(#btcGoldFill);
  stroke: none;
  transition: d 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btc-chart-dot {
  fill: #ffd700;
  filter: drop-shadow(0 0 8px #ffd700) drop-shadow(0 0 16px #f7931a);
  transition: cx 1.2s cubic-bezier(0.4, 0, 0.2, 1),
              cy 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  animation: btcPulse 1.6s ease-in-out infinite;
}

@keyframes btcPulse {
  0%, 100% { r: 4; opacity: 1; }
  50%      { r: 6; opacity: 0.7; }
}

/* Saturs virs līnijas */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-intro {
  position: relative;
  z-index: 2;
  margin-bottom: 32px;
}

.last-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}

/* === BTC ticker === */
.btc-ticker {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  margin: 0 auto 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06),
              0 0 0 6px rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 2;
}

.btc-ticker-left {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}

.btc-icon {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f7931a;
  line-height: 1;
}

.btc-label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.2;
  text-align: left;
}

.btc-pair {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
}

.btc-ticker-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 140px;
}

.btc-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.btc-change {
  font-size: 0.8rem;
  font-weight: 700;
}
.btc-change.up   { color: var(--success); }
.btc-change.down { color: #dc2626; }
.btc-change.flat { color: var(--text-muted); }

.btc-updated {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* === Hero footer (autors + marquee) === */
.hero-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

/* Author block */
.author-block {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.6);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text);
}
.author-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 4px 0 0;
}
.author-meta a { color: var(--accent); }

/* === Feature marquee === */
.feature-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 8px 0 0;
}

.feature-marquee::before,
.feature-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.feature-marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.feature-marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

.feature-marquee-track {
  display: flex;
  width: max-content;
  animation: featureScroll 50s linear infinite;
  gap: 0;
}

.feature-marquee-list {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  flex-shrink: 0;
  list-style: none;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  border: 1px solid #0f172a;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.feature-item::before {
  content: "✓";
  color: #22c55e;
  font-weight: 700;
}

@keyframes featureScroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* === Crypto logo marquee === */
.crypto-marquee {
  margin: 40px auto 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.crypto-marquee::before,
.crypto-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.crypto-marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.crypto-marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

.crypto-marquee-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.crypto-marquee-track {
  display: flex;
  width: max-content;
  animation: cryptoScroll 40s linear infinite;
  gap: 0;
}

.crypto-marquee-list {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
  list-style: none;
}

.crypto-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.85;
}

.crypto-icon {
  width: 26px;
  height: 26px;
  display: inline-block;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Crypto icons (inline SVG data URI) */
.crypto-icon[data-crypto="btc"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23f7931a'/><path fill='%23fff' d='M22.5 14.1c.3-2.1-1.3-3.2-3.5-4l.7-2.8-1.7-.4-.7 2.7c-.4-.1-.9-.2-1.4-.3l.7-2.7-1.7-.4-.7 2.8c-.4-.1-.7-.2-1-.2l-2.4-.6-.5 1.8s1.3.3 1.3.3c.7.2.8.6.8 1l-.8 3.2c0 .1.1.1.2.2l-.2-.1-.8 3.2c-.1.2-.2.4-.6.3 0 0-1.3-.3-1.3-.3l-.9 1.9 2.3.6c.4.1.8.2 1.3.3l-.7 2.9 1.7.4.7-2.8c.5.1.9.2 1.4.3l-.7 2.8 1.7.4.7-2.9c2.9.5 5 .3 5.9-2.3.7-2.1 0-3.3-1.5-4 .1.3 2.9-.7 3.1-3.1zm-3.7 6c-.5 2.1-4 1-5.1.7l.9-3.7c1.1.3 4.8.8 4.2 3zm.5-6c-.5 1.9-3.4.9-4.3.7l.8-3.3c.9.2 4.1.7 3.5 2.6z'/></svg>"); }

.crypto-icon[data-crypto="eth"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23627eea'/><path fill='%23fff' d='M16 5v8.2l6.9 3.1L16 5z' opacity='.6'/><path fill='%23fff' d='M16 5L9.1 16.3l6.9-3.1V5z'/><path fill='%23fff' d='M16 22.4v4.6l6.9-9.6-6.9 5z' opacity='.6'/><path fill='%23fff' d='M16 27v-4.6l-6.9-5L16 27z'/><path fill='%23fff' d='M16 21l6.9-4.7L16 13.2V21z' opacity='.2'/><path fill='%23fff' d='M9.1 16.3l6.9 4.7v-7.8l-6.9 3.1z' opacity='.6'/></svg>"); }

.crypto-icon[data-crypto="usdt"]  { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%2326a17b'/><path fill='%23fff' d='M17.9 14.1v-2.7h4.7V7.7H9.4v3.7h4.7v2.7c-3.8.2-6.7.9-6.7 1.9s2.9 1.8 6.7 1.9v6.6h3.8v-6.6c3.8-.2 6.6-.9 6.6-1.9s-2.9-1.8-6.6-1.9zm0 3.2v0c-.1 0-.6 0-1.7 0-.9 0-1.5 0-1.7-.1-3.2-.2-5.5-.7-5.5-1.4s2.4-1.2 5.5-1.4v2.2c.2 0 .9.1 1.7.1 1.1 0 1.6 0 1.7-.1v-2.2c3.1.2 5.5.7 5.5 1.4s-2.3 1.3-5.5 1.5z'/></svg>"); }

.crypto-icon[data-crypto="ltc"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23345d9e'/><path fill='%23fff' d='M12.5 23.5l1.5-6.1-2 1.2.7-2.3 2-1.2 1.7-7c.3-1.3 1.4-2 2.5-2 .4 0 .8.1 1.1.2.5.2.9.5 1.2.9.3.4.4.9.3 1.5l-.2 1c-.6-1-1.6-1.1-2.1-.9-.3.1-.6.4-.7.8l-1.4 5.8 2.9-1.7-.7 2.3-2.9 1.7-1.4 5.9h6.4l-.9 2.7H11.4l1.1-3z'/></svg>"); }

.crypto-icon[data-crypto="doge"]  { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23c2a633'/><path fill='%23fff' d='M13.7 22.3V17h-2.5v-2.2h2.5v-2.4c0-2 .8-3.5 2.5-3.5h3.4v2.6h-2.2c-.7 0-.9.5-.9 1.1v2.2h3.1L19 17h-2.5v5.3h-2.8z'/></svg>"); }

.crypto-icon[data-crypto="xrp"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23232a34'/><path fill='%23fff' d='M22.1 7h2.4l-5.4 5.6c-1.7 1.7-4.5 1.7-6.2 0L7.5 7h2.4l4.2 4.4c1 1 2.6 1 3.6 0L22.1 7zM9.9 25H7.5l5.4-5.6c1.7-1.7 4.5-1.7 6.2 0l5.4 5.6h-2.4l-4.2-4.4c-1-1-2.6-1-3.6 0L9.9 25z'/></svg>"); }

.crypto-icon[data-crypto="sol"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><defs><linearGradient id='solGrad' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%239945ff'/><stop offset='1' stop-color='%2319fbce'/></linearGradient></defs><circle cx='16' cy='16' r='16' fill='%23000'/><g fill='url(%23solGrad)'><path d='M11 20.5c.1-.1.3-.2.5-.2h11.6c.3 0 .5.4.3.7l-2.2 2.4c-.1.1-.3.2-.5.2H9.1c-.3 0-.5-.4-.3-.7l2.2-2.4z'/><path d='M11 8.6c.1-.1.3-.2.5-.2h11.6c.3 0 .5.4.3.7l-2.2 2.4c-.1.1-.3.2-.5.2H9.1c-.3 0-.5-.4-.3-.7l2.2-2.4z'/><path d='M19 14.5c-.1-.1-.3-.2-.5-.2H6.9c-.3 0-.5.4-.3.7l2.2 2.4c.1.1.3.2.5.2h11.6c.3 0 .5-.4.3-.7l-2.2-2.4z'/></g></svg>"); }

.crypto-icon[data-crypto="bch"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%238dc351'/><path fill='%23fff' d='M22.6 14.4c.3-2.3-1.4-3.5-3.8-4.3l.8-3.1-1.9-.5-.7 3c-.5-.1-1-.2-1.5-.3l.7-3-1.9-.5-.8 3.1c-.4-.1-.8-.2-1.2-.2l-2.6-.7-.5 2s1.4.3 1.4.3c.8.2.9.7.9 1.1l-.9 3.5c.1 0 .1.1.2.1l-.2-.1-.8 3.5c-.1.3-.2.4-.7.3 0 0-1.4-.3-1.4-.3l-1 2.1 2.5.6c.5.1.9.2 1.4.3l-.8 3.1 1.9.5.8-3.1c.5.1 1 .2 1.5.3l-.7 3.1 1.9.5.8-3.1c3.2.6 5.5.4 6.5-2.5.8-2.3 0-3.6-1.7-4.5.1.1 3.1-.9 3.4-3.4zm-4.1 6.5c-.5 2.3-4.4 1.1-5.6.8l1-3.9c1.3.3 5.2.9 4.6 3.1zm.5-6.5c-.5 2-3.7.9-4.7.7l.8-3.6c1 .2 4.4.7 3.9 2.9z'/></svg>"); }

.crypto-icon[data-crypto="zec"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23f4b728'/><path fill='%23fff' d='M11 8h10v3l-6 8h6v3H11v-3l6-8h-6V8zm4-3h2v3h-2V5zm0 22h2v3h-2v-3z'/></svg>"); }

.crypto-icon[data-crypto="trx"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23eb0029'/><path fill='%23fff' d='M8 8l15 3-3 13-9-8 6 3 3-7-12-4z'/></svg>"); }

.crypto-icon[data-crypto="bnb"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23f3ba2f'/><path fill='%23fff' d='M12.3 16L16 12.3 19.7 16 16 19.7 12.3 16zm-3-3l1.7 1.7L9.3 16.4 7.6 14.7 9.3 13zm3-3l1.7 1.7L12.3 13.4 10.6 11.7 12.3 10zm7.4 0l1.7 1.7-1.7 1.7-1.7-1.7 1.7-1.7zm3 3l1.7 1.7-1.7 1.7-1.7-1.7 1.7-1.7zM16 13.6l2.4 2.4-2.4 2.4-2.4-2.4 2.4-2.4z'/></svg>"); }

.crypto-icon[data-crypto="matic"] { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%238247e5'/><path fill='%23fff' d='M21.7 12.7c-.4-.2-.9-.2-1.3 0l-2.9 1.7-2-1.1-2.9-1.6c-.4-.2-.9-.2-1.3 0L8.5 13c-.4.2-.6.6-.6 1v3.9c0 .4.2.8.6 1l2.9 1.7c.4.2.9.2 1.3 0l2.9-1.6c.1 0 .2-.1.2-.1l2 1.2v-2.4l-1.7-1v-2.4c0-.1 0-.1 0 0zm-9.6 5.9l-2.9-1.6v-3.2l2.9-1.6 2.9 1.6v3.2l-2.9 1.6zm11.6-1.6l2.4-1.4c.4-.2.6-.6.6-1v-2.9c0-.4-.2-.8-.6-1L24 9.9c-.4-.2-.9-.2-1.3 0l-2.9 1.6c-.1 0-.1 0 0 0v2.4l1.7-1v2.4c.4.2.9.2 1.3 0 .4-.2.6-.6.6-1v-3.2l2.9-1.6v3.2l-2.9 1.6v3.2z'/></svg>"); }

@keyframes cryptoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* === 8. Casino toplist === */
.casino-section { margin-bottom: 56px; }

.casino-table-header,
.casino-card {
  display: grid;
  grid-template-columns: 44px 120px 1.6fr 80px 1.4fr 90px 100px 140px;
  gap: 14px;
  align-items: center;
}

.casino-table-header {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
}

.casino-card {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.casino-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.rank {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
}

.casino-logo img {
  max-width: 110px;
  height: 48px;
  object-fit: contain;
  transform: scale(1);
}

.casino-bonus { display: flex; flex-direction: column; gap: 2px; }
.bonus-main { font-weight: 700; font-size: 1rem; color: var(--text); }
.bonus-sub { font-size: 0.85rem; color: var(--text-muted); }

.casino-cell { font-size: 0.95rem; font-weight: 600; }
.payout-fast { color: var(--success); }

.coins { display: flex; flex-wrap: wrap; gap: 4px; }
.coin-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-badge.yes {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid #bbf7d0;
}

.casino-cta { text-align: right; }

.table-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background var(--transition);
}
.table-cta:hover { background: var(--accent-hover); color: #fff; }

/* === 9. Shared section header === */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-header h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* === 10. Beginner section === */
.beginner-section {
  margin: 0 0 72px;
  padding: 48px 32px;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.beginner-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.beginner-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.beginner-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.beginner-step h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
.beginner-step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 18px; }

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap var(--transition);
}
.step-link:hover { gap: 8px; }

.beginner-cta { text-align: center; }

.button-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
}
.button-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* === 11. Trust section === */
.trust-section {
  margin: 0 0 72px;
  padding: 48px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.trust-card {
  padding: 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.trust-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 12px;
  border: 1px solid #bbf7d0;
}

.trust-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.trust-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* === 12. Content section (How we rate) === */
.content-section {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 56px;
}
.content-section h2 { text-align: center; margin-bottom: 8px; }
.content-section > p { text-align: center; margin-bottom: 28px; }

.rating-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.rating-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.rating-weight {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.rating-card h3 { font-size: 1rem; margin-bottom: 6px; }
.rating-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* === 13. Topic cards === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card-link { color: inherit; display: block; }
.card-link:hover .card,
.card-link:focus-visible .card {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.card h3 { color: var(--text); margin-bottom: 8px; font-size: 1.1rem; }
.card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* === 14. Bonus section === */
.bonus-section {
  margin: 0 0 72px;
  padding: 48px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.bonus-card {
  padding: 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.bonus-card:hover {
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-2px);
}

.bonus-icon {
  display: inline-block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 12px;
}

.bonus-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.bonus-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; }

.bonus-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  transition: gap var(--transition);
}
.bonus-link:hover { gap: 8px; }

/* === 15. Games section === */
.games-section {
  margin: 0 0 72px;
  padding: 48px 32px;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.game-card {
  display: block;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.game-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.game-icon {
  display: inline-block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 12px;
}

.game-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.game-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

.section-cta { text-align: center; }

/* === 16. Payout section === */
.payout-section {
  margin: 0 0 72px;
  padding: 48px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.payout-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.payout-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.payout-card:hover {
  border-color: var(--accent);
  background: #fff;
}

.payout-medal {
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}

.payout-info h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--text); }

.payout-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.payout-pair { font-weight: 600; color: var(--text); }

.payout-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--success);
  font-weight: 700;
}
.payout-time::before { content: "⚡"; }

.payout-hash {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.payout-hash code {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: ui-monospace, "SF Mono", Monaco, monospace;
  font-size: 0.75rem;
  color: var(--text);
}

.payout-verify {
  margin-left: 8px;
  font-weight: 600;
  font-size: 0.8rem;
}

.payout-when {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  align-self: start;
  padding-top: 4px;
}

/* === 17. FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--accent); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { opacity: 0; }

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.faq-answer p { margin: 0; }

/* === 18. News section === */
.news-section {
  margin: 0 0 72px;
  padding: 48px 32px;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.news-item {
  display: block;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.news-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: inherit;
}

.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.news-item h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--text);
  transition: color var(--transition);
}
.news-item:hover h3 { color: var(--accent); }

.news-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* === 19. Newsletter === */
.newsletter {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.newsletter h2 { margin-bottom: 8px; }
.newsletter p { color: var(--text-muted); margin-bottom: 20px; }

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 1rem;
  background: #fff;
}
.newsletter-input:focus { border-color: var(--accent); }

.newsletter-button {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-button:hover { background: var(--accent-hover); }

.newsletter-message {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}
.newsletter-message.is-visible { display: block; }
.newsletter-message.is-success {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid #bbf7d0;
}
.newsletter-message.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* === 20. Footer === */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
  margin-top: 60px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }

.footer-disclosure {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-section h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === 21. Responsive === */
@media (max-width: 900px) {
  .casino-table-header { display: none; }

  .casino-card {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
    padding: 20px;
  }
  .casino-logo { display: flex; justify-content: center; }
  .coins { justify-content: center; }
  .casino-cta { text-align: center; }
  .table-cta { width: 100%; text-align: center; }
}
/* === 5. Header === */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* === Navigation === */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-group {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover,
.nav-trigger:hover {
  color: var(--text);
  background: var(--bg-hover);
}
.nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}

/* Arrow */
.nav-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
  opacity: 0.6;
}
.nav-trigger[aria-expanded="true"] .nav-arrow {
  transform: rotate(-135deg) translateY(-2px);
}

/* === Dropdown === */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  z-index: 1000;
}

/* Show on hover (desktop) */
@media (min-width: 769px) {
  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown,
  .nav-trigger[aria-expanded="true"] + .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Show on click (mobile) */
.nav-trigger[aria-expanded="true"] + .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* CTA */
.cta-button {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background var(--transition);
  margin-left: 8px;
}
.cta-button:hover { background: var(--accent-hover); }

/* === Mobile menu toggle === */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-icon {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, top 0.2s ease;
}
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.header-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

/* === Mobile nav === */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-group { width: 100%; }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .nav-trigger { text-align: left; }

  .nav-dropdown {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin: 4px 0 4px 12px;
    padding: 4px 0 4px 8px;
    transform: none;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.25s ease;
  }
  .nav-trigger[aria-expanded="true"] + .nav-dropdown {
    max-height: 500px;
  }

  .nav-dropdown-link {
    padding: 8px 12px;
    font-size: 0.88rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 12px;
    margin: 8px 0 0;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .logo img { height: 30px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link, .cta-button {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .content-section { padding: 24px 18px; }
  .newsletter { padding: 28px 18px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { min-width: 100%; }

  .beginner-section,
  .trust-section,
  .bonus-section,
  .games-section,
  .payout-section,
  .news-section {
    padding: 32px 20px;
    margin-bottom: 56px;
  }

  .beginner-steps,
  .trust-grid,
  .bonus-grid,
  .games-grid {
    gap: 14px;
  }

  .beginner-step,
  .bonus-card,
  .game-card,
  .trust-card {
    padding: 20px;
  }

  .payout-card {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 16px 18px;
  }
  .payout-medal { font-size: 1.5rem; }
  .payout-when {
    grid-column: 1 / -1;
    text-align: right;
    padding-top: 0;
    font-size: 0.72rem;
  }
  .payout-meta { gap: 10px; font-size: 0.82rem; }

  .news-item { padding: 16px 18px; }
}

@media (max-width: 600px) {
  .logo img { height: 30px; }

  .hero { padding: 32px 0 32px; }
  .hero-content { padding: 0 18px; }
  .hero-intro { margin-bottom: 24px; }

  .btc-chart { height: 100px; opacity: 0.4; }
  .btc-chart-line { stroke-width: 1.5; }

  .btc-ticker {
    flex-direction: column;
    gap: 14px;
    padding: 18px 22px;
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 320px;
  }
  .btc-ticker-left {
    padding-right: 0;
    border-right: none;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    justify-content: center;
  }
  .btc-ticker-right {
    align-items: center;
    width: 100%;
  }
  .btc-updated { bottom: -22px; }

  .hero-footer { gap: 24px; }
  .author-block { width: 100%; padding: 14px 18px; }

  .crypto-marquee { margin-top: 32px; }
  .crypto-marquee-title { font-size: 0.72rem; }

  .crypto-marquee-list { gap: 28px; padding-right: 28px; }
  .crypto-item { font-size: 0.85rem; gap: 8px; }
  .crypto-icon { width: 22px; height: 22px; }

  .crypto-marquee::before,
  .crypto-marquee::after { width: 40px; }

  .crypto-marquee-track { animation-duration: 30s; }

  .feature-marquee::before,
  .feature-marquee::after { width: 30px; }
  .feature-marquee-list { gap: 8px; padding-right: 8px; }
  .feature-item { font-size: 0.78rem; padding: 6px 12px; }
  .feature-marquee-track { animation-duration: 35s; }

  .beginner-section,
  .trust-section,
  .bonus-section,
  .games-section,
  .payout-section,
  .news-section {
    padding: 28px 16px;
    border-radius: var(--radius);
  }

  .section-cta .button-primary,
  .beginner-cta .button-primary {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
}

/* ============================================================
   PAGE HERO (iekšējām lapām)
   ============================================================ */
.page-hero {
  text-align: center;
  padding: 40px 0 32px;
  margin-bottom: 32px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  color: var(--text);
}

.page-hero .hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-hidden] { color: var(--border-strong); }
.breadcrumbs span[aria-current] { color: var(--text); font-weight: 600; }

/* ============================================================
   FILTER TABS
   ============================================================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 40px;
  max-width: 900px;
  padding: 0 20px;
}

.filter-tab {
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.filter-tab:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.filter-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================================
   FEATURED NEWS
   ============================================================ */
.featured-news {
  margin: 0 0 56px;
  padding: 0 20px;
}

.featured-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.featured-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: #dc2626;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.featured-card h3 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
  color: var(--text);
}

.featured-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 18px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ============================================================
   NEWS GRID
   ============================================================ */
.news-grid-section {
  margin: 0 0 56px;
  padding: 0 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.news-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.news-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.news-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 10px 0 10px;
  color: var(--text);
  transition: color var(--transition);
}
.news-card:hover h3 { color: var(--accent); }

.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}

.news-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: gap var(--transition);
  align-self: flex-start;
}
.news-link:hover { gap: 8px; }

/* News tag colors */
.news-tag[data-tag="launch"]     { background: #dbeafe; color: #1e40af; }
.news-tag[data-tag="bonus"]      { background: #fef3c7; color: #92400e; }
.news-tag[data-tag="market"]     { background: #dcfce7; color: #166534; }
.news-tag[data-tag="regulation"] { background: #fce7f3; color: #9d174d; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 56px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pagination-item:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
.pagination-item.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pagination-item.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.pagination-next {
  padding: 0 18px;
}

/* ============================================================
   RESPONSIVE — news page
   ============================================================ */
@media (max-width: 768px) {
  .page-hero { padding: 24px 0 20px; }

  .filter-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }

  .featured-card { padding: 28px 24px; }
  .featured-badge { left: 20px; }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-card { padding: 20px; }

  .pagination { gap: 4px; }
  .pagination-item {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .page-hero h1 { font-size: 1.75rem; }

  .featured-card { padding: 24px 20px; }
  .featured-card h3 { font-size: 1.15rem; }

  .news-grid-section,
  .featured-news {
    padding: 0 16px;
  }
}

/* ============================================================
   FAQ CATEGORY NAV
   ============================================================ */
.faq-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.faq-category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.faq-category-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================================
   FAQ SECTIONS
   ============================================================ */
.faq-section {
  margin: 0 0 56px;
  padding: 0 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 100px;
}

.faq-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  letter-spacing: -0.01em;
}

.faq-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ============================================================
   STILL HAVE QUESTIONS
   ============================================================ */
.still-questions {
  margin: 0 0 56px;
  padding: 0 20px;
}

.still-questions-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff 100%);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.still-questions-inner h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 8px;
  color: var(--text);
}

.still-questions-inner p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
}

/* ============================================================
   RESPONSIVE — FAQ page
   ============================================================ */
@media (max-width: 768px) {
  .faq-category-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .faq-category-nav::-webkit-scrollbar { display: none; }

  .faq-section {
    padding: 0 16px;
    margin-bottom: 40px;
  }

  .faq-section-title {
    font-size: 1.15rem;
    gap: 10px;
  }

  .faq-section-icon {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
  }

  .still-questions-inner {
    padding: 28px 20px;
  }

  .still-questions-inner .button-primary {
    width: 100%;
    text-align: center;
  }
}

/* ETH lapa — zila līnija */
body.eth-page .btc-chart-line {
  stroke: url(#ethGradient);
  filter: drop-shadow(0 0 6px rgba(98, 126, 234, 0.55))
          drop-shadow(0 0 14px rgba(98, 126, 234, 0.35));
}

body.eth-page .btc-chart-dot {
  fill: #627eea;
  filter: drop-shadow(0 0 8px #627eea) drop-shadow(0 0 16px #627eea);
}

body.eth-page .btc-icon {
  color: #627eea;
}

/* === ETH ikona tickerī === */
.eth-icon {
  color: #627eea;
}

/* === USDT ikona tickerī === */
.usdt-icon {
  color: #26a17b;
}

/* === USDT lapa — zaļa līnija === */
body.usdt-page .btc-chart-line {
  stroke: url(#usdtGradient);
  filter: drop-shadow(0 0 6px rgba(38, 161, 123, 0.55))
          drop-shadow(0 0 14px rgba(38, 161, 123, 0.35));
}
body.usdt-page .btc-chart-dot {
  fill: #4fc9a0;
  filter: drop-shadow(0 0 8px #4fc9a0) drop-shadow(0 0 16px #26a17b);
}

/* === LTC ikona tickerī === */
.ltc-icon {
  color: #345d9e;
}

/* === LTC lapa — zila līnija === */
body.ltc-page .btc-chart-line {
  stroke: url(#ltcGradient);
  filter: drop-shadow(0 0 6px rgba(52, 93, 158, 0.55))
          drop-shadow(0 0 14px rgba(52, 93, 158, 0.35));
}
body.ltc-page .btc-chart-dot {
  fill: #7fa3d9;
  filter: drop-shadow(0 0 8px #7fa3d9) drop-shadow(0 0 16px #345d9e);
}

/* === DOGE ikona tickerī === */
.doge-icon {
  color: #c2a633;
}

/* === DOGE lapa — zeltaini dzeltena līnija === */
body.doge-page .btc-chart-line {
  stroke: url(#dogeGradient);
  filter: drop-shadow(0 0 6px rgba(194, 166, 51, 0.55))
          drop-shadow(0 0 14px rgba(194, 166, 51, 0.35));
}
body.doge-page .btc-chart-dot {
  fill: #f0d55c;
  filter: drop-shadow(0 0 8px #f0d55c) drop-shadow(0 0 16px #c2a633);
}
/* === SOL ikona tickerī === */
.sol-icon {
  color: #9945ff;
}

/* === SOL lapa — violeti-zaļš gradients === */
body.sol-page .btc-chart-line {
  stroke: url(#solGradient);
  filter: drop-shadow(0 0 6px rgba(153, 69, 255, 0.55))
          drop-shadow(0 0 14px rgba(25, 251, 206, 0.35));
}
body.sol-page .btc-chart-dot {
  fill: #19fbce;
  filter: drop-shadow(0 0 8px #19fbce) drop-shadow(0 0 16px #9945ff);
}
/* ============================================================
   CRYPTO LISTING (all-cryptocurrencies.html)
   ============================================================ */
.crypto-listing {
  margin: 0 0 56px;
  padding: 0 20px;
}

.crypto-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.crypto-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.crypto-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: inherit;
}

.crypto-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.crypto-card-icon {
  width: 44px;
  height: 44px;
  display: inline-block;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.crypto-card-header h3 {
  margin: 0 0 2px;
  font-size: 1.1rem;
  color: var(--text);
}

.crypto-card-ticker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.crypto-card-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.crypto-card-stats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.88rem;
}
.crypto-card-stats li span {
  color: var(--text-muted);
}
.crypto-card-stats li strong {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.crypto-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap var(--transition);
}
.crypto-card:hover .crypto-card-link {
  gap: 8px;
}

/* Coming soon cards */
.crypto-card-coming {
  opacity: 0.6;
  cursor: not-allowed;
}
.crypto-card-coming:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transform: none;
}
.crypto-card-coming .crypto-card-link {
  color: var(--text-muted);
  font-style: italic;
}

/* === "NEW" badge === */
.status-badge.new {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
  font-weight: 700;
}

/* === New casino card highlight === */
.casino-card-new {
  border-color: #93c5fd;
}
.casino-card-new:hover {
  border-color: var(--accent);
}

/* ============================================================
   STATS BAR (fast-payout page)
   ============================================================ */
.stats-bar {
  margin: 0 0 56px;
  padding: 0 20px;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff 100%);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stat-item {
  text-align: center;
  padding: 8px;
}

.stat-value {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* === VIP badge === */
.status-badge.vip {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #f59e0b;
  font-weight: 700;
}

/* ============================================================
   ALPHA FILTER (all-crypto-casinos.html)
   ============================================================ */
.alpha-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.alpha-filter-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.alpha-filter-item:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
.alpha-filter-item.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.alpha-filter-item.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ============================================================
   WIDE COMPARISON TABLE
   ============================================================ */
.compare-table-wide {
  min-width: 900px;
}

.compare-casino-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.compare-casino-cell img {
  max-width: 80px;
  height: 32px;
  object-fit: contain;
}
.compare-casino-cell strong {
  font-size: 0.9rem;
  color: var(--text);
}

.compare-score {
  display: inline-block;
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
}

.compare-table-wide small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ============================================================
   HEAD-TO-HEAD CARDS
   ============================================================ */
.head-to-head-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.head-to-head-card {
  position: relative;
  padding: 28px 24px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.head-to-head-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.head-to-head-badge {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.head-to-head-card h3 {
  font-size: 1rem;
  margin: 0 0 18px;
  color: var(--text);
}

.head-to-head-row {
  display: grid;
  grid-template-columns: 100px 1fr 80px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.82rem;
}

.head-to-head-label {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.head-to-head-bar {
  height: 8px;
  background: var(--bg-subtle);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.head-to-head-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #4f7ee8 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.head-to-head-value {
  font-weight: 700;
  color: var(--text);
  text-align: right;
  font-size: 0.78rem;
}

.head-to-head-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* === Text content (guides page) === */
.text-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0;
}

.text-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.text-content h3:first-child { margin-top: 8px; }

.text-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.text-content ol,
.text-content ul {
  margin: 0 0 20px 24px;
  padding: 0;
}
.text-content ol { list-style: decimal; }
.text-content ul { list-style: disc; }

.text-content li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.text-content strong {
  color: var(--text);
  font-weight: 700;
}

.text-content code {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: ui-monospace, "SF Mono", Monaco, monospace;
  font-size: 0.85rem;
  color: var(--text);
}

/* Content section inside guides */
.content-section + .content-section {
  margin-top: 0;
}

/* ============================================================
   AUTHOR SECTION (methodology.html)
   ============================================================ */
.author-section {
  margin: 0 0 48px;
  padding: 0 20px;
}

.author-card-large {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff 100%);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.author-avatar-large {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.25);
}

.author-details-large {
  flex: 1;
}

.author-details-large h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin: 0 0 6px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.author-role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 20px;
}

.author-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.author-credentials li {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.author-credentials li strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px;
}

/* ============================================================
   CRITERIA BLOCKS (methodology.html)
   ============================================================ */
.criteria-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.criteria-block:first-of-type {
  padding-top: 12px;
}
.criteria-block:last-of-type {
  padding-bottom: 12px;
  border-bottom: none;
}

.criteria-block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text);
}

.criteria-weight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.criteria-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.criteria-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.criteria-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.criteria-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}
.criteria-list strong {
  color: var(--text);
  font-weight: 700;
}

/* ============================================================
   WARNING BANNER (responsible-gambling.html)
   ============================================================ */
.warning-banner {
  margin: 0 0 32px;
  padding: 0 20px;
}

.warning-banner-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
}

.warning-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.warning-text strong {
  display: block;
  font-size: 1rem;
  color: #991b1b;
  margin-bottom: 4px;
}
.warning-text p {
  margin: 0;
  font-size: 0.88rem;
  color: #7f1d1d;
  line-height: 1.55;
}

/* ============================================================
   WARNING SIGNS LIST
   ============================================================ */
.warning-signs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.warning-signs-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: #fff;
  border: 1px solid #fecaca;
  border-left: 3px solid #dc2626;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.warning-signs-list li::before {
  content: "⚠";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #dc2626;
}
.warning-signs-list strong {
  color: var(--text);
  font-weight: 700;
}

/* ============================================================
   HELP GRID
   ============================================================ */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.help-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.help-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.help-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--text);
}

.help-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 14px;
}

.help-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: gap var(--transition);
}
.help-link:hover { gap: 8px; }

/* ============================================================
   TEAM GRID (about.html)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.team-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.team-avatar-alt {
  background: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.team-avatar-tertiary {
  background: #7c3aed;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.team-card h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--text);
}

.team-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 56px;
  padding: 0 20px;
}

/* Contact Info (Left) */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-block {
  padding: 22px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.contact-info-block:hover {
  border-color: var(--accent);
  background: #fff;
}

.contact-info-icon {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 8px;
}

.contact-info-block h3 {
  font-size: 0.95rem;
  margin: 0 0 6px;
  color: var(--text);
}

.contact-info-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 6px;
  line-height: 1.5;
}

.contact-info-block a {
  color: var(--accent);
  font-weight: 600;
  word-break: break-word;
}

.contact-info-note {
  font-size: 0.78rem !important;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 !important;
}

.contact-info-emergency {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.contact-info-emergency:hover {
  border-color: var(--success);
  background: #fff;
}
.contact-info-emergency h3 {
  color: var(--success);
}

/* Contact Form (Right) */
.contact-form-wrapper {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.form-row label span {
  color: #dc2626;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
  outline: none;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.5;
}

.form-row select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4 L6 8 L10 4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
}

.contact-submit {
  padding: 14px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  align-self: flex-start;
  min-width: 180px;
}
.contact-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.contact-submit:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

.contact-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}
.contact-message.is-visible { display: block; }
.contact-message.is-success {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid #bbf7d0;
}
.contact-message.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ============================================================
   LEGAL CONTENT (terms.html, privacy.html, disclaimer.html)
   ============================================================ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
  color: var(--text);
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}
.legal-content h2:first-of-type {
  margin-top: 12px;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 20px 24px;
  padding: 0;
  list-style: disc;
}
.legal-content ul li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text);
  font-weight: 700;
}

.legal-content a {
  color: var(--accent);
  font-weight: 600;
}

/* Table of contents */
.legal-toc {
  padding: 20px 24px;
  margin: 0 0 32px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-toc h3 {
  font-size: 0.9rem;
  margin: 0 0 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 24px;
}

.legal-toc ol li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.legal-toc ol li a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
.legal-toc ol li a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0 20px;
}

.legal-footer {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .legal-content h2 { font-size: 1.05rem; }
  .legal-content ul { margin-left: 18px; }

  .legal-toc {
    padding: 16px 18px;
  }
  .legal-toc ol {
    grid-template-columns: 1fr;
  }
}
/* === Featured casino card (best page) === */
.casino-card-featured {
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}
.casino-card-featured:hover {
  border-color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .contact-layout {
    padding: 0 16px;
    margin-bottom: 40px;
  }

  .contact-form-wrapper {
    padding: 24px 20px;
  }

  .contact-submit {
    align-self: stretch;
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team-card { padding: 24px 20px; }
}

/* Responsive */
@media (max-width: 600px) {
  .warning-banner { padding: 0 16px; }
  .warning-banner-inner {
    padding: 16px 18px;
    flex-direction: column;
    gap: 12px;
  }

  .warning-signs-list li {
    padding: 12px 14px 12px 40px;
    font-size: 0.85rem;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .author-section { padding: 0 16px; }

  .author-card-large {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .author-credentials {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }

  .criteria-block h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .text-content ol,
  .text-content ul {
    margin-left: 18px;
  }
  .text-content h3 { font-size: 1.05rem; }
}

/* Responsive */
@media (max-width: 768px) {
  .compare-table-wide {
    font-size: 0.82rem;
  }

  .head-to-head-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .head-to-head-row {
    grid-template-columns: 80px 1fr 70px;
    gap: 8px;
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  .alpha-filter { gap: 3px; padding: 0 16px; }
  .alpha-filter-item {
    min-width: 30px;
    height: 30px;
    font-size: 0.78rem;
    padding: 0 8px;
  }
}

@media (max-width: 600px) {
  .stats-bar { padding: 0 16px; }
  .stats-bar-inner { padding: 20px 16px; gap: 14px; }
  .stat-item { padding: 4px; }
}

/* Responsive */
@media (max-width: 600px) {
  .crypto-listing { padding: 0 16px; }
  .crypto-cards-grid { gap: 14px; }
  .crypto-card { padding: 20px; }
  .crypto-card-icon { width: 36px; height: 36px; }
}
/* === 22. Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}