/* ==========================================================================
   Brionis Casino — Crimson Gold (PL)
   ========================================================================== */

:root {
  --bg-deep: #04050E;
  --bg-mid: #0A0B16;
  --bg-light: #14162E;

  --cta-start: #E51E38;
  --cta-end: #B00E1C;
  --red: #D7152E;
  --red-deep: #8E1220;

  --gold: #E0A94E;
  --gold-light: #F3C969;

  --white: #FFFFFF;
  --cream: #F5EFE6;
  --text-secondary: #B9BCCB;
  --text-muted: #7E8296;

  --card-bg: #0F111F;
  --card-bg-alt: #161A2E;
  --card-hover: #1E2340;
  --blue-glow: #1E2A6B;
  --border: rgba(255, 255, 255, 0.07);

  --header-h: 56px;
  --radius: 18px;
  --radius-sm: 14px;
  --maxw: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-mid) 42%, var(--bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ambient radial glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 82% 4%, rgba(213, 21, 46, 0.12), transparent 60%),
    radial-gradient(520px 380px at 12% 22%, rgba(224, 169, 78, 0.09), transparent 60%),
    radial-gradient(700px 520px at 50% 92%, rgba(30, 42, 107, 0.12), transparent 65%);
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--gold-light);
}

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--cta-start);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

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

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 5, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-pinned {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.header-inner {
  width: 100%;
  margin: 0;
  padding: 0.4rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo img {
  width: 34px;
  height: 34px;
  flex: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text .logo-brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, var(--cream), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cream);
}

.logo-text .logo-sub {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  color: var(--text-muted);
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-buttons .btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-register,
.btn-cta {
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(213, 21, 46, 0.35);
}

.btn-register:hover,
.btn-cta:hover {
  color: var(--white);
  box-shadow: 0 12px 30px rgba(213, 21, 46, 0.5);
}

.btn-login {
  background: transparent;
  border-color: var(--border);
  color: var(--white);
}

.btn-login:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn-cta {
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--cream);
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  max-width: var(--maxw);
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumbs li + li::before {
  content: "\203A";
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs [aria-current="page"] {
  color: var(--red);
  font-weight: 600;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 60% 40%, rgba(213, 21, 46, 0.35), transparent 60%),
    radial-gradient(circle at 40% 60%, rgba(30, 42, 107, 0.4), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.hero-highlight {
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.hero-lead {
  max-width: 720px;
  margin: 0 auto 1.6rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Layout container + content card
   ========================================================================== */
.container {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.content-card {
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2.25rem 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

/* ---------- Prose typography ---------- */
.prose h2 {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;
  margin: 2.4rem 0 1rem;
  padding-left: 0.9rem;
  position: relative;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--red), var(--gold));
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 1.6rem 0 0.6rem;
}

.prose p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.prose ul,
.prose ol {
  margin: 0 0 1.1rem 1.2rem;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.prose ol.steps {
  list-style: none;
  margin-left: 0;
  counter-reset: step;
}

.prose ol.steps li {
  position: relative;
  padding: 0.15rem 0 0.15rem 2.6rem;
  margin-bottom: 0.75rem;
  counter-increment: step;
}

.prose ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(213, 21, 46, 0.35);
}

.prose strong,
.prose b {
  color: var(--cream);
  font-weight: 600;
}

.prose a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(224, 169, 78, 0.4);
}

.lead-intro {
  font-size: 1.08rem;
  color: var(--cream);
}

/* ==========================================================================
   Bonus banner
   ========================================================================== */
.app-bonus {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(224, 169, 78, 0.45);
  background: linear-gradient(120deg, rgba(213, 21, 46, 0.14), rgba(224, 169, 78, 0.12));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-bonus .bonus-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.app-bonus .bonus-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.app-bonus .bonus-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Feature grid
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  align-items: start;
  grid-auto-rows: min-content;
  margin: 1.5rem 0;
}

.feature-card {
  align-self: start;
  height: auto;
  min-height: 0;
  background: linear-gradient(160deg, var(--card-bg-alt), var(--card-bg));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: scale(1.02);
  border-color: rgba(224, 169, 78, 0.4);
  box-shadow: 0 10px 26px rgba(224, 169, 78, 0.15);
}

.feature-card .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(213, 21, 46, 0.25), rgba(224, 169, 78, 0.25));
  border: 1px solid var(--border);
}

.feature-card h3 {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Widget panels
   ========================================================================== */
.widget-panel {
  margin: 2rem 0;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(224, 169, 78, 0.35);
  background: linear-gradient(160deg, rgba(21, 24, 44, 0.9), rgba(15, 17, 31, 0.95));
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  position: relative;
}

.widget-panel > h2 {
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  margin: 0 0 0.35rem;
  padding-left: 0;
}

.widget-panel > h2::before {
  display: none;
}

.widget-panel .widget-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.demo-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(224, 169, 78, 0.4);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ---------- Bonus calculator ---------- */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.calc-control label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.calc-control label .val {
  color: var(--gold-light);
  font-weight: 700;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cta-start), var(--gold));
  outline-offset: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--red);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--red);
  cursor: pointer;
}

