/* ============================================
   TFT UNITS PAGE
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700;800&display=swap");

.tfu-page { background: #0b0e1a; padding-bottom: 32px; font-family: "Oxanium", sans-serif; }

/* HERO */
.tfu-hero { padding: 24px 24px 20px; border-bottom: 0.5px solid rgba(255,255,255,0.05); background: #0b0e1a; overflow: hidden; }
.tfu-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1280px; margin: 0 auto; }
.tfu-hero-left { flex: 1; text-align: center; }
.tfu-hero-patch { display: inline-flex; align-items: center; background: rgba(200,155,60,0.1); border: 0.5px solid rgba(200,155,60,0.25); border-radius: 20px; padding: 3px 10px; font-size: 10px; color: #C89B3C; margin-bottom: 8px; justify-content: center; }
.tfu-hero-title { font-size: 26px; font-weight: 700; color: #eef3ff; margin-bottom: 4px; }
.tfu-hero-title span { color: #C89B3C; }
.tfu-hero-sub { font-size: 12px; color: #3c4a6a; margin-bottom: 14px; }
.tfu-hero-stats { display: flex; gap: 16px; justify-content: center; }
.tfu-stat-n { font-size: 20px; font-weight: 700; color: #C89B3C; }
.tfu-stat-l { font-size: 11px; color: #4a6080; }
.tfu-hero-img { width: 180px; height: 180px; object-fit: contain; flex-shrink: 0; opacity: 0.85; -webkit-mask-image: linear-gradient(to top, black 0%, black 55%, transparent 90%), linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to top, black 0%, black 55%, transparent 90%), linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%); mask-composite: intersect; }

/* FILTERS */
.tfu-filters { padding: 14px 24px; border-bottom: 0.5px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; gap: 8px; max-width: 1280px; margin: 0 auto; }
.tfu-search { display: flex; align-items: center; gap: 8px; background: #0f1628; border: 0.5px solid rgba(255,255,255,0.07); border-radius: 8px; padding: 0 12px; height: 34px; max-width: 300px; transition: border-color 0.2s; }
.tfu-search:hover { border-color: rgba(200,155,60,0.25); }
.tfu-search svg { color: #3c4a6a; width: 13px; height: 13px; flex-shrink: 0; }
.tfu-search input { flex: 1; background: none; border: none; outline: none; font-size: 12px; color: #eef3ff; font-family: inherit; }
.tfu-search input::placeholder { color: #2c3a5a; }
.tfu-filter-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tfu-flbl { font-size: 10px; color: #3c4a6a; text-transform: uppercase; letter-spacing: .06em; width: 36px; flex-shrink: 0; }
.tfu-fbtn { background: transparent; border: 0.5px solid rgba(255,255,255,0.07); border-radius: 20px; padding: 3px 11px; font-size: 11px; color: #4a6080; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.tfu-fbtn:hover { border-color: rgba(200,155,60,0.3); color: #C89B3C; }
.tfu-fbtn.on { background: rgba(200,155,60,0.08); border-color: rgba(200,155,60,0.35); color: #C89B3C; }

/* SECTIONS */
.tfu-section { padding: 16px 24px 0; max-width: 1280px; margin: 0 auto; }
.tfu-sec-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 0.5px solid rgba(255,255,255,0.04); }
.tfu-cost-pill { border-radius: 20px; padding: 4px 14px; font-size: 13px; font-weight: 700; }
.tfu-cp5 { background: rgba(245,158,11,0.08); color: #f59e0b; border: 0.5px solid rgba(245,158,11,0.2); }
.tfu-cp4 { background: rgba(192,132,252,0.08); color: #c084fc; border: 0.5px solid rgba(192,132,252,0.2); }
.tfu-cp3 { background: rgba(74,158,255,0.08); color: #4a9eff; border: 0.5px solid rgba(74,158,255,0.2); }
.tfu-cp2 { background: rgba(74,222,128,0.08); color: #4ade80; border: 0.5px solid rgba(74,222,128,0.2); }
.tfu-cp1 { background: rgba(154,170,187,0.08); color: #9aaabb; border: 0.5px solid rgba(154,170,187,0.2); }
.tfu-sec-count { font-size: 12px; color: #4a6080; margin-left: auto; }
.tfu-divline { height: 0.5px; background: rgba(255,255,255,0.04); margin: 16px 24px 0; max-width: calc(1280px - 0px); }

/* GRID */
.tfu-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tfu-unit { background: #111d35; border: 0.5px solid rgba(255,255,255,0.05); border-radius: 10px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; text-decoration: none; transition: all 0.15s; }
.tfu-unit:hover { background: #162035; border-color: rgba(200,155,60,0.25); transform: translateY(-1px); }
.tfu-uimg { width: 48px; height: 48px; border-radius: 10px; background: #1e2845; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #4a6080; font-weight: 600; overflow: hidden; }
.tfu-uimg img { width: 100%; height: 100%; object-fit: cover; }
.tfu-u5 { box-shadow: 0 0 0 1.5px rgba(245,158,11,0.4); }
.tfu-u4 { box-shadow: 0 0 0 1.5px rgba(192,132,252,0.35); }
.tfu-u3 { box-shadow: 0 0 0 1.5px rgba(74,158,255,0.35); }
.tfu-u2 { box-shadow: 0 0 0 1.5px rgba(74,222,128,0.3); }
.tfu-u1 { box-shadow: 0 0 0 1.5px rgba(154,170,187,0.2); }
.tfu-uname { font-size: 13px; color: #eef3ff; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tfu-traits { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; }
.tfu-tb { font-size: 11px; background: rgba(255,255,255,0.07); border-radius: 4px; padding: 2px 6px; color: #8090b8; }

/* RESPONSIVE */
@media (max-width: 900px) { .tfu-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 600px) {
  .tfu-grid { grid-template-columns: repeat(3, 1fr); }
  .tfu-hero-img { width: 90px; height: 90px; }
  .tfu-filters { padding: 12px 14px; }
  .tfu-section { padding: 14px 14px 0; }
}