@import url("ctas-tokens.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ctas);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.2; font-weight: 800; color: var(--text); }

.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; }
.skip-link { position: fixed; z-index: 1100; top: -80px; left: 16px; padding: 12px 18px; border-radius: 12px; background: var(--surface); color: var(--brand); box-shadow: var(--shadow-soft); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 10px; }

/* Hero */
.tc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 46px 20px 44px;
  background:
    radial-gradient(960px 480px at 88% 8%, rgba(56, 189, 248, 0.17), transparent 62%),
    radial-gradient(780px 440px at 6% 16%, rgba(52, 211, 153, 0.13), transparent 58%),
    linear-gradient(180deg, #F6FAFE 0%, #EEF4FB 100%);
  border-bottom: 1px solid var(--line);
}
.tc-hero-wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
}
.tc-play-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, #1cc99a 0%, #38bdf8 52%, #9b84fa 100%);
  color: #061322;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px -6px rgba(2, 132, 199, 0.36);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.tc-play-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 12px 28px -6px rgba(2, 132, 199, 0.45);
}
.tc-play-pill-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.tc-play-tri { font-size: 0.78em; line-height: 1; }

.tc-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
}
.tc-kicker {
  display: inline-block;
  color: #059669;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tc-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #101828;
  margin-bottom: 18px;
}
.tc-hero h1 span { display: block; }
.tc-hero h1 .l2 {
  background: linear-gradient(120deg, #059669 0%, #0284c7 52%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
.tc-lead {
  color: #475467;
  font-size: 17px;
  line-height: 1.65;
  max-width: 580px;
}
.tc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.tc-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 40, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: #101828;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.tc-ghost-btn:hover {
  background: #fff;
  border-color: rgba(16, 24, 40, 0.28);
  transform: translateY(-1px);
}

.tc-hero-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  width: 100%;
  justify-self: center;
  display: grid;
  place-items: center;
}
.tc-orb {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: linear-gradient(120deg, #34d399, #38bdf8 55%, #a78bfa);
  filter: blur(58px);
  opacity: 0.34;
  pointer-events: none;
}
.tc-hero-logo {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  border-radius: 30px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.18), 0 0 0 1px rgba(16, 24, 40, 0.08);
}
.tc-orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(16, 24, 40, 0.12);
  pointer-events: none;
}
.tc-orbit-outer { width: 356px; height: 356px; }
.tc-orbit-inner { width: 224px; height: 224px; border-color: rgba(16, 24, 40, 0.09); }

.tc-cloud {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tc-cloud li {
  position: absolute;
  left: 50%;
  top: 50%;
  --r: 178px;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
  animation: tc-orbit 48s linear infinite;
  will-change: transform;
}
.tc-cloud-ic {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: block;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.12), 0 0 0 1px rgba(16, 24, 40, 0.06);
}
.tc-cloud-empty {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, #059669, #0284c7 55%, #7c3aed);
}
.tc-cloud .c0 { --a: -90deg; }
.tc-cloud .c1 { --a: -45deg; }
.tc-cloud .c2 { --a: 0deg; }
.tc-cloud .c3 { --a: 45deg; }
.tc-cloud .c4 { --a: 90deg; }
.tc-cloud .c5 { --a: 135deg; }
.tc-cloud .c6 { --a: 180deg; }
.tc-cloud .c7 { --a: 225deg; }
.tc-cloud .c8,
.tc-cloud .c9,
.tc-cloud .c10,
.tc-cloud .c11 {
  --r: 112px;
  animation-duration: 30s;
}
.tc-cloud .c8 { --a: -135deg; }
.tc-cloud .c9 { --a: -45deg; }
.tc-cloud .c10 { --a: 45deg; }
.tc-cloud .c11 { --a: 135deg; }
.tc-cloud .c8 .tc-cloud-ic,
.tc-cloud .c9 .tc-cloud-ic,
.tc-cloud .c10 .tc-cloud-ic,
.tc-cloud .c11 .tc-cloud-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  opacity: 0.92;
}
@keyframes tc-orbit {
  from { transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
  to   { transform: translate(-50%, -50%) rotate(calc(var(--a) + 360deg)) translateX(var(--r)) rotate(calc(-1 * (var(--a) + 360deg))); }
}

.tc-stats {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tc-stats li {
  text-align: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  padding: 20px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -14px rgba(16, 24, 40, 0.12);
}
.tc-stat-num {
  display: block;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #059669 0%, #0284c7 52%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.tc-stats li span {
  display: block;
  font-size: 14px;
  color: #5b6782;
  font-weight: 500;
}

/* Main Container */
.tc-wrap { width: min(1200px, 100%); margin: 0 auto; padding: 40px 20px 64px; }
.tc-guide-intro {
  text-align: center;
  padding: 34px 24px;
  margin-bottom: 28px;
  border-radius: 24px;
  background: linear-gradient(125deg, #4334BD 0%, var(--brand) 52%, var(--brand2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 38px -14px rgba(91, 75, 224, 0.45);
}
.tc-guide-intro h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 10px;
}
.tc-guide-intro p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 820px;
  margin: 0 auto;
}

/* Bento Card */
.tc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}
.tc-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.tc-num {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 8px 18px -6px rgba(91, 75, 224, 0.55);
  font-variant-numeric: tabular-nums;
}
.tc-step-head h2 { font-size: clamp(19px, 2.2vw, 23px); }

