:root {
  --td-bg: #121416;
  --td-bg-soft: #1a1d21;
  --td-surface: #22262b;
  --td-card: #2a2f35;
  --td-lime: #A8E010;
  --td-lime-bright: #C6F53A;
  --td-lime-dim: #7FB008;
  --td-text: #F2F4F5;
  --td-muted: #B3BAC3;
  --td-border: rgba(168, 224, 16, 0.45);
  --td-glow: rgba(168, 224, 16, 0.28);
  --td-max: 960px;
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5rem; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--td-muted);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 55% at 10% -10%, rgba(168, 224, 16, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 15%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #0e1012 0%, #171a1e 40%, #121416 100%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--td-lime-bright); text-decoration-color: var(--td-lime-dim); }

.td-wrap {
  width: min(100% - 2rem, var(--td-max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.td-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 20, 22, 0.92);
  border-bottom: 1px solid var(--td-border);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.td-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.td-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--td-text);
  font-weight: 800;
  font-size: 1.15rem;
}

.td-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--td-glow));
}

.td-mark {
  color: inherit;
  font-weight: inherit;
}

.td-header__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Buttons */
.td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0.6rem 1.3rem;
  border-radius: 0.35rem 1.6rem 0.35rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, border-radius 0.25s, background 0.25s;
}

.td-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.td-btn:hover::after { transform: translateX(120%); }
.td-btn:active { transform: scale(0.97); }

.td-btn--ghost {
  color: var(--td-lime-bright);
  border-color: var(--td-lime);
  background: rgba(168, 224, 16, 0.08);
}

.td-btn--ghost:hover {
  background: rgba(168, 224, 16, 0.16);
  box-shadow: 0 0 20px var(--td-glow);
  border-radius: 1.6rem 0.35rem 1.6rem 0.35rem;
  transform: translateY(-2px);
}

.td-btn--primary {
  color: #101214;
  background: linear-gradient(135deg, var(--td-lime-dim) 0%, var(--td-lime) 45%, var(--td-lime-bright) 100%);
  border-color: var(--td-lime-bright);
  box-shadow: 0 4px 20px var(--td-glow);
  animation: td-btn-pulse 2.8s ease-in-out infinite alternate;
}

.td-btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  border-radius: 1.6rem 0.35rem 1.6rem 0.35rem;
  box-shadow: 0 8px 28px rgba(168, 224, 16, 0.45);
  animation: none;
}

.td-btn--large {
  padding: 1.05rem 1.85rem;
  font-size: 1.05rem;
  width: 100%;
  max-width: 520px;
}

.td-btn--small {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.td-btn .td-mark { color: inherit; }

@keyframes td-btn-pulse {
  from { box-shadow: 0 4px 16px rgba(168, 224, 16, 0.25); }
  to { box-shadow: 0 6px 26px rgba(198, 245, 58, 0.45); }
}

/* Ticker */
.td-ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--td-border);
  background: linear-gradient(90deg, rgba(42, 47, 53, 0.9), rgba(168, 224, 16, 0.12), rgba(42, 47, 53, 0.9));
  padding: 0.55rem 0;
  white-space: nowrap;
}

.td-ticker__track {
  display: inline-flex;
  gap: 2.5rem;
  width: max-content;
  animation: td-ticker 32s linear infinite;
}

.td-ticker__item {
  color: var(--td-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.td-ticker__item strong { color: var(--td-lime-bright); }
.td-ticker__item::before {
  content: "◆";
  color: var(--td-lime);
  margin-right: 0.35rem;
  font-size: 0.65rem;
}

@keyframes td-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero */
.td-hero { padding: 2rem 0 1.5rem; }

.td-hero__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.td-hero__media {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--td-lime);
  box-shadow: 0 0 30px var(--td-glow);
}

.td-hero__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.td-hero__content { width: 100%; }

.td-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--td-text);
  background: linear-gradient(135deg, #fff 0%, var(--td-lime-bright) 55%, var(--td-lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.td-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--td-muted);
}

.td-meta__sep { opacity: 0.5; }
.td-hero__lead { margin-bottom: 1rem; color: var(--td-muted); }
.td-hero__cta { margin-top: 1.25rem; }

/* Sections */
main section {
  padding: 2rem 0;
  border-top: 1px solid rgba(168, 224, 16, 0.18);
}

h2 {
  color: var(--td-text);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  margin-bottom: 1rem;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--td-lime), transparent);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--td-glow);
}

h3 {
  color: var(--td-lime-bright);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}

h4 {
  color: var(--td-lime);
  font-size: 1rem;
  margin: 1.1rem 0 0.55rem;
}

p { margin-bottom: 1rem; }
strong { color: var(--td-lime-bright); }

ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: 0.4rem; }
li::marker { color: var(--td-lime); }

.td-banner {
  margin: 1rem 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--td-border);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.td-banner img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.td-note {
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--td-lime);
  background: rgba(168, 224, 16, 0.08);
  border-radius: 0 0.75rem 0.75rem 0;
}

