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

/* Ethnocentric Custom Font */
@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/Ethnocentric-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #03070b;
  --bg2: #07111a;
  --panel: rgba(9, 19, 29, .78);
  --panel2: #0b1722;
  --line: rgba(110, 211, 255, .15);
  --blue: #27c7ff;
  --blue2: #0d7cff;
  --cyan: #74e6ff;
  --text: #eef8ff;
  --muted: #8ea6b7;
  --green: #6fffd0;
  --danger: #ff6d8b;
  --shadow: 0 20px 70px rgba(0, 0, 0, .45);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: radial-gradient(circle at 50% -10%, rgba(15, 139, 220, .18), transparent 35%), linear-gradient(180deg, #02060a, #040a10 55%, #020509);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  min-height: 100vh
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  z-index: -1
}

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

button,
input,
select {
  font: inherit
}

button {
  cursor: pointer
}

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

.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(3, 10, 16, .76);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 0 18px;
  position: sticky;
  top: 14px;
  z-index: 50;
  box-shadow: var(--shadow)
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 1px
}

/* Ethnocentric applies ONLY to the TWINBUILD header text */
.twinbuild-text {
  font-family: 'Ethnocentric', sans-serif;
}

.brand img {
  width: 132px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(39, 199, 255, .25))
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #b9cad5
}

.nav a {
  transition: .25s
}

.nav a:hover,
.nav a.active {
  color: var(--cyan)
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px
}

.iconbtn,
.langbtn {
  height: 42px;
  min-width: 42px;
  border: 1px solid var(--line);
  background: #07121c;
  color: #dff7ff;
  border-radius: 12px;
  display: grid;
  place-items: center
}

.coin {
  padding: 0 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px
}

.coin i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff1a2, #ffd33e 55%, #b87b00);
  box-shadow: 0 0 15px rgba(255, 207, 52, .35)
}

.menu {
  display: none
}

.hero {
  padding: 80px 0 55px;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 44px;
  align-items: center
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700
}

h1,
h2,
h3 {
  font-family: 'Rajdhani', Inter, sans-serif;
  margin: 0
}

h1 {
  font-size: clamp(52px, 7vw, 88px);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: -2px
}

h1 span {
  color: var(--blue);
  text-shadow: 0 0 30px rgba(39, 199, 255, .3)
}

.hero p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 610px
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  animation: heroSlideIn 1s cubic-bezier(.2, .7, .3, 1) both
}

.hero-glow {
  position: absolute;
  z-index: 0;
  width: 120%;
  height: 120%;
  left: -10%;
  top: -6%;
  pointer-events: none;
  background:
    radial-gradient(circle at 56% 48%, rgba(39, 199, 255, .48), rgba(13, 124, 255, .18) 45%, transparent 70%);
  filter: blur(22px);
  animation: glowPulse 4.6s ease-in-out infinite
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  filter:
    drop-shadow(0 0 26px rgba(39, 199, 255, .55))
    drop-shadow(0 14px 34px rgba(0, 130, 255, .4));
  animation: float 6s ease-in-out infinite;
  transition: filter .3s
}

.hero-logo:hover {
  filter:
    drop-shadow(0 0 40px rgba(39, 199, 255, .8))
    drop-shadow(0 18px 44px rgba(0, 150, 255, .55))
}

@keyframes float {
  50% {
    transform: translateY(-12px)
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: .6;
    transform: scale(1)
  }
  50% {
    opacity: 1;
    transform: scale(1.06)
  }
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(80px)
  }
  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo, .hero-glow, .hero-art {
    animation: none
  }
}

.btn {
  border: 1px solid rgba(116, 230, 255, .25);
  background: linear-gradient(135deg, #17bfff, #0875e8);
  color: white;
  border-radius: 13px;
  padding: 14px 20px;
  font-weight: 800;
  letter-spacing: .4px;
  box-shadow: 0 10px 30px rgba(0, 130, 255, .18);
  transition: .25s
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0, 160, 255, .28)
}

.btn.ghost {
  background: #07131e;
  color: #dff7ff
}

.btn.small {
  padding: 10px 14px;
  font-size: 12px
}

