/* ═══════════════════════════════════════════════════════════
   xe8.NET — Payments Page CSS
   File: payments/style.css
   Mobile-first. 3D SVG icons. Trust-focused design.
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────── */
:root {
  --navy:        #0d1b4b;
  --navy-dark:   #091236;
  --blue:        #022a99;
  --blue-mid:    #022a99;
  --orange:      #ff7f00;
  --orange-dark: #d96b00;
  --green:       #16a34a;
  --white:       #ffffff;
  --off-white:   #f5f7fa;
  --light-gray:  #eef1f8;
  --gray:        #888ea8;
  --text-dark:   #111827;
  --text-body:   #374151;
  --text-muted:  #6b7280;
  --border:      #dde3f0;

  --font-main:    'Barlow', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;

  /* Mobile-first spacing — scales up at wider breakpoints */
  --section-py:    clamp(48px, 7vw, 88px);
  --container-max: 1160px;
  --container-px:  clamp(16px, 4vw, 40px);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px  rgba(13,27,75,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,75,0.12);
  --shadow-lg: 0 16px 48px rgba(13,27,75,0.20);
}

/* ─── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
}
h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}
h4 {
  font-family: var(--font-main);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.3;
}
p {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
}

/* ─── UTILITIES ──────────────────────────────── */
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-px); }
.text-blue   { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-green  { color: var(--green); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

.heading-split {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.section-label {
  font-size: clamp(12px, 1.4vw, 14px); font-weight: 700; color: var(--gray);
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
  display: block; margin-bottom: 8px;
}
.section-label-center {
  font-size: clamp(12px, 1.4vw, 14px); font-weight: 700; color: var(--gray);
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
  display: block; margin-bottom: 8px; text-align: center;
}
.section-label-light {
  font-size: clamp(12px, 1.4vw, 14px); font-weight: 700; color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
  display: block; margin-bottom: 8px;
}
.section-intro {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 700px;
  margin-bottom: 32px;
}
.section-subtext {
  max-width: 640px; margin-inline: auto; text-align: center;
  color: var(--text-muted); font-size: 15px; margin-bottom: 40px; line-height: 1.7;
}
.text-light-muted { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.75; }
.inline-link { color: var(--blue); text-decoration: underline; font-weight: 600; }
.inline-link:hover { color: var(--orange); }

/* Scroll table wrapper */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}

/* Buttons */
.btn-primary {
  display: inline-block; padding: 14px 32px;
  background: var(--orange); color: var(--white);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase; transition: background 0.2s;
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
  display: inline-block; padding: 14px 32px;
  border: 2px solid var(--blue); color: var(--blue);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase; transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-outline-white {
  display: inline-block; padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.5); color: var(--white);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase; transition: border-color 0.2s, background 0.2s;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ─── HEADER ──────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.header-inner { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-px); height: 60px; display: flex; align-items: center; gap: 24px; }
.logo img { height: 36px; width: auto; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: clamp(12px, 2vw, 28px); align-items: center; }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--text-dark); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.nav-active { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login { font-size: 14px; font-weight: 700; color: var(--text-dark); letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 4px; transition: color 0.2s; }
.btn-login:hover { color: var(--blue); }
.btn-register { font-size: 13px; font-weight: 700; background: var(--orange); color: var(--white); padding: 8px 18px; border-radius: var(--radius-sm); letter-spacing: 0.04em; text-transform: uppercase; transition: background 0.2s; }
.btn-register:hover { background: var(--orange-dark); }
.lang-switcher img { display: block; border-radius: 3px; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0; }
.hamburger span { display: block; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { background: var(--white); border-top: 1px solid var(--border); padding: 20px var(--container-px) 24px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.mobile-menu a { display: block; padding: 10px 0; font-size: 16px; font-weight: 600; color: var(--text-dark); border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.04em; }
.mobile-auth { display: flex; gap: 12px; }
.mobile-auth .btn-login { flex: 1; text-align: center; padding: 12px; border: 2px solid var(--text-dark); border-radius: var(--radius-sm); }
.mobile-auth .btn-register { flex: 1; text-align: center; padding: 12px; }

/* ─── BREADCRUMB ─────────────────────────────── */
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { font-size: 13px; color: var(--blue); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-hidden="true"] { color: var(--gray); font-size: 13px; }
.breadcrumb span { font-size: 13px; color: var(--text-muted); }

/* ─── SECTION 1 — HERO ───────────────────────── */
.pay-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1840 60%, #111d50 100%);
  padding-block: clamp(44px, 7vw, 80px);
  overflow: hidden;
}
.pay-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-eyebrow { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 12px; }
.pay-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 18px;
}
.pay-h1 span { color: var(--orange); display: block; }
.pay-hero-desc { font-size: clamp(14px, 1.8vw, 16px); color: rgba(255,255,255,0.72); line-height: 1.75; margin-bottom: 28px; }
.pay-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Method cards strip */
.pay-hero-methods {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
}
.methods-label {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px; text-align: center;
}

/* 2-column card grid */
.method-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Centre the lone 5th card */
.method-pill:last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 6px);
  margin-inline: auto;
}

