* {
  box-sizing: border-box;
}

:root {
  --bg: #070a12;
  --bg-alt: #0c1020;
  --panel: rgba(10, 14, 26, 0.78);
  --panel-strong: rgba(14, 19, 34, 0.94);
  --line: rgba(131, 141, 196, 0.18);
  --text: #eef2ff;
  --muted: #9aa6d6;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 34%),
    linear-gradient(180deg, #05070d 0%, #070b14 40%, #05070d 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.bg-grid,
.bg-noise,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.bg-grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 95%);
}

.bg-noise {
  opacity: 0.06;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.75) 1px, transparent 1px);
  background-size: 3px 3px;
}

.bg-glow {
  z-index: -1;
  filter: blur(70px);
}

.bg-glow-1 {
  width: 32vw;
  height: 32vw;
  left: -8vw;
  top: 12vh;
  background: rgba(139, 92, 246, 0.22);
  animation: floatGlow 14s ease-in-out infinite;
}

.bg-glow-2 {
  width: 28vw;
  height: 28vw;
  right: -6vw;
  top: 30vh;
  background: rgba(59, 130, 246, 0.18);
  animation: floatGlow 18s ease-in-out infinite reverse;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 9, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 58px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.32));
}

.brand-mark,
.brand-text {
  text-shadow: 0 0 16px rgba(139, 92, 246, 0.5), 0 0 28px rgba(59, 130, 246, 0.25);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(59, 130, 246, 0.9));
  color: white;
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.35);
}

.brand-text {
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.nav-links a,
.footer-links a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: white;
  text-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-cta {
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.96), rgba(59, 130, 246, 0.96));
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.28);
  border: 0;
  color: white;
  cursor: pointer;
  font: inherit;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 84px 0 54px;
}

.page-hero {
  padding: 84px 0 38px;
}

.hero-grid,
.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  margin: 8px 0 0;
  font-size: clamp(3.5rem, 9vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(139, 92, 246, 0.42);
}

.eyebrow,
.section-kicker,
.status-card span,
.panel-card span,
.service-card p,
.feature-card span,
.hero-meta span,
.price span,
.contact-card span,
.footer p {
  color: var(--muted);
}

.price span,
.wallet-card span,
.checkout-summary span,
.status-list span {
  color: #eef2ff;
}

.hero-lead {
  margin: 18px 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
}

.hero-text {
  margin: 0;
  max-width: 56ch;
  color: #c9d2f7;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.btn {
  padding: 13px 20px;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.96), rgba(59, 130, 246, 0.96));
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.24);
}

.btn-secondary,
.btn-outline {
  background: rgba(10, 14, 26, 0.6);
  border-color: rgba(122, 132, 189, 0.22);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.16);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(11, 15, 28, 0.8);
  border: 1px solid rgba(121, 132, 196, 0.14);
}

.hero-panel,
.pricing-card,
.service-card,
.why-card,
.contact-card,
.panel-card,
.feature-card {
  background: var(--panel);
  border: 1px solid rgba(133, 143, 203, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  position: relative;
  isolation: isolate;
}

.hero-panel {
  padding: 24px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.pricing-card::before,
.service-card::before,
.why-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), transparent 40%, rgba(59, 130, 246, 0.08));
  pointer-events: none;
  z-index: 0;
}

.hero-panel > *,
.pricing-card > *,
.service-card > *,
.why-card > *,
.contact-card > * {
  position: relative;
  z-index: 1;
}

.status-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(13, 18, 34, 0.86);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.8);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.metrics div {
  padding: 18px 14px;
  border-radius: 18px;
  background: rgba(7, 10, 19, 0.65);
  border: 1px solid rgba(133, 143, 203, 0.12);
}

.metrics strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.panel-card {
  position: relative;
  padding: 18px;
  border-radius: 18px;
}

.panel-card strong {
  display: block;
  margin: 8px 0;
  font-size: 1.2rem;
}

.panel-card p {
  margin: 0;
  color: #c4cdee;
  line-height: 1.6;
}

