/*
Theme Name: TFT Unlock Tool Store
Theme URI: https://tftunlocktool.store/
Author: TFT Unlock Tool Store
Author URI: https://tftunlocktool.store/
Description: High-conversion, SEO-optimized micro-niche WordPress theme for tftunlocktool.store. Features QashAds Fast Direct Download integration, bot-protected Slow Download gate, YouTube click-to-load facade, automatic internal linking, Schema.org JSON-LD, and auto-generated trust pages (DMCA, About Us, Contact Us, Privacy Policy, Updates).
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tft-store
Tags: software, download, seo-friendly, responsive, dark-mode, micro-niche
*/

:root {
  --bg-body: #0b0f19;
  --bg-surface: #111827;
  --bg-card: #161f32;
  --bg-card-hover: #1c2740;
  --bg-elevated: #1e293b;
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-accent: rgba(16, 185, 129, 0.45);
  --text-main: #e2e8f0;
  --text-heading: #ffffff;
  --text-muted: #94a3b8;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 28px rgba(16, 185, 129, 0.35);
  --container-max: 1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6,
.tft-site h1, .tft-site h2, .tft-site h3, .tft-site h4 {
  color: var(--text-heading) !important;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
}

h1 { font-size: clamp(1.75rem, 3.6vw, 2.55rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); margin-bottom: 0.65rem; }

p {
  margin: 0 0 1.05rem;
  color: var(--text-main);
}

ul, ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.45rem;
}

.tft-container {
  width: min(94%, var(--container-max));
  margin: 0 auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.tft-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.tft-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.tft-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.tft-brand:hover {
  color: #ffffff;
}

.tft-brand-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.tft-brand-text span {
  display: block;
}

.tft-brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-emerald);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tft-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tft-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.2rem;
}

.tft-nav-list > li {
  position: relative;
  margin: 0;
}

.tft-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.tft-nav-list > li > a:hover,
.tft-nav-list > li.current-menu-item > a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.tft-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.45rem;
  list-style: none;
  margin: 0;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 999;
}

.tft-nav-list > li:hover > .tft-dropdown,
.tft-nav-list > li:focus-within > .tft-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tft-dropdown li {
  margin: 0;
}

.tft-dropdown a {
  display: block;
  padding: 0.55rem 0.8rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 6px;
}

.tft-dropdown a:hover {
  background: rgba(16, 185, 129, 0.14);
  color: #ffffff;
}

.tft-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-emerald-dark));
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.58rem 1.05rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  white-space: nowrap;
}

.tft-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.tft-menu-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.tft-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.tft-mobile-drawer.is-open {
  display: block;
}

.tft-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.tft-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 330px);
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tft-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tft-drawer-close {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.25rem;
  cursor: pointer;
}

.tft-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tft-drawer-links a {
  display: block;
  padding: 0.7rem 0.85rem;
  color: #e2e8f0;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.tft-drawer-links a:hover {
  background: rgba(16, 185, 129, 0.16);
  color: #ffffff;
}

/* ==========================================================================
   HERO & TOP CONVERSION BOX
   ========================================================================== */
.tft-hero {
  padding: 2.5rem 0 2rem;
  background:
    radial-gradient(circle at 18% 15%, rgba(6, 182, 212, 0.14), transparent 42%),
    radial-gradient(circle at 82% 20%, rgba(16, 185, 129, 0.14), transparent 40%),
    linear-gradient(180deg, #0e1525 0%, var(--bg-body) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.tft-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.tft-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tft-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tft-pill--cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.3);
}

.tft-pill--amber {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.tft-hero-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 1.35rem;
}

/* Fast Direct Download (QashAds Primary CTA) */
.tft-fast-cta-box {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.2rem;
}

.tft-fast-cta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.84rem;
  color: #a7f3d0;
  font-weight: 600;
}

.tft-btn-fast {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-size: 1.08rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-glow);
  animation: tftPopPulse 2.4s infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.tft-btn-fast:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: #ffffff !important;
}

@keyframes tftPopPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55), 0 8px 24px rgba(16, 185, 129, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0), 0 10px 28px rgba(16, 185, 129, 0.5); }
}

.tft-cta-sublinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.tft-jump-slow {
  color: #cbd5e1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tft-jump-slow:hover {
  color: var(--accent-cyan);
}

.tft-hero-media {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  box-shadow: var(--shadow-card);
}

.tft-hero-media img {
  width: 100%;
  border-radius: var(--radius-md);
}

.tft-hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
  padding: 0 0.25rem;
}

/* ==========================================================================
   MAIN LAYOUT & CARDS
   ========================================================================== */
.tft-main-wrap {
  padding: 2.25rem 0 3.5rem;
}

.tft-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.tft-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  margin-bottom: 1.65rem;
  box-shadow: var(--shadow-card);
}

.tft-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* Specs Table */
.tft-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.tft-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.tft-spec-table th,
.tft-spec-table td {
  padding: 0.82rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.tft-spec-table tr:last-child th,
.tft-spec-table tr:last-child td {
  border-bottom: none;
}

.tft-spec-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.tft-spec-table th {
  width: 34%;
  color: #94a3b8;
  font-weight: 600;
}

.tft-spec-table td {
  color: #f8fafc;
  font-weight: 600;
}

.tft-code-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  word-break: break-all;
}

