/* ============================================
   TWIN CASINO — DUAL ARENA DESIGN
   ============================================ */

:root {
  --bg0: #060d1b;
  --bg1: #0a1526;
  --bg2: #0e1c32;
  --bg3: #13243e;
  --surface: #182d4a;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);

  --text: #d6e6f7;
  --text-muted: #6e90b8;
  --text-dim: #384f6a;

  --casino: #00d2a5;
  --casino-dim: rgba(0,210,165,0.12);
  --casino-glow: rgba(0,210,165,0.22);
  --sport: #ff5528;
  --sport-dim: rgba(255,85,40,0.12);
  --sport-glow: rgba(255,85,40,0.22);
  --gold: #f5c430;
  --gold-dim: rgba(245,196,48,0.12);
  --crypto: #9b72ef;
  --crypto-dim: rgba(155,114,239,0.12);
  --crypto-glow: rgba(155,114,239,0.22);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 100px;
  --wrap: 1200px;
  --tr: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg0);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; background: none; border: none; }

/* ============================================
   LAYOUT
   ============================================ */
.tw-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.tw-section {
  padding: 84px 0;
}

.tw-section--alt { background: var(--bg1); }
.tw-section--dark { background: var(--bg2); }

.tw-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--casino);
  margin-bottom: 12px;
}

.tw-label--sport { color: var(--sport); }
.tw-label--gold  { color: var(--gold); }
.tw-label--crypto{ color: var(--crypto); }

.tw-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.tw-h2 {
  font-size: clamp(24px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 14px;
}

.tw-lead {
  font-size: 16px;
  color: var(--text-muted);

  margin-bottom: 40px;
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.tw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all var(--tr);
  white-space: nowrap;
  cursor: pointer;
}

.tw-btn--casino {
  background: var(--casino);
  color: #040f1d;
}
.tw-btn--casino:hover {
  background: #00efbc;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--casino-glow);
}

.tw-btn--sport {
  background: var(--sport);
  color: #fff;
}
.tw-btn--sport:hover {
  background: #ff7248;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--sport-glow);
}

.tw-btn--ghost {
  background: transparent;
  border-color: var(--border2);
  color: var(--text);
}
.tw-btn--ghost:hover {
  border-color: var(--casino);
  color: var(--casino);
  transform: translateY(-2px);
}

.tw-btn--sm { padding: 10px 20px; font-size: 14px; }
.tw-btn--lg { padding: 17px 36px; font-size: 16px; }

/* ============================================
   HEADER
   ============================================ */
.tw-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(6,13,27,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.tw-header__bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.tw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tw-logo svg {
  width: 32px;
  height: 32px;
  fill: var(--casino);
}

.tw-logo__name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}

.tw-logo__name span { color: var(--casino); }

.tw-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 2px;
  flex: 1;
}

.tw-nav__link {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--tr);
}

.tw-nav__link:hover,
.tw-nav__link.is-active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.tw-nav__link.is-active { color: #fff; }

.tw-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tw-hdr-login {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border2);
  transition: all var(--tr);
}
.tw-hdr-login:hover { color: var(--text); border-color: rgba(255,255,255,0.24); }

.tw-hdr-register {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  background: var(--casino);
  color: #040f1d;
  transition: all var(--tr);
}
.tw-hdr-register:hover { background: #00efbc; }

.tw-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.tw-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--tr);
}

.tw-mobile-nav {
  display: none;
  background: var(--bg1);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.tw-mobile-nav.is-open { display: block; }

.tw-mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.tw-mobile-nav__link {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--tr);
}
.tw-mobile-nav__link:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.tw-mobile-nav__btns {
  display: flex;
  gap: 10px;
}
.tw-mobile-nav__btns .tw-btn { flex: 1; justify-content: center; }

/* ============================================
   HERO (homepage)
   ============================================ */
.tw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

.tw-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tw-hero__bg picture { display: block; width: 100%; height: 100%; }
.tw-hero__bg img { width: 100%; height: 100%; object-fit: cover; }

.tw-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(6,13,27,0.94) 0%,
    rgba(6,13,27,0.78) 55%,
    rgba(6,13,27,0.38) 100%
  );
}

.tw-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 0;
}

.tw-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,210,165,0.09);
  border: 1px solid rgba(0,210,165,0.28);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--casino);
  margin-bottom: 22px;
}

.tw-hero__h1 {
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 22px;

}