.td-fade {
  animation: td-fade 0.7s ease both;
}

@keyframes td-fade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TOC */
.td-toc {
  padding: 1.75rem 0;
  background: linear-gradient(180deg, rgba(168, 224, 16, 0.06) 0%, transparent 100%);
  border-bottom: 1px solid rgba(168, 224, 16, 0.18);
}

.td-toc h2 { margin-bottom: 1rem; }

.td-toc__table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 0.75rem;
  font-size: 0.9rem;
}

.td-toc__table td:first-child {
  width: 3.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--td-lime);
}

.td-toc__table td:nth-child(2) a {
  color: var(--td-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 224, 16, 0.3);
}

.td-toc__table td:nth-child(2) a:hover {
  color: var(--td-lime-bright);
  border-bottom-color: var(--td-lime-bright);
}

/* Tables */
.td-scroll {
  overflow-x: auto;
  margin: 1rem 0;
  border: 2px solid var(--td-border);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(168, 224, 16, 0.12);
  vertical-align: top;
}

th {
  background: linear-gradient(180deg, rgba(168, 224, 16, 0.22) 0%, rgba(42, 47, 53, 0.9) 100%);
  color: var(--td-lime-bright);
  font-weight: 700;
  white-space: nowrap;
}

tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: rgba(168, 224, 16, 0.04); }

table th[scope="row"] {
  color: var(--td-text);
  font-weight: 600;
  text-align: left;
  background: transparent;
  white-space: normal;
}

.td-bonus-table .td-bonus-num {
  text-align: center;
  vertical-align: middle;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--td-lime-bright);
  background: rgba(168, 224, 16, 0.1);
  border-right: 1px solid rgba(168, 224, 16, 0.2);
}

/* Process steps */
.td-steps {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .td-steps { grid-template-columns: repeat(3, 1fr); }
  .td-steps--4 { grid-template-columns: repeat(4, 1fr); }
  .td-steps--7 { grid-template-columns: repeat(7, 1fr); gap: 0.4rem; }
}

.td-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.9rem;
  background: linear-gradient(160deg, rgba(168, 224, 16, 0.1) 0%, var(--td-card) 55%);
  border: 1px solid var(--td-border);
  border-radius: 0.35rem 1rem;
  margin: 0;
  transition: transform 0.25s, box-shadow 0.25s;
}

.td-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--td-glow);
}

@media (min-width: 720px) {
  .td-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.4rem;
    width: 0.5rem;
    height: 0.5rem;
    border-top: 2px solid var(--td-lime);
    border-right: 2px solid var(--td-lime);
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
  }
}

.td-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--td-lime-dim), var(--td-lime-bright));
  color: #101214;
  font-weight: 800;
  font-size: 0.85rem;
}

.td-step__label { color: var(--td-text); font-weight: 700; font-size: 0.95rem; }
.td-step__value { color: var(--td-lime-bright); font-weight: 700; font-size: 0.9rem; }
.td-step__meta { color: var(--td-muted); font-size: 0.8rem; line-height: 1.35; }

/* Tree */
.td-tree {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 1.1rem;
  background: linear-gradient(160deg, rgba(168, 224, 16, 0.08) 0%, var(--td-card) 60%);
  border: 1px solid var(--td-border);
  border-radius: 0.35rem 1rem;
}

@media (min-width: 640px) {
  .td-tree {
    grid-template-columns: minmax(140px, 200px) 1fr;
    align-items: center;
  }
}

.td-tree__root {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
  color: #101214;
  background: linear-gradient(135deg, var(--td-lime), var(--td-lime-bright));
  border-radius: 0.85rem 0.3rem;
  box-shadow: 0 0 18px var(--td-glow);
}

.td-tree__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.td-tree__list li {
  position: relative;
  margin: 0;
  padding: 0.65rem 0.85rem 0.65rem 1.75rem;
  background: rgba(18, 20, 22, 0.55);
  border: 1px solid rgba(168, 224, 16, 0.22);
  border-radius: 0.65rem;
  color: var(--td-text);
  font-weight: 600;
}

.td-tree__list li::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid var(--td-lime);
  border-right: 2px solid var(--td-lime);
  transform: translateY(-50%) rotate(45deg);
}

.td-tree__list li span {
  display: block;
  margin-top: 0.2rem;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--td-muted);
}

/* Promo tiles */
.td-promo-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 600px) {
  .td-promo-grid { grid-template-columns: repeat(2, 1fr); }
}

.td-promo {
  padding: 1.15rem;
  background: linear-gradient(160deg, rgba(168, 224, 16, 0.1) 0%, var(--td-card) 55%);
  border: 1px solid var(--td-border);
  border-radius: 0.35rem 1rem;
}

.td-promo--hot {
  border-color: var(--td-lime-bright);
  box-shadow: 0 0 22px var(--td-glow);
}

