/* ============================================================
   taishbet — tw-style.css
   Deep luxury dark theme for Vietnamese betting APK promo site
   Prefix: tw | Naming: kebab-case | Layout: grid-first
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lato:wght@400;700&display=swap');

/* ──────────────────────────────────────────
   1. CUSTOM PROPERTIES
   ────────────────────────────────────────── */
:root {
  --tw-accent: #d788a5;
  --tw-bg: #25131e;
  --tw-ink: #eae6e9;
  --tw-muted: #c7adbe;
  --tw-surface: #22161e;
  --tw-btn-ink: #2e151e;
  --tw-radius: 20px;
  --tw-radius-sm: 12px;
  --tw-radius-xs: 8px;

  /* gradients */
  --tw-grad-dl: linear-gradient(135deg, #aa48db 0%, #8473e2 100%);
  --tw-grad-login: linear-gradient(135deg, #28afa1 0%, #5ee49a 100%);
  --tw-grad-reg: linear-gradient(135deg, #d85596 0%, #e12d60 100%);

  /* surfaces & borders */
  --tw-border: rgba(215, 136, 165, 0.12);
  --tw-border-hover: rgba(215, 136, 165, 0.28);
  --tw-surface-hover: #2a1a24;
  --tw-overlay: rgba(37, 19, 30, 0.85);

  /* shadows */
  --tw-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --tw-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
  --tw-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.45);
  --tw-shadow-glow: 0 0 24px rgba(215, 136, 165, 0.15);

  /* typography */
  --tw-font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --tw-font-body: 'Lato', system-ui, -apple-system, sans-serif;
  --tw-font-mono: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;

  /* spacing scale */
  --tw-sp-xs: 0.5rem;
  --tw-sp-sm: 0.75rem;
  --tw-sp-md: 1rem;
  --tw-sp-lg: 1.5rem;
  --tw-sp-xl: 2rem;
  --tw-sp-2xl: 3rem;
  --tw-sp-3xl: 4rem;

  /* transitions */
  --tw-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --tw-transition-fast: 0.2s var(--tw-ease);
  --tw-transition: 0.3s var(--tw-ease);

  /* layout */
  --tw-max-w: 1200px;
  --tw-header-h: 72px;
}

/* ──────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

.tw-body {
  font-family: var(--tw-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tw-ink);
  background-color: var(--tw-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: #e4a5be;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tw-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--tw-ink);
}

/* ──────────────────────────────────────────
   3. ACCESSIBILITY
   ────────────────────────────────────────── */

/* Skip link */
.tw-skip {
  position: absolute;
  top: -100%;
  left: var(--tw-sp-md);
  z-index: 10000;
  padding: var(--tw-sp-sm) var(--tw-sp-lg);
  font-family: var(--tw-font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--tw-btn-ink);
  background: var(--tw-grad-dl);
  border-radius: var(--tw-radius-xs);
  transition: top var(--tw-transition-fast);
}

.tw-skip:focus {
  top: var(--tw-sp-sm);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 3px;
}

/* 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;
  }

  .tw-particles,
  .tw-rain {
    display: none !important;
  }
}

/* ──────────────────────────────────────────
   4. LAYOUT UTILITIES
   ────────────────────────────────────────── */
.tw-wrap {
  width: 100%;
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

/* ──────────────────────────────────────────
   5. STICKY HEADER
   ────────────────────────────────────────── */
.tw-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--tw-header-h);
  background: var(--tw-overlay);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--tw-border);
  transition: box-shadow var(--tw-transition);
}

.tw-header.is-scrolled {
  box-shadow: var(--tw-shadow-md);
}

.tw-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--tw-sp-lg);
  height: 100%;
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-logo {
  display: flex;
  align-items: center;
  gap: var(--tw-sp-sm);
  font-family: var(--tw-font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--tw-ink);
  letter-spacing: -0.02em;
}

.tw-logo img {
  height: 40px;
  width: auto;
  border-radius: var(--tw-radius-xs);
}

/* Navigation */
.tw-nav {
  justify-self: center;
}

.tw-nav-menu {
  display: flex;
  align-items: center;
  gap: var(--tw-sp-xs);
  list-style: none;
}

.tw-nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--tw-sp-xs) var(--tw-sp-md);
  font-family: var(--tw-font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tw-muted);
  border-radius: var(--tw-radius-sm);
  transition: color var(--tw-transition-fast), background var(--tw-transition-fast);
}