.tw-hero__h1 .grad-casino {
  background: linear-gradient(130deg, var(--casino) 0%, #00b4f2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tw-hero__byline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.8;
}
.tw-hero__byline-link {
  color: var(--casino);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tw-hero__sub {
  font-size: 18px;
  color: var(--text-muted);

  margin-bottom: 38px;
  line-height: 1.65;
}

.tw-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.tw-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tw-stat-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

.tw-stat-chip__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tw-stat-chip__icon--casino { background: var(--casino-dim); }
.tw-stat-chip__icon--sport  { background: var(--sport-dim); }
.tw-stat-chip__icon--crypto { background: var(--crypto-dim); }

.tw-stat-chip__val {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.tw-stat-chip__lbl {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================
   PACKAGES (welcome bonuses)
   ============================================ */
.tw-pkg-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tw-pkg {
  flex: 1 1 320px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}

.tw-pkg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.tw-pkg--casino::before { background: var(--casino); }
.tw-pkg--sport::before  { background: var(--sport); }
.tw-pkg--crypto::before { background: var(--crypto); }

.tw-pkg:hover {
  border-color: var(--border2);
  transform: translateY(-6px);
}
.tw-pkg--casino:hover { box-shadow: 0 16px 40px var(--casino-dim); }
.tw-pkg--sport:hover  { box-shadow: 0 16px 40px var(--sport-dim); }
.tw-pkg--crypto:hover { box-shadow: 0 16px 40px var(--crypto-dim); }

.tw-pkg__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.tw-pkg--casino .tw-pkg__badge { background: var(--casino-dim); color: var(--casino); }
.tw-pkg--sport  .tw-pkg__badge { background: var(--sport-dim);  color: var(--sport); }
.tw-pkg--crypto .tw-pkg__badge { background: var(--crypto-dim); color: var(--crypto); }

.tw-pkg__amount {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.tw-pkg--casino .tw-pkg__amount { color: var(--casino); }
.tw-pkg--sport  .tw-pkg__amount { color: var(--sport); }
.tw-pkg--crypto .tw-pkg__amount { color: var(--crypto); }

.tw-pkg__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tw-pkg__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.tw-pkg__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tw-pkg__step-n {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tw-pkg--casino .tw-pkg__step-n { background: var(--casino-dim); color: var(--casino); }
.tw-pkg--sport  .tw-pkg__step-n { background: var(--sport-dim);  color: var(--sport); }
.tw-pkg--crypto .tw-pkg__step-n { background: var(--crypto-dim); color: var(--crypto); }

.tw-pkg__step-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.tw-pkg__step-text strong { color: var(--text); }

/* ============================================
   PROMO CARDS
   ============================================ */
.tw-promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tw-promo-card {
  flex: 1 1 260px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--tr);
}

.tw-promo-card:hover {
  border-color: var(--border2);
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}

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

.tw-promo-card__body { padding: 20px; }

.tw-promo-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.tw-promo-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ============================================
   PROVIDERS
   ============================================ */
.tw-providers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tw-provider-chip {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 56px;
  transition: all var(--tr);
}

.tw-provider-chip img {
  max-height: 28px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--tr), filter var(--tr);
}

.tw-provider-chip:hover {
  border-color: var(--casino);
  background: var(--casino-dim);
}

.tw-provider-chip:hover img {
  opacity: 1;
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(115deg);
}

.tw-provider-chip--text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.tw-provider-chip--text:hover {
  color: var(--casino);
}

/* ============================================
   GAME SLIDER
   ============================================ */
.tw-games-slider-wrap {
  position: relative;
  margin-bottom: 48px;
}

.tw-games-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.tw-games-slider::-webkit-scrollbar { display: none; }

.tw-game-card {
  flex: 0 0 180px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--tr), border-color var(--tr);
  display: block;
}

.tw-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--casino);
}

.tw-game-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg2);
}

.tw-game-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.tw-game-card:hover .tw-game-card__img img {
  transform: scale(1.05);
}

.tw-game-card__info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tw-game-card__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tw-game-card__provider {
  font-size: 11px;
  color: var(--casino);
  font-weight: 500;
}

.tw-slider-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--tr);
  z-index: 2;
}

.tw-slider-btn:hover {
  background: var(--casino);
  border-color: var(--casino);
  color: #000;
}

.tw-slider-btn--prev { left: -18px; }
.tw-slider-btn--next { right: -18px; }