.tc-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tc-app-info { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 18px; }
.tc-logo { width: 86px; height: 86px; object-fit: contain; border-radius: 20px; flex-shrink: 0; box-shadow: 0 6px 18px rgba(43, 32, 120, 0.12); background: #fff; }
.tc-app-info p { margin: 0 0 14px; color: var(--text2); font-size: 15px; }

/* Pill Shimmer Button */
.tc-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(91, 75, 224, 0.55);
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.tc-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .42) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}
.tc-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(91, 75, 224, 0.65); }
.tc-btn:hover::after { transform: translateX(120%); }

.tc-btn-zalo { background: linear-gradient(135deg, #1E88FF, #0068FF); box-shadow: 0 10px 24px -8px rgba(0, 104, 255, 0.45); }
.tc-btn-tg { background: linear-gradient(135deg, #27A7E7, #1A8CD8); box-shadow: 0 10px 24px -8px rgba(26, 140, 216, 0.45); }
.tc-btn-fb { background: linear-gradient(135deg, #3B82F6, #1877F2); box-shadow: 0 10px 24px -8px rgba(24, 119, 242, 0.45); }
.tc-btn-dark { background: linear-gradient(135deg, #2D2A4A, #14122B); box-shadow: 0 10px 22px -8px rgba(20, 18, 43, 0.45); }

.tc-qr { width: 152px; flex-shrink: 0; text-align: center; }
.tc-qr img {
  width: 136px;
  height: 136px;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px;
  background: #fff;
}
.tc-qr span { display: block; font-size: 12px; color: var(--text3); margin-top: 7px; font-weight: 500; }

/* Notice & Warning */
.tc-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--spendSoft);
  border: 1px solid #FFD8A8;
  color: #8E4B00;
  font-size: 14px;
  margin-top: 20px;
}
.tc-notice b { display: block; margin-bottom: 2px; color: var(--spendInk); }

.tc-console-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--brandSoft);
  color: var(--brand) !important;
  font-weight: 700;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  transition: background .2s;
}
.tc-console-link:hover { background: #E1DDFF; }

.tc-subtitle { font-size: 16.5px; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.tc-note { font-size: 14px; color: var(--text2); }

/* Email Copy Box */
.tc-email-box {
  background: var(--surface2);
  border: 1.5px dashed #C7C1EE;
  padding: 18px;
  border-radius: 18px;
  margin: 12px 0;
}
.tc-email { display: block; font-size: 14.5px; font-weight: 700; color: var(--brand); overflow-wrap: anywhere; padding: 3px 0; }
.tc-copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.tc-success { color: var(--chiaInk); font-size: 13.5px; font-weight: 600; }

.tc-guide-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin: 12px 0;
  box-shadow: 0 8px 24px -14px rgba(43, 32, 120, 0.16);
}

/* Self-hosted Video Player */
.tc-video-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: #14122B;
  border: 1px solid var(--line);
  margin-top: 12px;
  box-shadow: var(--shadow-soft);
}
.tc-video-wrap video {
  display: block;
  width: 100%;
  max-height: 540px;
  background: #0B0B14;
}
.tc-video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface2);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text2);
}
.tc-video-meta a { color: var(--brand); font-weight: 600; text-decoration: none; }
.tc-video-meta a:hover { text-decoration: underline; }

/* 14 Rules */
.tc-rules {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #FFD8A8;
  margin-bottom: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.tc-rules-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  color: #fff;
  background: linear-gradient(125deg, #D96B00 0%, var(--spend) 55%, #FF9F2E 100%);
}
.tc-rules-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 18px;
  font-weight: 800;
}
.tc-rules-head h2 { margin: 0; font-size: 20px; color: #fff; }
.tc-rules-head p { margin: 4px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.94); }
.tc-rules-intro { padding: 18px 26px 0; color: var(--spendInk); font-size: 14.5px; font-weight: 700; line-height: 1.75; }
.tc-rules-list { padding: 18px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
.tc-rule-box {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--spend);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.tc-rule-box:nth-child(2) { border-left-color: var(--brand); }
.tc-rule-box:nth-child(3) { border-left-color: var(--chia); }
.tc-rule-box:nth-child(4) { border-left-color: var(--lucky); }
.tc-rule-box h3 { font-size: 15.5px; margin-bottom: 6px; color: var(--text); }

/* Spirit Rules */
.tc-spirit-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tc-spirit-item:last-of-type { border-bottom: 0; }
.tc-spirit-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--spendSoft);
  font-size: 19px;
}
.tc-spirit-text { flex: 1; font-size: 14.5px; color: var(--text2); }
.tc-spirit-text b { display: block; color: var(--text); margin-bottom: 2px; font-size: 15px; }