.tw-nav-link:hover,
.tw-nav-link[aria-current="page"] {
  color: var(--tw-ink);
  background: rgba(215, 136, 165, 0.08);
}

.tw-nav-link[aria-current="page"] {
  color: var(--tw-accent);
}

/* Mobile nav toggle */
.tw-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-xs);
  color: var(--tw-ink);
  cursor: pointer;
  font-size: 1.25rem;
  transition: border-color var(--tw-transition-fast);
}

.tw-nav-toggle:hover {
  border-color: var(--tw-border-hover);
}

/* ──────────────────────────────────────────
   6. HERO
   ────────────────────────────────────────── */
.tw-hero {
  position: relative;
  overflow: hidden;
  padding: var(--tw-sp-3xl) 0 var(--tw-sp-2xl);
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(170, 72, 219, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(215, 136, 165, 0.08) 0%, transparent 60%),
    var(--tw-bg);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.tw-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tw-sp-2xl);
  align-items: center;
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
  position: relative;
  z-index: 2;
}

.tw-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--tw-sp-md);
}

.tw-hero__title span {
  background: var(--tw-grad-dl);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tw-hero__sub {
  font-size: 1.125rem;
  color: var(--tw-muted);
  margin-bottom: var(--tw-sp-xl);
  max-width: 520px;
}

.tw-hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tw-sp-sm);
  margin-bottom: var(--tw-sp-xl);
  list-style: none;
}

.tw-hero__perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: var(--tw-sp-xs) var(--tw-sp-md);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tw-accent);
  background: rgba(215, 136, 165, 0.08);
  border: 1px solid var(--tw-border);
  border-radius: 100px;
}

.tw-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tw-sp-md);
}

/* Hero carousel (right column) */
.tw-carousel {
  position: relative;
  border-radius: var(--tw-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--tw-shadow-lg);
  border: 1px solid var(--tw-border);
}

.tw-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--tw-ease);
}

.tw-carousel__slide.is-active {
  opacity: 1;
}

.tw-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tw-carousel__dots {
  position: absolute;
  bottom: var(--tw-sp-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--tw-sp-xs);
  z-index: 3;
}

.tw-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--tw-transition-fast), border-color var(--tw-transition-fast);
}

.tw-carousel__dot.is-active,
.tw-carousel__dot:hover {
  background: var(--tw-accent);
  border-color: var(--tw-accent);
}

/* Rain particles overlay */
.tw-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.tw-rain {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(215, 136, 165, 0.3), transparent);
  animation: tw-rain-fall linear infinite;
}

@keyframes tw-rain-fall {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100vh + 100%));
    opacity: 0;
  }
}

/* ──────────────────────────────────────────
   7. BUTTONS
   ────────────────────────────────────────── */
.tw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.8em;
  font-family: var(--tw-font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tw-btn-ink);
  border: none;
  border-radius: var(--tw-radius);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  transition: filter var(--tw-transition-fast), transform var(--tw-transition-fast), box-shadow var(--tw-transition-fast);
  position: relative;
  overflow: hidden;
}

.tw-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--tw-transition-fast);
}

.tw-btn:hover::after {
  opacity: 1;
}

.tw-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: var(--tw-shadow-md);
}

.tw-btn:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

.tw-btn--dl {
  background: var(--tw-grad-dl);
  box-shadow: 0 4px 16px rgba(170, 72, 219, 0.3);
}

.tw-btn--dl:hover {
  box-shadow: 0 6px 24px rgba(170, 72, 219, 0.45);
}

.tw-btn--login {
  background: var(--tw-grad-login);
  box-shadow: 0 4px 16px rgba(40, 175, 161, 0.3);
}

.tw-btn--login:hover {
  box-shadow: 0 6px 24px rgba(40, 175, 161, 0.45);
}

.tw-btn--reg {
  background: var(--tw-grad-reg);
  box-shadow: 0 4px 16px rgba(216, 85, 150, 0.3);
}

.tw-btn--reg:hover {
  box-shadow: 0 6px 24px rgba(216, 85, 150, 0.45);
}

/* Ghost / outline variant */
.tw-btn--ghost {
  background: transparent;
  color: var(--tw-accent);
  border: 1px solid var(--tw-border);
}

.tw-btn--ghost:hover {
  background: rgba(215, 136, 165, 0.08);
  border-color: var(--tw-border-hover);
  filter: none;
}