@media (max-width: 600px) {
  .tw-game-card { flex: 0 0 140px; }
  .tw-slider-btn { display: none; }
}

/* ============================================
   TOURNAMENTS
   ============================================ */
.tw-tournament-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tw-tournament {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all var(--tr);
}

.tw-tournament:hover {
  border-color: rgba(245,196,48,0.4);
  transform: translateX(4px);
}

.tw-tournament__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tw-tournament__info { flex: 1; }

.tw-tournament__name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.tw-tournament__provider {
  font-size: 12px;
  color: var(--text-muted);
}

.tw-tournament__prize {
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  white-space: nowrap;
}

/* ============================================
   SPORT CARDS
   ============================================ */
.tw-sport-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tw-sport-card {
  flex: 1 1 280px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--tr);
}

.tw-sport-card:hover {
  border-color: rgba(255,85,40,0.35);
  box-shadow: 0 8px 28px var(--sport-dim);
  transform: translateY(-4px);
}

.tw-sport-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--sport-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tw-sport-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.tw-sport-card__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   ESPORT BANNER
   ============================================ */
.tw-esport {
  background: linear-gradient(130deg, #170838 0%, #0c1629 100%);
  border: 1px solid rgba(155,114,239,0.28);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.tw-esport::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -8%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(155,114,239,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.tw-esport__content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.tw-esport__title {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.tw-esport__title em {
  font-style: normal;
  color: var(--crypto);
}

.tw-esport__desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 22px;

}

.tw-esport__games {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.tw-esport__game-tag {
  background: rgba(155,114,239,0.1);
  border: 1px solid rgba(155,114,239,0.22);
  border-radius: var(--radius-sm);
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--crypto);
}

/* ============================================
   APP SECTION
   ============================================ */
.tw-app-layout {
  display: flex;
  align-items: center;
  gap: 64px;
}

.tw-app-layout__content { flex: 1; }

.tw-app-layout__img {
  flex: 1;

  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tw-app-bonus-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--casino-dim);
  border: 1px solid rgba(0,210,165,0.24);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
}

.tw-app-bonus-box__val {
  font-size: 28px;
  font-weight: 900;
  color: var(--casino);
  white-space: nowrap;
}

.tw-app-bonus-box__txt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.tw-app-bonus-box__txt strong { color: var(--text); }

.tw-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  counter-reset: steps;
}

.tw-steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.tw-steps-list li::before {
  content: counter(steps);
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--casino-dim);
  color: var(--casino);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   FAQ
   ============================================ */
.tw-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;

  margin: 0 auto;
}

.tw-faq__item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--tr);
}

.tw-faq__item.is-open { border-color: var(--border2); }

.tw-faq__q {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--tr);
}

.tw-faq__q:hover { color: #fff; }

.tw-faq__toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--tr);
}

.tw-faq__item.is-open .tw-faq__toggle {
  background: var(--casino-dim);
  transform: rotate(45deg);
}

.tw-faq__a {
  display: none;
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.tw-faq__item.is-open .tw-faq__a { display: block; }

/* ============================================
   PAGE HERO (subpages)
   ============================================ */
.tw-page-hero {
  padding: 128px 0 64px;
  background: var(--bg1);
  position: relative;
  overflow: hidden;
}

.tw-page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(0,210,165,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.tw-page-hero--sport::before {
  background: radial-gradient(ellipse, rgba(255,85,40,0.07) 0%, transparent 70%);
}

.tw-page-hero--crypto::before {
  background: radial-gradient(ellipse, rgba(155,114,239,0.07) 0%, transparent 70%);
}

.tw-page-hero__title {
  font-size: clamp(28px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;

}

.tw-page-hero__desc {
  font-size: 17px;
  color: var(--text-muted);

  margin-bottom: 30px;
  line-height: 1.65;
}

/* ============================================
   CONTENT TEXT
   ============================================ */
.tw-prose {

}

.tw-prose h2 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 800;
  color: #fff;
  margin: 52px 0 16px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.tw-prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 10px;
}

.tw-prose p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 16px;
}

.tw-prose ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.tw-prose ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.tw-prose ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--casino);
  flex-shrink: 0;
  margin-top: 8px;
}

.tw-prose strong { color: var(--text); font-weight: 700; }

/* ============================================
   DETAIL BONUS BLOCK
   ============================================ */