.btn.danger {
  background: #29101a;
  border-color: #6d2438;
  color: #ff9bb0
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px
}

.section {
  padding: 55px 0
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px
}

.section-head h2 {
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: .5px
}

.section-head p {
  color: var(--muted);
  font-size: 13px
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

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

.card {
  background: linear-gradient(180deg, rgba(12, 25, 37, .88), rgba(5, 13, 20, .92));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden
}

.card:after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 30%, rgba(39, 199, 255, .09), transparent 65%);
  pointer-events: none
}

.product {
  padding: 18px;
  transition: .3s
}

.product:hover {
  transform: translateY(-5px);
  border-color: rgba(39, 199, 255, .35)
}

.product-art {
  height: 150px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 35%, rgba(39, 199, 255, .26), transparent 48%), #06111b;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  overflow: hidden
}

.product-art .orb {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: linear-gradient(145deg, #eafcff, #29caff 45%, #0758d6);
  box-shadow: 0 0 45px rgba(39, 199, 255, .45);
  transform: rotate(8deg)
}

.product h3 {
  font-size: 22px
}

.muted {
  color: var(--muted)
}

.price {
  font-size: 24px;
  font-weight: 800;
  margin: 7px 0 13px
}

.badge {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(39, 199, 255, .11);
  color: var(--cyan);
  border: 1px solid rgba(39, 199, 255, .2);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px
}

.best {
  border-color: rgba(39, 199, 255, .55);
  box-shadow: 0 0 0 1px rgba(39, 199, 255, .08), 0 20px 70px rgba(0, 130, 255, .12)
}

.ribbon {
  position: absolute;
  top: 14px;
  right: -30px;
  transform: rotate(36deg);
  background: #22c5ff;
  color: #00111c;
  padding: 6px 35px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px
}

.verify {
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px
}

.input {
  width: 100%;
  height: 52px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #06111a;
  color: #effaff;
  padding: 0 15px;
  outline: none
}

.input:focus {
  border-color: rgba(39, 199, 255, .65);
  box-shadow: 0 0 0 4px rgba(39, 199, 255, .07)
}

.profile {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #06111a
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1fcaff, #064d9e);
  display: grid;
  place-items: center;
  font-weight: 900
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.feature {
  padding: 22px
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(39, 199, 255, .1);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--cyan);
  margin-bottom: 14px
}

footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding: 50px 0 25px;
  color: var(--muted)
}

.footgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 25px
}

.footgrid h4 {
  color: #e7f7ff;
  margin: 0 0 13px
}

.footgrid a {
  display: block;
  margin: 9px 0;
  font-size: 13px
}

.copyright {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 11px
}

.pagehead {
  padding: 70px 0 30px;
  text-align: center
}

.pagehead h1 {
  font-size: 62px
}

.pagehead p {
  color: var(--muted);
  max-width: 650px;
  margin: 18px auto;
  line-height: 1.7
}

.checkout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px
}

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 17, 26, .82);
  box-shadow: var(--shadow)
}

.panel h2 {
  font-size: 25px;
  margin-bottom: 18px
}

.methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px
}

.method {
  padding: 16px;
  border: 1px solid var(--line);
  background: #07131d;
  border-radius: 14px;
  text-align: left;
  transition: .2s
}

.method.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(39, 199, 255, .08)
}

.method strong {
  display: block
}

.method span {
  font-size: 11px;
  color: var(--muted)
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: #b9cbd5
}

.total {
  font-size: 25px;
  font-weight: 800;
  color: white;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 10px
}

.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.full {
  grid-column: 1/-1
}

.bankbox {
  padding: 15px;
  border: 1px dashed rgba(39, 199, 255, .3);
  border-radius: 14px;
  margin-top: 10px;
  background: rgba(39, 199, 255, .035)
}

.copy {
  float: right;
  font-size: 10px;
  padding: 7px 9px
}

.drop {
  border: 1px dashed rgba(116, 230, 255, .35);
  border-radius: 15px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  margin-top: 14px
}

.drop strong {
  color: white;
  display: block;
  margin-bottom: 7px
}

