/* ═══════════════════════════════════════════════════════════════════════════
   LI GAMING BD — 4-THEME EXECUTIVE INFO PAGES (About Us, Support, Tracking, FAQ, VPN, etc.)
   1. PC Dark (>= 1024px): Luxury Midnight-Obsidian & Champagne-Gold 3D Glass
   2. PC Light (>= 1024px): Clean Daylight Editorial (#f3f6fc / #ffffff)
   3. Mobile Dark (< 1024px): Sculpted 3D Midnight-Obsidian & Champagne-Gold Glass
   4. Mobile Light (< 1024px): 3D Glossy Pearl-Sky (#eef3fb / 3D white cards)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --ip-bg: #080d1c;
  --ip-header: rgba(15, 22, 43, 0.88);
  --ip-surface: #131b34;
  --ip-surface-2: #1b2647;
  --ip-border: rgba(148, 174, 255, 0.16);
  --ip-border-soft: rgba(255, 255, 255, 0.09);
  --ip-ink: #ffffff;
  --ip-body: #d6e0f5;
  --ip-muted: #98abc9;
  --ip-gold: #ffd84d;
  --ip-gold-ink: #171200;
  --ip-accent: #f5c518;
  --ip-chip-bg: #1c2748;
}

html.li-light-mode {
  color-scheme: light;
  --ip-bg: #f3f6fc;
  --ip-header: #dce7fa;
  --ip-surface: #ffffff;
  --ip-surface-2: #edf2fb;
  --ip-border: #d5e0f2;
  --ip-border-soft: #dfe8f7;
  --ip-ink: #0f172a;
  --ip-body: #334155;
  --ip-muted: #64748b;
  --ip-gold: #b45309;
  --ip-gold-ink: #ffffff;
  --ip-accent: #2563eb;
  --ip-chip-bg: #f4f7fd;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: #080d1c;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html:not(.li-light-mode) body {
  background:
    radial-gradient(95% 44% at 50% -6%, rgba(245, 197, 24, 0.10) 0%, rgba(56, 102, 224, 0.10) 36%, rgba(8, 13, 28, 0) 72%),
    linear-gradient(180deg, #0d1429 0%, #090e1f 54%, #060a16 100%);
  background-attachment: fixed;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ip-bg);
  color: var(--ip-body);
  font-family: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

html[data-lang="bn"] body,
html[data-lang="bn"] body *,
[lang="bn"],
#ipLangBn {
  font-family: 'Noto Sans Bengali', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  text-transform: none !important;
  font-kerning: normal !important;
  font-variant-ligatures: normal !important;
  font-feature-settings: "kern" 1, "liga" 1, "clig" 1 !important;
}

.ip-shell {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 56px;
}

/* ───────────── STICKY TOP HEADER BAR ───────────── */
.ip-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  margin: 0 -18px 26px;
  background: linear-gradient(180deg, rgba(24, 33, 62, 0.92) 0%, rgba(14, 20, 40, 0.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 174, 255, 0.16);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 10px 28px rgba(2, 6, 18, 0.36);
  border-radius: 0 0 18px 18px;
}

html.li-light-mode .ip-topbar {
  background: linear-gradient(180deg, #e2ecfc 0%, #cdddf8 100%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.20);
  box-shadow: none;
  backdrop-filter: none;
}

.ip-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ip-back-btn {
  display: none !important;
}

.ip-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ip-ink);
}

.ip-brand img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

.ip-brand span {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ip-ink);
  white-space: nowrap;
}

.ip-top-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ip-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 174, 255, 0.22);
  background:
    radial-gradient(120% 70% at 50% -18%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #24315a 0%, #161f3d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #ffe270;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.14s ease, filter 0.15s ease;
}

html.li-light-mode .ip-theme-btn {
  border: 1px solid var(--ip-border);
  background: var(--ip-surface);
  box-shadow: none;
  color: var(--ip-ink);
}

