@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@700;800;900&family=Rajdhani:wght@500;600;700&display=swap");

:root {
  --page: #07080d;
  --surface: #10121a;
  --surface-2: #151925;
  --card: #171b27;
  --card-2: #1d2230;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(0, 229, 255, 0.34);
  --text: #f7fbff;
  --muted: #9aa8b8;
  --cyan: #00e5ff;
  --cyan-2: #00a9ff;
  --magenta: #ff2e88;
  --orange: #ffb020;
  --green: #45e188;
  --red: #ff4d6d;
  --yellow: #ffd166;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  --glow: 0 0 32px rgba(0, 229, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, rgba(0, 229, 255, 0.14), transparent 28rem),
    linear-gradient(225deg, rgba(255, 46, 136, 0.1), transparent 24rem),
    linear-gradient(180deg, #07080d 0%, #10121a 48%, #080910 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  color: var(--text);
  font-family: "Rajdhani", "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(7, 8, 13, 0.88);
  border-bottom: 1px solid rgba(0, 229, 255, 0.22);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  color: #ffffff;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.95), rgba(255, 46, 136, 0.88)),
    #10121a;
  color: #07080d;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.28);
}

.nav-links {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: #dfe7ef;
  font-size: 0.98rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--cyan);
}

.search-shell {
  position: relative;
  flex: 1;
  max-width: 560px;
}

.search-shell input {
  width: 100%;
  min-height: 2.95rem;
  margin: 0;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 0.55rem;
  background: rgba(12, 14, 22, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), var(--glow);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  padding: 0 1.05rem 0 1.1rem;
}

.search-shell input::placeholder {
  color: #9fb7c6;
  opacity: 0.95;
}

.search-shell input:focus {
  border-color: rgba(0, 229, 255, 0.78);
  background: rgba(16, 18, 26, 0.96);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14), 0 0 34px rgba(0, 229, 255, 0.2);
}

.search-results {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(12, 14, 22, 0.98);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.search-results.is-open {
  display: grid;
}

.search-result-item,
.search-empty {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
}

.search-result-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.search-result-item:last-child {
  border-bottom: 0;
}

.search-result-item:hover {
  background: rgba(43, 216, 255, 0.1);
}

.search-result-icon {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  color: #07141c;
  font-weight: 900;
}

.search-result-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
}

.search-empty {
  color: var(--muted);
  font-weight: 800;
}

.header-actions {
  gap: 0.6rem;
}

.ghost-button,
.solid-button,
.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  border-radius: 0.45rem;
  padding: 0 1rem;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.ghost-button {
  border: 1px solid rgba(0, 229, 255, 0.42);
  color: var(--text);
  background: rgba(0, 229, 255, 0.08);
}

.solid-button,
.buy-button {
  border: 0;
  color: #07080d;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  box-shadow: 0 14px 34px rgba(0, 229, 255, 0.22);
}

.ghost-button:hover,
.solid-button:hover,
.buy-button:hover {
  transform: translateY(-1px);
}

.big {
  min-height: 3.1rem;
  padding: 0 1.2rem;
}

.hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem) 2rem;
  background:
    linear-gradient(90deg, rgba(7, 8, 13, 0.99) 0%, rgba(7, 8, 13, 0.86) 46%, rgba(7, 8, 13, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 229, 255, 0.12), rgba(255, 46, 136, 0.08)),
    url("assets/topup-hero.png") center / cover no-repeat;
  border-bottom: 1px solid rgba(0, 229, 255, 0.18);
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(0, 229, 255, 0.42);
  border-radius: 0.35rem;
  color: #a7f5ff;
  background: rgba(0, 229, 255, 0.09);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.45rem 0.75rem;
}

.hot {
  color: #ffd5ad;
  border-color: rgba(255, 159, 67, 0.4);
  background: rgba(255, 159, 67, 0.12);
}

.hero h1,
.section-title h2,
.summary-panel h2,
.article-panel h2 {
  margin: 0;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.22);
}

.hero p {
  max-width: 720px;
  margin: 1.15rem 0 1.35rem;
  color: #d7e0ec;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions {
  gap: 0.75rem;
  flex-wrap: wrap;
}

.game-detail-hero {
  min-height: 48vh;
}

.game-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.game-title-logo {
  display: grid;
  place-items: center;
  width: 7rem;
  height: 5rem;
  padding: 0.8rem;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.game-title-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.single-game-card {
  cursor: default;
}

.breadcrumb {
  display: inline-flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a {
  color: #9eefff;
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.6rem, 6vw, 4.8rem) 0 0;
}

.home-catalog {
  padding-bottom: clamp(2.6rem, 6vw, 4.8rem);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.15rem;
}

.section-title.compact {
  align-items: start;
}

.section-title h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.section-title p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}

