/* ============================================================
   Twindor Casino — Dark Purple Theme
   Version: 1.0 · June 2026
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  --bg-deep:        #0D0B1A;
  --bg-mid:         #110E22;
  --bg-light:       #1A1530;
  --cta-start:      #7B2FBE;
  --cta-end:        #A033CC;
  --purple:         #8B2FC9;
  --purple-light:   #A033CC;
  --neon-start:     #8B2FC9;
  --gold:           #FFC107;
  --gold-light:     #FFD54F;
  --white:          #FFFFFF;
  --text-secondary: #B0B3C7;
  --text-muted:     #8A8FA3;
  --card-bg:        #16122A;
  --card-bg-alt:    #1E1938;
  --card-hover:     #26204A;
  --border:         rgba(139, 47, 201, 0.2);
  --header-h:       72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(139,47,201,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(80,30,130,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Skip Link ──────────────────────────────────────────── */
.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;
}
.sr-only:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 18px;
  background: var(--purple);
  color: var(--white);
  border-radius: 8px;
  z-index: 9999;
  clip: auto;
  font-weight: 600;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(1.75rem, 5vw, 3rem); }

h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  position: relative;
  padding-left: 18px;
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
}
h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 4px;
  background: linear-gradient(180deg, var(--purple), var(--purple-light));
  border-radius: 2px;
}

