/* Rules that only apply on / — loaded by that page after style.css. */
.hero-fullbleed { padding: 90px 0 64px; min-height: 520px; display: flex; align-items: center; }

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/assets/hero-scene.jpg');
  background-size: cover;
  background-position: center right;
}

.hero-bg-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgb(var(--shadow-rgb) / 0.88) 28%, rgb(var(--shadow-rgb) / 0.35) 55%, transparent 75%),
    linear-gradient(0deg, var(--ink) 0%, transparent 30%, transparent 70%, rgb(var(--shadow-rgb) / 0.3) 100%);
}

.hero-fullbleed-inner { width: 100%; padding: 0 max(24px, 5%); }

.hero-fullbleed-copy { max-width: 560px; }

@media (max-width: 760px) {
  .hero-fullbleed { padding: 64px 0 48px; min-height: 0; }
  .hero-fullbleed-copy { max-width: 100%; text-align: center; }
  .hero-fullbleed-copy p[style*="max-width"] { max-width: 100% !important; }
  .hero-fullbleed-copy > div { justify-content: center; }
  .hero-bg-shade { background: linear-gradient(180deg, var(--ink) 0%, rgb(var(--shadow-rgb) / 0.7) 40%, rgb(var(--shadow-rgb) / 0.25) 68%, transparent 88%); }
}

.ffeat-section { border-top: 1px solid var(--glass-border); padding-top: 44px; }

.ffeat-eyebrow {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.82rem; color: var(--brass-bright); margin: 0 0 32px;
}

.ffeat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px 20px;
}

.ffeat-item { text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; }

.ffeat-item .icon-badge { margin-bottom: 14px; }

.ffeat-item h3 { margin: 0 0 6px; font-size: 1.02rem; color: var(--bone); }

.ffeat-item p { margin: 0 0 10px; font-size: 0.82rem; line-height: 1.45; }

.ffeat-link {
  font-size: 0.82rem; font-weight: 700; color: var(--brass-bright);
  display: inline-flex; align-items: center; gap: 4px; transition: gap 0.15s ease;
}

.ffeat-item:hover .ffeat-link { gap: 7px; }

.ffeat-link i { width: 14px; height: 14px; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }

.section-title { font-size: 1.3rem; margin: 0; }

.section-head-link { font-size: 0.85rem; color: var(--ash); text-decoration: none; white-space: nowrap; transition: color .2s; }

.section-head-link:hover { color: var(--brass-bright); }

.live-strip-section, .trending-section { padding-bottom: 28px; }

.trending-section { padding-top: 12px; }

.live-dot { display: inline-block; vertical-align: middle; margin: -3px 10px 0 0; width: 10px; height: 10px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 0 rgb(52 211 153 / 0.6); animation: liveDotPulse 2s infinite; flex: none; }

.reduce-motion .live-dot { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

.live-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.live-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; color: inherit; min-width: 0; }

.live-card-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--brass-rgb) / 0.14); color: var(--brass-bright); }

.live-card[data-tone="sea"] .live-card-icon { background: rgb(52 211 153 / 0.14); color: var(--sea); }

.live-card[data-tone="gold"] .live-card-icon { background: rgb(var(--gold-rgb) / 0.14); color: var(--gold); }

.live-card[data-tone="purple"] .live-card-icon { background: rgb(var(--purple-rgb) / 0.14); color: var(--purple); }

.live-card-body { display: flex; flex-direction: column; min-width: 0; gap: 1px; }

.live-card-count { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; }

.live-card-label { font-size: 0.82rem; font-weight: 600; }

.live-card-sub { font-size: 0.74rem; color: var(--ash); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.live-card-empty .live-card-count { color: var(--ash); }

.trending-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }

.trending-tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 10px 14px; text-decoration: none; color: inherit; min-width: 0; }

.trending-tile-rank { position: absolute; top: 10px; left: 12px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ash); }

.trending-tile-img { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: radial-gradient(circle at 50% 40%, rgb(var(--brass-rgb) / 0.20), transparent 70%); margin-bottom: 2px; }

.trending-tile-img img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.45)); transition: transform .25s; }

.trending-tile:hover .trending-tile-img img { transform: scale(1.1) rotate(-4deg); }

.trending-tile-name { font-size: 0.86rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

.trending-tile-value { font-family: var(--font-mono); font-size: 0.82rem; color: var(--brass-bright); }

.trending-tile-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 10px 3px 8px; border-radius: 999px; color: var(--tile-accent, var(--ash)); background: color-mix(in srgb, var(--tile-accent, var(--ash)) 14%, transparent); }

.trending-tile-badge svg { width: 12px; height: 12px; stroke-width: 2.4; }

.trending-tile { overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }

.trending-tile::before { background: linear-gradient(90deg, transparent, var(--tile-accent, var(--brass)), transparent); opacity: 0.9; }