.tw-bonus-block {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.tw-bonus-block__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.tw-bonus-block--casino .tw-bonus-block__accent { background: var(--casino); }
.tw-bonus-block--sport  .tw-bonus-block__accent { background: var(--sport); }
.tw-bonus-block--crypto .tw-bonus-block__accent { background: var(--crypto); }

.tw-bonus-block__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tw-bonus-block__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.tw-bonus-block--casino .tw-bonus-block__tag { background: var(--casino-dim); color: var(--casino); }
.tw-bonus-block--sport  .tw-bonus-block__tag { background: var(--sport-dim);  color: var(--sport); }
.tw-bonus-block--crypto .tw-bonus-block__tag { background: var(--crypto-dim); color: var(--crypto); }

.tw-bonus-block__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.tw-bonus-block__subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.tw-bonus-block__max {
  font-size: 34px;
  font-weight: 900;
  white-space: nowrap;
  line-height: 1;
}

.tw-bonus-block--casino .tw-bonus-block__max { color: var(--casino); }
.tw-bonus-block--sport  .tw-bonus-block__max { color: var(--sport); }
.tw-bonus-block--crypto .tw-bonus-block__max { color: var(--crypto); }

.tw-bonus-block__stages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.tw-bonus-stage {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.tw-bonus-stage__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tw-bonus-block--casino .tw-bonus-stage__num { background: var(--casino-dim); color: var(--casino); }
.tw-bonus-block--sport  .tw-bonus-stage__num { background: var(--sport-dim);  color: var(--sport); }
.tw-bonus-block--crypto .tw-bonus-stage__num { background: var(--crypto-dim); color: var(--crypto); }

.tw-bonus-stage__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.tw-bonus-stage__val {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

/* ============================================
   TABLE
   ============================================ */
.tw-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.tw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tw-table thead th {
  background: var(--bg2);
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border2);
  white-space: nowrap;
}

.tw-table tbody td {
  padding: 14px 20px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.tw-table tbody tr:last-child td { border-bottom: none; }
.tw-table tbody td:first-child { color: #fff; font-weight: 700; }
.tw-table .tw-gold { color: var(--gold); font-weight: 700; }

/* ============================================
   FOOTER
   ============================================ */
.tw-footer {
  background: var(--bg1);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.tw-footer__top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tw-footer__brand { flex: 0 0 280px; }

.tw-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tw-footer__logo svg { width: 28px; height: 28px; fill: var(--casino); }

.tw-footer__logo-name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}

.tw-footer__logo-name span { color: var(--casino); }

.tw-footer__desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 0;
}

.tw-footer__cols {
  display: flex;
  gap: 40px;
  flex: 1;
  flex-wrap: wrap;
}

.tw-footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.tw-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tw-footer__col ul a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--tr);
}
.tw-footer__col ul a:hover { color: var(--text-muted); }

.tw-footer__hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.tw-footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.tw-footer__legal {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;

}

.tw-footer__18 {
  width: 34px;
  height: 34px;
  border: 2px solid var(--text-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .tw-section { padding: 64px 0; }
  .tw-nav, .tw-header__actions { display: none; }
  .tw-burger { display: flex; }
  .tw-hero { min-height: 88vh; }
  .tw-app-layout { flex-direction: column; gap: 40px; }
  .tw-app-layout__img { max-width: 100%; width: 100%; }
  .tw-page-hero { overflow: hidden !important; }
  .tw-esport { flex-direction: column; gap: 24px; padding: 32px; }
}

@media (max-width: 600px) {
  .tw-wrap { padding: 0 16px; }
  .tw-section { padding: 52px 0; }
  .tw-hero__h1 { font-size: clamp(32px, 8vw, 44px); }
  .tw-hero__ctas { flex-direction: column; }
  .tw-hero__stats { flex-direction: column; }
  .tw-stat-chip { max-width: 100%; }
  .tw-pkg { flex-basis: 100%; }
  .tw-promo-card { flex-basis: 100%; }
  .tw-footer__top { flex-direction: column; gap: 32px; }
  .tw-footer__brand { flex: none; }
  .tw-footer__bottom { flex-direction: column; }
  .tw-bonus-block { padding: 24px 20px; }
  .tw-bonus-block__head { flex-direction: column; gap: 8px; }
  .tw-tournament { flex-direction: column; align-items: flex-start; gap: 8px; }
}