.section {
  padding: 28px 0 18px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.left {
  margin-bottom: 0;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.feature-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-grid,
.product-grid,
.info-grid,
.account-grid,
.review-grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

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

.feature-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-card,
.product-card,
.info-card,
.account-card,
.wallet-card,
.review-card,
.faq-item {
  padding: 24px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid rgba(133, 143, 203, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  position: relative;
  isolation: isolate;
}

.category-card h3,
.product-card h3,
.info-card h3,
.account-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.category-card p,
.info-card p,
.account-card p {
  margin: 0;
  color: #d2daf8;
  line-height: 1.7;
}

.category-card .btn,
.product-card .btn,
.info-card .btn,
.account-card .btn,
.wallet-card .btn {
  margin-top: 18px;
}

.review-card {
  display: grid;
  gap: 18px;
  min-height: 220px;
}

.review-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(139, 92, 246, 0.95));
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.review-head strong {
  color: #ffffff;
  font-size: 1rem;
}

.review-stars {
  color: #f6c94a;
  letter-spacing: 0.12em;
  font-size: 1rem;
}

.review-card p {
  margin: 0;
  color: #d2daf8;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "⌄";
  color: #8cb6ff;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: #d2daf8;
  line-height: 1.7;
}

.category-card {
  min-height: 190px;
}

.category-card .emoji {
  display: inline-flex;
  font-size: 2rem;
  margin-bottom: 18px;
}

.product-card .price {
  margin-top: 12px;
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.product-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #d6ddfb;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.mini-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: #d7e1ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.feature-card:hover,
.pricing-card:hover,
.service-card:hover,
.contact-card:hover,
.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.38);
  box-shadow: 0 18px 48px rgba(59, 130, 246, 0.14);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.pricing-card {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  overflow: hidden;
}

.pricing-card h3,
.service-card h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.34);
  color: #d9ccff;
  font-size: 0.8rem;
  font-weight: 700;
}

.price {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.price span {
  margin-left: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pricing-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #d6ddfb;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.featured {
  border-color: rgba(59, 130, 246, 0.48);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.14), 0 20px 70px rgba(59, 130, 246, 0.16);
}

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

.service-card {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  min-height: 160px;
}

.service-card p {
  margin: 0;
  font-size: 1.7rem;
  color: white;
  font-weight: 800;
}

.why-section {
  padding-top: 10px;
}

.why-card {
  position: relative;
  padding: 26px;
  border-radius: 22px;
}

.why-card p {
  margin: 0 0 14px;
  color: #d2daf8;
  line-height: 1.8;
}

.why-card p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.wallet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.wallet-card strong,
.account-status strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
  color: white;
}

.topup-grid .btn,
.topup-custom .btn {
  color: #ffffff;
}

.topup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.topup-custom,
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.topup-custom input,
.checkout-grid input,
.field-grid input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(122, 132, 189, 0.2);
  background: rgba(6, 10, 18, 0.72);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

.topup-custom input:focus,
.checkout-grid input:focus,
.field-grid input:focus {
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.field-grid {
  display: grid;
  gap: 12px;
  margin: 14px 0 18px;
}

.field-grid label,
.checkout-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.account-modal h3,
.account-modal p,
.account-modal label,
.admin-page h3,
.admin-page p,
.admin-page label {
  color: #f5f7ff;
}

.account-modal .btn,
.admin-page .btn {
  color: #ffffff;
}

.account-modal .btn-link,
.admin-page .btn-link {
  color: #ffffff;
}

.account-modal input::placeholder,
.admin-page input::placeholder {
  color: #9ba7d8;
}

.status-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.status-list div,
.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid rgba(133, 143, 203, 0.1);
}

.status-list span,
.checkout-summary span {
  color: #eef2ff;
}

.account-status p {
  color: #eef2ff;
}

.account-dashboard {
  display: grid;
  gap: 16px;
  min-height: 480px;
}

.account-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-overview div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(133, 143, 203, 0.14);
  display: grid;
  gap: 6px;
}

.account-overview span {
  color: #dfe7ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
}

.account-overview strong {
  color: #ffffff;
  font-size: 1.12rem;
}

