/* Alibaba66 Malaysia — brand surface */

:root {
  --a66-orange: #fc4f00;
  --a66-orange-deep: #7e100a;
  --a66-orange-hot: #ff6a1a;
  --a66-ink: #0e0e10;
  --a66-ink-2: #17171b;
  --a66-ink-3: #222228;
  --a66-paper: #f4efe6;
  --a66-paper-dim: #e8e0d4;
  --a66-muted: #c9c3b8;
  --a66-line: rgba(255, 255, 255, 0.08);
  --a66-gold: #e8c47a;
  --font-display: "Teko", Impact, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --nav-h: 72px;
  --radius: 1rem;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f5f2ec;
  background: var(--a66-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #e04500;
  color: #fff8f0;
}

a {
  color: var(--a66-orange-hot);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffe0c8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: #ff7a2e;
  color: #140802;
  font-weight: 700;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Typography —— */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.35em;
  line-height: 0.95;
}

.section-lead {
  color: var(--a66-muted);
  max-width: 38rem;
  margin: 0;
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-head .section-title {
  margin-bottom: 0.5rem;
}

/* —— Buttons —— */
.btn {
  --bs-btn-font-family: var(--font-body);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out), background 0.25s ease, box-shadow 0.25s ease, color 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--a66-orange);
  outline-offset: 3px;
}

.btn-a66,
a.btn-a66,
.btn-a66:hover,
.btn-a66:focus,
a.btn-a66:hover,
a.btn-a66:focus {
  background: linear-gradient(180deg, #ff7a2e, #e04500);
  border: none;
  color: #140802 !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.btn-a66:hover,
.btn-a66:focus,
a.btn-a66:hover,
a.btn-a66:focus {
  background: linear-gradient(180deg, #ff8a45, #c43a00);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg-a66 {
  padding: 1rem 1.9rem;
  font-size: 1.05rem;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--nav-h);
  background: #0e0e10;
  border-bottom: 1px solid var(--a66-line);
}

.site-nav .navbar {
  height: var(--nav-h);
  padding-top: 0;
  padding-bottom: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.nav-link-a66 {
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.4rem 0.85rem !important;
  text-decoration: none !important;
}

.nav-link-a66:hover,
.nav-link-a66:focus {
  color: #fff !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: var(--a66-ink-2);
    border: 1px solid var(--a66-line);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.5rem;
  }
}

/* —— Hero: banner clean, copy below —— */
.hero {
  display: block;
  background: var(--a66-ink);
}

.hero-banner {
  width: 100%;
  line-height: 0;
  background: #0e0e10;
}

.hero-banner img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-intro {
  background: var(--a66-ink-2);
  border-bottom: 1px solid var(--a66-line);
  padding: 2.5rem 0 2.75rem;
}

.hero-copy {
  max-width: 44rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: #fff;
}

.hero h1 .brand-66 {
  color: #2f7bff;
}

.hero h1 .brand-my {
  color: var(--a66-orange);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--a66-muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.hero-chip {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a66-paper);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-intro .hero-copy {
    animation: rise 0.75s var(--ease-out) both;
  }
}

/* —— Trust strip —— */
.trust-strip {
  background: var(--a66-ink-2);
  border-block: 1px solid var(--a66-line);
  padding: 1.25rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(252, 79, 0, 0.12);
  color: var(--a66-orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.trust-item span {
  display: block;
  font-size: 0.82rem;
  color: #d2ccc0;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--a66-ink-2);
}

.section-paper {
  background: var(--a66-paper);
  color: #1c1915;
}

.section-paper .section-title {
  color: #14110e;
}

.section-paper .section-lead {
  color: #5c564c;
}

/* —— Game billboards —— */
.game-board {
  position: relative;
  display: block;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none !important;
  color: inherit;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 10;
  background: var(--a66-ink-3);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.game-board:hover,
.game-board:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  color: inherit;
}

.game-board img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease-out);
}

.wallet-band {
  display: block;
  margin-top: 1.75rem;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  text-decoration: none !important;
  color: inherit;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(252, 79, 0, 0.35), transparent 55%),
    radial-gradient(ellipse at 88% 80%, rgba(47, 123, 255, 0.22), transparent 50%),
    linear-gradient(135deg, #17171b 0%, #0e0e10 55%, #1a100c 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), border-color 0.25s ease;
}

.wallet-band:hover,
.wallet-band:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(252, 79, 0, 0.45);
  color: inherit;
}

.wallet-band-glow {
  position: absolute;
  inset: auto -10% -40% auto;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(252, 79, 0, 0.18), transparent 70%);
  pointer-events: none;
}

.wallet-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
  padding: 1.6rem 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .wallet-band-inner {
    grid-template-columns: auto 1fr auto auto;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
  }
}

.wallet-band-logo {
  height: 42px;
  width: auto;
}

.wallet-band-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
  line-height: 0.95;
  color: #fff;
}

.wallet-band-copy p {
  margin: 0;
  color: var(--a66-muted);
  font-size: 0.98rem;
  max-width: 28rem;
}

.wallet-band-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.wallet-band-cats span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.wallet-band-cta {
  justify-self: start;
  pointer-events: none;
}

@media (min-width: 768px) {
  .wallet-band-cta {
    justify-self: end;
  }
}

.game-board:hover img {
  transform: scale(1.05);
}

.game-board-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 8, 10, 0.92) 100%);
  z-index: 1;
}

.game-board-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.35rem 1.4rem;
}

.game-board-body h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.15rem;
  color: #fff;
}

