:root {
  --clr-brand: #00E676;
  --clr-brand-hover: #18FF8A;
  --clr-brand-deep: #00A85A;
  --clr-accent-magenta: #D91572;
  --clr-accent-pink: #FF3FA4;
  --clr-accent-sport: #16C970;
  --clr-accent-promo: #7C3AED;
  --clr-accent-blue: #3B82F6;
  --clr-accent-cyan: #22D3EE;
  --clr-accent-gold: #F5B942;
  --clr-accent-orange: #FF8A1F;
  --clr-accent-red: #EF4444;
  --clr-btn-primary: #00E676;
  --clr-btn-hover: #3CFF9B;
  --clr-btn-dark: #101722;
  --clr-btn-slate: #1A2230;
  --clr-border-green: #00E676;
  --clr-white: #FFFFFF;
  --clr-soft-white: #F2F5F7;
  --clr-light-gray: #B8C0CC;
  --clr-muted-gray: #7D8796;
  --clr-dark-gray: #2D3748;
  --clr-bg-deepest: #060B12;
  --clr-bg-main: #0A1018;
  --clr-bg-slate: #101822;
  --clr-bg-elevated: #151E2A;
  --clr-border-slate: #263142;
  --clr-divider: #1E2936;
  --clr-heading: #FFFFFF;
  --clr-body: #CBD5E1;
  --clr-muted: #94A3B8;
  --clr-link: #00E676;
  --clr-slot-blue: #4DA3FF;
  --clr-live-red: #F04444;
  --clr-roulette-purple: #A855F7;
  --clr-dice-orange: #FF9F1C;
  --clr-mines-green: #22C55E;
  --clr-crash-cyan: #06B6D4;
  --clr-bronze: #B7793F;
  --clr-silver: #C0C8D2;
  --clr-gold: #F5C542;
  --clr-platinum: #A7D8FF;
  --clr-diamond: #7DEBFF;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-w: 860px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-body);
  background: var(--clr-bg-deepest);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--clr-link);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--clr-brand-hover);
}

a:focus-visible,
button:focus-visible,
details summary:focus-visible {
  outline: 2px solid var(--clr-brand);
  outline-offset: 3px;
  border-radius: 3px;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* ──── Masthead / Sticky Header ──── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 11, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-divider);
  transition: box-shadow var(--transition);
}

.masthead--scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.masthead__wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem var(--space-md);
  gap: var(--space-sm);
}

.masthead__brand {
  flex-shrink: 0;
}

.masthead__logo {
  height: 32px;
  width: auto;
}

.masthead__nav {
  display: none;
}

.masthead__list {
  display: flex;
  gap: var(--space-md);
}

.masthead__link {
  color: var(--clr-light-gray);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
  transition: color var(--transition);
}

.masthead__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-brand);
  transition: width var(--transition);
}

.masthead__link:hover,
.masthead__link--active {
  color: var(--clr-white);
}

.masthead__link:hover::after,
.masthead__link--active::after {
  width: 100%;
}

.masthead__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1010;
}

.masthead__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.masthead__toggle[aria-expanded="true"] .masthead__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.masthead__toggle[aria-expanded="true"] .masthead__bar:nth-child(2) {
  opacity: 0;
}

.masthead__toggle[aria-expanded="true"] .masthead__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .masthead__nav {
    display: flex;
  }
  .masthead__toggle {
    display: none;
  }
}

/* Mobile nav overlay */
.masthead__nav.is-open {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 18, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1005;
}

.masthead__nav.is-open .masthead__list {
  flex-direction: column;
  gap: var(--space-lg);
  text-align: center;
}

.masthead__nav.is-open .masthead__link {
  font-size: 1.25rem;
}

/* ──── Spotlight / Hero ──── */
.spotlight {
  padding: var(--space-xl) 0 var(--space-lg);
  background: linear-gradient(170deg, var(--clr-bg-main) 0%, var(--clr-bg-deepest) 60%, rgba(0, 230, 118, 0.04) 100%);
  text-align: center;
  border-bottom: 1px solid var(--clr-divider);
}

