/* ───────── Game hub tabs (theme รอง) ───────── */

.gt-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.gt-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
  padding: 12px 18px;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  transition: transform 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.gt-tab:hover {
  transform: translateY(-2px);
  color: var(--text);
}
.gt-tabActive {
  color: var(--text);
  border-color: transparent;
  background: linear-gradient(120deg, #22d3ee22, #2563eb33);
  box-shadow: inset 0 0 0 1px #22d3ee66;
}
.gt-tabIcon {
  font-size: 22px;
}
.gt-tabLabel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.gt-tabSoon {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold);
  background: #f5c4511a;
  border: 1px solid #f5c45140;
  border-radius: 999px;
  padding: 2px 8px;
}

/* ปุ่ม Bug Report & Suggestion — ดันไปขวาสุดของแถวแท็บ */
.gt-boardTab {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed #f5c45166;
  border-radius: 14px;
  background: #f5c4510d;
  color: var(--text);
  padding: 12px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.gt-boardTab:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: #f5c45122;
  border-color: var(--gold);
}

@media (max-width: 680px) {
  .gt-boardTab {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.gt-panel {
  animation: fade 0.2s ease;
}
@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* หัวเกม — มีภาพ cover เป็นพื้นหลัง + overlay ให้ตัวอักษรเด่น */
.gt-gameHero {
  position: relative;
  border: 1px solid #22d3ee55;
  border-radius: 20px;
  background-image:
    linear-gradient(180deg, rgba(5, 11, 24, 0.55) 0%, rgba(5, 11, 24, 0.8) 100%),
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.18) 0, transparent 55%),
    url('/img/cover.png');
  background-size: cover;
  background-position: center 28%;
  padding: 56px 28px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.gt-gameTitle {
  font-size: clamp(30px, 5vw, 48px);
  margin: 0 0 8px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7), 0 0 26px rgba(34, 211, 238, 0.4);
}
.gt-gameSub {
  display: inline-block;
  font-size: 0.46em;
  font-weight: 800;
  color: var(--gold);
  vertical-align: middle;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.gt-gameLead {
  color: #eaf2ff;
  max-width: 640px;
  margin: 0 auto 26px;
  font-size: 16.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.gt-heroActions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.gt-heroActions .btn {
  padding: 14px 30px;
  font-size: 16px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}
.gt-statusRow {
  margin-top: 24px;
}

/* บล็อกเนื้อหา */
.gt-block {
  margin-top: 40px;
}
.gt-blockTitle {
  font-size: 22px;
  margin: 2px 0 0;
}
.gt-blockHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.gt-seeAll {
  font-size: 14px;
  white-space: nowrap;
}

/* ข้อมูลสำคัญ */
.gt-infoGrid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.gt-infoCard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 14px 16px;
}
.gt-infoLabel {
  font-size: 12px;
  color: var(--muted);
}
.gt-infoValue {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}
.gt-infoCardLink {
  color: var(--text);
  background: linear-gradient(135deg, #22d3ee16, #2563eb20);
  border-color: #22d3ee66;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.gt-infoCardLink:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--accent1);
  box-shadow: 0 10px 26px rgba(34, 211, 238, 0.16);
}
.gt-infoCta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--accent1);
}

/* รายละเอียดเซิร์ฟเวอร์ (รายการมีหมายเลข) */
.gt-details {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: d;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gt-detailItem {
  position: relative;
  counter-increment: d;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
  padding: 14px 16px 14px 52px;
  font-size: 14.5px;
  line-height: 1.78;
}
.gt-detailItem::before {
  content: counter(d);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  color: #04121f;
  background: linear-gradient(120deg, var(--accent1), var(--accent2));
}

/* การ์ด Class (คลิกได้ ไปหน้าเผ่า/อาชีพ) — เด่นกว่าการ์ดอื่น */
.gt-classCard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid #f5c45166;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5c4511f, #22d3ee14);
  padding: 14px 16px;
  color: var(--text);
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.gt-classCard:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 26px rgba(245, 196, 81, 0.18);
}
.gt-classLabel {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.gt-classValue {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.gt-classCta {
  font-size: 12px;
  color: var(--accent1);
  margin-top: 2px;
}

/* จุดเด่น */
.gt-features {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gt-feature {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 22px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.gt-feature:hover {
  transform: translateY(-3px);
  background: var(--card-hi);
}
.gt-featureIcon {
  font-size: 26px;
  margin-bottom: 8px;
}
.gt-featureTitle {
  font-size: 17px;
  margin-bottom: 6px;
}
.gt-featureText {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
}

/* ข่าว */
.gt-newsGrid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.gt-newsCard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 20px;
  color: var(--text);
  transition: transform 0.12s ease, background 0.12s ease;
}
.gt-newsCard:hover {
  text-decoration: none;
  transform: translateY(-3px);
  background: var(--card-hi);
}
.gt-newsCat {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: #f5c4511a;
  border: 1px solid #f5c45140;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.gt-newsTitle {
  font-size: 17px;
  margin: 0 0 6px;
}
.gt-newsSummary {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 14px;
  flex: 1;
}
.gt-newsDate {
  font-size: 12px;
  color: var(--muted);
}

/* ขั้นตอน */
.gt-steps {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gt-step {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 22px;
  text-align: center;
}
.gt-stepNum {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 18px;
  color: #04121f;
  background: linear-gradient(120deg, var(--accent1), var(--accent2));
}
.gt-ctaRow {
  margin-top: 26px;
  text-align: center;
}

/* Coming soon (B&S) */
.gt-soon {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, #7c3aed33 0, transparent 60%),
    var(--card);
  padding: 56px 28px;
}
.gt-soonIcon {
  font-size: 60px;
}
.gt-soonBadge {
  display: inline-block;
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  background: #f5c4511a;
  border: 1px solid #f5c45140;
  border-radius: 999px;
  padding: 4px 14px;
}
.gt-soonTitle {
  font-size: 30px;
  margin: 8px 0 6px;
}
.gt-soonLead {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 14px;
}
.gt-soonNote {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 24px;
  font-size: 14.5px;
}