/* Small button */
.tw-btn--sm {
  padding: 0.5em 1.2em;
  font-size: 0.8125rem;
  border-radius: var(--tw-radius-sm);
}

/* ──────────────────────────────────────────
   8. SECTIONS (generic)
   ────────────────────────────────────────── */
.tw-section {
  padding: var(--tw-sp-3xl) 0;
}

.tw-section:nth-child(even) {
  background:
    linear-gradient(180deg, transparent 0%, rgba(215, 136, 165, 0.02) 50%, transparent 100%);
}

.tw-section__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--tw-sp-2xl);
  letter-spacing: -0.02em;
}

.tw-section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: var(--tw-sp-md) auto 0;
  background: var(--tw-grad-dl);
  border-radius: 2px;
}

/* ──────────────────────────────────────────
   9. CARDS (generic)
   ────────────────────────────────────────── */
.tw-card {
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  padding: var(--tw-sp-xl);
  transition: transform var(--tw-transition), box-shadow var(--tw-transition), border-color var(--tw-transition);
  position: relative;
  overflow: hidden;
}

.tw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tw-grad-dl);
  opacity: 0;
  transition: opacity var(--tw-transition);
}

.tw-card:hover {
  transform: translateY(-3px) scale(1.005);
  box-shadow: var(--tw-shadow-lg), var(--tw-shadow-glow);
  border-color: var(--tw-border-hover);
}

.tw-card:hover::before {
  opacity: 1;
}

.tw-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--tw-radius-sm);
  margin-bottom: var(--tw-sp-md);
}

.tw-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--tw-sp-xs);
}

.tw-card__desc {
  font-size: 0.9375rem;
  color: var(--tw-muted);
  line-height: 1.65;
}

/* ──────────────────────────────────────────
   10. PERKS
   ────────────────────────────────────────── */
.tw-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--tw-sp-xl);
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-perks__card {
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  padding: var(--tw-sp-xl);
  text-align: center;
  transition: transform var(--tw-transition), box-shadow var(--tw-transition), border-color var(--tw-transition);
}

.tw-perks__card:hover {
  transform: translateY(-3px) scale(1.005);
  box-shadow: var(--tw-shadow-lg), var(--tw-shadow-glow);
  border-color: var(--tw-border-hover);
}

.tw-perks__card .tw-perks__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--tw-sp-md);
  font-size: 1.5rem;
  background: rgba(215, 136, 165, 0.1);
  border-radius: var(--tw-radius-sm);
}

.tw-perks__card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: var(--tw-sp-xs);
}

.tw-perks__card p {
  font-size: 0.875rem;
  color: var(--tw-muted);
  line-height: 1.65;
}

/* ──────────────────────────────────────────
   11. CODE TABS
   ────────────────────────────────────────── */
.tw-code-tabs {
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-code-tabs__bar {
  display: flex;
  gap: 2px;
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-bottom: none;
  border-radius: var(--tw-radius) var(--tw-radius) 0 0;
  padding: var(--tw-sp-xs);
  overflow-x: auto;
}

.tw-code-tab {
  padding: var(--tw-sp-xs) var(--tw-sp-lg);
  font-family: var(--tw-font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tw-muted);
  background: transparent;
  border: none;
  border-radius: var(--tw-radius-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--tw-transition-fast), background var(--tw-transition-fast);
}

.tw-code-tab:hover {
  color: var(--tw-ink);
  background: rgba(215, 136, 165, 0.06);
}

.tw-code-tab[aria-selected="true"],
.tw-code-tab.is-active {
  color: var(--tw-accent);
  background: rgba(215, 136, 165, 0.1);
}

.tw-code-panel {
  display: none;
  position: relative;
  background: #1a0e15;
  border: 1px solid var(--tw-border);
  border-top: none;
  border-radius: 0 0 var(--tw-radius) var(--tw-radius);
  overflow: hidden;
}

.tw-code-panel.is-active {
  display: block;
}

.tw-code-panel pre {
  margin: 0;
  padding: var(--tw-sp-xl);
  font-family: var(--tw-font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--tw-ink);
  overflow-x: auto;
  tab-size: 2;
}

.tw-code-panel code {
  font-family: inherit;
}

.tw-copy-btn {
  position: absolute;
  top: var(--tw-sp-sm);
  right: var(--tw-sp-sm);
  padding: var(--tw-sp-xs) var(--tw-sp-sm);
  font-family: var(--tw-font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tw-muted);
  background: rgba(215, 136, 165, 0.08);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-xs);
  cursor: pointer;
  transition: color var(--tw-transition-fast), background var(--tw-transition-fast);
}