.spotlight__heading {
  font-size: clamp(1.65rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: var(--clr-heading);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.spotlight__text {
  max-width: 680px;
  margin: 0 auto var(--space-lg);
  font-size: 1.05rem;
  color: var(--clr-body);
  line-height: 1.75;
}

/* ──── Action Buttons ──── */
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background var(--transition), transform 0.15s ease, box-shadow var(--transition);
}

.action-btn--primary {
  background: var(--clr-btn-primary);
  color: var(--clr-bg-deepest);
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.25);
}

.action-btn--primary:hover {
  background: var(--clr-btn-hover);
  color: var(--clr-bg-deepest);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 230, 118, 0.35);
}

.action-btn--accent {
  background: var(--clr-btn-primary);
  color: var(--clr-bg-deepest);
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.2);
}

.action-btn--accent:hover {
  background: var(--clr-btn-hover);
  color: var(--clr-bg-deepest);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 230, 118, 0.35);
}

.action-btn:active {
  transform: translateY(0);
}

/* ──── Segments (Content Sections) ──── */
.segment {
  padding: var(--space-xl) 0;
}

.segment--alt {
  background: var(--clr-bg-main);
}

.segment__title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.segment__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--clr-heading);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.segment p {
  margin-bottom: var(--space-sm);
}

.segment p:last-child {
  margin-bottom: 0;
}

/* ──── Promo Banner ──── */
.promo-banner {
  margin: var(--space-lg) 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--clr-brand), var(--clr-accent-cyan), var(--clr-accent-promo));
}

.promo-banner__inner {
  background: var(--clr-bg-elevated);
  border-radius: calc(var(--radius-lg) - 2px);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.promo-banner__icon {
  border-radius: var(--radius-md);
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}

.promo-banner__body {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.promo-banner__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-brand);
  margin-bottom: 0.25rem;
}

.promo-banner__value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.2;
}

.promo-banner__note {
  display: block;
  font-size: 0.82rem;
  color: var(--clr-muted);
  margin-top: 0.35rem;
}

@media (min-width: 640px) {
  .promo-banner__inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    text-align: left;
  }
  .promo-banner__body {
    text-align: left;
  }
}

/* ──── Data Grid (Table) ──── */
.scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-md) 0;
}

.data-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 420px;
}

.data-grid th,
.data-grid td {
  padding: 0.85rem var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--clr-divider);
}

.data-grid th {
  background: var(--clr-bg-slate);
  color: var(--clr-brand);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.data-grid td:first-child {
  color: var(--clr-soft-white);
  font-weight: 500;
  white-space: nowrap;
}

.data-grid tbody tr:hover {
  background: rgba(0, 230, 118, 0.04);
}

/* ──── Step Sequence (Numbered Steps) ──── */
.step-sequence {
  counter-reset: step-counter;
  padding-left: 0;
  margin: var(--space-md) 0;
}

.step-sequence li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 3.2rem;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.step-sequence li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--clr-bg-elevated);
  border: 2px solid var(--clr-brand);
  color: var(--clr-brand);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ──── Feature Rundown / Detail Listing / Checklist ──── */
.feature-rundown,
.detail-listing,
.checklist-items,
.troubleshoot-roster,
.responsibility-points {
  margin: var(--space-md) 0;
  padding-left: 0;
}

.feature-rundown li,
.detail-listing li,
.checklist-items li,
.troubleshoot-roster li,
.responsibility-points li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.feature-rundown li::before,
.detail-listing li::before,
.responsibility-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-brand);
}

.checklist-items li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--clr-brand);
  font-weight: 700;
  font-size: 1rem;
}

.troubleshoot-roster li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clr-accent-orange);
  color: var(--clr-bg-deepest);
  font-weight: 800;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ──── Accordion (FAQ) ──── */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.accordion-unit {
  background: var(--clr-bg-slate);
  border: 1px solid var(--clr-border-slate);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.accordion-unit[open] {
  border-color: var(--clr-brand);
}

.accordion-unit__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-soft-white);
  list-style: none;
  transition: color var(--transition);
  gap: var(--space-sm);
}

.accordion-unit__trigger::-webkit-details-marker {
  display: none;
}

.accordion-unit__trigger::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--clr-brand);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.accordion-unit[open] .accordion-unit__trigger::after {
  content: '−';
}

