/* Gemini home page and site frame: one background, floating header, white cards.
   Loaded after style.css on every page; the .gh-* classes belong to the home page,
   the rest restyles the shared header, footer and inner-page container. */

:root {
  --gh-ink: #17213a;
  --gh-muted: #5a6478;
  --gh-gold: #e0962a;
  --gh-gold-deep: #b9741a;
  --gh-sky: #2f6fd6;
  --gh-good: #2a9d5c;
  --gh-good-ink: #1f7a3f;
  --gh-good-bg: #eaf7ee;
  --gh-card: rgba(255, 255, 255, 0.94);
  --gh-line: rgba(23, 33, 58, 0.08);
  --gh-display: "Fredoka", "Trebuchet MS", sans-serif;
  --gh-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}

/* ---------------------------------------------------------------- one background */
html { background: #dfe6f1; }
body { background: transparent; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #dfe6f1 url('../img/home-bg.jpg') no-repeat center top;
  background-size: cover;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.40) 55%, rgba(255,255,255,0.72) 100%);
}
@media (max-width: 760px) {
  body::before { background-image: url('../img/home-bg-mobile.jpg'); }
}
#hero.hero-empty { display: none; }
#hero { display: none; }

/* ---------------------------------------------------------------- floating header */
#header { padding: 12px 0 0; background: transparent !important; z-index: 997; }
#header.header-scrolled, #header.header-inner-pages { background: transparent; top: 0; }
#header .sub-header { background: transparent; }
#header .sub-header > .container {
  max-width: 1240px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--gh-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(23, 33, 58, 0.12);
  padding: 8px 12px 8px 14px !important;
  gap: 8px;
  min-height: 64px;
}
#header .logo { padding: 0; margin-right: 6px !important; }
#header .logo img { max-height: 40px; }
.navbar a, .navbar a:focus {
  font-family: var(--gh-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: none;
  color: var(--gh-ink);
  padding: 7px 10px;
  border-radius: 10px;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--gh-gold-deep);
  background: rgba(224, 150, 42, 0.14);
}
.navbar a.nav-cta, .navbar a.nav-cta:hover {
  background: linear-gradient(180deg, #f2ae45, var(--gh-gold));
  color: #fff;
  margin: 0 4px;
  padding: 8px 14px;
  box-shadow: 0 6px 16px rgba(224, 150, 42, 0.35);
}
.navbar a.nav-locked, .navbar a.nav-cta.nav-locked { opacity: .6; }
.navbar .dropdown ul { background: #fff; border: 1px solid var(--gh-line); border-radius: 14px; box-shadow: 0 14px 36px rgba(23, 33, 58, 0.18); padding: 8px; }
.navbar .dropdown ul a { color: var(--gh-ink); text-transform: none; font-family: var(--gh-body); font-weight: 700; font-size: 14px; border-radius: 8px; }
.navbar .dropdown ul li a:hover, .navbar .dropdown ul a:hover, .navbar .dropdown ul li:hover > a { color: var(--gh-gold-deep); background: rgba(224, 150, 42, 0.14); padding-left: 15px; font-weight: 700; }
.mobile-nav-toggle { color: var(--gh-ink); }
.navbar-mobile { background-color: rgba(23, 33, 58, 0.96); }
.navbar-mobile a, .navbar-mobile a:focus { color: #fff; }
.navbar-mobile a:hover, .navbar-mobile li:hover > a { color: #fff; background: rgba(255, 255, 255, 0.12); }
.navbar-mobile .mobile-nav-toggle, .mobile-nav-toggle.bi-x { color: #fff; }
.navbar-mobile ul { background: transparent; }
.navbar-mobile .dropdown ul { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.18); box-shadow: none; }
.navbar-mobile .dropdown ul li a:hover, .navbar-mobile .dropdown ul li:hover > a { background: rgba(255, 255, 255, 0.12); padding-left: 20px; }

/* live status pill in the header */
.serverstatus { font-size: 13px; font-family: var(--gh-body); }
.serverstatus > .d-flex { background: var(--gh-good-bg); border-radius: 999px; padding: 6px 12px; align-items: center; }
.serverstatus .status { padding: 0 10px 0 0; margin: 0; border-right: 1px solid rgba(31, 122, 63, 0.25); line-height: 1.1; color: var(--gh-good-ink); font-weight: 800; }
.serverstatus .status:last-of-type { padding: 0 0 0 10px !important; border: 0; }
.serverstatus .status i { font-size: 11px; margin-right: 4px; }
.serverstatus .on-status { color: var(--gh-good-ink) !important; }
.serverstatus .off-status { color: #b4324f !important; }
.serverstatus.is-off > .d-flex { background: #fde9ee; }
.serverstatus.is-off .status { color: #b4324f; border-right-color: rgba(180, 50, 79, 0.25); }
.status-value { font-family: var(--gh-body); }

/* account buttons in the header */
#header .sub-header .login span { color: var(--gh-muted); font-size: 12px; }
#header .sub-header .login-link, #header .sub-header .login-btn {
  font-family: var(--gh-body);
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
  padding: 8px 16px;
  border-radius: 12px;
  color: var(--gh-ink);
  border: 1px solid rgba(23, 33, 58, 0.14);
  background: #fff;
}
#header .sub-header .login-btn {
  background: linear-gradient(180deg, #f2ae45, var(--gh-gold));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(224, 150, 42, 0.35);
  margin-left: 8px;
}
#header .sub-header .login-link:hover { background: rgba(224, 150, 42, 0.14); color: var(--gh-gold-deep); }
#header .sub-header .login-btn:hover { background: linear-gradient(180deg, #f2ae45, var(--gh-gold)); color: #fff; opacity: .92; }
#header .sub-header .dropdown-menu { border-radius: 14px; box-shadow: 0 14px 36px rgba(23, 33, 58, 0.18); }

/* ---------------------------------------------------------------- inner pages */
body.gh-inner { padding-top: 96px; }
body.gh-inner .global-container {
  background: var(--gh-card);
  border: 1px solid var(--gh-line);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(23, 33, 58, 0.10);
  padding: 26px 28px;
  margin: 30px auto 40px;
}
@media (max-width: 760px) {
  body.gh-inner { padding-top: 88px; }
  body.gh-inner .global-container { padding: 18px 14px; margin: 16px 12px 30px; }
}

/* a session message (after logout, etc.) on the home page sits below the header, above the cards */
body.gh-home .global-container { margin: 0 auto; padding: 0; }
body.gh-home .global-container:not(:empty) { max-width: 1240px; margin: 100px auto -80px; padding: 0 16px; }

/* ---------------------------------------------------------------- home page frame */
.gh {
  max-width: 1240px;
  margin: 104px auto 40px;
  padding: 0 16px;
  display: grid;
  gap: 22px;
  font-family: var(--gh-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--gh-ink);
}
.gh h1, .gh h2, .gh h3, .gh h4 { font-family: var(--gh-display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--gh-ink); }
.gh p { margin: 0; font-family: var(--gh-body); font-size: inherit; }
.gh a { color: inherit; }
.gh-card {
  background: var(--gh-card);
  border: 1px solid var(--gh-line);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(23, 33, 58, 0.10);
}
.gh-eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--gh-gold-deep); }
.gh-num { font-variant-numeric: tabular-nums; }
.gh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 14px; padding: 12px 22px; font-weight: 800; font-size: 15px; font-family: var(--gh-body);
  text-decoration: none; border: 1px solid transparent; white-space: nowrap; line-height: 1.2; transition: .2s;
}
.gh a.gh-btn-gold, .gh-btn-gold { background: linear-gradient(180deg, #f2ae45, var(--gh-gold)); color: #fff; box-shadow: 0 8px 20px rgba(224, 150, 42, 0.35); }
.gh a.gh-btn-gold:hover, .gh-btn-gold:hover { color: #fff; opacity: .92; transform: translateY(-1px); }
.gh a.gh-btn-white, .gh-btn-white { background: #fff; color: var(--gh-ink); border-color: rgba(23, 33, 58, 0.14); }
.gh a.gh-btn-white:hover, .gh-btn-white:hover { color: var(--gh-gold-deep); background: rgba(224, 150, 42, 0.12); }
.gh-btn-lg { padding: 15px 28px; font-size: 17px; border-radius: 16px; }
.gh-ico { display: grid; place-items: center; flex: none; }
.gh-ico i { font-size: 24px; line-height: 1; }

/* notice shown when a locked menu item sent a guest here */
.gh-notice { display: flex; align-items: center; gap: 16px; padding: 16px 20px; flex-wrap: wrap; border-left: 6px solid var(--gh-gold); }
.gh-notice p { flex: 1; min-width: 220px; }
.gh-notice .gh-btn { padding: 9px 16px; font-size: 14px; }

/* split hero */
.gh-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; padding: 30px 30px 26px; align-items: center; }
.gh-hero-text { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.gh-hero-text img { width: min(340px, 70vw); height: auto; }
.gh-hero-text h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; }
.gh-hero-text p { color: var(--gh-muted); font-size: clamp(15px, 1.5vw, 18px); max-width: 32em; }
.gh-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.gh-hero-sub { font-size: 14px; color: var(--gh-muted); font-weight: 700; }
.gh-hero-sub a { color: var(--gh-sky); }
.gh-live { background: #fff; border: 1px solid var(--gh-line); border-radius: 18px; padding: 18px; display: grid; gap: 12px; min-width: 0; }
.gh-live-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gh-live-head h3 { font-size: 17px; }
.gh-live-status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gh-good-bg); color: var(--gh-good-ink); }
.gh-live-status.is-off { background: #fde9ee; color: #b4324f; }
.gh-live-status .gh-ico i { font-size: 26px; }
.gh-live-status b { display: block; font-family: var(--gh-display); font-weight: 600; font-size: 24px; line-height: 1.1; }
.gh-live-status small { display: block; font-weight: 700; font-size: 12px; opacity: .85; }
.gh-live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gh-live-cell { padding: 10px 12px; border-radius: 12px; background: #f6f7fa; min-width: 0; }
.gh-live-cell small { display: block; color: var(--gh-muted); font-weight: 700; font-size: 12px; }
.gh-live-cell b { display: block; font-family: var(--gh-display); font-weight: 600; font-size: 22px; line-height: 1.2; }
.gh-live-cell em { display: block; font-style: normal; color: var(--gh-muted); font-size: 12px; }
.gh-live-foot { color: var(--gh-muted); font-size: 12.5px; }

/* rates band */
.gh-rates { display: grid; grid-template-columns: repeat(6, 1fr); padding: 8px 10px; gap: 4px; }
.gh-rate { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-left: 1px solid var(--gh-line); min-width: 0; }
.gh-rate:first-child { border-left: 0; }
.gh-rate .gh-tag { width: 46px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 11.5px; letter-spacing: 0.04em; flex: none; }
.gh-tag-exp { background: #e5f5e8; color: #1f7a3f; }
.gh-tag-job { background: #e6eefc; color: #2b57b4; }
.gh-tag-drop { background: #f2e9fb; color: #6d3fb2; }
.gh-tag-card { background: #fdf0dd; color: var(--gh-gold-deep); }
.gh-tag-lv { background: #e9edf4; color: var(--gh-ink); }
.gh-tag-cast { background: #fde9ee; color: #b4324f; }
.gh-rate b { display: block; font-family: var(--gh-display); font-weight: 600; font-size: 20px; line-height: 1.2; }
.gh-rate small { color: var(--gh-muted); font-weight: 700; font-size: 12.5px; }

/* section heads */
.gh-sec { display: grid; gap: 14px; }
.gh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 6px 0; }
.gh-head h2 { font-size: clamp(24px, 3.2vw, 32px); text-shadow: 0 1px 0 rgba(255,255,255,0.7); }
.gh-head p { color: var(--gh-ink); opacity: .75; text-shadow: 0 1px 0 rgba(255,255,255,0.7); }
.gh-head a { color: var(--gh-sky); font-weight: 800; text-decoration: none; }

/* news */
.gh-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gh-post { padding: 18px; display: grid; gap: 8px; align-content: start; text-decoration: none; min-width: 0; }
.gh-post:hover { transform: translateY(-2px); }
.gh-post.is-static { cursor: default; }
.gh-post.is-static:hover { transform: none; }
.gh-post .gh-cat { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gh-sky); }
.gh-post h3 { font-size: 18px; }
.gh-post time { color: var(--gh-muted); font-size: 13px; font-weight: 700; }
.gh-post p { color: var(--gh-muted); font-size: 14px; overflow-wrap: anywhere; }
.gh-empty { padding: 22px; color: var(--gh-muted); }

/* why */
.gh-why { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gh-feat { display: flex; gap: 16px; padding: 20px; align-items: flex-start; min-width: 0; }
.gh-feat .gh-ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(224,150,42,0.14); color: var(--gh-gold-deep); }
.gh-feat h3 { font-size: 19px; }
.gh-feat p { color: var(--gh-muted); font-size: 14.5px; }

/* download */
.gh-dl { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 28px 30px; align-items: center; }
.gh-dl-text { display: grid; gap: 8px; min-width: 0; }
.gh-dl h2 { font-size: clamp(26px, 3.4vw, 36px); }
.gh-dl p { color: var(--gh-muted); }
.gh-dl-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--gh-muted); font-weight: 700; margin-top: 4px; }
.gh-dl-meta b { color: var(--gh-ink); }
.gh-mirrors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.gh-mirror { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--gh-line); background: #fff; text-decoration: none; font-weight: 800; color: var(--gh-ink); min-width: 0; transition: .2s; }
.gh-mirror:hover { color: var(--gh-gold-deep); border-color: rgba(224,150,42,0.5); transform: translateY(-1px); }
.gh-mirror .gh-dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; flex: none; }
.gh-mirror small { display: block; color: var(--gh-muted); font-weight: 700; font-size: 12px; }
.gh-dl-note { grid-column: 1 / -1; font-size: 13px; color: var(--gh-muted); }
.gh-dl-note a { color: var(--gh-sky); font-weight: 800; }
/* single installer button (download_configuration.php) in place of the mirror list */
.gh-dl-one { grid-template-columns: 1fr; align-content: center; }
.gh a.gh-installer, .gh-installer { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(180deg, #f2ae45, var(--gh-gold)); color: #fff; text-decoration: none; min-width: 0; box-shadow: 0 10px 26px rgba(224, 150, 42, 0.35); transition: .2s; }
.gh a.gh-installer:hover, .gh-installer:hover { color: #fff; opacity: .94; transform: translateY(-2px); }
.gh-installer .gh-dot { width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, 0.22); display: grid; place-items: center; font-size: 24px; flex: none; }
.gh-installer b { display: block; font-size: 21px; font-weight: 800; line-height: 1.15; }
.gh-installer small { display: block; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, 0.88); margin-top: 3px; }
/* download_configuration.php 'available' => false: a waiting box in place of the installer link */
.gh-installer.is-soon { background: #fff8ec; color: var(--gh-gold-deep, #b8741a); border: 2px dashed rgba(224, 150, 42, 0.55); box-shadow: none; cursor: default; }
.gh-installer.is-soon:hover { color: var(--gh-gold-deep, #b8741a); opacity: 1; transform: none; }
.gh-installer.is-soon .gh-dot { background: rgba(239, 165, 58, 0.16); }
.gh-installer.is-soon small { color: var(--gh-muted, #7a839b); }

/* marketplace row */
.gh-three { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 22px; align-items: start; }
.gh-mk-head { display: flex; align-items: center; gap: 14px; padding: 18px 18px 6px; flex-wrap: wrap; }
.gh-mk-head .gh-ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(224,150,42,0.14); color: var(--gh-gold-deep); }
.gh-mk-head h2 { font-size: 24px; }
.gh-mk-head p { color: var(--gh-muted); font-size: 14px; }
.gh-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 800; background: #eef1f6; color: var(--gh-muted); margin-left: auto; }
.gh-mk-body { padding: 10px 18px 18px; display: grid; gap: 12px; }
.gh-mk-body p { color: var(--gh-muted); font-size: 14px; }
.gh-mk-stat { display: flex; align-items: baseline; gap: 10px; }
.gh-mk-stat b { font-family: var(--gh-display); font-weight: 600; font-size: 30px; line-height: 1; }
.gh-mk-stat span { color: var(--gh-muted); font-weight: 700; }
.gh-side { padding: 20px; display: grid; gap: 10px; align-content: start; justify-items: start; }
.gh-side h3 { font-size: 22px; }
.gh-side p { color: var(--gh-muted); font-size: 14px; }
.gh-blob { width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd0e0, #ff8fb5 70%); box-shadow: inset -4px -6px 10px rgba(180, 60, 110, 0.25); }
.gh-side-img { height: 64px; width: auto; max-width: 100%; }
.gh-side-img-pixel { image-rendering: pixelated; height: 72px; }
.gh-coin { width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe6a8, var(--gh-gold) 70%); box-shadow: inset -4px -6px 10px rgba(150, 90, 10, 0.3); display: grid; place-items: center; font-family: var(--gh-display); font-weight: 700; color: #7a4b06; font-size: 20px; }

/* start here: four steps */
.gh-steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px; }
.gh-step { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px 18px; border-left: 1px solid var(--gh-line); min-width: 0; text-decoration: none; color: var(--gh-ink); border-radius: 12px; }
.gh-step:first-child { border-left: 0; }
.gh-step:hover { background: rgba(224,150,42,0.10); color: var(--gh-ink); }
.gh-step .gh-n { width: 34px; height: 34px; border-radius: 50%; background: var(--gh-ink); color: #fff; display: grid; place-items: center; font-family: var(--gh-display); font-weight: 600; }
.gh-step b { display: block; font-family: var(--gh-display); font-weight: 600; font-size: 18px; }
.gh-step small { color: var(--gh-muted); font-weight: 700; }

/* closing band */
.gh-band { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 30px; flex-wrap: wrap; background: linear-gradient(135deg, rgba(23,33,58,0.96), rgba(47,63,110,0.96)); color: #fff; }
.gh-band h2 { font-size: clamp(26px, 3.4vw, 36px); color: #fff; }
.gh-band p { color: rgba(255,255,255,0.8); }
.gh-band .gh-btn-white { border: 0; }

/* ---------------------------------------------------------------- footer */
.footer { background: transparent; color: var(--gh-ink); font-family: var(--gh-body); font-style: normal; padding: 0 16px 40px; }
.footer .footer-container { background: var(--gh-card); border: 1px solid var(--gh-line); border-radius: 22px; box-shadow: 0 12px 40px rgba(23, 33, 58, 0.10); padding: 28px 28px 20px; max-width: 1240px; }
.footer .footer-container + .footer-container { margin-top: 14px !important; padding: 14px 28px; }
.footer h6 { font-family: var(--gh-display); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; color: var(--gh-ink); margin-bottom: 10px; }
.footer .nav-link { color: var(--gh-muted); font-weight: 700; padding: 3px 0; font-size: 14px; }
.footer .nav-link:hover { color: var(--gh-gold-deep); }
.footer p { color: var(--gh-muted); font-size: 14px; font-family: var(--gh-body); }
.footer .btn { border-radius: 12px; font-family: var(--gh-body); font-weight: 800; font-size: 14px; text-transform: none; padding: 9px 16px; }
.footer .btn-light { background: #fff; border: 1px solid rgba(23, 33, 58, 0.14); color: var(--gh-ink); }
.footer .btn-warning { background: linear-gradient(180deg, #f2ae45, var(--gh-gold)); border: 0; color: #fff; }
.footer .social-links { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.footer .btn-social { width: 38px; height: 38px; border-radius: 10px; display: inline-grid; place-items: center; background: rgba(224,150,42,0.14); color: var(--gh-gold-deep); }
.footer .btn-social:hover { background: var(--gh-gold); color: #fff; }
.footer .footer-logo { max-height: 40px; width: auto; }
.footer .credits img { filter: none; }
.back-to-top { background: var(--gh-ink); border-radius: 12px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1320px) {
  .serverstatus { display: none; }
}
@media (max-width: 1180px) {
  .navbar a, .navbar a:focus { font-size: 13.5px; padding: 7px 8px; }
}
@media (max-width: 1100px) {
  .gh-rates { grid-template-columns: repeat(3, 1fr); }
  .gh-rate:nth-child(4) { border-left: 0; }
  .gh-rate:nth-child(-n+3) { border-bottom: 1px solid var(--gh-line); }
}
@media (max-width: 980px) {
  .gh-three { grid-template-columns: 1fr 1fr; }
  .gh-three > :first-child { grid-column: 1 / -1; }
  .gh-steps { grid-template-columns: 1fr 1fr; }
  .gh-step:nth-child(3) { border-left: 0; }
}
@media (max-width: 900px) {
  .gh-hero { grid-template-columns: 1fr; }
  .gh-dl { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .gh-news { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .gh { margin-top: 92px; padding: 0 12px; gap: 16px; }
  .gh-why { grid-template-columns: 1fr; }
  .gh-hero { padding: 22px 18px; }
  .gh-dl { padding: 22px 18px; }
  .gh-band { padding: 22px 18px; }
  #header .sub-header > .container { padding: 6px 10px !important; }
  #header .logo-mobile img { max-height: 32px; }
  .serverstatus { display: none; }
}
@media (max-width: 560px) {
  .gh-rates { grid-template-columns: 1fr 1fr; }
  .gh-rate:nth-child(odd) { border-left: 0; }
  .gh-rate:nth-child(4) { border-left: 1px solid var(--gh-line); }
  .gh-rate:nth-child(-n+4) { border-bottom: 1px solid var(--gh-line); }
  .gh-three { grid-template-columns: 1fr; }
  .gh-steps { grid-template-columns: 1fr; }
  .gh-step { border-left: 0; }
  .gh-mirrors { grid-template-columns: 1fr; }
  .gh-live-grid { grid-template-columns: 1fr 1fr; }
  #header .sub-header .login-link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gh-btn, .gh-post, .gh-mirror, .gh-installer { transition: none; transform: none; }
}

/* ---------------------------------------------------------------- refer & earn band (addons/referral) */
.gh-refer { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px; align-items: center; padding: 28px 30px; background: linear-gradient(135deg, #fff7e8, var(--gh-card) 70%); }
.gh-refer-text { display: grid; gap: 8px; min-width: 0; }
.gh-refer h2 { font-size: clamp(24px, 3vw, 32px); }
.gh-refer p { color: var(--gh-muted); font-size: 15px; }
.gh-refer-steps { display: grid; gap: 10px; }
.gh-refer-steps span { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--gh-ink); }
.gh-refer-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #f2ae45, var(--gh-gold)); color: #fff; font-size: 13px; flex: none; }
@media (max-width: 900px) { .gh-refer { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- flash message printed by header.php after a redirect */
p.message { max-width: 1180px; margin: 14px auto 0; padding: 12px 18px; border-radius: 14px; background: #fff7e8; border: 1px solid rgba(224,150,42,0.45); color: #7c4a03; font-weight: 700; font-size: 14px; box-shadow: 0 8px 24px rgba(23,33,58,0.08); }

/* "new rewards" badge in the account menu (referral addon) */
.gh-nav-badge { display: inline-block; min-width: 18px; padding: 0 7px; border-radius: 999px; background: #e0962a; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; vertical-align: middle; letter-spacing: 0.02em; }