.method-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 22px 14px 18px;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
  cursor: default;
}
.method-pill:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.method-pill-icon {
  width: 120px;
  height: 72px;
  flex-shrink: 0;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.method-pill-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.method-pill-text { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.method-name { font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.2; }
.method-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--green); background: rgba(22,163,74,0.18);
  padding: 2px 9px; border-radius: 100px; border: 1px solid rgba(22,163,74,0.3);
}

/* ─── SECTION 2 — AEO / DOES xe8 ACCEPT ──────── */
.section-aeo {
  padding-block: var(--section-py);
  background: var(--white);
  border-bottom: 3px solid var(--orange);
}
.aeo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.aeo-answer {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 16px 20px;
  border-left: 4px solid var(--orange);
  background: var(--off-white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.aeo-content p:not(.aeo-answer) { font-size: 15px; color: var(--text-body); line-height: 1.75; }

/* Trust badges */
.aeo-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.trust-badge {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.trust-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-icon { width: 64px; height: 64px; }
.trust-icon svg { width: 64px; height: 64px; }
.trust-label { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--white); line-height: 1; }
.trust-sub { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── SECTION 3 — COMPARISON TABLE ──────────── */
.section-compare {
  padding-block: var(--section-py);
  background: var(--off-white);
}
.pay-table {
  width: 100%;
  background: var(--white);
  min-width: 580px;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pay-table thead tr { background: var(--navy); }
.pay-table th { padding: 14px 16px; text-align: left; font-size: 12px; font-weight: 700; color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.pay-table td { padding: 14px 16px; font-size: 14px; color: var(--text-body); border-bottom: 1px solid var(--border); vertical-align: middle; }
.pay-table tbody tr:last-child td { border-bottom: none; }
.pay-table tbody tr:hover { background: var(--off-white); }

/* Table method cell */
.table-method { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-dark); white-space: nowrap; }
.table-icon {
  width: 68px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: contain;
  background: white;
  padding: 4px 7px;
  border: 1px solid #e5e7eb;
  vertical-align: middle;
}

/* Check / pending icons */
.check-icon, .pending-icon { display: flex; align-items: center; justify-content: center; }
.check-icon svg, .pending-icon svg { width: 22px; height: 22px; }

/* Speed pill */
.speed-pill {
  display: inline-block; padding: 4px 12px;
  background: rgba(22,163,74,0.1); color: var(--green);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 100px; border: 1px solid rgba(22,163,74,0.25); white-space: nowrap;
}
.speed-pill--blue {
  background: rgba(26,60,170,0.08); color: var(--blue);
  border-color: rgba(26,60,170,0.2);
}

/* Free badge */
.free-badge {
  display: inline-block; padding: 4px 12px;
  background: rgba(22,163,74,0.1); color: var(--green);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 100px; border: 1px solid rgba(22,163,74,0.25);
}

.table-cta { margin-top: 24px; }

/* ─── SECTION 4 — HOW TO DEPOSIT ─────────────── */
.section-deposit {
  padding-block: var(--section-py);
  background: var(--white);
}
.deposit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Steps */
.deposit-steps { display: flex; flex-direction: column; gap: 0; }
.dep-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 28px) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.dep-step--last { border-bottom: none; }

/* Connector line between steps */
.dep-step:not(.dep-step--last)::after {
  content: '';
  position: absolute;
  left: 35px;
  top: calc(clamp(20px, 3vw, 28px) + 72px);
  width: 2px;
  height: calc(100% - clamp(20px, 3vw, 28px) - 72px);
  background: var(--border);
}

.dep-step-icon { width: 72px; height: 72px; flex-shrink: 0; }
.dep-step-icon svg { width: 72px; height: 72px; }

.dep-step-num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 900;
  color: var(--orange); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 4px;
}
.dep-step-content h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800; color: var(--text-dark);
  line-height: 1.2; margin-bottom: 8px;
}
.dep-step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* At-a-glance card */
.deposit-stats-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 80px;
}
.dep-stat-card-header {
  background: var(--orange);
  padding: 16px 24px;
}
.dep-stat-card-header h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900; color: var(--white);
  letter-spacing: 0.02em;
}
.dep-stat-rows { padding: 8px 0; }
.dep-stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dep-stat-row:last-child { border-bottom: none; }
.dep-stat-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.55); }
.dep-stat-val { font-size: 15px; font-weight: 700; color: var(--white); }
.dep-stat-val.text-green { color: #4ade80; }
.deposit-stats-card .btn-primary { border-radius: 0; padding: 16px; font-size: 14px; }

/* ─── SECTION 5 — WITHDRAWALS ────────────────── */
.section-withdraw {
  padding-block: var(--section-py);
  background: var(--off-white);
}
.kyc-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 20px;
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.kyc-note-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 1px; }
.kyc-note-icon svg { width: 24px; height: 24px; }
.kyc-note p { font-size: 14px; color: var(--text-body); line-height: 1.65; }
.kyc-note strong { color: var(--blue); }