.catalog-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 0.65rem;
}

.product-card,
.panel,
.article-panel {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(17, 20, 30, 0.9);
  box-shadow: var(--shadow);
}

.product-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  min-height: 12.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--orange));
  opacity: 0.75;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.56), 0 0 34px rgba(0, 229, 255, 0.16);
}

.product-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  border-radius: 0.45rem;
  background:
    linear-gradient(180deg, rgba(7, 8, 13, 0.12), rgba(7, 8, 13, 0.88)),
    url("assets/topup-hero.png") center / cover no-repeat;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 900;
}

.product-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cover-tint, rgba(43, 216, 255, 0.12));
  mix-blend-mode: screen;
}

.product-cover img {
  position: relative;
  display: block;
  width: min(84%, 12rem);
  max-height: 5.8rem;
  object-fit: contain;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.product-card strong,
.product-card small {
  min-width: 0;
}

.product-card small,
.muted,
.order-note,
small {
  color: var(--muted);
}

.cover-blue,
.game-art-blue {
  --cover-tint: rgba(43, 216, 255, 0.18);
  background-color: #2bd8ff;
}

.cover-amber,
.game-art-amber {
  --cover-tint: rgba(255, 159, 67, 0.24);
  background-color: #ff9f43;
}

.cover-green,
.game-art-green {
  --cover-tint: rgba(98, 223, 127, 0.2);
  background-color: #62df7f;
}

.cover-coral,
.game-art-coral {
  --cover-tint: rgba(255, 107, 107, 0.24);
  background-color: #ff6b6b;
}

.cover-sky {
  --cover-tint: rgba(127, 231, 255, 0.2);
  background-color: #7fe7ff;
}

.cover-lime {
  --cover-tint: rgba(183, 244, 91, 0.18);
  background-color: #b7f45b;
}

.checkout-section {
  padding-top: clamp(2.2rem, 5vw, 4rem);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 1rem;
  align-items: start;
}

.payment-page {
  min-height: calc(100vh - 8rem);
}

.payment-shell {
  padding-bottom: clamp(2.6rem, 6vw, 4.8rem);
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 1rem;
  align-items: start;
}

.payment-instruction {
  padding: clamp(1rem, 3vw, 1.35rem);
}

.payment-instruction h1 {
  margin: 0.8rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.payment-instruction p {
  color: var(--muted);
  line-height: 1.7;
}

.payment-box {
  display: grid;
  gap: 0.45rem;
  margin: 1.3rem 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.13), rgba(255, 46, 136, 0.08), rgba(255, 176, 32, 0.1)),
    rgba(12, 14, 22, 0.86);
}

.payment-box strong {
  color: #9eefff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.payment-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.payment-actions .buy-button,
.payment-actions .ghost-button {
  min-width: 10rem;
}

.language-switcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(12, 14, 22, 0.94);
  color: var(--muted);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switcher select {
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #151925;
  color: var(--text);
  font: inherit;
  padding: 0.35rem 0.5rem;
}

.order-form,
.summary-panel,
.article-panel {
  padding: clamp(1rem, 3vw, 1.25rem);
}

fieldset {
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}

fieldset:last-child {
  margin-bottom: 0;
}

legend {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  font-family: "Orbitron", "Rajdhani", sans-serif;
}

.game-grid,
.nominal-grid,
.payment-grid,
.input-row {
  display: grid;
  gap: 0.75rem;
}

.game-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nominal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.empty-state {
  grid-column: 1 / -1;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 0.45rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
  line-height: 1.5;
}

.input-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-card,
.option-card,
.payment-card,
label {
  min-width: 0;
}

.game-card,
.option-card,
.payment-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.85rem;
  padding: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.option-card {
  display: grid;
  align-content: center;
}

.game-card:hover,
.option-card:hover,
.payment-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.58);
}

.game-card:has(input:checked),
.option-card:has(input:checked),
.payment-card:has(input:checked) {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(255, 46, 136, 0.08));
}

input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.game-art,
.payment-icon,
.summary-game {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.4rem;
  font-weight: 900;
}

.game-art {
  width: 3.1rem;
  height: 3.1rem;
  color: #061018;
  overflow: hidden;
  padding: 0.28rem;
  background: rgba(255, 255, 255, 0.94);
}

.payment-icon,
.summary-game {
  background: rgba(0, 229, 255, 0.12);
  color: #a7f5ff;
}