.tw-copy-btn:hover {
  color: var(--tw-ink);
  background: rgba(215, 136, 165, 0.15);
}

.tw-copy-btn.is-copied {
  color: #5ee49a;
}

/* ──────────────────────────────────────────
   12. FORUM
   ────────────────────────────────────────── */
.tw-forum {
  display: grid;
  gap: var(--tw-sp-md);
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-forum__post {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--tw-sp-md);
  align-items: center;
  padding: var(--tw-sp-lg);
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  transition: border-color var(--tw-transition-fast), box-shadow var(--tw-transition-fast);
}

.tw-forum__post:hover {
  border-color: var(--tw-border-hover);
  box-shadow: var(--tw-shadow-sm);
}

.tw-forum__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tw-border);
}

.tw-forum__meta {
  font-size: 0.8125rem;
  color: var(--tw-muted);
}

.tw-forum__title {
  font-family: var(--tw-font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--tw-ink);
}

.tw-forum__stats {
  display: flex;
  gap: var(--tw-sp-md);
  font-size: 0.8125rem;
  color: var(--tw-muted);
}

/* ──────────────────────────────────────────
   13. ARTICLES / ARTICLE CARD
   ────────────────────────────────────────── */
.tw-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--tw-sp-xl);
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-article-card {
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  overflow: hidden;
  transition: transform var(--tw-transition), box-shadow var(--tw-transition), border-color var(--tw-transition);
}

.tw-article-card:hover {
  transform: translateY(-3px) scale(1.005);
  box-shadow: var(--tw-shadow-lg), var(--tw-shadow-glow);
  border-color: var(--tw-border-hover);
}

.tw-article-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tw-article-card__body {
  padding: var(--tw-sp-lg);
}

.tw-article-card__tag {
  display: inline-block;
  padding: 0.2em 0.7em;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-accent);
  background: rgba(215, 136, 165, 0.1);
  border-radius: 100px;
  margin-bottom: var(--tw-sp-sm);
}

.tw-article-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: var(--tw-sp-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tw-article-card__excerpt {
  font-size: 0.875rem;
  color: var(--tw-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ──────────────────────────────────────────
   14. COMPARE TABLE
   ────────────────────────────────────────── */
.tw-compare {
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tw-compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  overflow: hidden;
  font-size: 0.875rem;
}

.tw-compare__table thead {
  background: rgba(215, 136, 165, 0.06);
}

.tw-compare__table th {
  padding: var(--tw-sp-md) var(--tw-sp-lg);
  font-family: var(--tw-font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-accent);
  text-align: left;
  border-bottom: 1px solid var(--tw-border);
}

.tw-compare__table td {
  padding: var(--tw-sp-md) var(--tw-sp-lg);
  border-bottom: 1px solid var(--tw-border);
  color: var(--tw-ink);
  vertical-align: top;
}

.tw-compare__table tr:last-child td {
  border-bottom: none;
}

.tw-compare__table tbody tr {
  transition: background var(--tw-transition-fast);
}

.tw-compare__table tbody tr:hover {
  background: rgba(215, 136, 165, 0.03);
}

.tw-compare__highlight {
  background: rgba(170, 72, 219, 0.08);
  border-left: 3px solid #aa48db;
}

/* ──────────────────────────────────────────
   15. EDITOR PICKS
   ────────────────────────────────────────── */
.tw-editor-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tw-sp-xl);
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

/* ──────────────────────────────────────────
   16. ROADMAP / STEPS
   ────────────────────────────────────────── */
.tw-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--tw-sp-xl);
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
  position: relative;
}

.tw-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(var(--tw-sp-lg) + 20px);
  right: calc(var(--tw-sp-lg) + 20px);
  height: 2px;
  background: var(--tw-border);
  z-index: 0;
}

.tw-steps__item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--tw-sp-xl);
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  transition: transform var(--tw-transition), box-shadow var(--tw-transition);
}

.tw-steps__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--tw-shadow-md);
}

.tw-steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--tw-font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--tw-btn-ink);
  background: var(--tw-grad-dl);
  border-radius: 50%;
  margin-bottom: var(--tw-sp-md);
}

.tw-steps__item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--tw-sp-xs);
}

.tw-steps__item p {
  font-size: 0.875rem;
  color: var(--tw-muted);
}

