/* ============================================================================
   GC Arcade Portal — Exquisite Dark Arcane Showcase Styles
   ============================================================================ */

:root {
  --bg: #070a14;
  --panel: rgba(14, 20, 36, 0.84);
  --border: rgba(145, 190, 255, 0.18);
  --cyan: #66d9ff;
  --gold: #ffd466;
  --emerald: #4ade80;
  --text: #f3f7ff;
  --muted: #98a8cc;
}

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

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  overflow-x: hidden;
}

#portal-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.portal-wrap {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 20px 44px;
}

/* Header */
.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  margin-bottom: 22px;
}

.ph-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.site-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(255, 212, 102, 0.14);
  border: 1px solid rgba(255, 212, 102, 0.35);
  padding: 3px 11px;
  border-radius: 999px;
}

.model-pill {
  font-size: 11px;
  font-weight: 700;
  color: #cbeeff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(168, 85, 247, 0.24));
  border: 1px solid rgba(125, 211, 252, 0.45);
  padding: 3px 11px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.18);
}
.model-pill b { color: #ffffff; font-weight: 900; }

.site-title {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 900;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #ffffff, #9be7ff, #ffe08a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.ph-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ph-stat-card {
  min-width: 106px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.phs-label { font-size: 11px; color: var(--muted); }
.phs-val { font-size: 20px; font-weight: 900; color: var(--gold); margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Featured Spotlight */
.featured-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  background: radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.18), transparent 50%),
              radial-gradient(circle at 85% 80%, rgba(255, 212, 102, 0.14), transparent 50%),
              rgba(14, 21, 40, 0.9);
  border: 1.5px solid rgba(102, 217, 255, 0.35);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.58);
  margin-bottom: 28px;
  overflow: hidden;
}

@media (max-width: 820px) {
  .featured-hero { grid-template-columns: 1fr; padding: 20px; }
}

.feat-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.feat-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.2;
}
.feat-en {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-top: 4px;
  margin-bottom: 12px;
}
.feat-desc {
  font-size: 14px;
  color: #d6e2ff;
  line-height: 1.65;
  margin-bottom: 16px;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.tag-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2eeff;
}

.feat-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.play-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(79, 134, 247, 0.45);
  transition: transform 0.14s, filter 0.14s, box-shadow 0.14s;
}
.play-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 36px rgba(79, 134, 247, 0.62);
}

.champ-pill {
  font-size: 12px;
  color: #fef08a;
  background: rgba(255, 212, 102, 0.1);
  border: 1px solid rgba(255, 212, 102, 0.32);
  padding: 8px 14px;
  border-radius: 12px;
}

/* Right visual art card */
.feat-art {
  position: relative;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 45%, rgba(99, 102, 241, 0.34), rgba(10, 14, 28, 0.96));
  border: 1px solid rgba(145, 200, 255, 0.25);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.art-orbit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px 0;
  flex-wrap: wrap;
}
.art-rune {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(12, 18, 36, 0.85);
  border: 1.5px solid var(--rc);
  color: var(--rc);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
}

.art-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ah-box {
  background: rgba(8, 12, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}
.ah-label { font-size: 10px; color: var(--muted); }
.ah-val { font-size: 12px; font-weight: 800; color: #fff; margin-top: 2px; }

/* Catalog Section */
.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cat-title { font-size: 20px; font-weight: 900; }
.cat-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }

.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.fp-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 22, 38, 0.8);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.fp-btn.active {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--cyan);
  color: #fff;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 18px;
  background: var(--panel);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.game-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--g-accent), var(--g-second));
}
.game-card.live:hover {
  transform: translateY(-4px);
  border-color: var(--g-accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}
.game-card.upcoming {
  opacity: 0.78;
  border-style: dashed;
}

.gc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.gc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.gc-status {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}
.gc-status.live { background: rgba(74, 222, 128, 0.16); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.45); }
.gc-status.upcoming { background: rgba(148, 163, 184, 0.14); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.3); }

.gc-num { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--g-accent); }
.gc-title { font-size: 18px; font-weight: 900; margin: 3px 0 6px; }
.gc-summary { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; flex: 1; }

.gc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.gc-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.gc-btn {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(99, 102, 241, 0.3));
  border: 1px solid rgba(102, 217, 255, 0.5);
  color: #ffffff;
  transition: background 0.14s;
}
.gc-btn:hover { background: linear-gradient(135deg, #38bdf8, #6366f1); }
.gc-btn.disabled {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  cursor: default;
}

/* Footer */
.portal-footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.portal-footer code {
  color: var(--cyan);
  background: rgba(102, 217, 255, 0.1);
  padding: 1px 6px;
  border-radius: 5px;
}