h3 {
  font-size: 1.2rem;
  color: var(--purple-light);
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

p { margin-bottom: 0.9rem; }

a { color: var(--purple-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

ul, ol {
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
}
li { margin-bottom: 0.3rem; }

strong { color: var(--white); }
b { color: var(--gold); }

/* ── Site Header ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 11, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.is-pinned {
  box-shadow: 0 4px 32px rgba(139, 47, 201, 0.2);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Header Buttons */
.header-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-register,
.btn-login,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.3rem;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  border: none;
}

.btn-register,
.btn-cta {
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(139, 47, 201, 0.45);
}
.btn-register:hover,
.btn-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(160, 51, 204, 0.6);
  color: var(--white);
}

.btn-login {
  background: transparent;
  color: var(--purple-light);
  border: 1.5px solid var(--purple);
}
.btn-login:hover {
  background: rgba(139, 47, 201, 0.12);
  color: var(--purple-light);
  transform: translateY(-1px);
}

.btn-cta {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(139, 47, 201, 0.5);
}

/* ── Breadcrumbs ────────────────────────────────────────── */
.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--purple-light); }
.breadcrumbs .sep { margin: 0 0.35rem; }
.breadcrumbs .current { color: var(--purple-light); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(139, 47, 201, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

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

/* ── Container & Content Card ───────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 1;
}

.content-card {
  background: linear-gradient(160deg, var(--card-bg) 0%, var(--card-bg-alt) 100%);
  border-radius: 18px;
  padding: 2.5rem 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple) 0%, #9B3CC0 50%, var(--gold) 100%);
  border-radius: 18px 18px 0 0;
}

.prose section { margin-bottom: 0.5rem; }

/* ── Bonus Banner ───────────────────────────────────────── */
.app-bonus {
  background: linear-gradient(135deg, rgba(123,47,190,0.15) 0%, rgba(139,47,201,0.08) 100%);
  border: 1px solid rgba(139, 47, 201, 0.45);
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.app-bonus-icon { font-size: 1.6rem; flex-shrink: 0; }
.app-bonus-text {
  font-weight: 600;
  color: var(--white);
  font-size: 1.05rem;
}
.app-bonus-text span { color: var(--gold); }

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

.feature-card {
  background: linear-gradient(160deg, rgba(26,21,48,0.9) 0%, rgba(30,25,56,0.9) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
  align-self: start;
  height: auto;
  min-height: 0;
}
.feature-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(139, 47, 201, 0.35);
}
.feature-card-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.feature-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin: 0 0 0.4rem;
}
.feature-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* ── Widget Panels ──────────────────────────────────────── */
.widget-panel {
  background: linear-gradient(160deg, rgba(18,15,35,0.96) 0%, rgba(22,18,42,0.96) 100%);
  border: 1px solid rgba(139, 47, 201, 0.4);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.widget-panel h2 {
  font-size: 1.3rem;
  color: var(--gold);
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 1.2rem;
}
.widget-panel h2::before { display: none; }

.widget-panel h3 {
  font-size: 1rem;
  color: var(--purple-light);
  margin-top: 0.8rem;
}

/* Bonus Calculator */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.calc-field label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--purple);
  cursor: pointer;
  height: 4px;
}
.calc-val {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}
.calc-result {
  background: rgba(139, 47, 201, 0.12);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  text-align: center;
  margin-top: 0.5rem;
}
.calc-result-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.calc-result-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

/* Slot Lobby */
.slot-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.btn-filter {
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-filter.active,
.btn-filter:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.slot-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.slot-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(139,47,201,0.3); }
.slot-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(60,20,100,0.8), rgba(20,15,40,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
.slot-info { padding: 0.6rem 0.7rem; }
.slot-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.slot-rtp {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.btn-demo {
  display: block;
  width: 100%;
  padding: 0.4rem;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-demo:hover { opacity: 0.82; }

/* Quiz */
.quiz-options { list-style: none; padding: 0; margin: 0.8rem 0 1rem; }
.quiz-options li {
  margin-bottom: 0.5rem;
}
.quiz-options label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  background: rgba(139,47,201,0.07);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s;
}
.quiz-options label:hover {
  background: rgba(139,47,201,0.15);
  border-color: var(--purple);
}
.quiz-options input[type="radio"] { accent-color: var(--purple); }

.btn-quiz {
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-quiz:hover { opacity: 0.82; }

.quiz-result {
  margin-top: 0.8rem;
  padding: 0.75rem 1rem;
  background: rgba(139,47,201,0.12);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 2.5rem;
}

/* Demo Roulette */
.roulette-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.roulette-wheel {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    #c41e3a 0deg 36deg,
    #1a1a1a 36deg 72deg,
    #c41e3a 72deg 108deg,
    #1a1a1a 108deg 144deg,
    #c41e3a 144deg 180deg,
    #1a1a1a 180deg 216deg,
    #c41e3a 216deg 252deg,
    #1a1a1a 252deg 288deg,
    #c41e3a 288deg 324deg,
    #1a1a1a 324deg 360deg
  );
  border: 3px solid var(--gold);
  box-shadow: 0 0 18px rgba(255,193,7,0.35);
  transition: transform 0.05s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.roulette-ball {
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
  position: absolute;
  top: 10px;
  right: 10px;
}
.roulette-controls { display: flex; flex-direction: column; gap: 0.7rem; }
.roulette-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 60px;
  text-align: center;
}
.btn-spin {
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-spin:hover { opacity: 0.82; }
.roulette-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Tables ─────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  margin: 1.5rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.data-table thead tr {
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
}
.data-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: var(--card-hover); }

.data-table td {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  vertical-align: middle;
}
.data-table td b { color: var(--gold); }

/* ── Step Lists ─────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0.8rem 0 1rem; }
.steps li {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 0.65rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.05em;
}
.step-text { color: var(--text-secondary); font-size: 0.92rem; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { margin: 1rem 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.faq-q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--purple-light);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  display: none;
  line-height: 1.6;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA Block ──────────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: 3rem 2rem;
  margin: 2rem 0;
  background: linear-gradient(160deg, rgba(123,47,190,0.15) 0%, rgba(139,47,201,0.08) 100%);
  border: 1px solid rgba(139,47,201,0.35);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(139,47,201,0.12), transparent);
  pointer-events: none;
}
.cta-block h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin: 0 0 0.75rem;
  padding-left: 0;
}
.cta-block h2::before { display: none; }
.cta-block p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ── Site Footer ────────────────────────────────────────── */
.site-footer {
  background: rgba(13, 11, 26, 0.88);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pay-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.pay-chip {
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-copy a { color: var(--text-muted); }
.footer-copy a:hover { color: var(--purple-light); }
.footer-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(139,47,201,0.25);
  border: 1px solid var(--purple);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  vertical-align: middle;
  margin-left: 4px;
}

/* ── Utility ────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-purple { color: var(--purple-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

/* Demo notice */
.demo-notice {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(139,47,201,0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
}

/* ── Responsive — ≤768px ───────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 116px; }

  body {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  h1 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
  h2 { font-size: clamp(1.05rem, 4vw, 1.35rem); }
  h3 { font-size: 0.95rem; }
  p, li { font-size: 0.875rem; }

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

  .header-inner {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 0.75rem 1.5rem;
    gap: 0.6rem;
  }

  .header-buttons {
    width: 100%;
    gap: 8px;
  }
  .btn-register,
  .btn-login {
    flex: 1;
    min-height: 42px;
    font-size: 0.85rem;
    padding: 0.5rem 0.5rem;
  }

  .content-card {
    padding: 1.4rem 1.1rem;
    border-radius: 14px;
  }

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

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

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

  .roulette-wrap { flex-direction: column; align-items: flex-start; }

  /* Tables → card layout on mobile */
  .data-table { min-width: 0; }
  .data-table thead { display: none; }
  .data-table tbody tr {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  .data-table tbody tr:hover { background: var(--card-hover); }
  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.25rem;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(139,47,201,0.1);
  }
  .data-table td:last-child { border-bottom: none; }
  .data-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }

  .widget-panel { padding: 1.2rem 1.1rem; }
  .cta-block { padding: 2rem 1.1rem; }
}

/* ── Responsive — ≤380px ───────────────────────────────── */
@media (max-width: 380px) {
  body { font-size: 0.8125rem; }
  h2 { font-size: clamp(0.95rem, 4.5vw, 1.1rem); }
  .slot-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .content-card { padding: 1.1rem 0.85rem; }
}