/* Roadmap (timeline variant) */
.tw-roadmap {
  display: grid;
  gap: var(--tw-sp-lg);
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
  position: relative;
}

.tw-roadmap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--tw-sp-lg) + 19px);
  width: 2px;
  background: var(--tw-border);
}

.tw-roadmap__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--tw-sp-md);
  position: relative;
}

.tw-roadmap__marker {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tw-surface);
  border: 2px solid var(--tw-accent);
  border-radius: 50%;
  font-family: var(--tw-font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--tw-accent);
  z-index: 1;
}

.tw-roadmap__content {
  padding: var(--tw-sp-lg);
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
}

/* ──────────────────────────────────────────
   17. QUICK START
   ────────────────────────────────────────── */
.tw-quick-start {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tw-sp-xl);
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-quick-start__step {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--tw-sp-xl);
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  transition: transform var(--tw-transition), box-shadow var(--tw-transition);
}

.tw-quick-start__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--tw-shadow-md);
}

/* ──────────────────────────────────────────
   18. GAME CARD
   ────────────────────────────────────────── */
.tw-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--tw-sp-lg);
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-game-card {
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  overflow: hidden;
  transition: transform var(--tw-transition), box-shadow var(--tw-transition), border-color var(--tw-transition);
  position: relative;
}

.tw-game-card:hover {
  transform: translateY(-3px) scale(1.005);
  box-shadow: var(--tw-shadow-lg), var(--tw-shadow-glow);
  border-color: var(--tw-border-hover);
}

.tw-game-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.tw-game-card__body {
  padding: var(--tw-sp-md);
}

.tw-game-card__name {
  font-family: var(--tw-font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: var(--tw-sp-xs);
}

.tw-game-card__provider {
  font-size: 0.75rem;
  color: var(--tw-muted);
}

.tw-game-card__badge {
  position: absolute;
  top: var(--tw-sp-sm);
  right: var(--tw-sp-sm);
  padding: 0.2em 0.6em;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tw-btn-ink);
  background: var(--tw-grad-reg);
  border-radius: 100px;
}

/* ──────────────────────────────────────────
   19. SCREENSHOTS / GALLERY
   ────────────────────────────────────────── */
.tw-screenshots {
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tw-sp-md);
}

.tw-gallery__item {
  border-radius: var(--tw-radius);
  overflow: hidden;
  border: 1px solid var(--tw-border);
  transition: transform var(--tw-transition), box-shadow var(--tw-transition);
  cursor: pointer;
}

.tw-gallery__item:hover {
  transform: scale(1.02);
  box-shadow: var(--tw-shadow-md);
}

.tw-gallery__item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--tw-transition);
}

.tw-gallery__item:hover img {
  transform: scale(1.05);
}

/* ──────────────────────────────────────────
   20. FAQ
   ────────────────────────────────────────── */
.tw-faq-list {
  display: grid;
  gap: var(--tw-sp-sm);
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-faq-item {
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  overflow: hidden;
  transition: border-color var(--tw-transition-fast);
}

.tw-faq-item[open] {
  border-color: var(--tw-border-hover);
}

.tw-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--tw-sp-lg);
  font-family: var(--tw-font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--tw-ink);
  cursor: pointer;
  list-style: none;
  transition: background var(--tw-transition-fast);
}

.tw-faq-item summary::-webkit-details-marker {
  display: none;
}

.tw-faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tw-accent);
  flex-shrink: 0;
  margin-left: var(--tw-sp-md);
  transition: transform var(--tw-transition-fast);
}

.tw-faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.tw-faq-item summary:hover {
  background: rgba(215, 136, 165, 0.04);
}

.tw-faq-item__body {
  padding: 0 var(--tw-sp-lg) var(--tw-sp-lg);
  font-size: 0.9375rem;
  color: var(--tw-muted);
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   21. BREADCRUMB
   ────────────────────────────────────────── */
.tw-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em;
  padding: var(--tw-sp-md) 0;
  font-size: 0.8125rem;
  color: var(--tw-muted);
  list-style: none;
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-breadcrumb li::after {
  content: '›';
  margin-left: 0.4em;
  color: var(--tw-border-hover);
}

.tw-breadcrumb li:last-child::after {
  content: none;
}

.tw-breadcrumb a {
  color: var(--tw-muted);
  transition: color var(--tw-transition-fast);
}

.tw-breadcrumb a:hover {
  color: var(--tw-accent);
}

.tw-breadcrumb [aria-current="page"] {
  color: var(--tw-ink);
}

/* ──────────────────────────────────────────
   22. CHANNEL HERO
   ────────────────────────────────────────── */
.tw-ch-hero {
  position: relative;
  padding: var(--tw-sp-2xl) 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(170, 72, 219, 0.1) 0%, transparent 70%),
    var(--tw-surface);
  border-bottom: 1px solid var(--tw-border);
  text-align: center;
}

