/* ===== Game Detail Modal — HorribleCards ===== */

.gd-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gd-box {
  background: #13152a;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

.gd-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  width: 28px; height: 28px;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans), color var(--trans);
}
.gd-close:hover { background: var(--blue-mid); color: var(--text-main); }

.gd-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.gd-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 2px;
}
.gd-name-en {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.gd-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.gd-features {
  margin: 18px 0;
}
.gd-features-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.gd-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.5;
}
.gd-feature-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

.gd-recommend {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .gd-box { padding: 24px 20px; }
}