.tc-danger {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--lunarSoft);
  border: 1px solid #FECACA;
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--lunarInk);
  margin-top: 16px;
}
.tc-danger-icon { font-size: 26px; flex-shrink: 0; }
.tc-danger b { font-size: 15px; display: block; color: var(--lunar); }
.tc-danger span { font-size: 13.5px; }

.tc-thanks {
  text-align: center;
  padding: 20px 14px;
  background: var(--chiaSoft);
  border: 1px solid #B5EAE2;
  border-radius: 16px;
  margin-top: 16px;
  color: var(--chiaInk);
  font-weight: 700;
  font-size: 15.5px;
}
.tc-thanks span { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 500; }

/* Community Grid */
.tc-community-title { text-align: center; font-size: clamp(20px, 2.3vw, 24px); margin-bottom: 20px; }
.tc-community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tc-community-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tc-community-item h3 { font-size: 17px; }
.tc-community-item img {
  width: 142px;
  height: 142px;
  object-fit: contain;
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 16px;
  background: #fff;
}
.tc-community-item .tc-note { font-size: 13.5px; color: var(--text2); overflow-wrap: anywhere; }

/* Infographic at End of Page */
.tc-infographic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  margin-top: 24px;
  box-shadow: var(--shadow-soft);
}
.tc-infographic-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.tc-infographic-head h2 { font-size: clamp(19px, 2.2vw, 23px); }
.tc-zoom-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #0B192C;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tc-zoom-trigger:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tc-zoom-trigger img { width: 100%; height: auto; display: block; }
.tc-infographic-caption { margin-top: 12px; text-align: center; font-size: 13px; color: var(--text3); }

/* Lightbox Modal */
.tc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 13, 35, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tc-lightbox[hidden] { display: none; }
.tc-lightbox-inner { position: relative; max-width: 1280px; width: 100%; max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tc-lightbox-inner img { max-width: 100%; max-height: calc(92vh - 56px); width: auto; height: auto; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.tc-lightbox-close {
  align-self: flex-end;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.tc-lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

/* Footer */
.hp-site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface2);
  padding: 28px 20px;
  color: var(--text2);
  font-size: 13.5px;
}
.hp-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.hp-footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }
.hp-footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
.hp-footer-links a { text-decoration: none; color: var(--text2); font-weight: 500; }
.hp-footer-links a:hover { color: var(--brand); }