.tw-ch-hero__inner {
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-ch-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--tw-sp-sm);
}

.tw-ch-hero__desc {
  font-size: 1.0625rem;
  color: var(--tw-muted);
  max-width: 600px;
  margin-inline: auto;
}

/* ──────────────────────────────────────────
   23. TABLE OF CONTENTS
   ────────────────────────────────────────── */
.tw-toc {
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  padding: var(--tw-sp-lg);
  margin-bottom: var(--tw-sp-xl);
}

.tw-toc__title {
  font-family: var(--tw-font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: var(--tw-sp-md);
  color: var(--tw-accent);
}

.tw-toc ol {
  padding-left: var(--tw-sp-lg);
  counter-reset: toc-counter;
  list-style: none;
}

.tw-toc li {
  counter-increment: toc-counter;
  margin-bottom: var(--tw-sp-xs);
}

.tw-toc li::before {
  content: counter(toc-counter) '.';
  color: var(--tw-accent);
  font-weight: 600;
  margin-right: 0.4em;
  font-size: 0.8125rem;
}

.tw-toc a {
  font-size: 0.875rem;
  color: var(--tw-muted);
}

.tw-toc a:hover {
  color: var(--tw-ink);
}

/* ──────────────────────────────────────────
   24. GUIDE CARD
   ────────────────────────────────────────── */
.tw-guide-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--tw-sp-md);
  padding: var(--tw-sp-lg);
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  transition: transform var(--tw-transition), box-shadow var(--tw-transition);
}

.tw-guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tw-shadow-md);
}

.tw-guide-card__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--tw-radius-sm);
  object-fit: cover;
}

.tw-guide-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--tw-sp-xs);
}

.tw-guide-card__desc {
  font-size: 0.875rem;
  color: var(--tw-muted);
}

/* ──────────────────────────────────────────
   25. SEARCH
   ────────────────────────────────────────── */
.tw-search-input {
  width: 100%;
  padding: var(--tw-sp-md) var(--tw-sp-lg);
  font-family: var(--tw-font-body);
  font-size: 1rem;
  color: var(--tw-ink);
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  transition: border-color var(--tw-transition-fast), box-shadow var(--tw-transition-fast);
}

.tw-search-input::placeholder {
  color: var(--tw-muted);
  opacity: 0.7;
}

.tw-search-input:focus {
  border-color: var(--tw-accent);
  box-shadow: 0 0 0 3px rgba(215, 136, 165, 0.15);
  outline: none;
}

.tw-search-results {
  display: grid;
  gap: var(--tw-sp-sm);
  margin-top: var(--tw-sp-md);
}

.tw-search-results__item {
  padding: var(--tw-sp-md) var(--tw-sp-lg);
  background: var(--tw-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-sm);
  transition: background var(--tw-transition-fast);
}

.tw-search-results__item:hover {
  background: var(--tw-surface-hover);
}

/* ──────────────────────────────────────────
   26. HELP SECTION
   ────────────────────────────────────────── */
.tw-help-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--tw-sp-2xl);
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-help-section__sidebar {
  position: sticky;
  top: calc(var(--tw-header-h) + var(--tw-sp-lg));
  align-self: start;
}

.tw-help-section__nav {
  display: grid;
  gap: 2px;
  list-style: none;
}

.tw-help-section__nav a {
  display: block;
  padding: var(--tw-sp-sm) var(--tw-sp-md);
  font-size: 0.875rem;
  color: var(--tw-muted);
  border-radius: var(--tw-radius-xs);
  transition: color var(--tw-transition-fast), background var(--tw-transition-fast);
}

.tw-help-section__nav a:hover,
.tw-help-section__nav a[aria-current="page"] {
  color: var(--tw-ink);
  background: rgba(215, 136, 165, 0.08);
}

/* ──────────────────────────────────────────
   27. BYLINE & SOURCE BOX
   ────────────────────────────────────────── */