.game-board-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.game-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #140802;
  background: #ff7a2e;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.55rem;
}

/* —— Providers —— */
.provider-rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.provider-rail::-webkit-scrollbar {
  height: 8px;
}

.provider-tile {
  background: #f7f3eb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 0.85rem 0.65rem;
  display: grid;
  place-items: center;
  min-width: 128px;
  min-height: 92px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.provider-tile:hover {
  border-color: rgba(252, 79, 0, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.provider-tile img {
  max-height: 48px;
  width: auto;
  max-width: 92%;
  filter: none;
}

/* —— Why / features —— */
.why-panel {
  background: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 16px 36px rgba(28, 20, 10, 0.1);
  border: 1px solid rgba(28, 20, 10, 0.06);
}

.why-row {
  display: grid;
  gap: 1.35rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--a66-paper-dim);
}

.why-row:first-child {
  padding-top: 0;
}

.why-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

@media (min-width: 768px) {
  .why-row {
    grid-template-columns: 11rem 1fr;
    align-items: baseline;
  }
}

.why-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: #14110e;
  line-height: 1;
}

.why-row p {
  margin: 0;
  color: #5c564c;
  font-size: 1.02rem;
  max-width: 42rem;
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(252, 79, 0, 0.28), transparent 55%),
    var(--a66-ink-2);
  border-block: 1px solid var(--a66-line);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  line-height: 0.95;
}

.cta-band p {
  color: var(--a66-muted);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

/* —— Footer —— */
.site-footer {
  background: #0a0a0c;
  color: #c4beb3;
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.site-footer a {
  color: #d9d2c6;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--a66-orange-hot);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f4efe6;
  margin: 0 0 1rem;
}

.footer-blog {
  margin-bottom: 2rem;
}

.footer-blog a {
  color: #4da3ff;
  text-decoration: underline;
  font-weight: 700;
  animation: blinkme 1.5s linear infinite;
}

@keyframes blinkme {
  0%,
  38% {
    opacity: 0.35;
  }
  39%,
  100% {
    opacity: 1;
  }
}

.footer-split {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-split img {
  width: 100%;
  max-width: 140px;
}

.footer-license-copy {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #c4beb3;
}

.footer-block {
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--a66-ink-3);
  border: 1px solid var(--a66-line);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: rgba(252, 79, 0, 0.2);
  border-color: var(--a66-orange);
}

.footer-social img {
  width: 20px;
  height: 20px;
}

.footer-seo {
  border-top: 1px solid var(--a66-line);
  padding-top: 1.75rem;
  margin-top: 0.5rem;
}

.footer-seo p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #b8b1a5;
  max-width: 70ch;
}

.footer-copy {
  text-align: center;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--a66-line);
  font-size: 0.8rem;
  color: #b0a99c;
}

.payment-img,
.certs-img {
  width: 100%;
  max-width: 420px;
  margin-top: 0.25rem;
}

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* —— Utilities —— */
.container-a66 {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: 1.15rem;
}

.trust-strip .container-a66,
.section .container-a66,
.cta-band .container-a66 {
  padding-inline: 1.25rem;
}

.text-orange {
  color: var(--a66-orange);
}

/* Browser chrome */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--a66-orange) var(--a66-ink-2);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--a66-ink-2);
}

*::-webkit-scrollbar-thumb {
  background: #c43a00;
  border-radius: 999px;
  border: 2px solid var(--a66-ink-2);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--a66-orange-hot);
}

input,
textarea,
select {
  caret-color: var(--a66-orange);
}

/* —— Inner pages (About / Guides) —— */
.page-hero {
  background: var(--a66-ink-2);
  border-bottom: 1px solid var(--a66-line);
  padding: 2.5rem 0 2.25rem;
}

.page-hero .breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--a66-muted);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb-nav a {
  color: var(--a66-muted);
  text-decoration: none;
}

.page-hero .breadcrumb-nav a:hover {
  color: #ffe0c8;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  line-height: 0.95;
  color: #fff;
}

.page-hero .page-lead {
  margin: 0;
  max-width: 40rem;
  color: var(--a66-muted);
  font-size: 1.08rem;
}

.prose {
  padding: 3rem 0 4rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 2.25rem 0 0.75rem;
  color: #fff;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 1.5rem 0 0.5rem;
  color: #f4efe6;
}

.prose p,
.prose li {
  color: #d2ccc0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.prose p {
  margin: 0 0 1rem;
  max-width: 65ch;
}

.prose ol,
.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  max-width: 65ch;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose a:not(.btn) {
  color: #7eb6ff;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  counter-reset: step;
  max-width: 65ch;
}

.step-list li {
  position: relative;
  counter-increment: step;
  padding: 1rem 1rem 1rem 3.25rem;
  margin-bottom: 0.75rem;
  background: var(--a66-ink-2);
  border: 1px solid var(--a66-line);
  border-radius: 14px;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #e04500;
  color: #140802;
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.note-box {
  background: rgba(47, 123, 255, 0.08);
  border: 1px solid rgba(47, 123, 255, 0.28);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0 1.5rem;
  max-width: 65ch;
  color: #d2ccc0;
}

.note-box strong {
  color: #fff;
}

.guide-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

@media (min-width: 768px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .guide-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.guide-card {
  display: block;
  background: var(--a66-ink-2);
  border: 1px solid var(--a66-line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.guide-card:hover {
  border-color: rgba(252, 79, 0, 0.5);
  transform: translateY(-3px);
  color: inherit;
}

.guide-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  color: #fff;
}

.guide-card p {
  margin: 0;
  color: var(--a66-muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
}