@media (max-width: 900px) {
  .tc-hero-in { grid-template-columns: 1fr; gap: 26px; }
  .tc-hero-art { max-width: 280px; order: -1; }
  .tc-hero-logo { width: 84px; height: 84px; border-radius: 20px; }
  .tc-orbit-outer { width: 232px; height: 232px; }
  .tc-orbit-inner { width: 144px; height: 144px; }
  .tc-cloud li { --r: 116px; }
  .tc-cloud .c8,
  .tc-cloud .c9,
  .tc-cloud .c10,
  .tc-cloud .c11 { --r: 72px; }
  .tc-cloud-ic { width: 40px; height: 40px; border-radius: 11px; }
  .tc-cloud .c8 .tc-cloud-ic,
  .tc-cloud .c9 .tc-cloud-ic,
  .tc-cloud .c10 .tc-cloud-ic,
  .tc-cloud .c11 .tc-cloud-ic { width: 32px; height: 32px; border-radius: 9px; }
}
@media (max-width: 760px) {
  .tc-hero { padding: 28px 16px 36px; }
  .tc-lead { font-size: 15.5px; }
  .tc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 30px; }
  .tc-stats li { padding: 16px; }
  .tc-wrap { padding: 24px 16px 48px; }
  .tc-card, .tc-infographic-card { padding: 20px 16px; border-radius: 20px; }
  .tc-rules-head { padding: 16px 18px; }
  .tc-rules-intro { padding: 14px 18px 0; }
  .tc-rules-list { padding: 14px 18px 18px; }
  .tc-community-grid { grid-template-columns: 1fr; }
  .tc-qr { width: 100%; }
  .tc-app-info .tc-btn { width: 100%; }
  .hp-footer-links { margin-left: 0; }
}
@media (max-width: 520px) {
  .tc-hero-cta a { width: 100%; }
  .tc-theme-txt { display: none; }
  .tc-theme-toggle { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
}

/* Dark Theme */
html[data-theme="dark"] {
  --bg: #0B1020;
  --surface: #131B31;
  --surface2: #1A2440;
  --line: rgba(255, 255, 255, 0.11);
  --text: #EDF2FF;
  --text2: #A5B2CF;
  --text3: #8391AE;
  --glass: rgba(11, 16, 32, 0.78);
  --brandSoft: rgba(123, 108, 246, 0.22);
  --spendSoft: rgba(240, 140, 0, 0.14);
  --spendInk: #FCD34D;
  --chiaSoft: rgba(14, 159, 142, 0.16);
  --chiaInk: #5EEAD4;
  --lunarSoft: rgba(220, 38, 38, 0.16);
  --lunarInk: #FCA5A5;
  --lunar: #F87171;
  --shadow-soft: 0 16px 36px -14px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}
html[data-theme="dark"] .tc-hero {
  background:
    radial-gradient(960px 480px at 88% 8%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(780px 440px at 6% 16%, rgba(52, 211, 153, 0.13), transparent 58%),
    linear-gradient(180deg, #0B1020 0%, #10182E 100%);
}
html[data-theme="dark"] .tc-kicker { color: #34D399; }
html[data-theme="dark"] .tc-hero h1 { color: #EDF2FF; }
html[data-theme="dark"] .tc-hero h1 .l2,
html[data-theme="dark"] .tc-stat-num {
  background: linear-gradient(120deg, #34D399 0%, #38BDF8 52%, #A78BFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="dark"] .tc-lead { color: #A5B2CF; }
html[data-theme="dark"] .tc-ghost-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #EDF2FF;
}
html[data-theme="dark"] .tc-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}
html[data-theme="dark"] .tc-orbit-ring { border-color: rgba(148, 163, 184, 0.2); }
html[data-theme="dark"] .tc-orbit-inner { border-color: rgba(148, 163, 184, 0.14); }
html[data-theme="dark"] .tc-hero-logo {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .tc-cloud-ic {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
html[data-theme="dark"] .tc-stats li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .tc-stats li span { color: #9AA6C4; }
html[data-theme="dark"] .tc-notice {
  border-color: rgba(251, 191, 36, 0.3);
  color: #FDE68A;
}
html[data-theme="dark"] .tc-console-link { color: #C4BCFF !important; }
html[data-theme="dark"] .tc-console-link:hover { background: rgba(123, 108, 246, 0.32); }
html[data-theme="dark"] .tc-email-box { border-color: rgba(123, 108, 246, 0.45); }
html[data-theme="dark"] .tc-email { color: #B8B0FF; }
html[data-theme="dark"] .tc-rules { border-color: rgba(251, 191, 36, 0.3); }
html[data-theme="dark"] .tc-rule-box { background: #0E1528; }
html[data-theme="dark"] .tc-danger { border-color: rgba(248, 113, 113, 0.32); }
html[data-theme="dark"] .tc-thanks { border-color: rgba(94, 234, 212, 0.3); }
html[data-theme="dark"] .tc-btn-dark {
  background: linear-gradient(135deg, #3B3766, #252147);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