.tft-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
}

.tft-copy-btn:hover {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

/* Table of Contents */
.tft-toc {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.65rem;
}

.tft-toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tft-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.45rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tft-toc-grid a {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tft-toc-grid a:hover {
  color: var(--accent-emerald);
}

/* YouTube Facade */
.tft-yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

.tft-yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.tft-yt-facade:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.tft-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 52px;
  background: rgba(239, 68, 68, 0.95);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.tft-yt-facade:hover .tft-yt-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #dc2626;
}

.tft-yt-play::after {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 20px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

.tft-yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Feature Grid & Brand Pills */
.tft-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.tft-feature-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}

.tft-feature-item h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: #ffffff;
}

.tft-feature-item p {
  font-size: 0.89rem;
  color: var(--text-muted);
  margin: 0;
}

.tft-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.tft-brand-tag {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-pill);
}

/* Step Figures */
.tft-step-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.tft-step-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.tft-step-num {
  display: inline-block;
  background: var(--accent-cyan);
  color: #0b0f19;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.tft-step-figure {
  margin: 0.9rem 0 0;
  text-align: center;
}

.tft-step-figure img {
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.tft-step-figure figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Version & Internal Linking Cards */
.tft-version-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.tft-version-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tft-version-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.tft-version-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.tft-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.45);
  background: rgba(6, 182, 212, 0.1);
  color: #67e8f9 !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
}

.tft-btn-outline:hover {
  background: var(--accent-cyan);
  color: #0b0f19 !important;
}

/* Alert / Callout */
.tft-callout {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin: 1.15rem 0;
  font-size: 0.94rem;
}

.tft-callout--info {
  background: rgba(6, 182, 212, 0.1);
  border-left-color: var(--accent-cyan);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.tft-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tft-faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.tft-faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tft-faq-q::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--accent-emerald);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.tft-faq-item.is-open .tft-faq-q::after {
  content: "−";
}

.tft-faq-a {
  display: none;
  padding: 0 1.2rem 1.1rem;
  color: #cbd5e1;
  font-size: 0.94rem;
}

.tft-faq-item.is-open .tft-faq-a {
  display: block;
}

/* ==========================================================================
   BOT-PROTECTED SLOW DOWNLOAD SECTION (BOTTOM OF PAGE)
   ========================================================================== */
.tft-slow-gate {
  background: linear-gradient(180deg, #131c31 0%, #0f172a 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-card);
}

.tft-slow-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tft-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.tft-gate-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tft-human-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
}

.tft-human-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-emerald);
  cursor: pointer;
}

.tft-math-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
}

.tft-math-input {
  width: 96px;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-body);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

/* Honeypot (strictly hidden from humans, traps bots) */
.tft-hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.tft-btn-slow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tft-btn-slow:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.tft-btn-slow:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tft-gate-status {
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.3em;
}

.tft-gate-status.is-error { color: #fca5a5; }
.tft-gate-status.is-ok { color: #6ee7b7; }

.tft-unlocked-box {
  display: none;
  margin-top: 1rem;
  padding: 1.25rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  text-align: center;
}

.tft-unlocked-box.is-visible {
  display: block;
}

/* ==========================================================================
   SIDEBAR & AD SLOTS
   ========================================================================== */
.tft-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.tft-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
}

.tft-widget-title {
  font-size: 1.02rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tft-sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tft-sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 0.89rem;
  font-weight: 600;
}

.tft-sidebar-links a:hover {
  background: rgba(16, 185, 129, 0.14);
  color: #ffffff;
}

.tft-ad-slot {
  text-align: center;
  margin: 1.25rem 0;
  min-height: 20px;
}

/* ==========================================================================
   BREADCRUMBS & FORMS
   ========================================================================== */
.tft-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.tft-breadcrumbs a {
  color: #cbd5e1;
}

.tft-form-group {
  margin-bottom: 1.1rem;
}

.tft-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}

.tft-input,
.tft-textarea,
.tft-select {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-body);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

.tft-input:focus,
.tft-textarea:focus,
.tft-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tft-footer {
  background: #070a12;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 1.5rem;
  color: var(--text-muted);
}

.tft-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.tft-footer h3 {
  font-size: 0.98rem;
  margin-bottom: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tft-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  font-size: 0.9rem;
}

.tft-footer-list a {
  color: #94a3b8;
}

.tft-footer-list a:hover {
  color: var(--accent-emerald);
}

.tft-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .tft-hero-grid {
    grid-template-columns: 1fr;
  }
  .tft-layout {
    grid-template-columns: 1fr;
  }
  .tft-sidebar {
    position: static;
  }
  .tft-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .tft-nav,
  .tft-header-cta {
    display: none;
  }
  .tft-menu-toggle {
    display: inline-flex;
  }
  .tft-card {
    padding: 1.2rem;
  }
  .tft-footer-grid {
    grid-template-columns: 1fr;
  }
}