.tw-byline {
  display: flex;
  align-items: center;
  gap: var(--tw-sp-sm);
  padding: var(--tw-sp-md) 0;
  font-size: 0.8125rem;
  color: var(--tw-muted);
  border-bottom: 1px solid var(--tw-border);
  margin-bottom: var(--tw-sp-xl);
}

.tw-byline__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.tw-byline time {
  font-style: normal;
}

.tw-src-box {
  padding: var(--tw-sp-lg);
  background: rgba(215, 136, 165, 0.04);
  border: 1px solid var(--tw-border);
  border-left: 3px solid var(--tw-accent);
  border-radius: 0 var(--tw-radius-sm) var(--tw-radius-sm) 0;
  font-size: 0.875rem;
  color: var(--tw-muted);
  margin: var(--tw-sp-xl) 0;
}

.tw-src-box a {
  color: var(--tw-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ──────────────────────────────────────────
   28. STORY IMAGES
   ─────���──────────────────────────────────── */
.tw-story-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--tw-sp-md);
  margin: var(--tw-sp-xl) 0;
}

.tw-story-images img {
  width: 100%;
  border-radius: var(--tw-radius-sm);
  border: 1px solid var(--tw-border);
}

/* ──────────────────────────────────────────
   29. FOOTER
   ────────────────────────────────────────── */
.tw-footer {
  background: #1a0e15;
  border-top: 1px solid var(--tw-border);
  padding: var(--tw-sp-3xl) 0 var(--tw-sp-xl);
}

.tw-footer__inner {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--tw-sp-2xl);
  max-width: var(--tw-max-w);
  margin-inline: auto;
  padding-inline: var(--tw-sp-lg);
}

.tw-footer__brand {
  font-family: var(--tw-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--tw-ink);
  margin-bottom: var(--tw-sp-md);
}

.tw-footer__desc {
  font-size: 0.875rem;
  color: var(--tw-muted);
  line-height: 1.65;
  max-width: 320px;
}

.tw-footer__heading {
  font-family: var(--tw-font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tw-accent);
  margin-bottom: var(--tw-sp-md);
}

.tw-footer__links {
  display: grid;
  gap: var(--tw-sp-xs);
  list-style: none;
}

.tw-footer__links a {
  font-size: 0.875rem;
  color: var(--tw-muted);
  transition: color var(--tw-transition-fast);
}

.tw-footer__links a:hover {
  color: var(--tw-ink);
}

.tw-footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--tw-sp-xl);
  border-top: 1px solid var(--tw-border);
  font-size: 0.75rem;
  color: var(--tw-muted);
}

/* ──────────────────────────────────────────
   30. MOBILE BANNER (fixed bottom)
   ────────────────────────────────────────── */
.tw-mobile-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  padding: var(--tw-sp-sm) var(--tw-sp-lg);
  background: var(--tw-overlay);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-top: 1px solid var(--tw-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.tw-mobile-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--tw-sp-sm);
  align-items: center;
  max-width: var(--tw-max-w);
  margin-inline: auto;
}

.tw-mobile-banner__text {
  font-family: var(--tw-font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tw-ink);
}

.tw-mobile-banner__text small {
  display: block;
  font-weight: 400;
  font-size: 0.6875rem;
  color: var(--tw-muted);
}

/* ──────────────────────────────────────────
   31. INLINE CODE & CODE BLOCKS (article body)
   ────────────────────────────────────────── */
.tw-body code:not(pre code) {
  padding: 0.15em 0.4em;
  font-family: var(--tw-font-mono);
  font-size: 0.85em;
  color: var(--tw-accent);
  background: rgba(215, 136, 165, 0.1);
  border-radius: 4px;
}

.tw-body pre {
  background: #1a0e15;
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  padding: var(--tw-sp-xl);
  overflow-x: auto;
  font-family: var(--tw-font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  margin: var(--tw-sp-xl) 0;
}

/* ──────────────���───────────────────────────
   32. ANIMATIONS
   ────────────────────────────────────────── */
@keyframes tw-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tw-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tw-pulse-glow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(215, 136, 165, 0.15);
  }
  50% {
    box-shadow: 0 0 28px rgba(215, 136, 165, 0.3);
  }
}

.tw-animate-in {
  animation: tw-fade-in-up 0.5s var(--tw-ease) both;
}

.tw-animate-in:nth-child(2) { animation-delay: 0.08s; }
.tw-animate-in:nth-child(3) { animation-delay: 0.16s; }
.tw-animate-in:nth-child(4) { animation-delay: 0.24s; }
.tw-animate-in:nth-child(5) { animation-delay: 0.32s; }
.tw-animate-in:nth-child(6) { animation-delay: 0.4s; }