.ip-theme-btn:hover {
  border-color: #f5c518;
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.ip-theme-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Language Switcher */
.ip-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(148, 174, 255, 0.20);
  border-radius: 999px;
  background: linear-gradient(180deg, #0d1429 0%, #151e3a 100%);
  box-shadow: inset 0 2px 5px rgba(2, 6, 18, 0.50);
  flex-shrink: 0;
}

html.li-light-mode .ip-lang-switch {
  border: 1px solid var(--ip-border);
  background: var(--ip-surface);
  box-shadow: none;
}

.ip-lang-btn {
  height: 28px;
  padding: 0 13px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ip-muted);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ip-lang-btn:hover {
  color: var(--ip-ink);
}

.ip-lang-btn.active {
  background:
    radial-gradient(125% 75% at 50% -18%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #ffe782 0%, #f5b800 58%, #d49200 100%);
  color: #171200;
}

/* ───────────── HERO HEADER CARD (LUXURY 3D OBSIDIAN-GOLD DARK / CLEAN LIGHT) ───────────── */
.ip-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  margin-bottom: 22px;
  border-radius: 22px;
  background:
    radial-gradient(120% 72% at 50% -20%, rgba(245, 197, 24, 0.20) 0%, rgba(245, 197, 24, 0) 64%),
    radial-gradient(120% 60% at 15% 0%, rgba(96, 165, 250, 0.14) 0%, rgba(96, 165, 250, 0) 60%),
    linear-gradient(165deg, #212d54 0%, #151e3b 54%, #0f162e 100%);
  border: 1px solid rgba(245, 197, 24, 0.24);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(3, 7, 20, 0.56),
    0 20px 44px rgba(2, 6, 18, 0.44);
  overflow: hidden;
}

.ip-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 2.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #d99b08 26%, #ffe688 50%, #d99b08 74%, transparent 100%);
}

html.li-light-mode .ip-hero {
  background: linear-gradient(155deg, #ffffff 0%, #edf3ff 100%);
  border: 1px solid #d4e0f4;
  box-shadow: none;
}

html.li-light-mode .ip-hero::before {
  background: linear-gradient(90deg, transparent 0%, #3b82f6 35%, #f59e0b 65%, transparent 100%);
}

.ip-hero-ico {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background:
    radial-gradient(125% 75% at 50% -18%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #ffe782 0%, #f5b800 58%, #cc8800 100%);
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 8px 20px rgba(245, 184, 0, 0.24);
  color: #171200;
}

html.li-light-mode .ip-hero-ico {
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
  border: 0;
  box-shadow: none;
  color: #ffffff;
}

.ip-hero-ico svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ip-hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.ip-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.14);
  border: 1px solid rgba(245, 197, 24, 0.30);
  color: #ffe37a;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.ip-kicker:empty {
  display: none;
}

html.li-light-mode .ip-kicker {
  background: #e0ecff;
  border-color: transparent;
  color: #1d4ed8;
}

.ip-hero h1 {
  margin: 0;
  font-size: clamp(23px, 3.6vw, 33px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ip-ink);
}

.ip-sub {
  margin: 7px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #b4c4e2;
}

html.li-light-mode .ip-sub {
  color: var(--ip-muted);
}

.ip-sub:empty {
  display: none;
}

/* ───────────── CONTENT CARDS (SCULPTED 3D GLASS IN DARK MODE) ───────────── */
.ip-main {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 26px;
}

.ip-lead {
  padding: 20px 22px;
  margin: 0;
  background:
    radial-gradient(100% 70% at 0% 0%, rgba(245, 197, 24, 0.12) 0%, rgba(245, 197, 24, 0) 64%),
    linear-gradient(175deg, #1b2547 0%, #131b36 58%, #0e1429 100%);
  border: 1px solid rgba(148, 174, 255, 0.16);
  border-left: 3.5px solid #f5c518;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 32px rgba(2, 6, 18, 0.34);
  color: var(--ip-body);
  font-size: 15.5px;
  line-height: 1.78;
}

html.li-light-mode .ip-lead {
  border-color: var(--ip-border);
  border-left: 3.5px solid #2563eb;
  background: #ffffff;
  box-shadow: none;
}

.ip-lead strong {
  color: var(--ip-ink);
  font-weight: 700;
}

.ip-sec {
  padding: 22px 24px;
  margin: 0;
  background:
    radial-gradient(120% 62% at 50% -18%, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(180deg, #192242 0%, #121933 58%, #0e142a 100%);
  border: 1px solid rgba(148, 174, 255, 0.15);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1.5px 0 rgba(3, 7, 20, 0.50),
    0 14px 32px rgba(2, 6, 18, 0.32);
}

html.li-light-mode .ip-sec {
  background: var(--ip-surface);
  border: 1px solid var(--ip-border);
  box-shadow: none;
}

.ip-sec h2 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--ip-ink);
}

.ip-num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background:
    radial-gradient(125% 75% at 50% -18%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #ffe782 0%, #f5b800 60%, #d49200 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: #171200;
  font-size: 13px;
  font-weight: 900;
}

html.li-light-mode .ip-num {
  background: #e0ecff;
  box-shadow: none;
  color: #1d4ed8;
}

.ip-num::after {
  content: none;
}

.ip-sec p {
  margin: 0;
  color: var(--ip-body);
  font-size: 15px;
  line-height: 1.8;
}

.ip-sec p + p {
  margin-top: 10px;
}

.ip-sec ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ip-sec li {
  position: relative;
  padding: 0 0 0 22px;
  color: var(--ip-body);
  font-size: 15px;
  line-height: 1.76;
}

.ip-sec li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe782 0%, #f5b800 100%);
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.45);
}

html.li-light-mode .ip-sec li::before {
  background: #2563eb;
  box-shadow: none;
}

.ip-sec strong {
  color: var(--ip-ink);
  font-weight: 700;
}

.ip-sec a {
  color: #ffe066;
  text-decoration: none;
  font-weight: 600;
}

html.li-light-mode .ip-sec a {
  color: #1d4ed8;
}

.ip-sec a:hover {
  text-decoration: underline;
}

.ip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ip-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  background:
    radial-gradient(120% 70% at 50% -18%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #223059 0%, #172142 100%);
  border: 1px solid rgba(148, 174, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

html.li-light-mode .ip-chip {
  background: var(--ip-chip-bg);
  border: 1px solid var(--ip-border);
  box-shadow: none;
  color: var(--ip-ink);
}

/* VPN & Event Guide Cards */
.vpn-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.vpn-app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 15px;
  background:
    radial-gradient(120% 70% at 50% -18%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #223059 0%, #172142 100%);
  border: 1px solid rgba(148, 174, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-decoration: none;
  color: #ffffff;
  transition: border-color 0.15s ease, transform 0.14s ease, filter 0.15s ease;
}

html.li-light-mode .vpn-app {
  background: var(--ip-surface-2);
  border: 1px solid var(--ip-border);
  box-shadow: none;
  color: var(--ip-ink);
}

.vpn-app:hover {
  border-color: #f5c518;
  transform: translateY(-2px);
  filter: brightness(1.06);
  text-decoration: none;
}

.vpn-app img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
}

.vpn-app-copy strong {
  display: block;
  font-size: 14px;
  color: var(--ip-ink);
}

.vpn-app-copy small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ip-muted);
  margin-top: 2px;
}

.vpn-app-copy small svg {
  width: 14px;
  height: 14px;
}

.bf-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.bf-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 14px;
  border-radius: 18px;
  background:
    radial-gradient(95% 60% at 50% 28%, rgba(245, 197, 24, 0.18) 0%, rgba(245, 197, 24, 0) 68%),
    linear-gradient(180deg, #1c274a 0%, #121a35 100%);
  border: 1px solid rgba(245, 197, 24, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-align: center;
}

html.li-light-mode .bf-item-card {
  background: var(--ip-surface);
  border: 1px solid var(--ip-border);
  box-shadow: none;
}

.bf-item-card img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.bf-item-card strong {
  font-size: 15px;
  color: var(--ip-ink);
}

.bf-item-badge {
  display: inline-flex;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe782 0%, #f5b800 100%);
  color: #171200;
  font-size: 12px;
  font-weight: 800;
}

.bf-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.bf-tier-box {
  padding: 12px 10px;
  border-radius: 13px;
  background:
    radial-gradient(120% 70% at 50% -18%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #212e57 0%, #162040 100%);
  border: 1px solid rgba(148, 174, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  text-align: center;
}

html.li-light-mode .bf-tier-box {
  background: var(--ip-surface-2);
  border: 1px solid var(--ip-border);
  box-shadow: none;
}

.bf-tier-box b {
  display: block;
  font-size: 18px;
  color: var(--ip-gold);
}

.bf-tier-box span {
  font-size: 12px;
  color: var(--ip-muted);
}

.bf-shot {
  margin: 14px 0 0;
}

.bf-shot img {
  display: block;
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  border: 1px solid var(--ip-border);
}

.bf-shot figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ip-muted);
}

/* ───────────── ACTION CTA BUTTONS (SCULPTED 3D GLOSSY) ───────────── */
.ip-actions,
.li-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

.ip-cta,
.li-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(148, 174, 255, 0.22);
  border-radius: 13px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1;
  color: var(--ip-ink);
  background:
    radial-gradient(125% 75% at 50% -18%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #24315a 0%, #161f3d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transition: transform 0.14s ease, border-color 0.15s ease, filter 0.15s ease;
}

html.li-light-mode .ip-cta:not(.wa):not(.store):not(.pool),
html.li-light-mode .li-cta:not(.wa):not(.store):not(.pool) {
  border: 1.5px solid #93b4e8;
  background: linear-gradient(180deg, #ffffff 0%, #e8f0fe 100%);
  box-shadow: inset 0 1px 0 #ffffff;
  color: #1e3a8a;
}

.ip-cta svg,
.li-cta svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.ip-cta:hover,
.li-cta:hover {
  transform: translateY(-1px);
  border-color: #f5c518;
  filter: brightness(1.06);
  text-decoration: none;
}

.ip-cta.wa,
.li-cta.wa,
html.li-light-mode .ip-cta.wa,
html.li-light-mode .li-cta.wa {
  background:
    radial-gradient(130% 80% at 50% -18%, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #2dd47a 0%, #14b55c 52%, #058344 100%);
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
  color: #ffffff;
}

.ip-cta.store,
.li-cta.pool,
html.li-light-mode .ip-cta.store,
html.li-light-mode .li-cta.pool {
  display: inline-flex !important;
  background:
    radial-gradient(130% 80% at 50% -18%, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #ffeb7a 0%, #ffd026 52%, #de9900 100%);
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  color: #171200;
}

/* ───────────── FOOTER DIRECTORY ───────────── */
.ip-footer {
  margin-top: 30px;
  padding: 24px 20px;
  border-radius: 20px;
  background:
    radial-gradient(120% 62% at 50% -18%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #17203d 0%, #10172e 60%, #0c1224 100%);
  border: 1px solid rgba(148, 174, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 32px rgba(2, 6, 18, 0.34);
}

html.li-light-mode .ip-footer {
  background: var(--ip-surface);
  border: 1px solid var(--ip-border);
  box-shadow: none;
}

.ip-dir-label {
  display: none !important;
}

.ip-dir {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.ip-dir a {
  padding: 8px 13px;
  border: 1px solid rgba(148, 174, 255, 0.16);
  border-radius: 11px;
  background:
    radial-gradient(120% 70% at 50% -18%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #1f2b50 0%, #151e3a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #dbe6fb;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.14s ease, filter 0.15s ease;
}

html.li-light-mode .ip-dir a {
  border: 1px solid var(--ip-border);
  background: var(--ip-surface-2);
  box-shadow: none;
  color: var(--ip-body);
}

.ip-dir a:hover {
  color: var(--ip-ink);
  border-color: #f5c518;
  transform: translateY(-1px);
}

.ip-dir a.active {
  background:
    radial-gradient(125% 75% at 50% -18%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #ffe782 0%, #f5b800 58%, #d49200 100%);
  border-color: transparent;
  color: #171200;
  font-weight: 800;
}

html.li-light-mode .ip-dir a.active,
html.li-light-mode .ip-dir a.active:hover {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-color: #1d4ed8;
  color: #ffffff;
  font-weight: 800;
}

/* Guarantee 100% Crisp Light Mode Legibility Across All Text, Links, Labels & Buttons */
html.li-light-mode body,
html.li-light-mode .ip-lead,
html.li-light-mode .ip-sec p,
html.li-light-mode .ip-sec li {
  color: #1e293b !important;
}
html.li-light-mode .ip-hero h1,
html.li-light-mode .ip-sec h2,
html.li-light-mode .ip-sec strong,
html.li-light-mode .ip-lead strong,
html.li-light-mode .ip-brand span,
html.li-light-mode .vpn-app-copy strong,
html.li-light-mode .bf-item-card strong {
  color: #0f172a !important;
}
html.li-light-mode .ip-sub,
html.li-light-mode .ip-copy,
html.li-light-mode .vpn-app-copy small,
html.li-light-mode .bf-tier-box span,
html.li-light-mode .bf-shot figcaption {
  color: #475569 !important;
}
html.li-light-mode .ip-lang-btn {
  color: #334155;
}
html.li-light-mode .ip-lang-btn.active {
  color: #171200;
}
html.li-light-mode .ip-sec a {
  color: #1d4ed8 !important;
}

.ip-copy {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ip-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE (< 1024px) — REFINED 3D STOREFRONT DESIGN (DARK & LIGHT SEPARATE!)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  html:not(.li-light-mode),
  html:not(.li-light-mode) body {
    background:
      radial-gradient(110% 44% at 50% -6%, rgba(245, 197, 24, 0.10) 0%, rgba(56, 102, 224, 0.09) 38%, rgba(8, 13, 28, 0) 72%),
      linear-gradient(180deg, #0d1429 0%, #090e1f 58%, #060a16 100%) !important;
  }

  .ip-shell {
    width: calc(100% - 24px);
    padding: 0 0 38px;
  }

  .ip-topbar {
    margin: 0 -12px 18px;
    padding: 11px 14px;
    border-radius: 0 0 16px 16px;
  }

  html:not(.li-light-mode) .ip-topbar {
    background: linear-gradient(180deg, rgba(24, 33, 62, 0.94) 0%, rgba(14, 20, 40, 0.94) 100%);
    border-bottom: 1px solid rgba(148, 174, 255, 0.16);
  }

  html.li-light-mode .ip-topbar {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 50%),
      linear-gradient(180deg, #dce7fa 0%, #c1d4f5 56%, #aac3ee 100%);
    border-bottom: 1px solid rgba(30, 58, 138, 0.24);
  }

  /* Mobile Dark: Sleek Midnight-Obsidian & Champagne-Gold 3D Cards (zero loud washed blue!) */
  html:not(.li-light-mode) .ip-hero {
    padding: 18px 16px;
    border: 1px solid rgba(245, 197, 24, 0.24);
    border-radius: 20px;
    background:
      radial-gradient(125% 74% at 50% -18%, rgba(245, 197, 24, 0.20) 0%, rgba(245, 197, 24, 0) 64%),
      linear-gradient(170deg, #212d54 0%, #151e3b 56%, #0f162e 100%);
    box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.22), inset 0 -1.5px 0 rgba(3, 7, 20, 0.54);
  }

  html:not(.li-light-mode) .ip-lead,
  html:not(.li-light-mode) .ip-sec,
  html:not(.li-light-mode) .ip-footer {
    border: 0;
    border-radius: 18px;
    background:
      radial-gradient(120% 64% at 50% -16%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 62%),
      linear-gradient(175deg, #192242 0%, #121933 58%, #0d1327 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1.5px 0 rgba(3, 7, 20, 0.50);
  }

  html:not(.li-light-mode) .ip-lead {
    border-left: 3.5px solid #ffd84d;
  }

  html:not(.li-light-mode) .ip-chip,
  html:not(.li-light-mode) .ip-dir a,
  html:not(.li-light-mode) .vpn-app {
    border: 0;
    background:
      radial-gradient(120% 70% at 50% -18%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 64%),
      linear-gradient(180deg, #223059 0%, #162040 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    color: #e6efff;
  }

  html:not(.li-light-mode) .ip-dir a.active {
    background:
      radial-gradient(125% 75% at 50% -18%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 62%),
      linear-gradient(180deg, #ffe782 0%, #f5b800 58%, #d49200 100%);
    color: #171200;
  }

  /* Mobile Light Theme: Glossy Pearl-White 3D (matches Mobile Storefront Light!) */
  html.li-light-mode,
  html.li-light-mode body {
    background: #eef3fb !important;
  }

  html.li-light-mode .ip-hero {
    padding: 18px 16px;
    border: 1px solid #cddbf4;
    border-radius: 20px;
    background:
      radial-gradient(125% 74% at 50% -12%, #ffffff 0%, rgba(255, 255, 255, 0.94) 44%, rgba(255, 255, 255, 0) 64%),
      linear-gradient(180deg, #ffffff 0%, #eef4ff 48%, #d4e2fa 90%, #e7effe 100%);
    box-shadow: inset 0 2px 0 #ffffff;
  }

  html.li-light-mode .ip-hero::before {
    display: none;
  }

  html.li-light-mode .ip-lead,
  html.li-light-mode .ip-sec,
  html.li-light-mode .ip-footer {
    border: 1px solid #d5e1f5;
    border-radius: 18px;
    background:
      radial-gradient(120% 65% at 50% -12%, #ffffff 0%, rgba(255, 255, 255, 0.9) 46%, rgba(255, 255, 255, 0) 64%),
      linear-gradient(180deg, #ffffff 0%, #f1f6ff 56%, #e0eafc 100%);
    box-shadow: inset 0 1.5px 0 #ffffff;
  }

  html.li-light-mode .ip-lead {
    border-left: 3.5px solid #2563eb;
  }

  html.li-light-mode .ip-chip,
  html.li-light-mode .ip-dir a,
  html.li-light-mode .vpn-app {
    border: 1px solid #cbd9f2;
    background: linear-gradient(180deg, #ffffff 0%, #e7effd 100%);
    color: #0f172a;
  }

  html.li-light-mode .ip-dir a.active {
    border-color: #1d4ed8;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
  }

  /* Glossy 3D Mobile Action Buttons (ZERO outer bottom shadow!) */
  .ip-cta.wa,
  .li-cta.wa,
  html.li-light-mode .ip-cta.wa,
  html.li-light-mode .li-cta.wa {
    background:
      radial-gradient(130% 80% at 50% -18%, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0) 64%),
      linear-gradient(180deg, #34de7a 0%, #14b85e 50%, #058344 92%, #0c9c56 100%);
    border: 0;
    box-shadow: none;
    color: #ffffff;
  }

  .ip-cta.store,
  .li-cta.pool,
  html.li-light-mode .ip-cta.store,
  html.li-light-mode .li-cta.pool {
    background:
      radial-gradient(130% 80% at 50% -18%, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0) 64%),
      linear-gradient(180deg, #ffeb7a 0%, #ffd026 50%, #e29d00 92%, #f4b714 100%);
    border: 0;
    color: #171200;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .ip-brand img {
    height: 24px;
  }
  .ip-brand span {
    font-size: 13.5px;
  }
  .ip-lang-btn {
    height: 26px;
    padding: 0 11px;
    font-size: 12px;
  }
  .ip-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ip-hero-ico {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 13px;
  }
  .ip-hero-ico svg {
    width: 22px;
    height: 22px;
  }
  .ip-lead {
    padding: 15px 15px;
    font-size: 14.5px;
  }
  .ip-sec {
    padding: 16px 15px;
  }
  .ip-sec h2 {
    font-size: 16.5px;
  }
  .ip-sec p,
  .ip-sec li {
    font-size: 14.5px;
  }
  .ip-cta,
  .li-cta {
    width: 100%;
  }
  .bf-showcase {
    grid-template-columns: 1fr;
  }
  .bf-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