.calc-result {
  margin-top: 1.5rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  background: rgba(213, 21, 46, 0.1);
  border: 1px solid rgba(224, 169, 78, 0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.calc-result .result-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.calc-result .result-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
}

.calc-result .result-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-basis: 100%;
}

/* ---------- Slots lobby ---------- */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.slot-card {
  background: linear-gradient(160deg, var(--card-bg-alt), var(--card-bg));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.slot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 169, 78, 0.4);
}

.slot-thumb {
  height: 84px;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: radial-gradient(circle at 50% 30%, rgba(224, 169, 78, 0.28), rgba(15, 17, 31, 0.6));
  border: 1px solid var(--border);
}

.slot-card .slot-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.15rem;
}

.slot-card .slot-provider {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

/* ---------- Quiz ---------- */
.quiz-question {
  font-size: 1rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 1rem;
}

.quiz-options {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.quiz-option:hover {
  border-color: rgba(224, 169, 78, 0.4);
  background: rgba(224, 169, 78, 0.06);
}

.quiz-option input {
  accent-color: var(--red);
}

.quiz-result {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--gold-light);
  min-height: 1.4rem;
  font-weight: 600;
}

/* ---------- Roulette ---------- */
.roulette-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.roulette-display {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  background: conic-gradient(from 0deg, var(--red-deep), var(--red), var(--gold), var(--red-deep));
  border: 4px solid rgba(224, 169, 78, 0.5);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease;
}

.roulette-display.spinning {
  animation: rouletteSpin 0.5s linear infinite;
}

@keyframes rouletteSpin {
  to {
    transform: rotate(360deg);
  }
}

.roulette-status {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 1.3rem;
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrapper {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table thead th {
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-align: left;
}

.data-table tbody td {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.data-table tbody tr {
  background: var(--card-bg);
  transition: background 0.15s ease;
}

.data-table tbody tr:hover {
  background: var(--card-hover);
}

.data-table b {
  color: var(--gold-light);
  font-weight: 600;
}

/* ==========================================================================
   CTA block
   ========================================================================== */
.cta-block {
  position: relative;
  z-index: 1;
  margin: 2.5rem auto 0;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(135deg, rgba(213, 21, 46, 0.18), rgba(30, 42, 107, 0.2));
  border: 1px solid rgba(224, 169, 78, 0.35);
  overflow: hidden;
}

.cta-block h2 {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-block p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  color: var(--text-secondary);
}

.cta-block .disclaimer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(4, 5, 14, 0.6);
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pay-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.55;
}

.footer-legal .age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  body {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
  }

  .logo {
    justify-content: center;
  }

  .header-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .header-buttons .btn {
    min-height: 42px;
    width: 100%;
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
  }

  .hero {
    padding: 2rem 1rem 1.5rem;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .hero-lead {
    font-size: 0.875rem;
  }

  .container {
    padding: 0 1rem 2rem;
  }

  .content-card {
    padding: 1.35rem 1.1rem 1.6rem;
    border-radius: var(--radius-sm);
  }

  .prose h2 {
    font-size: clamp(1.05rem, 4vw, 1.35rem);
  }

  .prose h3 {
    font-size: 0.95rem;
  }

  .prose p,
  .prose li {
    font-size: 0.875rem;
  }

  .widget-panel {
    padding: 1.25rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tables → card layout */
  .table-wrapper {
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .data-table {
    display: block;
  }

  .data-table thead {
    display: none;
  }

  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tbody tr {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(160deg, var(--card-bg-alt), var(--card-bg));
  }

  .data-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    text-align: right;
    border-top: 1px solid var(--border);
    padding: 0.65rem 0.9rem;
  }

  .data-table tbody tr td:first-child {
    border-top: none;
  }

  .data-table tbody td::before {
    content: attr(data-label);
    text-align: left;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    flex: none;
    max-width: 45%;
  }

  .cta-block {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 380px) {
  body {
    font-size: 0.8125rem;
  }

  .prose h2 {
    font-size: 1.02rem;
  }

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

  .roulette-display {
    width: 108px;
    height: 108px;
    font-size: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
