/* Ninja Refinery design tokens — shared by blog.css and casino.css.
   Change the palette here and every page (blog + casino) follows. */
/* Dark is the default look; light is opt-in through the theme toggle ([data-theme="light"]). */
:root {
  color-scheme: dark;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --bg: #0b0d12;
  --surface: #141821;
  --surface-2: #1b202c;
  --text: #eef0f5;
  --muted: #a3abbb;
  --border: #242a38;

  --accent: #ff7a2f;
  --accent-strong: #ff9552;
  --accent-ink: #1a0d04;
  --accent-soft: rgba(255, 122, 47, .14);
  --accent-2: #8b5cf6;
  --link: #ffa066;
  --grad: linear-gradient(120deg, #ff7a2f 0%, #ff4d6d 100%);

  --success: #4ade80;
  --success-soft: rgba(74, 222, 128, .12);
  --danger: #ff7b72;
  --danger-soft: rgba(255, 123, 114, .12);
  --gold: #f5b301;

  --header-bg: rgba(11, 13, 18, 0.82);
  --footer-bg: #07080c;
  --footer-text: #98a0b0;
  --hero-from: #1b1f2f;
  --hero-to: #0b0d12;

  --radius-s: 8px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow: 0 14px 38px rgba(0, 0, 0, .5);
  --maxw: 1200px;
  --header-h: 68px;
  --measure: 72ch;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f2ec;
  --surface: #ffffff;
  --surface-2: #efebe3;
  --text: #15171c;
  --muted: #5c616d;
  --border: #e5dfd5;
  --accent: #e8590c;
  --accent-strong: #c2410c;
  --accent-ink: #ffffff;
  --accent-soft: #fff0e5;
  --link: #bf3f08;
  --success: #15803d;
  --success-soft: #e6f6ec;
  --danger: #c62828;
  --danger-soft: #fdeceb;
  --footer-bg: #11131a;
  --shadow-s: 0 1px 2px rgba(24, 18, 10, .06), 0 1px 1px rgba(24, 18, 10, .04);
  --shadow: 0 12px 32px rgba(24, 18, 10, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text, .visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; margin: 0; clip: auto;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--radius-s); z-index: 10000;
}

/* Author plate — one component for blog and casino pages */
.author-box-pro {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  padding: 28px;
  margin: 40px 0;
}
.author-media-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.author-media-col img {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0;
  background: var(--surface-2); border: 3px solid var(--accent-soft); box-shadow: none;
}
.author-email-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); color: var(--link); border: 1px solid transparent;
  border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.author-email-btn:hover { background: var(--accent); color: var(--accent-ink); }
.author-email-btn svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.author-label { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.author-text-col h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; color: var(--text); font-family: var(--font); }
.author-text-col h3 a { color: inherit; text-decoration: none; }
.author-text-col h3 a:hover { color: var(--accent); }
.author-text-col p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
@media (max-width: 600px) {
  .author-box-pro { grid-template-columns: 1fr; text-align: center; gap: 18px; padding: 22px 18px; }
}

:root { --font-display: 'Space Grotesk', var(--font); }