.trending-tile-img { width: 68px; height: 68px; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--tile-accent, var(--brass)) 26%, transparent), transparent 72%); }

.trending-tile-img img { width: 52px; height: 52px; }

.trending-tile-rank { padding: 1px 7px; border-radius: 999px; background: rgb(255 255 255 / 0.06); color: var(--ash); }

.trending-tile:hover { border-color: color-mix(in srgb, var(--tile-accent, var(--brass)) 55%, transparent); box-shadow: 0 8px 28px -10px color-mix(in srgb, var(--tile-accent, var(--brass)) 60%, transparent); }

@media (max-width: 1100px) {
  .trending-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .live-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .trending-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .live-strip-grid { grid-template-columns: 1fr; }
  .live-card { padding: 14px; }
}

/* ---- Homepage v2: game-update banner, value moves, trading board, what's new, tools, join band ---- */
.home-sub { margin-left: 10px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ash); }
.home-event-section { padding-bottom: 0; }
.home-event { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; text-decoration: none;
  background: linear-gradient(120deg, rgb(var(--brass-rgb) / 0.18), rgb(var(--brass-rgb) / 0.05) 60%, transparent), var(--glass-bg); border-color: rgb(var(--brass-rgb) / 0.4); }
.home-event-badge { padding: 4px 11px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass-bright); background: rgb(var(--brass-rgb) / 0.14); border: 1px solid rgb(var(--brass-rgb) / 0.4); white-space: nowrap; }
.home-event-body { flex: 1 1 280px; display: grid; gap: 3px; min-width: 0; }
.home-event-title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.home-event-sum { font-size: 0.86rem; color: var(--ash); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-event-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; color: var(--brass-bright); }

.home-movers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-mover-col { padding: 14px 16px; }
.home-mover-h { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.home-mover-h i { width: 15px; height: 15px; }
.home-mover-h.up { color: #34d399; } .home-mover-h.down { color: #f87171; }
.home-mover { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; text-decoration: none; transition: background 0.15s; }
.home-mover:hover { background: rgb(255 255 255 / 0.05); }
.home-mover img, .home-mover-noimg { width: 36px; height: 36px; flex: none; object-fit: contain; }
.home-mover-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.home-mover-val { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ash); font-variant-numeric: tabular-nums; }
.home-pct { min-width: 4.8em; padding: 2px 8px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.home-pct.up { color: #34d399; background: rgb(52 211 153 / 0.12); } .home-pct.down { color: #f87171; background: rgb(248 113 113 / 0.12); }

.home-board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.home-listing { display: grid; gap: 12px; padding: 14px; text-decoration: none; }
.home-listing-trade { display: flex; align-items: center; gap: 10px; }
.home-listing-trade > i { flex: none; color: var(--brass-bright); }
.home-listing-side { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.home-listing-side.req { justify-content: flex-end; }
.home-chip { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--glass-bg-strong); border: 1px solid var(--glass-border); }
.home-chip img { width: 30px; height: 30px; object-fit: contain; }
.home-chip b { position: absolute; right: -5px; bottom: -6px; padding: 1px 5px; border-radius: 999px; font-size: 0.62rem; color: #fff; background: var(--brass); }
.home-listing-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 0.76rem; color: var(--ash); }
.home-listing-meta span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.home-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.home-news { display: grid; align-content: start; gap: 8px; padding: 16px; text-decoration: none; }
.home-news-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.74rem; color: var(--ash); }
.home-tag { padding: 2px 9px; border-radius: 999px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brass-bright); background: rgb(var(--brass-rgb) / 0.14); border: 1px solid rgb(var(--brass-rgb) / 0.35); }
.home-news h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.home-news p { margin: 0; font-size: 0.86rem; color: var(--ash); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.home-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.home-tool { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; }
.home-tool .icon-badge { flex: none; }
.home-tool span { display: grid; gap: 2px; min-width: 0; }
.home-tool b { font-size: 0.98rem; } .home-tool small { font-size: 0.8rem; color: var(--ash); }

.home-join { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 28px;
  background: linear-gradient(120deg, rgb(var(--brass-rgb) / 0.18), transparent 70%), var(--glass-bg); border-color: rgb(var(--brass-rgb) / 0.4); }
.home-join h2 { margin: 0 0 4px; font-size: 1.35rem; } .home-join h2::after { display: none; } .home-join p { margin: 0; }

@media (max-width: 760px) {
  .home-movers { grid-template-columns: 1fr; }
  .home-event { padding: 14px 16px; }
  .home-join { padding: 20px; } .home-join .btn { width: 100%; justify-content: center; }
}
.home-join-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .home-join-actions { width: 100%; } .home-join-actions .btn { flex: 1 1 100%; } }