.table {
  width: 100%;
  border-collapse: collapse
}

.table th,
.table td {
  text-align: left;
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px
}

.status {
  font-size: 10px;
  padding: 6px 8px;
  border-radius: 99px;
  background: rgba(111, 255, 208, .09);
  color: var(--green)
}

.policy {
  max-width: 920px;
  margin: auto
}

.policy .panel {
  margin: 12px 0
}

.policy h2 {
  font-size: 24px
}

.policy p,
.policy li {
  color: #9db0bc;
  line-height: 1.8;
  font-size: 14px
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px
}

.contact-card {
  padding: 28px
}

.contact-card .big {
  font-size: 25px;
  color: white;
  font-weight: 800;
  margin: 12px 0
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 5, 9, .78);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 18px
}

.modal.open {
  display: flex
}

.modalbox {
  width: min(500px, 100%);
  background: #07111a;
  border: 1px solid rgba(116, 230, 255, .2);
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .65);
  padding: 24px;
  animation: pop .22s ease
}

.modalbox h2 {
  font-size: 29px
}

.close {
  float: right;
  background: none;
  border: 0;
  color: #90a7b5;
  font-size: 25px
}

.login-tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0
}

.login-tabs button {
  flex: 1
}

.payment-info {
  margin-top: 15px
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #07131d;
  border: 1px solid var(--line);
  padding: 13px 16px;
  border-radius: 13px;
  display: none;
  z-index: 120;
  box-shadow: var(--shadow)
}

.toast.show {
  display: block;
  animation: slide .25s
}

.loader {
  position: fixed;
  inset: 0;
  background: #02070b;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity .6s, visibility .6s
}

.loader.hide {
  opacity: 0;
  visibility: hidden
}

.loader-mark {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(39, 199, 255, .45));
  animation: markPulse 1.8s infinite
}

.loader-frame {
  position: absolute;
  width: 175px;
  height: 175px;
  border: 1px solid rgba(39, 199, 255, .12);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 65% 35%, 65% 100%, 35% 100%, 35% 35%, 0 35%)
}

.loader-frame:after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-top-color: var(--cyan);
  border-right-color: var(--blue);
  animation: spin 1.2s linear infinite;
  clip-path: inherit
}

.loader-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  letter-spacing: 5px;
  margin-top: 20px;
  color: #dff8ff
}

.loader-line {
  width: 210px;
  height: 2px;
  background: #10222e;
  margin-top: 14px;
  overflow: hidden
}

.loader-line i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: load 1.5s ease forwards
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes load {
  to {
    width: 100%
  }
}

@keyframes markPulse {
  50% {
    transform: scale(1.06)
  }
}

@keyframes pop {
  from {
    transform: scale(.96);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

@keyframes slide {
  from {
    transform: translateY(12px);
    opacity: 0
  }
}

.admin-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px
}

.metric {
  padding: 20px
}

.metric b {
  font-size: 30px
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px
}

@media(max-width:900px) {
  .nav {
    display: none
  }

  .menu {
    display: grid
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px
  }

  .hero-logo {
    max-width: 440px;
    margin: auto;
    display: block
  }

  .grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .features,
  .footgrid {
    grid-template-columns: 1fr 1fr
  }

  .checkout,
  .contact {
    grid-template-columns: 1fr
  }
}

@media(max-width:620px) {
  .container {
    width: min(100% - 20px, 1160px)
  }

  .topbar {
    top: 8px;
    height: 68px
  }

  .brand img {
    width: 105px
  }

  .actions .coin {
    display: none
  }

  .hero {
    padding-top: 42px
  }

  .hero h1 {
    font-size: 55px
  }

  .grid,
  .grid3,
  .features,
  .footgrid {
    grid-template-columns: 1fr
  }

  .methods {
    grid-template-columns: 1fr
  }

  .formgrid {
    grid-template-columns: 1fr
  }

  .pagehead h1 {
    font-size: 48px
  }

  .verify {
    grid-template-columns: 1fr
  }

  .copyright {
    flex-direction: column;
    gap: 10px
  }

  .product-art {
    height: 175px
  }
}

/* ---------- Auth: Login button + Google profile ---------- */
.auth-slot {
  display: flex;
  align-items: center
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #07131e;
  color: #eaf8ff;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  cursor: pointer;
  transition: .2s
}

.login-btn:hover {
  border-color: rgba(39, 199, 255, .6);
  box-shadow: 0 0 0 3px rgba(39, 199, 255, .08);
  transform: translateY(-1px)
}

.login-btn .gwrap {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none
}

.profile-wrap {
  position: relative
}

.profile-chip {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #07121c;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s
}

.profile-chip:hover {
  border-color: rgba(39, 199, 255, .6);
  box-shadow: 0 0 0 3px rgba(39, 199, 255, .08)
}

.pavatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  font-size: 16px
}

