/* Game Hosting Page — Black & White + Ice Blue */
.gh-hero {
  padding: calc(var(--header-h) + clamp(2rem, 5vh, 3.5rem)) 0 clamp(1.5rem, 3vh, 2.5rem);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.gh-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(100,181,246,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.gh-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}
.gh-crumbs span[aria-hidden] { color: var(--text-tertiary); opacity: 0.5; }
.gh-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #90caf9;
}
.gh-hero-title {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 700px;
}
.gh-hero-desc {
  margin: 1rem 0 0;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
}
.gh-hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.gh-spec-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2rem;
  padding: 0.85rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.gh-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 1rem;
  white-space: nowrap;
}
.gh-spec-item:first-child { padding-left: 0; }
.gh-spec-item:last-child { padding-right: 0; }
.gh-spec-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.gh-spec-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.gh-spec-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}
.gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.gh-btn-primary {
  background: var(--text);
  color: var(--bg);
}
.gh-btn-primary:hover { background: rgba(255,255,255,0.85); }
.gh-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.gh-btn-secondary:hover { border-color: var(--text-tertiary); }
.gh-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.gh-btn-outline:hover { border-color: var(--text-tertiary); }
.gh-section {
  padding: clamp(2rem, 4vh, 3rem) 0;
}
.gh-section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gh-section-head {
  margin-bottom: 1.5rem;
  text-align: center;
}
#games .gh-section-head { text-align: left; }
#games .gh-section-desc { margin-left: 0; }
.gh-section-title {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.gh-section-desc {
  margin: 0.6rem auto 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.6;
}
.gh-game-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  justify-content: center;
}
#games .gh-game-tabs { justify-content: flex-start; }
.gh-tab {
  padding: 0.6rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.gh-tab:hover { color: var(--text); border-color: var(--border-strong); }
.gh-tab-active,
.mh-page .gh-tab-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.gh-tab-active:hover,
.mh-page .gh-tab-active:hover { color: var(--bg); }
.gh-game-panel { display: none; }
.gh-game-panel-active { display: block; }
#panel-available.gh-game-panel-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.gh-game-card-active {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  max-width: 560px;
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.gh-game-card-active:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}
.gh-game-card-img {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--surface);
}
.gh-game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gh-game-card-active:hover .gh-game-card-img img,
.gh-game-card-soon:hover .gh-game-card-img img { transform: scale(1.05); }
.gh-game-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  pointer-events: none;
}
.gh-game-card-img .gh-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.gh-game-card-img-minecraft {
  background:
    linear-gradient(135deg, #3d8b37 25%, #5a9e4b 25%, #5a9e4b 50%, #3d8b37 50%, #3d8b37 75%, #5a9e4b 75%);
  background-size: 16px 16px;
}
.gh-game-card-img-minecraft::after {
  content: 'MINECRAFT';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.1em;
  z-index: 1;
}
.gh-game-card-body { padding: 1rem 1.2rem; }
.gh-game-card-body { padding: 0.8rem 1.2rem 1rem; }
.gh-game-card-footer {
  padding: 0 1.2rem 1.2rem;
  display: flex;
  gap: 0.5rem;
}
.gh-status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-transform: uppercase;
}
.gh-status-live {
  background: #fafafa;
  color: #09090b;
  border: 1px solid #fafafa;
}
.gh-status-soon {
  background: rgba(255,255,255,0.06);
  color: var(--text-tertiary);
  border: 1px solid var(--border);
}
.gh-game-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}
.gh-game-card-desc {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.gh-game-card-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.gh-game-spec {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.gh-game-spec span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.gh-game-spec strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.gh-coming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}
.gh-game-card-soon {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.gh-game-card-soon:hover {
  opacity: 1;
  border-color: rgba(100,181,246,0.3);
  transform: translateY(-3px);
}
.gh-game-card-soon .gh-game-card-img {
  height: 150px;
}
.gh-game-card-soon .gh-game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-game-card-soon .gh-game-card-body { padding: 0.8rem 1rem; }
.gh-game-card-soon .gh-game-card-footer { padding: 0 1rem 1rem; }

/* Minecraft Product Card */
.gh-mc-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.gh-mc-product:hover {
  border-color: rgba(100,181,246,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.gh-mc-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-transform: uppercase;
  background: rgba(100,181,246,0.12);
  color: #90caf9;
  border: 1px solid rgba(100,181,246,0.2);
  margin-bottom: 1rem;
}
.gh-mc-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
}
.gh-mc-subtitle {
  margin: 0.3rem 0 0;
  font-size: 1rem;
  color: var(--text-secondary);
}
.gh-mc-desc {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.gh-mc-software {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.gh-mc-software-tag {
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
}
.gh-mc-btn { margin-top: 1.25rem; }
.gh-mc-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.gh-mc-spec {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.gh-mc-spec:hover {
  border-color: rgba(100,181,246,0.3);
  background: rgba(100,181,246,0.04);
}
.gh-mc-spec-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.gh-mc-spec-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.gh-mc-spec-price {
  border-color: rgba(100,181,246,0.3);
  background: rgba(100,181,246,0.06);
}

/* Features Grid */
.gh-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
}
.gh-feature-card {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.gh-feature-card:hover {
  border-color: rgba(100,181,246,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}
.gh-feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  color: #90caf9;
  background: rgba(100,181,246,0.08);
  border-radius: 8px;
}
.gh-feature-icon svg { width: 22px; height: 22px; }
.gh-feature-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.gh-feature-card p {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Infrastructure Grid */
.gh-infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}
.gh-infra-card {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.gh-infra-card:hover {
  border-color: rgba(100,181,246,0.3);
  transform: translateY(-3px);
}
.gh-infra-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #90caf9;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  background: rgba(100,181,246,0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.gh-infra-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.gh-infra-card p {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Why Grid */
.gh-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 1rem;
}
.gh-why-card {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.gh-why-card:hover {
  border-color: rgba(100,181,246,0.3);
  transform: translateY(-3px);
}
.gh-why-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.gh-why-card p {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Steps */
.gh-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.gh-step {
  flex: 1;
  padding: 1.2rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.gh-step:hover {
  border-color: rgba(100,181,246,0.3);
  transform: translateY(-3px);
}
.gh-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #90caf9;
  background: rgba(100,181,246,0.08);
  border-radius: 10px;
  margin-bottom: 0.6rem;
}
.gh-step h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.gh-step p {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.gh-step-arrow {
  display: flex;
  align-items: center;
  padding-top: 2rem;
  font-size: 1.2rem;
  color: var(--text-tertiary);
  opacity: 0.4;
  flex-shrink: 0;
}

/* CTA */
.gh-cta {
  padding: clamp(2.5rem, 5vh, 4rem) 0;
}
.gh-cta-inner {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.gh-cta-inner:hover { border-color: rgba(100,181,246,0.3); }
.gh-cta-title {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
}
.gh-cta-desc {
  margin: 0.6rem auto 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 460px;
  line-height: 1.6;
}
.gh-cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* Footer */
.mc-footer{background:#09090b;border-top:1px solid #27272a;padding:64px 0 40px}
.mc-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:40px;max-width:1200px;margin:0 auto;padding:0 24px}
.mc-footer-brand-link{font-size:18px;font-weight:700;color:#fafafa;text-decoration:none}
.mc-footer-brand-desc{font-size:13px;line-height:1.6;color:#71717a;margin:12px 0 0;max-width:260px}
.mc-footer-col-title{font-size:13px;font-weight:600;color:#fafafa;margin:0 0 16px}
.mc-footer-links{list-style:none;padding:0;margin:0}
.mc-footer-links li{margin-bottom:10px}
.mc-footer-links a{font-size:13px;color:#71717a;text-decoration:none;transition:color .15s}
.mc-footer-links a:hover{color:#fafafa}
.mc-footer-bottom{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:40px auto 0;padding:24px 24px 0;border-top:1px solid #27272a;font-size:13px;color:#71717a}
.mc-footer-legal{display:flex;gap:20px}
.mc-footer-legal a{color:#71717a;text-decoration:none;transition:color .15s}
.mc-footer-legal a:hover{color:#fafafa}
@media(max-width:1024px){.mc-footer-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.mc-footer-grid{grid-template-columns:1fr 1fr}.mc-footer-bottom{flex-direction:column;gap:16px;text-align:center}}
@media(max-width:480px){.mc-footer-grid{grid-template-columns:1fr}}

/* Responsive */
@media (max-width: 1024px) {
  #panel-available.gh-game-panel-active {
    grid-template-columns: 1fr;
  }
  .gh-mc-product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .gh-steps { flex-direction: column; }
  .gh-step-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
}
@media (max-width: 768px) {
  .gh-spec-strip {
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.75rem 1rem;
  }
  .gh-game-card-specs {
    grid-template-columns: repeat(2, 1fr);
  }
  .gh-mc-specs {
    grid-template-columns: repeat(2, 1fr);
  }
  .gh-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gh-infra-grid {
    grid-template-columns: 1fr;
  }
  .gh-why-grid {
    grid-template-columns: 1fr;
  }
  .gh-coming-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .gh-hero-title {
    font-size: 1.8rem;
  }
  .gh-hero-actions {
    flex-direction: column;
  }
  .gh-hero-actions .gh-btn {
    width: 100%;
    justify-content: center;
  }
  .gh-spec-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .gh-spec-divider {
    width: 100%;
    height: 1px;
  }
  .gh-game-card-specs {
    grid-template-columns: 1fr 1fr;
  }
  .gh-mc-specs {
    grid-template-columns: 1fr;
  }
  .gh-features-grid {
    grid-template-columns: 1fr;
  }
  .gh-game-tabs {
    width: 100%;
  }
  .gh-tab {
    flex: 1;
    text-align: center;
  }
  .gh-cta-inner {
    padding: 1.5rem 1rem;
  }
}
/* Sale banner */
.gh-promo {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gh-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.gh-promo-inner { position: relative; z-index: 1; }
.gh-promo-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.6rem;
  letter-spacing: var(--tracking-display);
}
.gh-promo-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0 auto;
  max-width: 46ch;
}
.gh-promo-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