.payment-icon {
  width: 2.8rem;
  height: 2.8rem;
}

label {
  color: #dceaf0;
  font-size: 0.9rem;
  font-weight: 800;
}

input[type="text"] {
  width: 100%;
  min-height: 3.15rem;
  margin-top: 0.45rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  outline: none;
  background: rgba(8, 9, 16, 0.76);
  color: var(--text);
  font: inherit;
}

input[type="text"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
}

.summary-panel {
  position: sticky;
  top: 6rem;
}

.summary-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.summary-top p {
  margin: 0 0 0.25rem;
}

.summary-game {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.1rem;
  overflow: hidden;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.94);
}

.game-art img,
.summary-game img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.summary-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.1rem 0;
}

.summary-list div,
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.total-row {
  margin: 1.1rem 0;
  padding: 1rem;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(255, 46, 136, 0.09), rgba(255, 176, 32, 0.12));
}

.total-row strong {
  display: block;
  color: #9eefff;
  font-size: 1.35rem;
}

.buy-button {
  width: 100%;
  min-height: 3.25rem;
}

.order-note {
  min-height: 2.5rem;
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 1rem;
}

.order-modal.is-open {
  display: grid;
}

.order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 15, 0.72);
  backdrop-filter: blur(8px);
}

.order-modal-card {
  position: relative;
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #10121a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  padding: 1.2rem;
}

.order-modal-card h2,
.order-modal-card p {
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
}

.modal-summary-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0;
}

.modal-summary-list div,
.modal-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.modal-summary-list dd {
  max-width: 58%;
}

.modal-total {
  margin: 1rem 0;
  padding: 0.95rem;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(255, 46, 136, 0.09), rgba(255, 176, 32, 0.12));
}

.modal-total strong {
  color: #9eefff;
  font-size: 1.3rem;
}

.api-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.api-note[data-tone="success"],
.order-note[data-tone="success"] {
  color: #9df4b1;
}

.api-note[data-tone="warning"],
.order-note[data-tone="warning"] {
  color: #ffd5ad;
}

.inline-action-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.8rem;
}

.form-button {
  border: 1px solid rgba(0, 229, 255, 0.42);
}

button:disabled {
  cursor: wait;
  filter: grayscale(0.3);
  opacity: 0.7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(2.6rem, 6vw, 4.8rem);
}

.quick-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tool-panel {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(17, 20, 30, 0.78);
  padding: clamp(1rem, 3vw, 1.25rem);
}

.tool-panel h2 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.tool-panel p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.tool-row input {
  margin-top: 0;
}

.tool-row button {
  min-height: 3.15rem;
  border: 0;
  border-radius: 0.45rem;
  padding: 0 1rem;
  background: var(--orange);
  color: #061018;
  font: inherit;
  font-weight: 900;
}

.calculator-preview {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
}

.calculator-preview strong {
  color: #9eefff;
}

.article-panel {
  min-height: 15rem;
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.article-thumb {
  display: block;
  min-height: 9rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(180deg, rgba(6, 16, 24, 0.08), rgba(6, 16, 24, 0.72)),
    url("assets/topup-hero.png") center / cover no-repeat;
}

.thumb-alt {
  background-position: right center;
}

.article-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.article-panel a {
  width: fit-content;
  color: #9eefff;
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 1fr));
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.04), transparent),
    #07080d;
  color: var(--muted);
}

.footer-brand {
  width: fit-content;
  color: var(--text);
}

.site-footer p {
  max-width: 520px;
  line-height: 1.7;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 1rem;
  font-family: "Orbitron", "Rajdhani", sans-serif;
}

.site-footer a {
  display: block;
  margin: 0.5rem 0;
}

@media (max-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .search-shell {
    order: 3;
    width: 100%;
    max-width: none;
  }

  .site-header {
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .checkout-grid,
  .payment-layout,
  .quick-tools,
  .info-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
  }

  .section-title {
    display: grid;
  }
}

@media (max-width: 620px) {
  .header-actions {
    width: 100%;
  }

  .header-actions a {
    flex: 1;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: start;
    padding-bottom: 0.2rem;
  }

  .hero {
    min-height: 68vh;
    background:
      linear-gradient(180deg, rgba(7, 8, 13, 0.98) 0%, rgba(7, 8, 13, 0.82) 62%, rgba(7, 8, 13, 0.5) 100%),
      url("assets/topup-hero.png") center / cover no-repeat;
  }

  .hero h1 {
    font-size: 2.85rem;
  }

  .product-grid,
  .game-grid,
  .nominal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .input-row,
  .inline-action-row {
    grid-template-columns: 1fr;
  }
}
