:root {
  --bg: #141417;
  --surface: #1c1c21;
  --surface2: #252529;
  --border: #303038;
  --border2: #3a3a44;
  --accent: #f7931a;
  --accent-dark: #d87d14;
  --accent-light: #ffb54d;
  --accent-tint: rgba(247, 147, 26, 0.10);
  --accent-glow: rgba(247, 147, 26, 0.40);
  --text: #eaeaf0;
  --text-2: #a0a0b0;
  --muted: #6b6b7a;
  --text-on-accent: #141417;
  --code-bg: #141417;
  --code-text: #f7931a;
  --code-border: rgba(247, 147, 26, 0.25);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --container: 1120px;
  --nav-h: 64px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--accent-light);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.trd-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trd-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.trd-accent {
  color: var(--accent);
}

.trd-mono {
  font-family: var(--mono);
  color: var(--accent);
}

/* ===================== NAV ===================== */

.trd-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  transition: background var(--transition), backdrop-filter var(--transition);
}

.trd-nav--scrolled {
  background: rgba(20, 20, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.trd-nav__wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.trd-nav__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.trd-nav__logo {
  height: 36px;
  width: auto;
}

.trd-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.trd-nav__link {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.trd-nav__link:hover {
  color: var(--text);
  background: var(--surface);
}

.trd-nav__link--active {
  color: var(--accent);
}

.trd-nav__cta {
  margin-left: 8px;
  flex-shrink: 0;
}

.trd-nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}

.trd-nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.trd-nav__burger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.trd-nav__burger--open span:nth-child(2) {
  opacity: 0;
}

.trd-nav__burger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== BUTTONS ===================== */

.trd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.trd-btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--text-on-accent);
}

.trd-btn--primary:hover {
  box-shadow: 0 8px 28px var(--accent-glow);
  color: var(--text-on-accent);
  filter: brightness(1.1);
}

.trd-btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.trd-btn--outline:hover {
  background: var(--accent-tint);
  color: var(--accent-light);
}

.trd-btn--sm {
  font-size: 13px;
  padding: 8px 18px;
}

.trd-btn--copy {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--text-on-accent);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
}

.trd-btn--copy:hover {
  box-shadow: 0 6px 20px var(--accent-glow);
  filter: brightness(1.1);
}

.trd-btn--copy[data-copied="true"] {
  background: #22c55e;
  pointer-events: none;
}

/* ===================== HERO ===================== */

.trd-hero {
  padding: calc(var(--nav-h) + 48px) 0 64px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.trd-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-tint) 0%, transparent 70%);
  pointer-events: none;
}

.trd-hero__wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.trd-hero__content {
  flex: 1;
  min-width: 0;
}

.trd-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.trd-hero__sub {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.6;
}

.trd-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trd-hero__visual {
  flex-shrink: 0;
  position: relative;
}

.trd-hero__skins {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
  animation: trdFloat 6s ease-in-out infinite;
}

@keyframes trdFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===================== CODE WIDGET ===================== */

.trd-codeWidget {
  background: var(--surface);
  border: 1.5px solid var(--code-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  max-width: 520px;
}

.trd-codeWidget__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #22c55e;
  margin-bottom: 14px;
}

.trd-codeWidget__row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.trd-codeWidget__code {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: var(--radius);
  padding: 10px 24px;
  flex: 1;
  text-align: center;
  letter-spacing: 0.04em;
  user-select: all;
}

.trd-codeWidget__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ===================== SECTIONS ===================== */

.trd-section {
  padding: 72px 0;
  background: var(--bg);
}

.trd-section--alt {
  background: var(--surface);
}

.trd-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.trd-subheading {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 720px;
  line-height: 1.7;
}

.trd-subheading2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.trd-prose {
  max-width: 780px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
}

.trd-prose p {
  margin-bottom: 16px;
}

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

.trd-prose strong {
  color: var(--text);
  font-weight: 600;
}

.trd-cta-center {
  text-align: center;
  margin-top: 40px;
}

/* ===================== STEPS ===================== */

.trd-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}

.trd-step {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition);
}

.trd-section--alt .trd-step {
  background: var(--surface2);
}

.trd-step:hover {
  border-color: var(--accent);
}

.trd-step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  border-radius: 50%;
}

.trd-step__body {
  flex: 1;
  min-width: 0;
}

.trd-step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.trd-step__body p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ===================== BONUS CARDS ===================== */

.trd-bonusCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.trd-bonusCard {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.trd-section--alt .trd-bonusCard {
  background: var(--bg);
}

.trd-bonusCard:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.trd-bonusCard__icon {
  margin-bottom: 16px;
}

.trd-bonusCard h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.trd-bonusCard p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ===================== INFO GRID ===================== */

.trd-infoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px 0;
}

.trd-infoGrid__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--surface2);
  gap: 12px;
}

.trd-section--alt .trd-infoGrid__item {
  background: var(--bg);
}