.accordion-unit__trigger:hover {
  color: var(--clr-brand);
}

.accordion-unit__content {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--clr-body);
  font-size: 0.93rem;
  line-height: 1.75;
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ──── Author Card ──── */
.author-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--clr-bg-slate);
  border: 1px solid var(--clr-border-slate);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.author-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--clr-border-slate);
}

.author-card__label {
  display: block;
  font-size: 0.75rem;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.author-card__name {
  display: block;
  font-size: 1.05rem;
  color: var(--clr-heading);
  margin-bottom: 0.25rem;
}

.author-card__bio {
  font-size: 0.85rem;
  color: var(--clr-muted);
  line-height: 1.6;
  margin: 0;
}

/* ──── Legal Pages ──── */
.legal-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--clr-bg-main);
  text-align: center;
  border-bottom: 1px solid var(--clr-divider);
}

.legal-hero__heading {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--clr-heading);
  margin-bottom: var(--space-xs);
}

.legal-hero__date {
  color: var(--clr-muted);
  font-size: 0.9rem;
}

.legal-body {
  padding: var(--space-xl) 0;
}

.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

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

.legal-body p {
  margin-bottom: var(--space-sm);
}

.legal-body ul {
  margin: var(--space-sm) 0;
  padding-left: 1.5rem;
}

.legal-body ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.legal-body ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--clr-brand);
  font-weight: 700;
}

/* ──── Footer ──── */
.site-footer {
  background: var(--clr-bg-main);
  border-top: 1px solid var(--clr-divider);
  padding: var(--space-xl) 0 var(--space-lg);
}

.site-footer .container {
  max-width: 1120px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.site-footer__logo {
  height: 28px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.site-footer__about {
  font-size: 0.85rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

.site-footer__heading {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-soft-white);
  margin-bottom: var(--space-sm);
}

.site-footer__links li {
  margin-bottom: 0.5rem;
}

.site-footer__links a {
  color: var(--clr-light-gray);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.site-footer__links a:hover {
  color: var(--clr-brand);
}

.site-footer__badges {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

.site-footer__badges img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
}

.site-footer__disclaimer {
  border-top: 1px solid var(--clr-divider);
  padding-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.site-footer__disclaimer p {
  font-size: 0.8rem;
  color: var(--clr-muted-gray);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.site-footer__disclaimer a {
  color: var(--clr-light-gray);
  text-decoration: underline;
}

.site-footer__disclaimer a:hover {
  color: var(--clr-brand);
}

.site-footer__bottom {
  border-top: 1px solid var(--clr-divider);
  padding-top: var(--space-md);
  text-align: center;
}

.site-footer__bottom p {
  font-size: 0.78rem;
  color: var(--clr-muted-gray);
}

.site-footer__bottom a {
  color: var(--clr-light-gray);
}

/* ──── Scroll-to-Top ──── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-bg-elevated);
  border: 1px solid var(--clr-border-slate);
  color: var(--clr-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--clr-brand);
  color: var(--clr-bg-deepest);
  border-color: var(--clr-brand);
}

/* ──── Responsive fine-tuning ──── */
@media (max-width: 480px) {
  :root {
    --space-md: 1rem;
    --space-lg: 1.75rem;
    --space-xl: 2.5rem;
  }

  .spotlight__heading {
    font-size: 1.5rem;
  }

  .promo-banner__inner {
    padding: var(--space-sm);
    gap: var(--space-sm);
  }

  .promo-banner__value {
    font-size: 1.15rem;
  }

  .action-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.92rem;
    width: 100%;
    text-align: center;
  }

  .step-sequence li {
    padding-left: 2.8rem;
  }

  .step-sequence li::before {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.78rem;
  }

  .accordion-unit__trigger {
    font-size: 0.88rem;
    padding: 0.85rem var(--space-sm);
  }

  .author-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .spotlight {
    padding: var(--space-xl) 0;
    padding-top: 5rem;
  }

  .data-grid {
    min-width: 0;
  }
}

@media (min-width: 1024px) {
  :root {
    --max-w: 920px;
  }
}

/* ──── Print ──── */
@media print {
  .masthead,
  .back-to-top,
  .action-btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }
}