/* ─── SECTION 6 — SECURITY ───────────────────── */
.section-security {
  padding-block: var(--section-py);
  background: var(--navy);
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.security-intro .heading-split { color: var(--white); }

/* Security cards — 2x2 grid */
.security-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sec-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  transition: background 0.2s, transform 0.2s;
}
.sec-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }
.sec-card-icon { width: 56px; height: 56px; margin-bottom: 16px; }
.sec-card-icon svg { width: 56px; height: 56px; }
.sec-card h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 800; color: var(--white);
  line-height: 1.2; margin-bottom: 10px;
}
.sec-card p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ─── SECTION 7 — FAQ ────────────────────────── */
.section-faq { padding-block: var(--section-py); background: var(--white); }
.faq-container { max-width: 780px; }
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: clamp(15px, 2vw, 17px);
  font-weight: 700; color: var(--text-dark);
  cursor: pointer; list-style: none; gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }
.faq-question::after {
  content: ''; display: block; width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888ea8' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  flex-shrink: 0; transition: transform 0.25s;
}
details[open] .faq-question::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f07d00' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
details[open] .faq-question { color: var(--blue); }
.faq-answer { padding-bottom: 20px; }
.faq-answer p { font-size: 15px; color: var(--text-body); line-height: 1.75; }
.faq-answer a { color: var(--blue); text-decoration: underline; }

/* ─── SECTION 8 — CTA ────────────────────────── */
.section-cta-pay {
  padding-block: var(--section-py);
  background: var(--off-white);
  border-top: 3px solid var(--orange);
}
.pay-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.pay-cta-text .heading-split { margin-bottom: 16px; }
.pay-cta-text p { font-size: 15px; color: var(--text-muted); line-height: 1.75; max-width: 480px; margin-bottom: 0; }
.pay-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; margin-bottom: 20px; }
.pay-cta-links { display: flex; gap: 20px; flex-wrap: wrap; }
.pay-cta-links a { font-size: 14px; color: var(--blue); text-decoration: underline; }
.pay-cta-rg {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  margin-top: 4px;
}
.pay-cta-rg p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.65; }
.pay-cta-rg strong { color: rgba(255,255,255,0.85); }