.account-summary {
  padding: 16px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  font-size: 1.02rem;
}

.dashboard-note {
  color: #b8c4ef;
  line-height: 1.6;
}

.account-dashboard .status-list div {
  min-height: 62px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
}

.account-status .status-list strong {
  color: white;
}

.account-dashboard .status-list span {
  color: #dfe7ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
}

.account-dashboard .status-list strong {
  font-size: 1.08rem;
}

.history-box {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.orders-list {
  display: grid;
  gap: 10px;
}

.order-chip {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid rgba(133, 143, 203, 0.1);
}

.admin-grid {
  display: grid;
  gap: 16px;
}

.admin-card,
.admin-dashboard {
  width: 100%;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-stats div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(133, 143, 203, 0.14);
  display: grid;
  gap: 6px;
}

.admin-stats span {
  color: #dfe7ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
}

.admin-stats strong {
  color: #ffffff;
  font-size: 1.1rem;
}

.admin-toolbar {
  margin: 18px 0 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.admin-split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
  margin-top: 18px;
}

.admin-subcard {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(133, 143, 203, 0.12);
}

.admin-subcard h3 {
  margin: 0 0 14px;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
  color: #f5f7ff;
}

.admin-search {
  display: grid;
  gap: 8px;
  color: #f5f7ff;
}

.admin-search input {
  width: 100%;
}

.admin-subcard select,
.admin-subcard input[type="text"],
.admin-subcard input[type="number"] {
  width: 100%;
  margin-top: 8px;
  color: #fff;
}

.admin-subcard select option {
  background: #0b1020;
  color: #fff;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 12px;
  vertical-align: top;
  border-bottom: 1px solid rgba(133, 143, 203, 0.12);
}

.admin-table th {
  color: #dfe7ff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-table td {
  color: #f7f9ff;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.admin-balance {
  display: grid;
  gap: 10px;
}

.admin-balance input {
  width: 160px;
}

.admin-mini-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-mini-actions .btn {
  padding: 10px 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: start center;
  padding: 28px 20px 20px;
  overflow-y: auto;
  z-index: 50;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.checkout-modal {
  width: min(100%, 760px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 24px;
  background: rgba(9, 13, 24, 0.96);
  border: 1px solid rgba(133, 143, 203, 0.16);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6);
  padding: 24px;
  position: relative;
}

.account-modal {
  width: min(100%, 760px);
}

.modal-account-grid {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.account-card[hidden] {
  display: none !important;
}

.btn-link {
  margin-left: 10px;
  padding-inline: 14px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(133, 143, 203, 0.16);
  background: rgba(10, 14, 26, 0.8);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}

.checkout-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.checkout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.checkout-note {
  margin: 14px 0 0;
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(9, 13, 24, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.32);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  color: white;
  z-index: 80;
}

.contact-card {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  display: grid;
  gap: 18px;
}

.contact-card a {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 14px rgba(139, 92, 246, 0.2);
}

.footer {
  margin-top: 24px;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 8, 14, 0.72);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-brand .brand-logo {
  width: 152px;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 8px;
}

.hero-logo {
  width: min(100%, 440px);
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.22));
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.08); }
}