.pavatar .gdot {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  color: #4285F4;
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .45)
}

.pmenu {
  position: absolute;
  top: 54px;
  right: 0;
  width: 230px;
  background: #0a1622;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 120;
  animation: pop .18s ease
}

.pm-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px
}

.pm-head .pavatar.sm {
  width: 36px;
  height: 36px;
  flex: none
}

.pm-head > div {
  min-width: 0;
  flex: 1
}

.pm-head b {
  font-size: 13px;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.pm-head span {
  font-size: 11px;
  color: var(--muted)
}

.pm-head > div > span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.pm-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
  color: #dbe9f2;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: Inter, sans-serif
}

.pm-item:hover {
  background: #0f2130
}

.pm-item.danger {
  color: #ff9bb0
}
/* ---------- Cart: floating icon + slide-in drawer ---------- */
.cart-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 130;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, #17bfff, #0875e8);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 130, 255, .42);
  transform: scale(0);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s cubic-bezier(.2, 1.3, .4, 1), opacity .3s, box-shadow .2s
}

.cart-fab.show {
  transform: scale(1);
  opacity: 1;
  visibility: visible
}

.cart-fab:hover {
  box-shadow: 0 16px 42px rgba(0, 150, 255, .58)
}

.cart-fab svg {
  width: 26px;
  height: 26px
}

.cart-fab.bump {
  animation: fabBump .45s ease
}

@keyframes fabBump {
  0%, 100% { transform: scale(1) }
  40% { transform: scale(1.18) }
}

.fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 99px;
  background: #e8503a;
  color: #fff;
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  border: 2px solid #03070b
}

.cart-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 5, 9, .6);
  backdrop-filter: blur(4px);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s
}

.cart-scrim.open {
  opacity: 1;
  visibility: visible
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  z-index: 141;
  background: linear-gradient(180deg, #0a1622, #050d15);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .6);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.3, .9, .3, 1);
  display: flex;
  flex-direction: column
}

.cart-drawer.open {
  transform: none
}

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 22px 18px;
  border-bottom: 1px solid var(--line)
}

.cart-eyebrow {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px
}

.cart-title {
  font-family: Rajdhani, sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase
}

.cart-close {
  background: none;
  border: 0;
  color: #90a7b5;
  font-size: 26px;
  line-height: 1;
  cursor: pointer
}

.cart-close:hover {
  color: #fff
}

.cart-body {
  flex: 1;
  overflow: auto;
  padding: 4px 22px
}

.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 10px;
  font-size: 14px
}

.ci {
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.ci-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px
}

.ci-name {
  font-weight: 700;
  font-size: 15px
}

.ci-each {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px
}

.ci-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none
}

.ci-qty button {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #07131e;
  color: #dff7ff;
  font-family: Rajdhani, sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s
}

.ci-qty button:hover {
  border-color: var(--blue);
  color: var(--cyan)
}

.ci-qty .q {
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  font-size: 16px
}

.ci-line {
  text-align: right;
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-top: 8px
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding: 20px 22px
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px
}

.cart-total span:first-child {
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px
}

.cart-total span:last-child {
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  font-size: 27px;
  color: #fff
}

.cart-checkout {
  width: 100%;
  font-size: 16px;
  padding: 16px
}

.toast {
  bottom: 96px
}

/* ---------- Checkout: card fields + mobile providers ---------- */
.fldlabel {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 6px
}

.cardform .input {
  width: 100%
}

.cardrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

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

.provider {
  padding: 14px 10px;
  border: 1px solid var(--line);
  background: #07131d;
  border-radius: 12px;
  color: #dff7ff;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  cursor: pointer;
  transition: .15s
}

.provider:hover {
  border-color: var(--blue);
  color: var(--cyan)
}

.provider.selected {
  border-color: var(--blue);
  color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(39, 199, 255, .12)
}

@media(max-width:620px) {
  .providers {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* ---------- Checkout: two-step, method logos, providers ---------- */
.method {
  display: flex;
  align-items: center;
  gap: 12px
}

.method .mtext {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0
}

.method .mtext strong {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700
}

.method .mtext > span {
  color: #dfeaf1;
  font-size: 11px
}

.mlogo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  font-size: 16px
}

.mlogo.card,
.mlogo.sim,
.mlogo.bank {
  background: #0b1a26;
  border: 1px solid var(--line);
  font-size: 20px
}

.mlogo.ez {
  background: #E4002B;
  color: #FFD100;
  font-style: italic
}

.mlogo.mc {
  background: #00A94F;
  color: #fff;
  font-size: 20px
}

.providers[hidden] {
  display: none
}

.provider {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 16px 10px;
  display: grid;
  place-items: center;
  min-height: 58px;
  cursor: pointer;
  transition: .15s
}

.provider:hover {
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .55)
}

.provider.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(39, 199, 255, .22)
}

.plogo {
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .3px
}

.plogo.dialog { color: #E4002B }
.plogo.mobitel { color: #00954C }
.plogo.hutch { color: #EC008C }
.plogo.airtel { color: #ED1C24; text-transform: lowercase }

.backstep {
  background: none;
  border: 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px
}

.backstep:hover { text-decoration: underline }

/* ---------- Logos on method chips + provider tiles ---------- */
.mlogo.white {
  background: #fff;
  padding: 4px
}

.mlogo.white img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  display: block
}

.provider {
  overflow: hidden
}

.provider img {
  width: auto;
  height: 34px;
  max-width: 100%;
  min-width: 0;
  object-fit: contain;
  display: block
}

/* ---------- Provider tweaks: Hutch fill, Airtel logo + text ---------- */
.hutch-tile {
  padding: 0
}

.hutch-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.provider.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px
}

.provider.stack img {
  height: 24px
}

.provider .airtel-txt {
  color: #ED1C24;
  font-family: Rajdhani, sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  text-transform: lowercase
}

/* ---------- Clear selected state (methods + providers) ---------- */
.method, .provider {
  position: relative
}

.method.selected {
  border-color: var(--blue);
  background: rgba(39, 199, 255, .10);
  box-shadow: 0 0 0 3px rgba(39, 199, 255, .22), 0 10px 26px -10px rgba(0, 150, 255, .45)
}

.method.selected::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #04121c;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center
}

.provider.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(39, 199, 255, .38), 0 10px 24px -10px rgba(0, 150, 255, .55)
}

.provider.selected::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: #04121c;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center
}

#methodExtra:not(:empty) {
  margin-top: 14px
}

/* ---------- Provider tiles: compact fixed size ---------- */
.provider {
  height: 82px;
  min-height: 0;
  padding: 10px
}

.hutch-tile {
  padding: 0
}

/* ---------- Provider tiles: smaller + Hutch contained (no crop/overflow) ---------- */
.provider {
  height: 68px;
  min-height: 0;
  padding: 8px
}

.provider img {
  height: 32px
}

.provider.stack img {
  height: 22px
}

.hutch-tile {
  padding: 6px
}

.hutch-tile img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain
}

/* ---------- Hutch: show full logo (contain, fixed height) ---------- */
.hutch-tile {
  padding: 7px;
  background: #fff
}

.hutch-tile img {
  width: auto;
  height: 42px;
  max-width: 96%;
  object-fit: contain
}

/* ---------- Google logo badge on profile avatar ---------- */
.gdot {
  width: 18px;
  height: 18px;
  padding: 2.5px;
  background: #fff
}

.gdot svg {
  width: 100%;
  height: 100%;
  display: block
}