/* ──────────────────────────────────────────
   33. RESPONSIVE — DESKTOP (≥768px default)
   ────────────────────────────────────────── */

/* Tablet / Mobile: <768px */
@media (max-width: 767px) {
  :root {
    --tw-header-h: 60px;
  }

  .tw-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .tw-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tw-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--tw-transition), visibility var(--tw-transition);
  }

  .tw-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .tw-nav-menu {
    flex-direction: column;
    gap: var(--tw-sp-sm);
  }

  .tw-nav-link {
    font-size: 1.125rem;
    padding: var(--tw-sp-md) var(--tw-sp-xl);
  }

  .tw-nav-toggle {
    display: flex;
  }

  /* Hero */
  .tw-hero {
    min-height: auto;
    padding: var(--tw-sp-2xl) 0;
  }

  .tw-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tw-hero__sub {
    margin-inline: auto;
  }

  .tw-hero__perks {
    justify-content: center;
  }

  .tw-hero__cta {
    justify-content: center;
  }

  .tw-carousel {
    max-width: 400px;
    margin-inline: auto;
  }

  /* Sections go single column */
  .tw-perks,
  .tw-steps,
  .tw-quick-start,
  .tw-editor-picks,
  .tw-game-grid,
  .tw-articles-grid {
    grid-template-columns: 1fr;
  }

  .tw-steps::before {
    display: none;
  }

  /* Footer */
  .tw-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--tw-sp-xl);
  }

  .tw-footer__bottom {
    flex-direction: column;
    gap: var(--tw-sp-sm);
    text-align: center;
  }

  /* Help section */
  .tw-help-section {
    grid-template-columns: 1fr;
  }

  .tw-help-section__sidebar {
    position: static;
  }

  /* Forum */
  .tw-forum__post {
    grid-template-columns: 1fr;
    gap: var(--tw-sp-sm);
  }

  .tw-forum__avatar {
    display: none;
  }

  /* Mobile banner visible */
  .tw-mobile-banner {
    display: block;
  }

  /* Add bottom padding to body so content isn't hidden behind banner */
  .tw-body {
    padding-bottom: 72px;
  }

  /* Guide card */
  .tw-guide-card {
    grid-template-columns: 1fr;
  }

  .tw-guide-card__icon {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* Roadmap */
  .tw-roadmap::before {
    left: 19px;
  }
}

/* Small screens: <600px */
@media (max-width: 599px) {
  .tw-wrap {
    padding-inline: var(--tw-sp-md);
  }

  .tw-header__inner {
    padding-inline: var(--tw-sp-md);
  }

  .tw-section {
    padding: var(--tw-sp-2xl) 0;
  }

  .tw-perks,
  .tw-forum,
  .tw-code-tabs,
  .tw-compare,
  .tw-screenshots,
  .tw-faq-list,
  .tw-breadcrumb,
  .tw-steps,
  .tw-quick-start,
  .tw-editor-picks,
  .tw-game-grid,
  .tw-articles-grid,
  .tw-help-section,
  .tw-roadmap {
    padding-inline: var(--tw-sp-md);
  }

  .tw-footer__inner {
    padding-inline: var(--tw-sp-md);
  }

  .tw-card {
    padding: var(--tw-sp-lg);
  }

  .tw-hero__title {
    font-size: clamp(1.625rem, 6vw, 2.25rem);
  }

  .tw-btn {
    width: 100%;
    text-align: center;
  }

  .tw-hero__cta {
    flex-direction: column;
  }

  .tw-gallery {
    grid-template-columns: 1fr;
  }

  .tw-story-images {
    grid-template-columns: 1fr;
  }

  /* Compare table: horizontal scroll */
  .tw-compare {
    overflow-x: auto;
  }

  .tw-compare__table {
    min-width: 560px;
  }
}

/* ──────────────────────────────────────────
   34. PRINT
   ────────────────────────────────────────── */
@media print {
  .tw-header,
  .tw-mobile-banner,
  .tw-particles,
  .tw-nav-toggle,
  .tw-footer {
    display: none !important;
  }

  .tw-body {
    background: #fff;
    color: #1a1a1a;
  }

  .tw-card,
  .tw-article-card,
  .tw-game-card,
  .tw-faq-item {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}