@media (max-width: 1024px) {
  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid,
  .feature-grid,
  .service-grid,
  .category-grid,
  .product-grid,
  .info-grid,
  .account-grid,
  .review-grid,
  .wallet-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-split,
  .wallet-page .wallet-hero {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid-wide {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .brand-logo {
    width: 54px;
  }

  .hero-logo {
    width: min(100%, 320px);
  }

  .hero {
    padding-top: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .metrics,
  .pricing-grid,
  .feature-grid,
  .service-grid,
  .category-grid,
  .product-grid,
  .info-grid,
  .account-grid,
  .review-grid,
  .wallet-layout,
  .pricing-grid-wide,
  .checkout-summary,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .wallet-topups {
    grid-template-columns: 1fr;
  }

  .topup-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topup-custom,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .account-overview {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Premium AVHOST refresh */
body {
  background:
    radial-gradient(circle at 18% 12%, rgba(79, 70, 229, 0.22), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(14, 165, 233, 0.18), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.16), transparent 32%),
    linear-gradient(180deg, #03050a 0%, #070b14 42%, #04060c 100%);
}

.topbar {
  background: rgba(3, 6, 14, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.nav-links a {
  padding: 10px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.brand-logo {
  width: 64px;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
}

.hero-logo-wrap {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(148, 163, 255, 0.18);
  box-shadow: 0 24px 90px rgba(59, 130, 246, 0.18);
}

.hero-logo {
  width: 138px;
  filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.35));
}

.eyebrow,
.section-kicker,
.mini-kicker {
  color: #93c5fd;
}

.hero-copy h1 {
  background: linear-gradient(135deg, #ffffff 20%, #93c5fd 48%, #a78bfa 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-lead {
  color: #ffffff;
}

.hero-text,
.panel-card p,
.category-card p,
.info-card p,
.account-card p {
  color: #dbeafe;
}

.hero-panel {
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(3, 7, 18, 0.92)),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.24), transparent 34%);
}

.metrics div,
.panel-card,
.status-card {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(147, 197, 253, 0.16);
}

.category-card,
.product-card,
.info-card,
.account-card,
.wallet-card,
.contact-card {
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(5, 8, 19, 0.92)),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 36%);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.product-card:hover,
.info-card:hover,
.wallet-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.38);
  box-shadow: 0 26px 90px rgba(59, 130, 246, 0.16);
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(59, 130, 246, 0.95));
  box-shadow: 0 18px 42px rgba(59, 130, 246, 0.25);
}

.category-card .emoji {
  display: none;
}

.product-card.featured {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 28px 110px rgba(139, 92, 246, 0.18);
}

.price {
  color: #ffffff;
}

.price span {
  color: #bfdbfe;
}

.btn,
.nav-cta {
  color: #ffffff;
}

.btn-primary,
.nav-cta {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 55%, #06b6d4 100%);
  box-shadow: 0 0 26px rgba(59, 130, 246, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-outline,
.btn-secondary {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(147, 197, 253, 0.22);
}

.account-modal {
  background: rgba(6, 10, 22, 0.98);
}

.account-modal h2,
.account-modal h3,
.account-modal p,
.account-modal label,
.account-modal span,
.account-modal strong {
  color: #ffffff;
}

.field-grid input,
.checkout-grid input,
.topup-custom input,
.admin-page input {
  color: #ffffff;
  background: rgba(2, 6, 23, 0.78);
  border-color: rgba(147, 197, 253, 0.22);
}

.admin-page select {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(147, 197, 253, 0.22);
  background: rgba(2, 6, 23, 0.78);
  color: #ffffff;
}

.field-grid input::placeholder,
.checkout-grid input::placeholder,
.topup-custom input::placeholder,
.admin-page input::placeholder {
  color: #c7d2fe;
}

.modal-backdrop {
  background: rgba(1, 4, 12, 0.82);
}

.checkout-modal {
  background:
    linear-gradient(145deg, rgba(9, 14, 29, 0.98), rgba(3, 7, 18, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(139, 92, 246, 0.16), transparent 32%);
  border-color: rgba(147, 197, 253, 0.2);
}

.checkout-summary strong,
.wallet-card strong,
.status-list strong,
.admin-table td,
.admin-stats strong {
  color: #ffffff;
}

.wallet-page .wallet-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.wallet-balance-xl {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
}

.wallet-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.wallet-topups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.wallet-note {
  color: #d8e0ff;
}

.wallet-summary-grid {
  display: grid;
  gap: 12px;
}

.wallet-summary-grid div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(133, 143, 203, 0.12);
}

.wallet-summary-grid span {
  display: block;
  font-size: 0.78rem;
  color: #cfe0ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.wallet-summary-grid strong {
  color: #ffffff;
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
  }

  .hero-logo-wrap {
    width: 132px;
    height: 132px;
  }

  .hero-logo {
    width: 108px;
  }

  .product-card.featured {
    transform: none;
  }
}