/* ---------- Google button in login modal ---------- */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.google-btn .gwrap {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none
}

.google-btn .gwrap svg {
  width: 15px;
  height: 15px;
  display: block
}

/* ---------- Login modal spacing ---------- */
.modalbox .input {
  margin-top: 14px
}

/* ---------- Real Google profile photo ---------- */
.pavatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

/* ---------- Account page avatar photo ---------- */
.avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; display: block; }

/* ---------- Button loading spinner ---------- */
.btn.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none
}

.btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite
}

/* ---------- Mobile performance / touch ---------- */
@media (max-width: 720px) {
  /* lighter blur = smoother scrolling on phones */
  .topbar { backdrop-filter: blur(8px) }
  .cart-scrim, .modal { backdrop-filter: none }
  /* comfortable tap targets */
  .btn, .method, .provider, .pkg .addbtn, .stepper button { min-height: 44px }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo, .hero-glow, .hero-art, .rtrack { animation: none !important }
}

/* ---------- Verify card: player actions (Select / Change) ---------- */
.profile { flex-wrap: wrap }
.pinfo { min-width: 0 }
.pactions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}
@media (max-width: 620px) {
  .pactions { margin-left: 0; width: 100% }
  .pactions .btn { flex: 1 }
}

/* ---------- Back to Home button (sub-pages) ---------- */
.backhome-wrap { padding-top: 16px }
.backhome {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #07131e;
  color: #dff7ff;
  font-weight: 700;
  font-size: 13px;
  transition: .15s
}
.backhome:hover { border-color: var(--blue); color: var(--cyan); transform: translateX(-2px) }

/* ---------- Mobile: hamburger nav dropdown ---------- */
@media (max-width: 900px) {
  .topbar.menu-open .nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #0a1622;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow);
    z-index: 60
  }
  .topbar.menu-open .nav a {
    padding: 13px 14px;
    border-radius: 10px;
    letter-spacing: 1px
  }
  .topbar.menu-open .nav a:hover,
  .topbar.menu-open .nav a.active {
    background: #0f2130;
    color: var(--cyan)
  }
  .menu { font-size: 20px }
}

/* ---------- Admin dashboard ---------- */
.admin-msg {
  text-align: center;
  padding: 40px 22px;
  max-width: 540px;
  margin: 10px auto;
}
.admin-msg h2 { margin: 6px 0 8px }
.admin-msg p { color: var(--muted); margin: 6px 0 }
.admin-msg .lockrow { font-size: 40px; margin-bottom: 6px }
.admin-msg .hint { font-size: 12px }
.spin {
  width: 34px; height: 34px; margin: 0 auto 14px;
  border: 3px solid var(--line);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.admin-metrics { margin-top: 4px }
.admin-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 18px 0 14px;
}
.admin-list { padding: 8px }
.order-card {
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: 14px;
  padding: 16px;
  margin: 10px 0;
}
.oc-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.oc-id {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  letter-spacing: 1px; margin-right: 10px; color: var(--cyan);
}
.oc-amount { font-size: 20px; font-weight: 800 }
.oc-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin: 10px 0; font-size: 13px; color: var(--muted);
}
.oc-meta b { color: var(--text) }
.oc-lines {
  list-style: none; padding: 0; margin: 8px 0 0;
  border-top: 1px solid var(--line); padding-top: 10px;
}
.oc-lines li { padding: 3px 0; font-size: 14px }
.gift-note {
  margin: 6px 0; font-size: 13px; color: var(--cyan);
  background: rgba(39, 199, 255, .08);
  border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px;
}
.admin-actions {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
}
.badge.ok   { background: rgba(111, 255, 208, .12); color: var(--green); border-color: rgba(111, 255, 208, .3) }
.badge.warn { background: rgba(255, 211, 107, .13); color: #ffd36b; border-color: rgba(255, 211, 107, .32) }
.badge.bad  { background: rgba(255, 109, 139, .13); color: var(--danger); border-color: rgba(255, 109, 139, .32) }
.badge.muted{ background: rgba(142, 166, 183, .12); color: var(--muted); border-color: var(--line) }