.trd-infoGrid__label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.trd-infoGrid__value {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* ===================== ABOUT GRID ===================== */

.trd-aboutGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.trd-aboutGrid__text .trd-prose {
  max-width: none;
}

.trd-paymentRow {
  margin-top: 24px;
}

.trd-paymentRow__img {
  max-width: 400px;
  opacity: 0.85;
}

.trd-partnerCard {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.trd-partnerCard__img {
  width: 100%;
  height: auto;
}

.trd-faceitBadge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trd-faceitBadge__logo {
  width: 120px;
  height: auto;
}

.trd-faceitBadge__arrow {
  width: 28px;
  height: auto;
}

.trd-faceitBadge__text {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: auto;
}

/* ===================== BLOG SHOWCASE ===================== */

.trd-blogShowcase {
  margin-top: 8px;
}

.trd-blogGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.trd-blogCard {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}

.trd-blogCard:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.trd-blogCard__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition);
}

.trd-blogCard:hover .trd-blogCard__img {
  transform: scale(1.03);
}

.trd-blogCard__label {
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ===================== TABLES ===================== */

.trd-tableWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}

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

.trd-table thead {
  background: var(--surface2);
}

.trd-section--alt .trd-table thead {
  background: var(--bg);
}

.trd-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.trd-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
}

.trd-table tbody tr {
  transition: background var(--transition);
}

.trd-table tbody tr:hover {
  background: var(--accent-tint);
}

.trd-table--codes .trd-codeLabel {
  font-size: 15px;
  font-weight: 700;
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  padding: 4px 12px;
  border-radius: var(--radius);
  display: inline-block;
}

.trd-statusBadge {
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
  white-space: nowrap;
}

/* ===================== ACCORDION ===================== */

.trd-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 780px;
}

.trd-accordion__item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.trd-section--alt .trd-accordion__item {
  background: var(--bg);
}

.trd-accordion__item[open] {
  border-color: var(--accent);
}

.trd-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--transition);
}

.trd-accordion__trigger::-webkit-details-marker {
  display: none;
}

.trd-accordion__trigger::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-left: 16px;
}

.trd-accordion__item[open] .trd-accordion__trigger::after {
  transform: rotate(-135deg);
}

.trd-accordion__trigger:hover {
  background: var(--accent-tint);
}

.trd-accordion__panel {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  animation: trdSlideDown 0.25s ease;
}

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

/* ===================== UPDATED ===================== */

.trd-updated {
  padding: 32px 0;
}

.trd-updated__text {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* ===================== LEGAL ===================== */

.trd-legalHero {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 32px;
}

.trd-legalContent {
  max-width: 780px;
}

.trd-legalContent h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 12px;
}

.trd-legalContent h2:first-child {
  margin-top: 0;
}

.trd-legalContent p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 12px;
}

.trd-legalContent ul {
  margin: 12px 0;
  padding-left: 24px;
}

.trd-legalContent li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 6px;
}

.trd-legalContent strong {
  color: var(--text);
}

/* ===================== FOOTER ===================== */

.trd-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.trd-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.trd-footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 10px;
}

.trd-footer__tagline {
  font-size: 13px;
  color: var(--muted);
  max-width: 300px;
  line-height: 1.5;
}

.trd-footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trd-footer__nav a {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  transition: color var(--transition);
}

.trd-footer__nav a:hover {
  color: var(--accent);
}

.trd-footer__warning {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.trd-footer__warningIcon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.trd-footer__warning p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 4px;
}

.trd-footer__warning strong {
  color: var(--accent);
}

.trd-footer__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.trd-footer__bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.trd-footer__bottom p {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* ===================== SCROLL TOP ===================== */

.trd-scrollTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background var(--transition);
  pointer-events: none;
}

.trd-scrollTop[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.trd-scrollTop:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 900px) {
  .trd-aboutGrid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .trd-hero__skins {
    width: 160px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 56px;
  }

  .trd-nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .trd-nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .trd-nav__link {
    width: 100%;
    padding: 12px 16px;
  }

  .trd-nav__cta {
    display: none;
  }

  .trd-nav__burger {
    display: flex;
  }

  .trd-hero__visual {
    display: none;
  }

  .trd-hero__wrap {
    flex-direction: column;
  }

  .trd-hero {
    padding: calc(var(--nav-h) + 32px) 0 48px;
  }

  .trd-section {
    padding: 48px 0;
  }

  .trd-hero__actions {
    flex-direction: column;
  }

  .trd-hero__actions .trd-btn {
    width: 100%;
  }

  .trd-codeWidget {
    padding: 16px 18px;
  }

  .trd-codeWidget__row {
    flex-direction: column;
  }

  .trd-codeWidget__code {
    width: 100%;
    font-size: 1.5rem;
  }

  .trd-btn--copy {
    width: 100%;
  }

  .trd-step {
    flex-direction: column;
    gap: 14px;
  }

  .trd-bonusCards {
    grid-template-columns: 1fr;
  }

  .trd-infoGrid {
    grid-template-columns: 1fr;
  }

  .trd-footer__top {
    flex-direction: column;
    gap: 20px;
  }

  .trd-footer__nav {
    flex-direction: column;
    gap: 12px;
  }

  .trd-footer__warning {
    flex-direction: column;
    gap: 12px;
  }

  .trd-blogGrid {
    grid-template-columns: 1fr;
  }

  .trd-table th,
  .trd-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .trd-cta-center .trd-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .trd-hero__title {
    font-size: 1.5rem;
  }

  .trd-heading {
    font-size: 1.35rem;
  }

  .trd-faceitBadge {
    flex-wrap: wrap;
  }
}