/* ─── FOOTER ──────────────────────────────────── */
.site-footer { background: var(--light-gray); }
.footer-inner { max-width: var(--container-max); margin-inline: auto; padding: 60px var(--container-px) 48px; display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: clamp(32px, 5vw, 64px); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-brand p + p { margin-top: 10px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.social-links a:hover { background: var(--orange); }
.social-links svg { width: 18px; height: 18px; }
.footer-nav h4, .footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.footer-nav a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--orange); }
.footer-rg { background: var(--navy); padding: 20px var(--container-px); }
.footer-rg p { max-width: var(--container-max); margin-inline: auto; font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.65; }
.footer-rg strong { color: rgba(255,255,255,0.8); }
.footer-bottom { background: var(--navy-dark); padding: 14px var(--container-px); text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 1024px
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .main-nav ul { gap: 12px; }
  .main-nav a  { font-size: 12px; }

  .pay-hero-inner  { grid-template-columns: 1fr; }
  .aeo-grid        { grid-template-columns: 1fr; }
  .aeo-badges      { grid-template-columns: repeat(4, 1fr); }
  .deposit-grid    { grid-template-columns: 1fr; }
  .deposit-stats-card { position: static; }
  .security-grid   { grid-template-columns: 1fr; }
  .pay-cta-inner   { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
  .footer-brand    { grid-column: 1 / -1; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 768px
   Mobile-first priority layout
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  .main-nav, .header-actions { display: none; }
  .hamburger   { display: flex; }
  .header-inner { justify-content: space-between; gap: 0; }

  /* Hero */
  .pay-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .pay-hero-cta { flex-direction: column; }
  .btn-primary, .btn-outline, .btn-outline-white { text-align: center; width: 100%; }

  /* Method pills — keep 2-column grid, shrink icons */
  .method-pill { padding: 16px 10px 14px; gap: 10px; }
  .method-pill:last-child { max-width: calc(50% - 5px); }
  .method-pill-icon { width: 88px; height: 56px; padding: 6px 10px; }
  .method-name { font-size: 13px; }
  .method-tag  { font-size: 10px; }

  /* Trust badges — 2x2 on mobile */
  .aeo-badges { grid-template-columns: 1fr 1fr; }

  /* Tables — redesigned mobile card layout */
  .pay-table,
  .pay-table thead,
  .pay-table tbody,
  .pay-table th,
  .pay-table td,
  .pay-table tr { display: block; min-width: 0; }
  .pay-table thead { display: none; }
  .pay-table tbody tr {
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    padding: 0;
  }

  /* Method cell → navy card header */
  .pay-table td:first-child {
    background: var(--navy);
    padding: 12px 16px;
    border-bottom: 3px solid var(--orange);
  }
  .pay-table td:first-child::before { display: none; }
  .pay-table td:first-child .table-method {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Data cells — flex row with label left, value right */
  .pay-table td:not(:first-child) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    gap: 8px;
  }
  .pay-table td:last-child { border-bottom: none; }
  .pay-table td:not(:first-child)::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
  }

  /* Deposit steps — single column */
  .dep-step { grid-template-columns: 60px 1fr; gap: 14px; }
  .dep-step-icon, .dep-step-icon svg { width: 56px; height: 56px; }
  .dep-step:not(.dep-step--last)::after { left: 28px; }

  /* Security cards — 1 col */
  .security-cards { grid-template-columns: 1fr; }

  /* CTA */
  .pay-cta-btns { flex-direction: column; }

  /* Footer */
  .footer-inner    { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand    { grid-column: auto; }
  .footer-nav ul   { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  ≤ 480px
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .aeo-badges { grid-template-columns: 1fr 1fr; }

  /* Single-column on very small phones */
  .method-pills { grid-template-columns: 1fr; gap: 8px; }
  .method-pill { padding: 14px 16px; }
  .method-pill:last-child { max-width: 100%; margin-inline: 0; grid-column: auto; }
  .method-pill-icon { width: 80px; height: 50px; }

  /* Table icon slightly smaller in mobile card header */
  .pay-table td:first-child .table-icon {
    width: 60px;
    height: 38px;
  }

  .security-cards { grid-template-columns: 1fr; }

  /* Tighter section padding on very small screens */
  .pay-hero { padding-block: 36px; }
  .pay-hero-methods { padding: 16px; }
}

@media print {
  .site-header, .hamburger, .section-cta-pay, .site-footer { display: none; }
}

/* =============================================
   NAV + FOOTER — Benchmark (guide/shared.css)
   ============================================= */

:root {
  --nav-bg:     #ffffff;
  --nav-border: #e2e4ed;
  --nav-text:   #374151;
  --grey-light: #e2e4ed;
  --grey-mid:   #8a90a8;
  --grey-dark:  #555a6e;
  --footer-bg:  #eef0f5;
  --blue-acc:   #022a99;
  --transition: 0.2s ease;
}

.navbar {
  position: sticky; top: 0; z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.logo-xe { font-size: 1.55rem; font-weight: 900; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.logo-8  { font-size: 1.55rem; font-weight: 900; color: var(--orange); letter-spacing: -0.03em; line-height: 1; }
.nav-links { display: none; gap: 2px; align-items: center; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; color: var(--nav-text); font-size: 0.82rem; font-weight: 600;
  padding: 6px 11px; border-radius: var(--radius-sm);
  letter-spacing: 0.02em; text-transform: uppercase;
  transition: color var(--transition); text-decoration: none;
}
.nav-item > a:hover  { color: var(--orange); }
.nav-item > a.active { color: var(--orange); }
.nav-item.has-dropdown > a::after {
  content: ''; display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 5px; vertical-align: middle; opacity: 0.6;
  transition: transform var(--transition);
}
.dropdown {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: var(--radius-md); min-width: 210px;
  box-shadow: var(--shadow-md); z-index: 300; overflow: hidden;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown.open  .dropdown { display: block; }
.dropdown a {
  display: block; padding: 11px 16px; font-size: 0.82rem; font-weight: 600;
  color: var(--text-body); border-bottom: 1px solid var(--grey-light);
  transition: color var(--transition), background var(--transition);
  text-decoration: none; text-transform: none; letter-spacing: 0;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--orange); background: var(--off-white); }
.nav-right { display: none; align-items: center; gap: 10px; }

.nav-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(13,27,75,0.35);
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-login:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

@keyframes register-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(255,127,0,0.4), 0 0 0 0 rgba(255,127,0,0.25); }
  50%       { box-shadow: 0 4px 14px rgba(255,127,0,0.4), 0 0 0 8px rgba(255,127,0,0); }
}
.nav-register {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 6px;
  white-space: nowrap;
  animation: register-pulse 2.5s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.nav-register:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,127,0,0.6);
  animation: none;
  color: var(--white);
}
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.25s ease; }
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--nav-border); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.mobile-menu.open { display: block; }
.mobile-menu > a {
  display: block; color: var(--text-dark); font-size: 0.9rem; font-weight: 600;
  padding: 13px 24px; border-bottom: 1px solid var(--grey-light);
  text-transform: uppercase; letter-spacing: 0.03em;
  transition: color var(--transition), background var(--transition); text-decoration: none;
}
.mobile-menu > a:hover  { color: var(--orange); background: var(--off-white); }
.mobile-menu > a.active { color: var(--orange); }
.mobile-sub { background: var(--off-white); border-bottom: 1px solid var(--grey-light); }
.mobile-sub a {
  display: block; color: var(--grey-dark); font-size: 0.85rem; font-weight: 600;
  padding: 10px 24px 10px 36px; border-bottom: 1px solid var(--grey-light);
  transition: color var(--transition); text-decoration: none;
}
.mobile-sub a:last-child { border-bottom: none; }
.mobile-sub a:hover  { color: var(--orange); }
.mobile-menu-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px 20px;
}
.mobile-menu-actions a {
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, filter 0.2s;
}
.mobile-login {
  color: var(--navy);
  border: 2px solid rgba(13,27,75,0.35);
}
.mobile-login:hover {
  background: var(--navy);
  color: var(--white);
}
.mobile-register {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: 0 4px 12px rgba(255,127,0,0.35);
}
.mobile-register:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(255,127,0,0.5);
}
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--grey-light); padding: 10px 0; }
.breadcrumb-inner { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.8rem; color: var(--grey-mid); }
.breadcrumb-inner a { color: var(--blue-acc); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner .current { color: var(--text-dark); font-weight: 600; }
.footer { background: var(--footer-bg); border-top: 1px solid var(--grey-light); padding: 52px 0 0; color: var(--text-body); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 14px; }
.footer-logo .logo-xe { font-size: 1.6rem; }
.footer-logo .logo-8  { font-size: 1.6rem; }
.footer-desc { font-size: 0.875rem; color: var(--grey-dark); line-height: 1.7; margin-bottom: 18px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.8rem; font-weight: 700; transition: background var(--transition), transform var(--transition); text-decoration: none; }
.social-btn:hover { background: var(--orange); transform: translateY(-2px); }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dark); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--grey-dark); transition: color var(--transition); text-decoration: none; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dark); margin-bottom: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--grey-dark); line-height: 1.5; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.footer-contact-item a { color: var(--grey-dark); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--orange); }
.footer-map { margin-top: 14px; border-radius: 8px; overflow: hidden; border: 1px solid var(--grey-light); }
.footer-map iframe { display: block; width: 100%; height: 130px; border: 0; }

.footer-bottom { border-top: 1px solid var(--grey-light); padding: 18px 0; text-align: center; font-size: 0.78rem; color: var(--grey-mid); }
@media (min-width: 768px) {
  .hamburger   { display: none; }
  .nav-links   { display: flex; }
  .nav-right   { display: flex; }
  .mobile-menu { display: none !important; }
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.4fr; }
}

/* Site logo image */
.site-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo .site-logo-img,
.footer-brand .site-logo-img {
  height: 30px;
}

/* ── Scroll-to-top button ── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ff7f00;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 999;
}
#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scroll-top:hover { background: #d96b00; }
#scroll-top:focus-visible { outline: 3px solid #ff7f00; outline-offset: 3px; }