.td-promo__code {
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-weight: 800;
  color: #101214;
  background: var(--td-lime);
  padding: 0.25rem 0.65rem;
  border-radius: 0.35rem;
  margin-bottom: 0.5rem;
}

.td-promo__type {
  display: block;
  font-size: 0.8rem;
  color: var(--td-lime);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.td-promo__value {
  margin: 0;
  font-size: 0.9rem;
  color: var(--td-muted);
}

/* Payments / games */
.td-pays {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.td-pays__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  background: var(--td-surface);
  border: 1px solid rgba(168, 224, 16, 0.2);
  border-radius: 0.65rem;
  min-height: 64px;
}

.td-pays__item img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.td-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

@media (min-width: 600px) {
  .td-slots { grid-template-columns: repeat(4, 1fr); }
}

.td-slot {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: var(--td-card);
  border: 2px solid var(--td-border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.td-slot:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--td-lime-bright);
  box-shadow: 0 10px 28px var(--td-glow);
}

.td-slot img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.td-slot__title {
  display: block;
  padding: 0.7rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--td-text);
  text-align: center;
  background: linear-gradient(180deg, rgba(168, 224, 16, 0.1) 0%, transparent 100%);
}

/* VIP */
.td-vip {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.25rem 0;
}

.td-vip__media {
  margin: 0;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--td-border);
  box-shadow: 0 0 28px var(--td-glow);
}

.td-vip__media img {
  width: 100%;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.td-level {
  display: inline-block;
  font-weight: 700;
  color: var(--td-lime-bright);
}

.td-level--top {
  color: #101214;
  background: linear-gradient(135deg, var(--td-lime), var(--td-lime-bright));
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

/* Reviews */
.td-score {
  color: var(--td-lime);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.td-reviews {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .td-reviews { grid-template-columns: repeat(3, 1fr); }
}

.td-review {
  margin: 0;
  padding: 1.25rem;
  background: linear-gradient(160deg, rgba(168, 224, 16, 0.1) 0%, var(--td-card) 60%);
  border: 2px solid var(--td-border);
  border-radius: 0.35rem 1rem;
  transition: transform 0.25s, border-color 0.25s;
}

.td-review:hover {
  transform: translateY(-3px);
  border-color: var(--td-lime-bright);
}

.td-review__author {
  color: var(--td-lime-bright);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.td-review__stars {
  color: var(--td-lime);
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

.td-review p:last-child {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* FAQ */
.td-faq {
  border: 2px solid var(--td-border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: var(--td-card);
  overflow: hidden;
}

.td-faq summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  color: var(--td-text);
  font-weight: 700;
  list-style: none;
}

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

.td-faq summary::after {
  content: "+";
  float: right;
  color: var(--td-lime);
  font-weight: 800;
}

.td-faq[open] summary::after { content: "−"; }

.td-faq__body {
  padding: 0 1.15rem 1rem;
  border-top: 1px solid rgba(168, 224, 16, 0.15);
}

.td-faq__body p { margin: 0.85rem 0 0; }

/* Final CTA */
.td-final {
  text-align: center;
  padding: 2.5rem 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(168, 224, 16, 0.14) 0%, transparent 70%);
}

/* Footer */
.td-footer {
  border-top: 2px solid var(--td-border);
  padding: 2rem 0;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.28);
}

.td-footer p { margin-bottom: 0.75rem; }

.td-footer__links {
  margin: 1rem 0;
  font-size: 0.8rem;
}

.td-footer__links a {
  color: var(--td-lime);
  text-decoration: none;
  font-weight: 600;
}

.td-footer__links a:hover { text-decoration: underline; }

.td-footer__warn {
  padding: 0.85rem 1rem;
  background: rgba(168, 224, 16, 0.08);
  border: 1px solid rgba(168, 224, 16, 0.35);
  border-radius: 8px;
}

.td-footer__copy { opacity: 0.8; }

/* Sticky CTA */
.td-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  padding: 0.65rem 0;
  background: rgba(18, 20, 22, 0.96);
  border-top: 1px solid var(--td-border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45), 0 -2px 20px var(--td-glow);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.td-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

body.has-td-sticky { padding-bottom: 5.5rem; }

.td-sticky__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.td-sticky__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.td-sticky__offer {
  color: var(--td-text);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.td-sticky__offer strong { color: var(--td-lime-bright); }

.td-sticky__sub {
  color: var(--td-muted);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.td-sticky__btn {
  flex-shrink: 0;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  animation: none;
}

@media (max-width: 520px) {
  .td-sticky__sub { display: none; }
  .td-sticky__offer { font-size: 0.85rem; }
}

/* Cookie */
.td-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 29, 33, 0.98);
  border-top: 2px solid var(--td-border);
  padding: 1rem 0;
  z-index: 9999;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.td-cookie.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.td-cookie__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .td-cookie__row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 2rem;
  }
}

.td-cookie__row p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .td-ticker__track,
  .td-btn--primary,
  .td-fade {
    animation: none;
  }
}
