:root {
  --app-bg: #f7f9ff;
  --topbar-height: 72px;
  --bottom-nav-height: 96px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bottom-nav-safe: calc(var(--bottom-nav-height) + var(--safe-bottom) + 8px);
  --card-bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --brand: #6d5efc;
  --brand-2: #8a7cff;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius: 20px;
  --stroke: rgba(17, 24, 39, 0.10);
  --stroke-card: rgba(109, 94, 252, 0.12);
  --card-shadow: 0 10px 30px rgba(109, 94, 252, 0.06);
  --accent: #ff7a2f;
  --accent-2: #ffa15d;
  --color-sky-blue: #529CEB;
  --color-deep-indigo: #43388C;
  --color-orchid-purple: #B24696;
  --active-nav-gradient: linear-gradient(135deg, var(--brand) 0%, var(--color-orchid-purple) 100%);
  --active-nav-glow: rgba(109, 94, 252, 0.2);
}

html[data-bs-theme="dark"] {
  --app-bg: #0b1220;
  --card-bg: #0f1a30;
  --text: #e5e7eb;
  --muted: #9aa4b2;
  --brand: #8a7cff;
  --brand-2: #b2a9ff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-card: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --accent: #ff8b44;
  --accent-2: #ffb07a;
  --active-nav-gradient: linear-gradient(135deg, #8a7cff 0%, #ff85df 100%);
  --active-nav-glow: rgba(255, 133, 223, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

img,
svg,
canvas,
video,
iframe {
  max-width: 100%;
  height: auto;
}

body.app-bg {
  overflow-x: hidden;
  background: radial-gradient(1200px 500px at 60% -40%, rgba(109, 94, 252, 0.16), transparent 60%),
    radial-gradient(1000px 400px at 20% 0%, rgba(138, 124, 255, 0.12), transparent 55%),
    var(--app-bg);
  color: var(--text);
}

@media (max-width: 767.98px) {
  body.app-bg {
    padding-top: 0;
  }
}

html[data-bs-theme="dark"] body.app-bg {
  background: radial-gradient(1000px 520px at 75% -10%, rgba(109, 94, 252, 0.28), transparent 62%),
    radial-gradient(900px 520px at 20% 0%, rgba(138, 124, 255, 0.18), transparent 62%),
    linear-gradient(180deg, #070b14, #0b1220 55%, #070b14);
}

/* Unified app container (replaces: container-fluid px-3 px-md-4) */
.app-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 14px;
}

@media (min-width: 400px) {
  .app-container {
    padding-inline: 16px;
  }
}

@media (min-width: 768px) {
  .app-container {
    padding-inline: 22px;
  }
}

/* Desktop-only: widen layout without affecting mobile responsiveness */
@media (min-width: 992px) {
  .app-container {
    max-width: 1320px;
  }
}

@media (min-width: 1400px) {
  .app-container {
    max-width: 1440px;
  }
}

.home-topbar {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  width: 100%;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

.home-topbar .app-container > .content-wrap > div {
  position: relative;
  min-height: 48px;
}

.home-topbar .app-container > .content-wrap > div > a[href="/"] {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.cart-page .cart-topbar {
  position: relative;
  min-height: 48px;
}

.cart-page .cart-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.cart-page .cart-back-btn {
  position: relative;
  z-index: 3;
}

.home-topbar .home-nav {
  margin-inline: 0 !important;
}

.home-topbar.scrolled {
  background: color-mix(in srgb, var(--app-bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header-controls {
  margin-inline-start: auto;
  flex: 0 0 auto;
}

body.profile-page .home-topbar .profile-dashboard-topbar,
body.profile-page .home-topbar .app-container > .d-flex,
body.profile-share-page .home-topbar .profile-share-topbar,
body.profile-view-page .profile-visit-header > .app-container > .d-flex {
  position: relative;
  min-height: 48px;
}

body.profile-page .home-topbar .profile-dashboard-topbar > a[href="/"],
body.profile-page .home-topbar .app-container > .d-flex > div:first-child > a[href="/"],
body.profile-share-page .home-topbar .profile-share-topbar > div:first-child > a[href="/"] {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

body.profile-page .home-topbar .profile-dashboard-topbar > .d-flex:last-child {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

body.profile-page .home-topbar .profile-dashboard-topbar > .d-flex:last-child .dropdown-menu {
  inset-inline-end: 0;
  inset-inline-start: auto;
}

body.profile-view-page .profile-visit-header .profile-visit-brand {
  position: static;
  left: auto;
  transform: none;
  z-index: auto;
}

/* Auth (login/register) */
.auth-page {
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* Auth screens are meant to fit one viewport */
.auth-page {
  /* keep auth pages non-scrollable; reserve bottom space via padding on main */
  overflow-y: hidden;
}

.auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 420px at 50% 30%, rgba(109, 94, 252, 0.16), transparent 65%),
    radial-gradient(800px 380px at 20% 15%, rgba(138, 124, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #050812, #070b14 45%, #050812);
}

.auth-page::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255, 255, 255, 0.65) 60%, transparent 62%),
    radial-gradient(1px 1px at 35% 25%, rgba(255, 255, 255, 0.55) 60%, transparent 62%),
    radial-gradient(1px 1px at 70% 18%, rgba(255, 255, 255, 0.55) 60%, transparent 62%),
    radial-gradient(1px 1px at 82% 40%, rgba(255, 255, 255, 0.45) 60%, transparent 62%),
    radial-gradient(1px 1px at 22% 55%, rgba(255, 255, 255, 0.45) 60%, transparent 62%),
    radial-gradient(1px 1px at 55% 68%, rgba(255, 255, 255, 0.40) 60%, transparent 62%),
    radial-gradient(1px 1px at 15% 82%, rgba(255, 255, 255, 0.35) 60%, transparent 62%),
    radial-gradient(1px 1px at 88% 78%, rgba(255, 255, 255, 0.35) 60%, transparent 62%);
  filter: blur(0.2px);
}

/* Light theme: auth pages should actually look light */
html[data-bs-theme="light"] .auth-page::before {
  background:
    radial-gradient(1100px 520px at 60% -20%, rgba(109, 94, 252, 0.16), transparent 62%),
    radial-gradient(900px 520px at 15% 0%, rgba(138, 124, 255, 0.10), transparent 62%),
    var(--app-bg);
}

html[data-bs-theme="light"] .auth-page::after {
  opacity: 0.12;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(17, 24, 39, 0.35) 60%, transparent 62%),
    radial-gradient(1px 1px at 35% 25%, rgba(17, 24, 39, 0.28) 60%, transparent 62%),
    radial-gradient(1px 1px at 70% 18%, rgba(17, 24, 39, 0.28) 60%, transparent 62%),
    radial-gradient(1px 1px at 82% 40%, rgba(17, 24, 39, 0.22) 60%, transparent 62%),
    radial-gradient(1px 1px at 22% 55%, rgba(17, 24, 39, 0.22) 60%, transparent 62%),
    radial-gradient(1px 1px at 55% 68%, rgba(17, 24, 39, 0.20) 60%, transparent 62%),
    radial-gradient(1px 1px at 15% 82%, rgba(17, 24, 39, 0.18) 60%, transparent 62%),
    radial-gradient(1px 1px at 88% 78%, rgba(17, 24, 39, 0.18) 60%, transparent 62%);
}

.auth-wrap {
  /* Fit between header + fixed bottom-nav and device safe area */
  height: calc(100svh - var(--topbar-height) - var(--bottom-nav-height) - var(--safe-bottom));
  min-height: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 16px 14px;
}

.auth-shell {
  width: min(440px, 100%);
  position: relative;
  margin-top: -30px;
}

@media (max-height: 740px) {
  .auth-shell {
    margin-top: -10px;
  }
}

.auth-back {
  position: absolute;
  top: 0;
  left: 0;
}

.auth-brand {
  padding-top: 6px;
  margin-bottom: 18px;
}

.auth-card {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.auth-card-inner {
  padding: 22px 18px 20px;
  backdrop-filter: blur(10px);
}

.auth-title {
  font-weight: 900;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.95);
}

.auth-subtitle {
  line-height: 1.85;
}

.auth-label {
  display: block;
  font-weight: 700;
  color: rgba(238, 242, 255, 0.92);
  margin-bottom: 8px;
}

.auth-field {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  --auth-icon-box: 28px;
  --auth-icon-size: 20px;
  padding-block: 12px;
  /* Start side leaves room for the leading icon (RTL-safe) */
  padding-inline-start: calc(var(--auth-icon-box) + 26px);
  /* End side is minimal unless there's a trailing action (eye button) */
  padding-inline-end: 14px;
}

.auth-icon {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: var(--auth-icon-box, 28px);
  height: var(--auth-icon-box, 28px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
}

.auth-icon i {
  font-size: var(--auth-icon-size, 20px);
  line-height: 1;
  display: block;
}

/* Optional: per-icon hooks (use with auth-i--* classes) */
.auth-i {
  display: block;
  line-height: 1;
}

/* Per-field icon control (applies in login + register) */
.auth-field--email {
  --auth-icon-size: 19px;
}

.auth-field--user {
  --auth-icon-size: 22px;
}

.auth-field--at {
  --auth-icon-size: 24px;
}

.auth-field--lock {
  --auth-icon-size: 20px;
}

.auth-field--password {
  padding-inline-end: 44px;
}

.auth-input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: rgba(255, 255, 255, 0.92);
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

/* Cancel any LTR forcing for inputs on RTL pages */
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"] {
  direction: inherit;
}

.auth-eye {
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 8px;
}

.auth-eye i {
  font-size: 20px;
  line-height: 1;
  display: block;
}

.auth-field--lock .auth-icon i {
  transform: scaleX(1.25);
  transform-origin: center;
}

.auth-eye:hover {
  color: rgba(255, 255, 255, 0.75);
}

html[data-bs-theme="light"] .auth-page .text-white-50 {
  color: var(--muted) !important;
}

html[data-bs-theme="light"] .auth-card {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  box-shadow: var(--shadow);
}

html[data-bs-theme="light"] .auth-title {
  color: var(--text);
}

html[data-bs-theme="light"] .auth-label {
  color: color-mix(in srgb, var(--text) 85%, transparent);
}

html[data-bs-theme="light"] .auth-field {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

html[data-bs-theme="light"] .auth-icon {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

html[data-bs-theme="light"] .auth-input {
  color: var(--text);
}

html[data-bs-theme="light"] .auth-input::placeholder {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

html[data-bs-theme="light"] .auth-eye {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

html[data-bs-theme="light"] .auth-eye:hover {
  color: var(--text);
}

html[data-bs-theme="light"] .auth-divider {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

html[data-bs-theme="light"] .auth-divider::before,
html[data-bs-theme="light"] .auth-divider::after {
  background: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .auth-link {
  color: color-mix(in srgb, var(--brand) 90%, #000);
}

html[data-bs-theme="light"] .verify-title {
  color: var(--text);
}

html[data-bs-theme="light"] .verify-icon {
  color: var(--brand);
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.18), rgba(109, 94, 252, 0.06) 60%, transparent);
  box-shadow: 0 0 0 6px rgba(109, 94, 252, 0.08);
}

html[data-bs-theme="light"] .otp-box {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  color: var(--text);
}

html[data-bs-theme="light"] .verify-note-text {
  color: var(--muted);
}

html[data-bs-theme="light"] .verify-resend .verify-timer {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

.btn-brand {
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 88%, #000), color-mix(in srgb, var(--brand-2) 78%, #000));
  color: white;
  font-weight: 800;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 12px 30px rgba(109, 94, 252, 0.25);
}

.btn-brand:hover {
  filter: brightness(1.05);
  color: white;
}

.auth-link {
  color: color-mix(in srgb, var(--brand-2) 92%, white);
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
}

.auth-divider span {
  padding: 0 6px;
}

.google-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.10);
}

.auth-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  color: rgba(34, 197, 94, 0.95);
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .auth-wrap {
    padding: 12px 12px;
  }

  .auth-title {
    font-size: 24px;
  }
}

@media (max-width: 450px),
(max-height: 780px) {
  .auth-wrap {
    min-height: auto;
    padding: 12px 12px calc(var(--bottom-nav-height) + var(--safe-bottom) + 16px);
  }

  .auth-card-inner {
    padding: 16px 14px 12px;
  }

  .auth-title {
    font-size: 24px;
  }

  .auth-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .auth-field {
    padding-block: 10px;
  }

  .auth-status {
    gap: 6px;
    padding-bottom: 2px;
  }

  .auth-divider {
    margin: 12px 0;
  }

  .auth-foot {
    margin-top: 12px;
    font-size: 13px;
  }

  .btn.btn-brand,
  .btn.btn-hero {
    padding-block: 10px;
  }
}

/* Register: tighten spacing so it matches login height */
.auth-page--register .auth-card-inner {
  padding: 16px 14px 14px;
}

.auth-page--register .auth-label {
  margin-bottom: 6px;
}

.auth-page--register .auth-title {
  font-size: 24px;
}

.auth-page--register .auth-subtitle {
  font-size: 13px;
}

.auth-page--register .auth-field {
  padding-block: 10px;
}

.auth-page--register .btn-brand {
  padding: 11px 14px;
}

.auth-page--register .auth-form .mt-3 {
  margin-top: 0.75rem !important;
}

.auth-page--register .auth-divider {
  margin-block: 0.8rem !important;
}

.auth-wrap:has(.auth-main-card) {
  align-items: start;
  place-items: start center;
  padding-top: 0;
}

.auth-wrap:has(.auth-main-card) .app-container {
  padding-top: 0 !important;
}

.auth-wrap:has(.auth-main-card) .row.justify-content-center {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.auth-main-card {
  margin-top: 8px;
}

.auth-main-card .auth-form > .row {
  display: grid;
  grid-template-columns: 1fr;
}

.auth-main-card .auth-form > .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
}

.auth-main-card .auth-form .d-flex.align-items-center.gap-3 {
  align-items: flex-start !important;
  flex-direction: column;
  gap: 8px !important;
}

.auth-main-card .auth-form .auth-status {
  margin-inline-start: 2px;
}

body.register-page {
  overflow-y: auto;
}

body.register-page main.auth-wrap {
  height: auto;
  min-height: calc(100svh - var(--topbar-height) - var(--bottom-nav-height) - var(--safe-bottom));
  overflow-y: auto;
}

body.register-page main.auth-wrap > .app-container {
  min-height: 100%;
}

body.register-page main.auth-wrap .content-wrap {
  min-height: 100%;
}

body.register-page .auth-wrap:has(.auth-main-card) {
  align-items: center;
  place-items: center;
  padding-top: 16px;
  padding-bottom: 24px;
}

@media (min-width: 992px) and (min-height: 650px) {
  body.register-page {
    height: auto;
    overflow-y: auto;
    display: block;
  }

  body.register-page main.auth-wrap {
    height: auto;
    min-height: calc(100svh - var(--topbar-height) - var(--bottom-nav-height) - var(--safe-bottom));
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    padding-top: 16px !important;
    padding-bottom: calc(var(--bottom-nav-height) + 24px) !important;
  }

  body.register-page .portal-main-card.auth-main-card {
    max-height: none !important;
    height: auto !important;
  }

  body.register-page .portal-main-card.auth-main-card .card-body {
    height: auto !important;
    overflow: visible !important;
  }
}

/* Verify (OTP) */
.verify-hero {
  padding-top: 8px;
}

.verify-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--brand-2) 92%, white);
  border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.24), rgba(109, 94, 252, 0.06) 60%, transparent);
  box-shadow: 0 0 0 6px rgba(109, 94, 252, 0.08);
}

.verify-icon i {
  font-size: 34px;
  line-height: 1;
}

.verify-title {
  font-weight: 900;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.95);
}

.verify-subtitle {
  line-height: 1.8;
}

.verify-email {
  padding-inline-end: 14px;
}

.otp-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 362px;
  margin-inline: auto;
}

.otp-box {
  width: 52px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 55%, rgba(255, 255, 255, 0.10));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.22));
  color: rgba(238, 242, 255, 0.92);
  text-align: center;
  font-weight: 900;
  font-size: 20px;
  outline: 0;
  flex: 0 0 auto;
}

.otp-box:focus {
  border-color: color-mix(in srgb, var(--brand) 75%, white 10%);
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.18);
}

.verify-edit {
  border-radius: 14px;
  padding-block: 12px;
}

.verify-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.verify-note-text {
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* Generic icon sizing hook (reuse in future screens) */
.ui-icon {
  --ui-icon-w: auto;
  --ui-icon-h: auto;
  --ui-icon-size: 20px;
  width: var(--ui-icon-w);
  height: var(--ui-icon-h);
  font-size: var(--ui-icon-size);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ui-icon--verify-lock {
  --ui-icon-size: 26px;
  color: color-mix(in srgb, var(--brand-2) 92%, white);
}

.verify-resend .verify-timer {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 575.98px) {
  .verify-title {
    font-size: 24px;
  }

  .otp-box {
    width: 44px;
    height: 50px;
    border-radius: 13px;
  }

  body.portal-page {
    overflow-x: hidden;
  }

  body.portal-page .app-container,
  body.portal-page .content-wrap,
  body.portal-page .portal-main-card,
  body.portal-page .auth-main-card,
  body.portal-page .card-body,
  body.portal-page .row,
  body.portal-page [class*="col-"] {
    min-width: 0;
  }

  body.portal-page main.auth-wrap {
    padding-inline: 10px;
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 14px);
  }

  body.portal-page .portal-main-card.auth-main-card {
    padding: 14px !important;
    border-radius: 24px;
  }

  body.portal-page .portal-main-card.auth-main-card .card-body {
    padding: 0 !important;
  }

  body.portal-page .portal-title {
    font-size: 20px;
    line-height: 1.35;
  }

  body.portal-page .portal-subtitle {
    font-size: 13px;
    line-height: 1.65;
  }

  .otp-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    max-width: 100%;
    width: 100%;
  }

  .otp-box {
    width: 100%;
    min-width: 0;
  }

  .verify-edit {
    padding-block: 0;
  }

  body.portal-page .auth-field[style*="justify-content-between"] {
    flex-wrap: wrap;
    justify-content: flex-start !important;
  }

  body.portal-page .auth-field[style*="justify-content-between"] > div {
    min-width: 0;
    flex-wrap: wrap;
  }

  .verify-resend {
    line-height: 1.8;
  }
}

/* Profile */
.notif-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 14px rgba(109, 94, 252, 0.22);
}

.dropdown-toggle-no-caret::after {
  display: none !important;
}

.dropdown-menu .dropdown-item.selected,
.dropdown-menu .dropdown-item.active {
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.16), rgba(178, 70, 150, 0.16));
  color: var(--text);
  font-weight: 800;
}

.dropdown-menu .dropdown-item.selected:disabled,
.dropdown-menu .dropdown-item.active:disabled {
  opacity: 1;
  cursor: default;
}

html[data-bs-theme="dark"] .dropdown-menu .dropdown-item.selected,
html[data-bs-theme="dark"] .dropdown-menu .dropdown-item.active {
  color: rgba(238, 242, 255, 0.96);
}

.notif-menu {
  width: min(300px, calc(100vw - 28px));
  margin-top: 14px !important;
  inset-inline-start: 50% !important;
  inset-inline-end: auto !important;
  transform: translateX(-50%) !important;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 250, 255, 0.90));
  border: 1px solid rgba(109, 94, 252, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(20, 24, 42, 0.18);
  overflow: visible;
  padding: 0;
}

html[dir="rtl"] .notif-menu {
  transform: translateX(50%) !important;
}

.notif-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  inset-inline-start: 50%;
  width: 20px;
  height: 20px;
  background: color-mix(in srgb, var(--card-bg) 96%, #fff);
  border-top: 1px solid rgba(109, 94, 252, 0.14);
  border-inline-start: 1px solid rgba(109, 94, 252, 0.14);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 4px 0 0 0;
}

html[dir="ltr"] .notif-menu::before {
  inset-inline-start: 50%;
  inset-inline-end: auto;
}

.notif-head {
  position: relative;
  min-height: 74px;
  padding: 14px 18px !important;
  background:
    linear-gradient(135deg, rgba(109, 94, 252, 0.08), rgba(178, 70, 150, 0.05));
  border-bottom: 1px solid rgba(109, 94, 252, 0.10);
  border-radius: 20px 20px 0 0;
}

.notif-head::before {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: rgba(109, 94, 252, 0.10);
  border: 1px solid rgba(109, 94, 252, 0.10);
  margin-inline-end: 12px;
  flex: 0 0 auto;
}

.notif-head::after {
  content: "\F18A";
  position: absolute;
  top: 50%;
  inset-inline-start: 29px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: var(--brand);
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 16a2 2 0 0 0 1.985-1.75h-3.97A2 2 0 0 0 8 16m.104-14.804a1.5 1.5 0 0 0-2.208 0A5.5 5.5 0 0 0 2.5 6.25v3.15L1.12 11.47A1 1 0 0 0 1.95 13h12.1a1 1 0 0 0 .83-1.53L13.5 9.4V6.25a5.5 5.5 0 0 0-3.396-5.054M8 2a4.5 4.5 0 0 1 4.5 4.25v3.45l1.53 2.3H1.97L3.5 9.7V6.25A4.5 4.5 0 0 1 8 2'/%3E%3C/svg%3E")
    center / 24px 24px no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 16a2 2 0 0 0 1.985-1.75h-3.97A2 2 0 0 0 8 16m.104-14.804a1.5 1.5 0 0 0-2.208 0A5.5 5.5 0 0 0 2.5 6.25v3.15L1.12 11.47A1 1 0 0 0 1.95 13h12.1a1 1 0 0 0 .83-1.53L13.5 9.4V6.25a5.5 5.5 0 0 0-3.396-5.054M8 2a4.5 4.5 0 0 1 4.5 4.25v3.45l1.53 2.3H1.97L3.5 9.7V6.25A4.5 4.5 0 0 1 8 2'/%3E%3C/svg%3E")
    center / 24px 24px no-repeat;
}

.notif-head::after {
  width: auto;
  height: auto;
  background: transparent;
  -webkit-mask: none;
  mask: none;
  color: var(--brand);
  font-family: "bootstrap-icons" !important;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}

.notif-head .fw-bold {
  color: var(--text) !important;
  font-size: 19px;
  font-weight: 900 !important;
  margin-inline-end: auto;
}

.notif-head .auth-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.notif-head .auth-link::before {
  content: "\F284";
  font-family: "bootstrap-icons";
  font-size: 15px;
}

html[dir="ltr"] .notif-head .auth-link::before {
  content: "\F285";
}

.notif-list {
  padding: 0;
}

.notif-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 18px;
  border-radius: 0;
  border-bottom: 1px solid rgba(109, 94, 252, 0.08);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
}

.notif-item:hover {
  background: rgba(109, 94, 252, 0.05);
  transform: translateX(-2px);
}

html[dir="ltr"] .notif-item:hover {
  transform: translateX(2px);
}

.notif-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(109, 94, 252, 0.12);
}

.notif-dot.is-muted {
  background: color-mix(in srgb, var(--muted) 45%, transparent);
  box-shadow: none;
}

.notif-title {
  font-weight: 900;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.notif-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.7;
}

.notif-time {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 700;
}

.notif-title.text-truncate,
.notif-sub.text-truncate {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
}

.notif-settings {
  min-height: 56px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(109, 94, 252, 0.07), rgba(178, 70, 150, 0.04));
  border-radius: 0 0 20px 20px;
  font-size: 13px;
  font-weight: 800;
}

.notif-settings:hover {
  color: var(--brand);
}

.notif-settings-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  color: var(--brand);
  background: rgba(109, 94, 252, 0.10);
  border: 1px solid rgba(109, 94, 252, 0.10);
}

html[data-bs-theme="dark"] .notif-menu {
  background:
    linear-gradient(180deg, rgba(15, 26, 48, 0.96), rgba(9, 15, 29, 0.96));
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.52);
}

html[data-bs-theme="dark"] .notif-menu::before {
  background: rgba(15, 26, 48, 0.96);
  border-color: rgba(255, 255, 255, 0.10);
}

html[data-bs-theme="dark"] .notif-head,
html[data-bs-theme="dark"] .notif-settings {
  background:
    linear-gradient(135deg, rgba(109, 94, 252, 0.14), rgba(178, 70, 150, 0.08));
}

html[data-bs-theme="dark"] .notif-title,
html[data-bs-theme="dark"] .notif-settings {
  color: rgba(238, 242, 255, 0.96);
}

html[data-bs-theme="dark"] .notif-sub,
html[data-bs-theme="dark"] .notif-time {
  color: rgba(226, 232, 240, 0.62);
}

@media (max-width: 575.98px) {
  .notif-menu {
    width: calc(100vw - 20px);
    border-radius: 18px;
  }

  .notif-head {
    min-height: 72px;
    padding: 14px 16px !important;
  }

  .notif-head::before {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .notif-head::after {
    inset-inline-start: 27px;
    width: 21px;
    height: 21px;
    -webkit-mask-size: 21px 21px;
    mask-size: 21px 21px;
    font-size: 21px;
  }

  .notif-head .fw-bold {
    font-size: 19px;
  }

  .notif-head .auth-link {
    font-size: 14px;
  }

  .notif-item {
    min-height: 84px;
    grid-template-columns: 14px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 16px;
  }

  .notif-title {
    font-size: 15px;
  }

  .notif-sub,
  .notif-time {
    font-size: 12px;
  }

  .notif-settings {
    min-height: 58px;
    padding: 12px 16px;
  }
}

.profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--brand-2) 75%, transparent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  flex: 0 0 auto;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-preview-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.16), rgba(15, 26, 48, 0.82));
  border: 1px solid rgba(145, 131, 255, 0.26);
  border-radius: 22px;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.profile-preview-card:hover {
  transform: translateY(-1px);
  color: inherit;
  border-color: rgba(145, 131, 255, 0.42);
}

.profile-preview-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #e8e1ff;
  background: rgba(109, 94, 252, 0.20);
  border: 1px solid rgba(145, 131, 255, 0.24);
}

.profile-preview-icon i {
  font-size: 24px;
  line-height: 1;
}

.profile-preview-title {
  font-weight: 900;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.2;
}

.profile-preview-sub {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.profile-preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  color: #f5f1ff;
  font-weight: 900;
  font-size: 15px;
  border: 1px solid rgba(145, 131, 255, 0.58);
  background: rgba(109, 94, 252, 0.16);
  flex: 0 0 auto;
  white-space: nowrap;
}

.profile-preview-cta i {
  font-size: 18px;
}

.profile-hero {
  background:
    radial-gradient(900px 380px at 20% 40%, rgba(109, 94, 252, 0.20), transparent 62%),
    radial-gradient(900px 420px at 90% 10%, rgba(138, 124, 255, 0.14), transparent 60%),
    linear-gradient(135deg, rgba(15, 26, 48, 0.72), rgba(11, 18, 32, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
}

.profile-hero-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.profile-hero-big {
  font-weight: 900;
  font-size: clamp(22px, 2vw + 12px, 34px);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 10px;
}

.profile-hero-sub {
  line-height: 1.85;
}

.profile-hero-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #f4efff;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid rgba(145, 131, 255, 0.46);
  background: rgba(109, 94, 252, 0.14);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.profile-hero-preview-link i {
  font-size: 16px;
  line-height: 1;
}

.profile-hero-preview-link:hover {
  color: #ffffff;
  background: rgba(109, 94, 252, 0.20);
  border-color: rgba(175, 164, 255, 0.72);
}

.profile-hero-rocket-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 0 0 auto;
}

.profile-hero-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #f4efff;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid rgba(145, 131, 255, 0.46);
  background: rgba(109, 94, 252, 0.14);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.profile-hero-preview-link i {
  font-size: 16px;
  line-height: 1;
}

.profile-hero-preview-link:hover {
  color: #ffffff;
  background: rgba(109, 94, 252, 0.20);
  border-color: rgba(175, 164, 255, 0.72);
}

.profile-hero-rocket-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 0 0 auto;
}

.profile-hero-rocket {
  width: 86px;
  height: 86px;
  position: relative;
  flex: 0 0 auto;
}

.profile-hero-rocket .rocket {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.25), rgba(0, 0, 0, 0.16));
  border: 1px solid color-mix(in srgb, var(--brand) 35%, rgba(255, 255, 255, 0.10));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.profile-hero-rocket .rocket i {
  font-size: 34px;
  color: color-mix(in srgb, var(--brand-2) 90%, white);
}

.profile-hero-rocket .rocket-ring {
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 6px rgba(109, 94, 252, 0.08);
}

.progress-ring-wrap {
  width: min(340px, 100%);
}

.progress-ring {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
  --p: 0;
  background:
    conic-gradient(color-mix(in srgb, var(--brand) 88%, white) calc(var(--p) * 1%), rgba(255, 255, 255, 0.10) 0);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.progress-ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.progress-ring-inner {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
}

.progress-ring-num {
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
}

/* Visitor profile */
.profile-view-page {
  min-height: 100dvh;
}

.profile-view-page .content-wrap {
  display: grid;
  gap: 18px;
}

.profile-visit-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  backdrop-filter: blur(18px);
  background: rgba(11, 18, 32, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-visit-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-visit-icon-btn {
  width: 46px;
  height: 46px;
}

.profile-visit-title {
  font-weight: 900;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.2;
}

.profile-visit-sub {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 2px;
}

.profile-visit-number {
  min-width: 58px;
  text-align: left;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.92);
}



.profile-steps,
.profile-perk {
  background: rgba(15, 26, 48, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
}

.profile-nav-cards {
  display: grid;
  gap: 14px;
}

.profile-action-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(15, 26, 48, 0.55);
  text-decoration: none;
  color: inherit;
}

.profile-action-card:hover {
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  transform: translateY(-1px);
}

.profile-action-gain {
  flex: 0 0 auto;
  min-width: 52px;
  color: #55d06a;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.profile-action-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(145, 131, 255, 0.58);
  background: rgba(109, 94, 252, 0.08);
  color: #d7d0ff;
  border-radius: 18px;
  width: 132px;
  min-width: 132px;
  height: 46px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.profile-header-view-link {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(145, 131, 255, 0.58);
  background: rgba(109, 94, 252, 0.12);
  color: #e7e2ff;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.profile-header-view-link i {
  font-size: 18px;
  line-height: 1;
}

.profile-header-view-link:hover {
  color: #ffffff;
  border-color: rgba(175, 164, 255, 0.78);
  background: rgba(109, 94, 252, 0.20);
}

.profile-header-meta {
  display: grid;
  gap: 2px;
  text-decoration: none !important;
  color: inherit;
  -webkit-text-decoration: none;
  text-decoration-thickness: 0;
}

.profile-header-meta *,
.profile-header-meta:hover,
.profile-header-meta:focus,
.profile-header-meta:focus-visible {
  text-decoration: none !important;
  color: inherit;
}

.profile-header-meta * {
  text-decoration: none !important;
  text-decoration-thickness: 0;
}

.profile-action-copy {
  flex: 1 1 auto;
  text-align: center;
  min-width: 0;
}

.profile-action-copy .profile-nav-title {
  font-size: 20px;
  margin-bottom: 2px;
}

.profile-action-copy .profile-nav-sub {
  font-size: 16px;
  line-height: 1.5;
}

.profile-action-icon {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 17, 33, 0.88);
  display: grid;
  place-items: center;
  color: #b8aaff;
  font-size: 30px;
  box-shadow: inset 0 0 0 1px rgba(109, 94, 252, 0.04);
}

.profile-purchase-grid {
  display: grid;
  gap: 12px;
}

.profile-purchase-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.16);
}

.profile-purchase-item.is-active {
  border-color: rgba(109, 94, 252, 0.28);
  box-shadow: 0 0 0 1px rgba(109, 94, 252, 0.10) inset;
}

.profile-purchase-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #f7d37f;
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.20), rgba(0, 0, 0, 0.14));
  flex: 0 0 auto;
}

.profile-purchase-icon.is-blue {
  color: #7ec8ff;
}

.profile-purchase-icon.is-green {
  color: #8ee6a7;
}

.profile-purchase-content {
  min-width: 0;
  flex: 1 1 auto;
}

.profile-purchase-title {
  font-weight: 800;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.96);
}

.profile-purchase-sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  margin-top: 4px;
  line-height: 1.7;
}

.profile-purchase-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #dff9dd;
  background: rgba(61, 166, 88, 0.16);
  border: 1px solid rgba(61, 166, 88, 0.26);
  white-space: nowrap;
}

.profile-purchase-badge.is-muted {
  color: #d8cffd;
  background: rgba(109, 94, 252, 0.12);
  border-color: rgba(109, 94, 252, 0.22);
}

.profile-nav-card,
.profile-edit-card {
  background: rgba(15, 26, 48, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  overflow: hidden;
}

.profile-nav-title {
  font-weight: 900;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
}

.profile-nav-sub {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.profile-nav-card .btn {
  margin-top: auto;
}

.profile-edit-card .card-body {
  padding: 18px;
}

.profile-edit-hero {
  display: flex;
  align-items: Center;
  Justify-content: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.profile-edit-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--brand-2) 92%, white);
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.22), rgba(0, 0, 0, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.10);
  flex: 0 0 auto;
}

.profile-edit-icon i {
  font-size: 26px;
}

.profile-edit-title {
  font-weight: 900;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
}

.profile-edit-sub {
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.7;
}

.profile-form .form-control,
.profile-form .form-select,
.profile-form .form-control:focus {
  border-radius: 16px;
}

.profile-form .form-label {
  font-weight: 800;
  margin-bottom: 8px;
}

.profile-photo-box {
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.14);
  padding: 18px;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.profile-photo-stack {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.profile-photo-preview {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-edit-btn {
  position: absolute;
  inset-inline-end: 4px;
  inset-block-end: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(10, 12, 22, 0.96), rgba(22, 26, 38, 0.98));
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.34),
    0 0 0 3px rgba(109, 94, 252, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-photo-edit-btn i {
  font-size: 14px;
  line-height: 1;
}

.profile-photo-edit-btn:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(109, 94, 252, 0.22);
}

.profile-photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.profile-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.16);
}

.profile-link-row.is-link-hidden {
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 0.88;
}

.profile-link-row.is-link-visible {
  border-color: rgba(109, 94, 252, 0.32);
  box-shadow: 0 0 0 1px rgba(109, 94, 252, 0.12) inset;
}

.profile-link-row .form-control {
  flex: 1 1 auto;
}

.profile-link-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--brand-2) 92%, white);
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.22), rgba(0, 0, 0, 0.14));
  flex: 0 0 auto;
}

.profile-link-row.is-link-visible .profile-link-icon {
  color: #d9d4ff;
}

.profile-link-row.is-link-hidden .profile-link-icon {
  color: rgba(255, 255, 255, 0.78);
}

html[data-bs-theme="light"] .profile-nav-card,
html[data-bs-theme="light"] .profile-edit-card {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .profile-action-card {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .profile-nav-title,
html[data-bs-theme="light"] .profile-edit-title {
  color: var(--text);
}

html[data-bs-theme="light"] .profile-action-chip {
  color: #5f55ad;
  background: rgba(109, 94, 252, 0.08);
  border-color: rgba(109, 94, 252, 0.22);
}

html[data-bs-theme="light"] .profile-action-gain {
  color: #2f9a4d;
}

html[data-bs-theme="light"] .profile-action-icon {
  background: color-mix(in srgb, var(--card-bg) 88%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: #7e73d8;
}

html[data-bs-theme="light"] .profile-nav-sub,
html[data-bs-theme="light"] .profile-edit-sub {
  color: var(--muted);
}

html[data-bs-theme="light"] .profile-photo-box,
html[data-bs-theme="light"] .profile-link-row {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

html[data-bs-theme="light"] .profile-purchase-item {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

html[data-bs-theme="light"] .profile-purchase-item.is-active {
  border-color: rgba(109, 94, 252, 0.26);
}

html[data-bs-theme="light"] .profile-purchase-title {
  color: var(--text);
}

html[data-bs-theme="light"] .profile-purchase-sub {
  color: var(--muted);
}

html[data-bs-theme="light"] .profile-nav-status.is-complete {
  color: #1d7c3d;
  background: rgba(61, 166, 88, 0.12);
  border-color: rgba(61, 166, 88, 0.22);
}

html[data-bs-theme="light"] .profile-nav-status.is-pending {
  color: #5f55ad;
  background: rgba(109, 94, 252, 0.08);
  border-color: rgba(109, 94, 252, 0.18);
}

html[data-bs-theme="light"] .profile-visit-header {
  background: rgba(247, 249, 255, 0.82);
  border-bottom-color: rgba(17, 24, 39, 0.08);
}

html[data-bs-theme="light"] .profile-visit-title,
html[data-bs-theme="light"] .profile-visit-number,
html[data-bs-theme="light"] .profile-visit-name,
html[data-bs-theme="light"] .profile-visit-stat-value {
  color: var(--text);
}

html[data-bs-theme="light"] .profile-visit-sub,
html[data-bs-theme="light"] .profile-visit-tagline,
html[data-bs-theme="light"] .profile-visit-bio--muted,
html[data-bs-theme="light"] .profile-visit-stat-label {
  color: var(--muted);
}

html[data-bs-theme="light"] .profile-visit-card,
html[data-bs-theme="light"] .profile-visit-stat,
html[data-bs-theme="light"] .profile-visit-link,
html[data-bs-theme="light"] .profile-visit-badge {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .profile-view-page .profile-visit-link {
  color: #5f55ad;
  background: rgba(109, 94, 252, 0.08);
  border-color: rgba(109, 94, 252, 0.18);
  box-shadow: inset 0 0 0 1px rgba(109, 94, 252, 0.04);
}

html[data-bs-theme="light"] .profile-view-page .profile-visit-link i {
  color: #6d5efc;
}

html[data-bs-theme="light"] .profile-view-page .profile-visit-link:hover {
  color: #4f3bd1;
  background: rgba(109, 94, 252, 0.14);
  border-color: rgba(109, 94, 252, 0.32);
}

@media (max-width: 575.98px) {
  .profile-hero .card-body {
    padding: 14px !important;
  }

  .profile-hero .row {
    --bs-gutter-y: 0.75rem;
  }

  .profile-hero .d-flex.align-items-start.justify-content-between.gap-3 {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .profile-hero-rocket-stack {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .profile-hero-preview-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .profile-hero-rocket {
    width: 56px;
    height: 56px;
  }

  .profile-hero-rocket .rocket {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .profile-hero-rocket .rocket i {
    font-size: 24px;
  }

  .profile-hero-rocket .rocket-ring {
    inset: -8px;
    border-radius: 20px;
  }

  .profile-hero-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .profile-hero-big {
    font-size: clamp(18px, 6vw, 24px);
    margin-bottom: 0;
  }

  .progress-ring-wrap {
    width: 100%;
  }

  .progress-ring {
    width: 170px;
    height: 170px;
  }

  .progress-ring::before,
  .progress-ring-inner {
    inset: 10px;
  }

  .progress-ring-num {
    font-size: 28px;
  }

  .profile-hero-preview-wrap {
    margin-bottom: 10px;
    justify-content: flex-start;
  }

  .profile-hero-preview-link {
    width: 100%;
    justify-content: center;
    min-height: 42px;
    font-size: 13px;
  }

  .profile-header-meta .profile-header-name,
  .profile-header-meta .profile-header-sub {
    display: inline;
  }

  .profile-header-meta .profile-header-sub {
    display: none;
  }

  .profile-header-meta .profile-header-name {
    display: inline-block;
    font-size: 13px;
    line-height: 1.2;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .profile-action-card {
    min-height: auto;
    padding: 16px;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .profile-action-gain {
    min-width: 0;
    font-size: 16px;
  }

  .profile-action-chip {
    width: 118px;
    min-width: 118px;
    height: 42px;
    font-size: 16px;
    padding: 0 10px;
  }

  .profile-header-view-link {
    width: 34px;
    height: 34px;
  }

  .profile-action-copy {
    order: 3;
    flex-basis: 100%;
    text-align: right;
  }

  .profile-action-copy .profile-nav-title {
    font-size: 18px;
  }

  .profile-action-copy .profile-nav-sub {
    font-size: 14px;
  }

  .profile-action-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 26px;
  }

  .profile-edit-hero {
    align-items: flex-start;
  }

  .profile-link-row {
    flex-wrap: wrap;
  }

  .profile-link-row .form-control {
    width: 100%;
    flex-basis: 100%;
  }

  .profile-visit-header .app-container {
    padding-inline: 10px;
  }

  .profile-visit-actions {
    gap: 8px;
  }

  .profile-visit-icon-btn {
    width: 42px;
    height: 42px;
  }

  .profile-visit-title {
    font-size: 16px;
  }

  .profile-visit-sub {
    font-size: 12px;
  }

  .profile-visit-number {
    min-width: 42px;
    font-size: 24px;
  }

  .profile-visit-card {
    border-radius: 24px;
    padding: 16px 12px 14px;
  }

  .profile-visit-avatar-wrap {
    width: 132px;
    height: 132px;
  }

  .profile-visit-avatar-action {
    width: 34px;
    height: 34px;
    bottom: 4px;
    left: 4px;
  }

  .profile-visit-avatar {
    width: 110px;
    height: 110px;
  }

  .profile-visit-follow {
    min-width: 132px;
    min-height: 42px;
    font-size: 15px;
    padding: 0 16px;
  }

  .profile-visit-name {
    font-size: 21px;
  }

  .profile-visit-bio {
    font-size: 15px;
  }

  .profile-visit-links {
    gap: 10px;
  }

  .profile-visit-link {
    width: 46px;
    height: 46px;
  }

  .profile-visit-stats {
    gap: 10px;
  }

  .profile-visit-stat {
    padding: 14px 8px;
    border-radius: 18px;
  }

  .profile-visit-stat-value {
    font-size: 22px;
  }
}

.profile-steps-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
}

.profile-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.profile-step+.profile-step {
  margin-top: 12px;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--brand-2) 92%, white);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.22), rgba(0, 0, 0, 0.16));
  flex: 0 0 auto;
}

.step-icon i {
  font-size: 22px;
}

.step-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2px;
}

.btn-outline-brand {
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 55%, rgba(255, 255, 255, 0.10));
  color: color-mix(in srgb, var(--brand-2) 92%, white);
  background: rgba(0, 0, 0, 0.12);
  padding: 10px 16px;
  font-weight: 800;
}

.btn-outline-brand:hover {
  background: rgba(109, 94, 252, 0.14);
  color: color-mix(in srgb, var(--brand-2) 92%, white);
}

.step-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.step-plus {
  color: rgba(34, 197, 94, 0.95);
  font-weight: 900;
  font-size: 18px;
}

.perk-illustration {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.18), rgba(0, 0, 0, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: color-mix(in srgb, var(--brand-2) 92%, white);
  flex: 0 0 auto;
}

.perk-illustration i {
  font-size: 34px;
}

.perk-badge {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.20), rgba(0, 0, 0, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: color-mix(in srgb, var(--brand) 88%, white);
  flex: 0 0 auto;
}

.perk-badge i {
  font-size: 26px;
}

@media (max-width: 575.98px) {
  .progress-ring {
    width: 220px;
    height: 220px;
  }

  .progress-ring-num {
    font-size: 48px;
  }

  .profile-step {
    flex-direction: column;
    align-items: stretch;
  }

  .step-meta {
    justify-content: space-between;
  }
}

/* Profile: light theme overrides */
html[data-bs-theme="light"] .profile-page .text-white {
  color: var(--text) !important;
}

html[data-bs-theme="light"] .profile-page .text-white-50 {
  color: var(--muted) !important;
}

html[data-bs-theme="light"] .notif-dot.is-muted {
  background: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .notif-title {
  color: var(--text);
}

html[data-bs-theme="light"] .notif-sub {
  color: var(--muted);
}

html[data-bs-theme="light"] .notif-time {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

html[data-bs-theme="light"] .profile-avatar {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  box-shadow: var(--shadow);
}

html[data-bs-theme="light"] .profile-preview-card {
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.10), rgba(255, 255, 255, 0.88));
  border-color: rgba(109, 94, 252, 0.18);
}

html[data-bs-theme="light"] .profile-preview-icon {
  color: #6d5efc;
  background: rgba(109, 94, 252, 0.10);
  border-color: rgba(109, 94, 252, 0.16);
}

html[data-bs-theme="light"] .profile-preview-title {
  color: var(--text);
}

html[data-bs-theme="light"] .profile-preview-sub {
  color: var(--muted);
}

html[data-bs-theme="light"] .profile-preview-cta {
  color: #4f3bd1;
  background: rgba(109, 94, 252, 0.10);
  border-color: rgba(109, 94, 252, 0.20);
}

html[data-bs-theme="light"] .profile-hero {
  background:
    radial-gradient(900px 380px at 20% 40%, rgba(109, 94, 252, 0.14), transparent 62%),
    radial-gradient(900px 420px at 90% 10%, rgba(138, 124, 255, 0.10), transparent 60%),
    color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .profile-hero-title,
html[data-bs-theme="light"] .profile-hero-big {
  color: var(--text);
}

html[data-bs-theme="light"] .profile-hero-preview-link {
  color: #4f3bd1;
  background: rgba(109, 94, 252, 0.10);
  border-color: rgba(109, 94, 252, 0.20);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

html[data-bs-theme="light"] .profile-hero-preview-link:hover {
  color: #3f2fc0;
  background: rgba(109, 94, 252, 0.14);
  border-color: rgba(109, 94, 252, 0.30);
}

html[data-bs-theme="light"] .profile-hero-rocket .rocket {
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.18), rgba(255, 255, 255, 0.85));
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  box-shadow: var(--shadow);
}

html[data-bs-theme="light"] .profile-hero-rocket .rocket i {
  color: var(--brand);
}

html[data-bs-theme="light"] .profile-hero-rocket .rocket-ring {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .progress-ring {
  background:
    conic-gradient(color-mix(in srgb, var(--brand) 88%, white) calc(var(--p) * 1%), color-mix(in srgb, var(--stroke) 85%, transparent) 0);
  box-shadow: var(--shadow);
}

html[data-bs-theme="light"] .progress-ring::before {
  background: var(--card-bg);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .progress-ring-num {
  color: var(--text);
}

html[data-bs-theme="light"] .profile-steps,
html[data-bs-theme="light"] .profile-perk {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .profile-steps-title,
html[data-bs-theme="light"] .step-title {
  color: var(--text);
}

html[data-bs-theme="light"] .profile-step {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

html[data-bs-theme="light"] .step-icon,
html[data-bs-theme="light"] .perk-illustration,
html[data-bs-theme="light"] .perk-badge {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
}

html[data-bs-theme="light"] .btn-outline-brand {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  color: var(--brand);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

html[data-bs-theme="light"] .btn-outline-brand:hover {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
}

.home-hero-card {
  background: radial-gradient(900px 360px at 75% 30%, rgba(67, 56, 140, 0.32), transparent 62%),
    linear-gradient(135deg, rgba(15, 26, 48, 0.55), rgba(11, 18, 32, 0.60));
  border: 1px solid var(--stroke-card) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--card-shadow) !important;
}

.home-hero-title {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(20px, 1.8vw + 14px, 34px);
  line-height: 1.25;
}

.home-hero-subtitle {
  font-size: clamp(13px, 0.9vw + 10px, 16px);
  line-height: 1.95;
}

html[data-bs-theme="light"] .home-hero-card {
  background: radial-gradient(900px 360px at 75% 30%, rgba(67, 56, 140, 0.12), transparent 62%),
    var(--card-bg) !important;
  border-color: var(--stroke-card) !important;
}

html[data-bs-theme="light"] .home-hero-title {
  color: var(--text);
}

html[data-bs-theme="light"] .home-hero-subtitle {
  color: var(--muted) !important;
}

main.pb-bottom-nav {
  padding-top: 22px;
  padding-bottom: var(--bottom-nav-safe) !important;
}

@media (max-width: 450px) {
  main.pb-bottom-nav {
    padding-top: 16px;
  }
}

.section-wide {
  padding: 26px 0;
}

.section-stats {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 12px;
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.stats-panel {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .stats-panel {
    padding: 24px;
  }
}

html[data-bs-theme="dark"] .stats-panel {
  background: rgba(15, 26, 48, 0.55);
  border-color: var(--stroke-card);
}

.content-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  min-width: 0;
}

.text-secondary {
  color: var(--muted) !important;
}

.text-brand {
  color: var(--brand) !important;
}

.home-section-title {
  font-family: "Cairo", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.shadow-soft {
  box-shadow: var(--shadow);
}

.app-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--stroke-card);
  box-shadow: var(--card-shadow);
}

.app-card .card-body {
  padding: 1rem;
}

@media (min-width: 380px) and (max-width: 767.98px) {
  .app-card .card-body {
    padding: 1.1rem;
  }
}

@media (min-width: 768px) {
  .app-card .card-body {
    padding: 1.25rem;
  }
}

.hero {
  position: relative;
  min-height: clamp(520px, 70vh, 760px);
  display: flex;
  align-items: stretch;
  padding: 18px 0 28px;
  overflow: hidden;
  color: #eef2ff;
  background: #0b1220;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.10), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.06), transparent 60%);
  filter: blur(6px);
  opacity: 0.85;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 30, 0.35), rgba(10, 16, 30, 0.65));
  pointer-events: none;
}

/* ===== Statistics Page (Dark) ===== */
.stats-page {
  background: radial-gradient(900px 420px at 70% -10%, rgba(109, 94, 252, 0.22), transparent 60%),
    radial-gradient(900px 420px at 20% 0%, rgba(138, 124, 255, 0.16), transparent 62%),
    var(--app-bg);
}

.stats-header {
  position: relative;
}

.stats-header .hero-brand {
  color: rgba(238, 242, 255, 0.92);
}

html[data-bs-theme="light"] .stats-header .hero-brand {
  color: var(--text);
}

.stats-hero {
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stats-hero-graphic {
  width: min(340px, 100%);
  aspect-ratio: 2.1 / 1;
  opacity: 0.95;
}

.stats-tabs {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.tab-pill {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 14px;
  white-space: nowrap;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.tab-pill-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  transition: all 0.25s ease;
}

@media (max-width: 450px) {
  .tab-pill {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 12px;
  }
}

.tab-pill:hover,
.tab-pill.is-active {
  border-color: rgba(178, 70, 150, 0.35) !important;
  background: linear-gradient(135deg, rgba(67, 56, 140, 0.12) 0%, rgba(178, 70, 150, 0.12) 100%) !important;
  box-shadow: 0 4px 15px rgba(67, 56, 140, 0.08) !important;
}

.tab-pill:hover .tab-pill-inner,
.tab-pill.is-active .tab-pill-inner {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.why {
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

html[data-bs-theme="dark"] .why {
  background: rgba(15, 26, 48, 0.55);
  border-color: var(--stroke-card);
}

.feature-card {
  border-radius: 16px;
  border: 1px solid var(--stroke-card);
  background: var(--card-bg);
  padding: 20px 18px;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-bs-theme="dark"] .feature-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--stroke-card);
}

.feature-card:hover,
.stat-card:hover,
.review:hover,
.link-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(109, 94, 252, 0.12);
}

html[data-bs-theme="dark"] .feature-card:hover,
html[data-bs-theme="dark"] .stat-card:hover,
html[data-bs-theme="dark"] .review:hover,
html[data-bs-theme="dark"] .link-card:hover {
  box-shadow: 0 12px 28px rgba(138, 124, 255, 0.18);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid rgba(138, 124, 255, 0.30);
  background: rgba(109, 94, 252, 0.12);
  color: rgba(138, 124, 255, 0.95);
  font-size: 22px;
}

.feature-title {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  margin-bottom: 6px;
}

.feature-text {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.8;
}

html[data-bs-theme="light"] .why {
  background: var(--card-bg);
  border-color: var(--stroke-card);
}

html[data-bs-theme="light"] .feature-card {
  background: var(--card-bg);
  border-color: var(--stroke-card);
}

html[data-bs-theme="light"] .feature-title {
  color: var(--text);
}

html[data-bs-theme="light"] .feature-text {
  color: var(--muted);
}

.hint-bar {
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  border-radius: 14px;
  color: var(--muted);
  box-shadow: var(--card-shadow);
}

.stats-table-head {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 9px;
  padding: 0 6px 10px;
}

.stats-row {
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

.stats-row:hover {
  transform: translateY(-2px);
  border-color: rgba(178, 70, 150, 0.2);
}

/* Prevent Bootstrap row gutters from pushing content outside rounded cards on small screens */
.stats-row>.card-body {
  padding-inline: 14px;
}

.rank-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0b1220;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.avatar-lg {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
}

.verified {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* RTL: keep verification icon next to the name (on the right) */
[dir="rtl"] .verified {
  order: -1;
}

.metric-num {
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.sparkline {
  opacity: 0.95;
}

.growth {
  font-weight: 900;
  letter-spacing: 0.01em;
}

.growth.up {
  color: #22c55e;
}

.stats-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  flex-wrap: wrap;
}

.pager {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pager-btn,
.pager-page {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pager-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: all 0.25s ease;
}

/* Hover & Active state */
.pager-btn:hover,
.pager-page:hover,
.pager-page.is-active {
  border-color: rgba(178, 70, 150, 0.35) !important;
  background: linear-gradient(135deg, rgba(67, 56, 140, 0.12) 0%, rgba(178, 70, 150, 0.12) 100%) !important;
  box-shadow: 0 4px 15px rgba(67, 56, 140, 0.08) !important;
}

.pager-btn:hover .pager-inner,
.pager-page:hover .pager-inner,
.pager-page.is-active .pager-inner {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.select-dark {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
}

.select-dark:focus {
  border-color: rgba(138, 124, 255, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(109, 94, 252, 0.15);
}

/* Light mode overrides for statistics page */
html[data-bs-theme="light"] .stats-page {
  background: radial-gradient(900px 420px at 70% -10%, rgba(109, 94, 252, 0.14), transparent 62%),
    radial-gradient(900px 420px at 20% 0%, rgba(138, 124, 255, 0.10), transparent 64%),
    var(--app-bg);
}

/* stats-hero light-mode styles handled dynamically by variables */

/* Light mode overrides for explore page */
html[data-bs-theme="light"] .explore-page {
  background: radial-gradient(900px 420px at 70% -10%, rgba(109, 94, 252, 0.14), transparent 62%),
    radial-gradient(900px 420px at 20% 0%, rgba(138, 124, 255, 0.10), transparent 64%),
    var(--app-bg);
}

html[data-bs-theme="light"] .explore-page .text-white {
  color: var(--text) !important;
}

html[data-bs-theme="light"] .explore-page .text-white-50 {
  color: var(--muted) !important;
}

html[data-bs-theme="light"] .explore-panel,
html[data-bs-theme="light"] .composer,
html[data-bs-theme="light"] .post-card {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 80%, transparent);
}

html[data-bs-theme="light"] .chip {
  border-color: color-mix(in srgb, var(--stroke) 80%, transparent);
  background: color-mix(in srgb, var(--card-bg) 86%, transparent);
  color: color-mix(in srgb, var(--text) 82%, transparent);
}

html[data-bs-theme="light"] .chip.is-active {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  border-color: color-mix(in srgb, var(--brand) 32%, transparent);
  color: var(--text);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 10%, transparent),
    0 10px 30px rgba(109, 94, 252, 0.12);
}

html[data-bs-theme="light"] .composer-input {
  border-color: color-mix(in srgb, var(--stroke) 80%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  color: var(--text);
}

html[data-bs-theme="light"] .composer-input::placeholder {
  color: var(--muted);
}

html[data-bs-theme="light"] .btn-ghost,
html[data-bs-theme="light"] .composer-btn,
html[data-bs-theme="light"] .tag-pill {
  border-color: color-mix(in srgb, var(--stroke) 80%, transparent);
  background: color-mix(in srgb, var(--card-bg) 90%, transparent);
  color: var(--muted);
}

html[data-bs-theme="light"] .avatar-sm {
  background: color-mix(in srgb, var(--card-bg) 90%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: var(--text);
}

html[data-bs-theme="light"] .status-dot {
  border-color: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

html[data-bs-theme="light"] .post-action {
  color: var(--muted);
}

html[data-bs-theme="light"] .post-action.like-toggle {
  color: var(--muted);
}

html[data-bs-theme="light"] .post-action.like-toggle.is-like {
  color: #2563eb;
}

html[data-bs-theme="light"] .tab-pill {
  border-color: color-mix(in srgb, var(--stroke) 80%, transparent);
  background: color-mix(in srgb, var(--card-bg) 86%, transparent);
  color: color-mix(in srgb, var(--text) 82%, transparent);
}

/* tab-pill, hint-bar, and stats-row light-mode active/hover styles handled dynamically by variables */

html[data-bs-theme="light"] .rank-badge {
  color: var(--text);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .avatar-lg {
  background: color-mix(in srgb, var(--card-bg) 88%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: var(--muted);
}

/* metric-num, pager, and pager active/hover light-theme styles handled dynamically by variables and gradients */

html[data-bs-theme="light"] .select-dark {
  background-color: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: var(--text);
}

/* Theme toggle icon visibility */
.btn-hero i,
.btn-soft i {
  font-size: 18px;
}

html[data-bs-theme="dark"] .btn-hero {
  color: rgba(238, 242, 255, 0.95);
}

html[data-bs-theme="light"] .btn-hero {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 88%, transparent);
  color: var(--text);
}

@media (max-width: 575.98px) {
  .stats-table .stats-row .metric-num {
    font-size: 20px;
  }
}

.hero-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 10px 0;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #0b1220;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.55));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero {
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 242, 255, 0.95);
  backdrop-filter: blur(10px);
}

.btn-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(238, 242, 255, 1);
}

.btn-accent {
  border: 0;
  color: #0b1220;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 40px rgba(255, 122, 47, 0.26);
}

.btn-accent:hover {
  filter: brightness(1.02);
  color: #0b1220;
}

.btn-outline-hero {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(238, 242, 255, 0.95);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(238, 242, 255, 1);
}

.hero-body {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 6vh, 70px) 0 0;
  text-align: center;
}

.hero-title {
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.12;
  font-size: clamp(32px, 7vw, 84px);
  margin: 0 0 26px;
}

.hero-title-accent {
  background: linear-gradient(135deg, #dbeafe, #a5b4fc 45%, #fed7aa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(238, 242, 255, 0.80);
  font-size: clamp(13px, 1vw + 10px, 18px);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  max-width: 820px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.stat-pill {
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(10, 16, 30, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.stat-number {
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 0.01em;
}

.stat-label {
  color: rgba(238, 242, 255, 0.70);
  font-weight: 700;
  font-size: 12px;
  margin-top: 2px;
}

@media (max-width: 450px) {
  .stat-pill {
    padding: 12px 10px;
    border-radius: 16px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 11px;
    margin-top: 4px;
  }
}

@media (min-width: 380px) and (max-width: 500px) {
  .stat-pill {
    padding: 13px 11px;
  }

  .stat-number {
    font-size: 30px;
  }
}

.btn-soft {
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
}

.btn-soft:hover {
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  color: var(--brand);
}

.btn-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  position: relative;
  width: min(280px, 90%);
  aspect-ratio: 1.6 / 1;
  /* Fallback for browsers that don't support `aspect-ratio` (some Android WebViews) */
  height: 175px;
}

@media (max-width: 768px) {
  .hero-illustration {
    width: min(280px, 75%);
    height: 175px;
  }
}

@media (max-width: 500px) {
  .hero-illustration {
    width: min(300px, 95%);
    height: 188px;
  }
}

.storefront-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  z-index: 5;
}

.storefront-store {
  position: relative;
  z-index: 10;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 15px 35px rgba(67, 56, 140, 0.12),
    inset 0 2px 5px rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatStore 4s ease-in-out infinite;
}

html[data-bs-theme="dark"] .storefront-store {
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.85), rgba(11, 18, 32, 0.9));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.storefront-store i {
  font-size: 50px;
  transition: transform 0.3s ease;
}

.hero-ill-digital .storefront-store i,
.hero-ill-store .storefront-store i {
  color: var(--color-deep-indigo);
  background: linear-gradient(135deg, var(--color-deep-indigo), var(--color-orchid-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-ill-analytics .storefront-store i {
  color: var(--color-sky-blue);
  background: linear-gradient(135deg, var(--color-sky-blue), #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



.orbit-path {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  width: 200px;
  height: 200px;
  border: 1px dashed rgba(109, 94, 252, 0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: rotateOrbit 30s linear infinite;
}

html[data-bs-theme="dark"] .orbit-path {
  border-color: rgba(255, 255, 255, 0.08);
}

.hero-ill-digital .orbit-path,
.hero-ill-store .orbit-path {
  border-color: rgba(67, 56, 140, 0.25);
}

.hero-ill-analytics .orbit-path {
  border-color: rgba(82, 156, 235, 0.25);
}

@keyframes rotateOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes floatStore {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.hero-badge {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
  color: var(--brand);
  font-size: 26px;
}

@media (max-width: 768px) {
  .hero-badge {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

@media (max-width: 500px) {
  .hero-badge {
    width: 54px;
    height: 54px;
    font-size: 26px;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.06);
  }
}

.hero-badge-1 {
  top: 8%;
  right: 8%;
}

.hero-badge-2 {
  top: 18%;
  left: 8%;
}

.hero-badge-3 {
  bottom: 14%;
  right: 12%;
}

.hero-badge-4 {
  bottom: 18%;
  left: 10%;
}

.stat-card {
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-bs-theme="dark"] .stat-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--stroke-card);
}

.stat-value {
  font-weight: 900;
  font-size: 22px;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.stat-purple {
  color: #7c3aed;
}

.stat-pink {
  color: #ec4899;
}

.stat-indigo {
  color: #6366f1;
}

.stat-green {
  color: #22c55e;
}

.stat-cyan {
  color: #06b6d4;
}

.stat-change {
  font-weight: 700;
}

.stat-up {
  color: #16a34a;
}

.review {
  background: var(--card-bg);
  border-radius: 16px;
  height: 100%;
  border: 1px solid var(--stroke-card);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-bs-theme="dark"] .review {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--stroke-card);
}

.review-quote {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 6px;
}

.review-stars {
  color: #fbbf24;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

.bg-purple {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.bg-pink {
  background: linear-gradient(135deg, #ec4899, #f9a8d4);
}

.bg-indigo {
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
}

.bg-green {
  background: linear-gradient(135deg, #22c55e, #86efac);
}

.link-card {
  text-decoration: none;
  border-radius: 16px;
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--stroke-card);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-bs-theme="dark"] .link-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--stroke-card);
}

.link-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  background: color-mix(in srgb, currentColor 10%, transparent);
  font-size: 22px;
}

.icon-purple {
  color: #7c3aed;
}

.icon-pink {
  color: #ec4899;
}

.icon-indigo {
  color: #6366f1;
}

.icon-green {
  color: #22c55e;
}

.icon-cyan {
  color: #06b6d4;
}

.brand-mark {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #fff !important;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(67, 56, 140, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2px;
  transition: transform 0.3s ease;
}

.brand-mark:hover {
  transform: scale(1.08) rotate(3deg);
}

html[data-bs-theme="light"] .brand-mark {
  background: linear-gradient(135deg, var(--color-sky-blue) 0%, var(--color-deep-indigo) 100%);
  box-shadow: 0 4px 12px rgba(82, 156, 235, 0.2);
}

.brand-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 1px;
}

@media (min-width: 768px) {
  .home-topbar .text-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-direction: row;
  }

  .brand-name {
    margin-top: 0 !important;
    font-size: 14px !important;
  }
}

@media (max-width: 767.98px) {
  .home-nav {
    display: none !important;
  }

  .home-topbar .home-menu-toggle {
    display: inline-flex !important;
  }
}

@media (min-width: 768px) {
  .home-topbar .home-menu-toggle {
    display: none !important;
  }
}

.footer-illustration {
  position: relative;
  width: min(220px, 100%);
  aspect-ratio: 1.2 / 1;
}

@media (max-width: 450px) {
  .footer-illustration {
    width: min(200px, 90%);
  }
}

.footer-card {
  width: 78%;
  height: 78%;
  border-radius: 22px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.2), rgba(138, 124, 255, 0.05));
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.footer-card i {
  font-size: 52px;
  color: var(--brand);
}

.footer-shield {
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
}

.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 500px;
  margin: 0 auto;
  z-index: 1030;
  background: color-mix(in srgb, var(--card-bg) 94%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid color-mix(in srgb, var(--stroke) 60%, transparent) !important;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

html[data-bs-theme="light"] .bottom-nav {
  box-shadow: 0 10px 30px rgba(109, 94, 252, 0.08);
}

.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px 0;
}

.bottom-item {
  text-decoration: none;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  height: 54px;
  /* Fixed height to completely prevent layout shifting */
  border-radius: 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none !important;
  position: relative;
}

.bottom-item i {
  font-size: 18px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.bottom-item span {
  font-size: 10.5px;
  line-height: 1;
  /* Shaves off vertical ghost padding to prevent overlapping */
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

/* Micro-interaction on hover */
@media (hover: hover) {
  .bottom-item:hover:not([aria-current="page"]):not(.active):not(.is-active) {
    background: transparent !important;
  }

  .bottom-item:hover:not([aria-current="page"]):not(.active):not(.is-active) i {
    transform: translateY(-2px);
  }

  .bottom-item:hover:not([aria-current="page"]):not(.active):not(.is-active) i,
  .bottom-item:hover:not([aria-current="page"]):not(.active):not(.is-active) span {
    background: var(--active-nav-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }
}

/* Micro-interaction on active click */
.bottom-item:active {
  transform: scale(0.92);
}

.bottom-item[aria-current="page"],
.bottom-item.active,
.bottom-item.is-active {
  background: transparent !important;
  border: none !important;
}

.bottom-item[aria-current="page"] i,
.bottom-item[aria-current="page"] span,
.bottom-item.active i,
.bottom-item.active span,
.bottom-item.is-active i,
.bottom-item.is-active span {
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
}

.bottom-item[aria-current="page"] span,
.bottom-item.active span,
.bottom-item.is-active span {
  font-size: 11px !important;
}

.bottom-item[aria-current="page"] i,
.bottom-item.active i,
.bottom-item.is-active i {
  font-size: 19px !important;
  filter: drop-shadow(0 2px 10px var(--active-nav-glow));
}

@media (max-width: 400px) {
  .bottom-nav {
    bottom: 12px;
    left: 12px;
    right: 12px;
    border-radius: 20px;
  }

  .bottom-item {
    font-size: 10px;
    height: 48px;
    border-radius: 14px;
    gap: 1px;
  }

  .bottom-item i {
    font-size: 16px;
  }

  .bottom-item span {
    font-size: 9.5px;
  }

  /* No active state translations or dot indicators on mobile per user request */
}

/* User profile notification dot in bottom nav */
.bottom-nav-inner a[href*="/login"] i,
.bottom-nav-inner a[href*="/profile"] i {
  position: relative;
}

.bottom-nav-inner a[href*="/login"] i::after,
.bottom-nav-inner a[href*="/profile"] i::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -2px;
  width: 6px;
  height: 6px;
  background: var(--brand);
  /* Premium brand color matching the mockup */
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--card-bg);
}

.pb-bottom-nav {
  padding-bottom: var(--bottom-nav-safe);
}

/* Store */
.store-page .store-title {
  font-weight: 900;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

html[data-bs-theme="light"] .store-page .store-title {
  color: var(--text);
}

.store-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.store-tabs::-webkit-scrollbar {
  display: none;
}

.store-tabs-wrap {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
  padding: 10px 10px 8px;
}

html[data-bs-theme="light"] .store-tabs-wrap {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

.store-tab {
  flex: 0 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 242, 255, 0.9);
  padding: 8px 12px;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.store-tab.is-active {
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.24), rgba(109, 94, 252, 0.10) 60%, rgba(255, 255, 255, 0.04));
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  color: rgba(238, 242, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.08);
}

html[data-bs-theme="light"] .store-tab {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: var(--muted);
}

html[data-bs-theme="light"] .store-tab.is-active {
  color: var(--text);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border-color: color-mix(in srgb, var(--brand) 26%, transparent);
}

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  flex-wrap: wrap;
}

.store-search {
  flex: 1 1 260px;
  min-width: 220px;
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  padding: 10px 12px;
  padding-inline-start: 38px;
}

.store-search i {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
}

.store-search-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.store-search-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

html[data-bs-theme="light"] .store-search {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

html[data-bs-theme="light"] .store-search i {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

html[data-bs-theme="light"] .store-search-input {
  color: var(--text);
}

html[data-bs-theme="light"] .store-search-input::placeholder {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

.store-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 16px;
  padding: 10px 12px;
  font-weight: 800;
}

.store-section-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
}

html[data-bs-theme="light"] .store-section-title {
  color: var(--text);
}

.store-grid {
  --bs-gutter-x: 26px;
  --bs-gutter-y: 20px;
  margin-inline: -10px;
}

.store-col {
  display: flex;
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  padding-inline: 10px;
  margin-bottom: 20px;
}

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

.cart-page-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  background: rgba(11, 18, 35, 0.58);
  padding: 10px 12px;
}

.cart-page-info {
  min-width: 0;
}

.cart-page-title {
  font-weight: 800;
  margin-bottom: 2px;
}

.cart-page-sub {
  font-size: 12px;
}

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

.cart-page-summary {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 12px;
}

html[data-bs-theme="light"] .cart-page-row {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

html[data-bs-theme="light"] .cart-page-summary {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

.store-sections {
  display: grid;
  gap: 4px;
}

.store-category-section[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .store-col {
    flex: 0 0 33.333333%;
    width: 33.333333%;
    max-width: 33.333333%;
  }
}

@media (min-width: 1200px) {
  .store-col {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
  }
}

.store-empty {
  padding: 18px 14px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

html[data-bs-theme="light"] .store-empty {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: var(--muted);
}

.store-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(15, 26, 48, 0.55);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  cursor: pointer;
  overflow: hidden;
  width: auto;
  height: 100%;
  min-height: 348px;
}

.store-card:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.25), 0 16px 45px rgba(0, 0, 0, 0.35);
}

html[data-bs-theme="light"] .store-card {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  box-shadow: var(--shadow);
}

.store-card-head {
  padding: 12px 12px 0;
}

.store-card-media {
  height: 186px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(240px 120px at 70% 20%, rgba(109, 94, 252, 0.22), transparent 60%),
    radial-gradient(220px 120px at 25% 65%, rgba(138, 124, 255, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.45));
  display: grid;
  place-items: center;
}

.store-card-media i {
  font-size: 44px;
  color: color-mix(in srgb, var(--brand-2) 92%, white);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.store-theme-preview {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  padding: 12px 10px;
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.88), rgba(6, 10, 18, 0.96)),
    #0b1120;
}

.store-theme-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120px 80px at 80% 20%, var(--theme-glow, rgba(139, 92, 246, 0.28)), transparent 60%),
    radial-gradient(120px 70px at 20% 80%, var(--theme-glow-soft, rgba(139, 92, 246, 0.16)), transparent 60%);
  pointer-events: none;
}

.store-theme-avatar,
.store-theme-lines,
.store-theme-stats,
.store-theme-bar,
.store-theme-badge {
  position: relative;
  z-index: 1;
}

.store-theme-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-bottom: 10px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.95) 0 18%, transparent 20%),
    radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.95) 0 26%, transparent 28%),
    color-mix(in srgb, var(--theme-accent, #8b5cf6) 80%, #0f172a);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 18px rgba(0, 0, 0, 0.25);
}

.store-theme-lines {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.store-theme-lines .line {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-accent, #8b5cf6) 82%, white 12%);
  opacity: 0.88;
}

.store-theme-lines .line--strong {
  width: 64%;
}

.store-theme-lines .line:not(.line--strong):not(.line--short) {
  width: 56%;
}

.store-theme-lines .line--short {
  width: 42%;
}

.store-theme-stats {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.store-theme-stats span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--theme-accent, #8b5cf6) 78%, white 18%);
  opacity: 0.9;
}

.store-theme-bar {
  width: 72%;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-accent, #8b5cf6) 88%, white 6%);
  box-shadow: 0 0 12px color-mix(in srgb, var(--theme-accent, #8b5cf6) 35%, transparent);
}

.store-theme-badge {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 10, 18, 0.82);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.store-theme-badge i {
  font-size: 11px;
}

.store-theme-badge--gold {
  color: #f7b73b;
}

.store-theme-badge--violet {
  color: #b06cff;
}

.store-theme-preview--purple {
  --theme-accent: #8b5cf6;
  --theme-glow: rgba(139, 92, 246, 0.34);
  --theme-glow-soft: rgba(168, 85, 247, 0.16);
}

.store-theme-preview--blue {
  --theme-accent: #38bdf8;
  --theme-glow: rgba(56, 189, 248, 0.28);
  --theme-glow-soft: rgba(59, 130, 246, 0.14);
}

.store-theme-preview--green {
  --theme-accent: #4ade80;
  --theme-glow: rgba(74, 222, 128, 0.24);
  --theme-glow-soft: rgba(34, 197, 94, 0.14);
}

.store-theme-preview--gold {
  --theme-accent: #f7b73b;
  --theme-glow: rgba(247, 183, 59, 0.26);
  --theme-glow-soft: rgba(245, 158, 11, 0.14);
}

.store-theme-preview--sea {
  --theme-accent: #60a5fa;
  --theme-glow: rgba(96, 165, 250, 0.24);
  --theme-glow-soft: rgba(59, 130, 246, 0.14);
}

.store-theme-preview--pink {
  --theme-accent: #f472b6;
  --theme-glow: rgba(244, 114, 182, 0.24);
  --theme-glow-soft: rgba(236, 72, 153, 0.14);
}

.store-theme-preview--gray {
  --theme-accent: #d1d5db;
  --theme-glow: rgba(209, 213, 219, 0.18);
  --theme-glow-soft: rgba(148, 163, 184, 0.12);
}

.store-theme-preview--night {
  --theme-accent: #cbd5e1;
  --theme-glow: rgba(203, 213, 225, 0.16);
  --theme-glow-soft: rgba(100, 116, 139, 0.10);
}

.store-post-preview {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.92), rgba(6, 10, 18, 0.98)),
    #0b1120;
}

.store-post-glow {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--post-glow, rgba(168, 85, 247, 0.28)) 0%, transparent 68%);
  filter: blur(2px);
}

.store-post-icon {
  position: relative;
  z-index: 1;
  color: var(--post-accent, #c084fc);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.store-post-icon i {
  font-size: 44px;
}

.store-post-preview--violet {
  --post-accent: #b794f6;
  --post-glow: rgba(183, 148, 246, 0.26);
}

.store-post-preview--blue {
  --post-accent: #7dd3fc;
  --post-glow: rgba(125, 211, 252, 0.22);
}

.store-post-preview--pink {
  --post-accent: #f9a8d4;
  --post-glow: rgba(249, 168, 212, 0.22);
}

.store-custom-preview,
.store-user-preview,
.store-link-preview,
.store-other-preview,
.store-plan-preview {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.store-custom-preview {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120px 80px at 50% 45%, var(--custom-glow, rgba(168, 85, 247, 0.2)), transparent 62%),
    linear-gradient(180deg, rgba(8, 12, 22, 0.94), rgba(6, 10, 18, 0.98));
}

.store-custom-preview--violet {
  --custom-glow: rgba(192, 132, 252, 0.32);
}

.store-custom-preview--blue {
  --custom-glow: rgba(125, 211, 252, 0.28);
}

.store-custom-preview--pink {
  --custom-glow: rgba(249, 168, 212, 0.28);
}

.store-custom-preview--gold {
  --custom-glow: rgba(251, 191, 36, 0.24);
}

.store-custom-frame {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 2px solid rgba(216, 180, 254, 0.88);
  box-shadow: 0 0 18px rgba(192, 132, 252, 0.24);
}

.store-custom-spark {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.38);
}

.store-custom-spark--a {
  top: 26px;
  inset-inline-end: 40px;
}

.store-custom-spark--b {
  bottom: 26px;
  inset-inline-start: 42px;
}

.store-custom-ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(125, 211, 252, 0.9);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.28);
}

.store-custom-ring--inner {
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: rgba(191, 219, 254, 0.75);
}

.store-custom-preview--icons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
  justify-items: center;
  padding: 20px 26px;
}

.store-custom-preview--icons span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(249, 168, 212, 0.08);
  border: 1px solid rgba(249, 168, 212, 0.28);
}

.store-custom-preview--icons i {
  font-size: 16px;
  color: #f9a8d4;
}

.store-custom-preview--type {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
}

.store-type-line {
  display: block;
  width: 58px;
  height: 6px;
  border-radius: 999px;
  background: rgba(253, 224, 71, 0.85);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.24);
}

.store-type-line--lg {
  width: 72px;
}

.store-type-line--sm {
  width: 42px;
}

.store-user-preview,
.store-link-preview,
.store-other-preview {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120px 80px at 50% 45%, var(--preview-glow, rgba(192, 132, 252, 0.2)), transparent 60%),
    linear-gradient(180deg, rgba(8, 12, 22, 0.94), rgba(6, 10, 18, 0.98));
}

.store-user-preview i,
.store-link-preview i,
.store-other-preview i {
  font-size: 50px;
  color: var(--preview-accent, #c084fc);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.store-user-preview--violet {
  --preview-accent: #c084fc;
  --preview-glow: rgba(192, 132, 252, 0.28);
}

.store-user-preview--pink {
  --preview-accent: #f472b6;
  --preview-glow: rgba(244, 114, 182, 0.26);
}

.store-user-preview--blue {
  --preview-accent: #60a5fa;
  --preview-glow: rgba(96, 165, 250, 0.24);
}

.store-user-preview--orange {
  --preview-accent: #fb7185;
  --preview-glow: rgba(251, 113, 133, 0.24);
}

.store-user-preview .bi-person-circle:nth-child(2) {
  transform: translateY(-6px) scale(1.1);
}

.store-user-preview .bi-person-circle:first-child {
  transform: translateX(12px);
}

.store-user-preview .bi-person-circle:last-child {
  transform: translateX(-12px);
}

.store-link-preview--violet {
  --preview-accent: #8b5cf6;
  --preview-glow: rgba(139, 92, 246, 0.26);
}

.store-link-preview--blue {
  --preview-accent: #60a5fa;
  --preview-glow: rgba(96, 165, 250, 0.24);
}

.store-link-preview--green {
  --preview-accent: #a3e635;
  --preview-glow: rgba(163, 230, 53, 0.22);
}

.store-link-preview--gold {
  --preview-accent: #fbbf24;
  --preview-glow: rgba(251, 191, 36, 0.22);
}

.store-other-preview--violet {
  --preview-accent: #d8b4fe;
  --preview-glow: rgba(216, 180, 254, 0.26);
}

.store-other-preview--blue {
  --preview-accent: #38bdf8;
  --preview-glow: rgba(56, 189, 248, 0.24);
}

.store-other-preview--gold {
  --preview-accent: #fbbf24;
  --preview-glow: rgba(251, 191, 36, 0.22);
}

.store-other-preview--orange {
  --preview-accent: #fb923c;
  --preview-glow: rgba(251, 146, 60, 0.22);
}

.store-card-media--plan {
  height: 100%;
  align-items: stretch;
  background: transparent;
  border: none;
}

.store-plan-preview {
  padding: 14px 14px 14px;
  display: grid;
  gap: 9px;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.96), rgba(6, 9, 18, 0.98)),
    #0b1120;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  min-height: 100%;
}

.store-card--subscription {
  min-height: 455px;
}

.store-card--subscription .store-card-head {
  padding: 10px 10px 0;
  flex: 1 1 auto;
}

.store-plan-preview--basic {
  border-color: rgba(167, 139, 250, 0.22);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.05), 0 4px 12px rgba(0, 0, 0, 0.10);
}

.store-plan-preview--free {
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.05), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.store-plan-preview--pro {
  border-color: rgba(192, 132, 252, 0.34);
  box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.08), 0 3px 10px rgba(168, 85, 247, 0.08);
}

.store-plan-preview--premium {
  border-color: rgba(251, 191, 36, 0.38);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.08), 0 3px 10px rgba(245, 158, 11, 0.08);
  background:
    linear-gradient(180deg, rgba(28, 25, 10, 0.92), rgba(16, 20, 10, 0.96)),
    #12170c;
}

.store-plan-icon {
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-top: 4px;
}

.store-plan-preview--free .store-plan-icon {
  color: #cbd5e1;
}

.store-plan-preview--basic .store-plan-icon {
  color: #b06cff;
}

.store-plan-preview--pro .store-plan-icon {
  color: #f5b75e;
}

.store-plan-preview--premium .store-plan-icon {
  color: #fbbf24;
}

.store-plan-name {
  font-size: 14px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  line-height: 1.35;
}

.store-plan-price-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  direction: ltr;
  margin-top: 2px;
}

.store-plan-price {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  color: #eef2ff;
}

.store-plan-period {
  font-size: 13px;
  font-weight: 800;
  color: rgba(238, 242, 255, 0.84);
}

.store-plan-preview--basic .store-plan-price,
.store-plan-preview--basic .store-plan-period {
  color: #b06cff;
}

.store-plan-preview--pro .store-plan-price,
.store-plan-preview--pro .store-plan-period {
  color: #f5b75e;
}

.store-plan-preview--premium .store-plan-price,
.store-plan-preview--premium .store-plan-period {
  color: #fbbf24;
}

.store-plan-divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0 4px;
}

.store-plan-features {
  display: grid;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
}

.store-plan-features span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  line-height: 1.45;
}

.store-plan-features i {
  font-size: 16px;
  flex: 0 0 auto;
}

.plan-check {
  color: #4ade80;
}

.plan-cross {
  color: #fb7185;
}

.store-card-foot--subscription {
  padding: 12px 10px 12px;
}

.store-plan-action {
  width: 100%;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
}

.store-plan-action--free {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(203, 213, 225, 0.32);
  color: rgba(255, 255, 255, 0.9);
}

.store-plan-action--basic {
  border-color: rgba(176, 108, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(176, 108, 255, 0.12);
}

.store-plan-action--pro {
  background: linear-gradient(180deg, #a855f7, #8b5cf6);
  border-color: rgba(192, 132, 252, 0.68);
  color: #fff;
}

.store-plan-action--premium {
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  border-color: rgba(251, 191, 36, 0.68);
  color: #261700;
}

html[data-bs-theme="light"] .store-card-media {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background:
    radial-gradient(240px 120px at 70% 20%, rgba(109, 94, 252, 0.16), transparent 60%),
    radial-gradient(220px 120px at 25% 65%, rgba(138, 124, 255, 0.10), transparent 55%),
    color-mix(in srgb, var(--card-bg) 92%, transparent);
}

html[data-bs-theme="light"] .store-card-media i {
  color: var(--brand);
  filter: none;
}

html[data-bs-theme="light"] .store-theme-preview {
  background:
    linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(226, 232, 240, 0.98)),
    #ffffff;
}

html[data-bs-theme="light"] .store-theme-badge {
  background: rgba(255, 255, 255, 0.88);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .store-post-preview {
  background:
    linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(226, 232, 240, 0.98)),
    #ffffff;
}

html[data-bs-theme="light"] .store-custom-preview,
html[data-bs-theme="light"] .store-user-preview,
html[data-bs-theme="light"] .store-link-preview,
html[data-bs-theme="light"] .store-other-preview {
  background:
    radial-gradient(120px 80px at 50% 45%, var(--preview-glow, rgba(192, 132, 252, 0.14)), transparent 60%),
    linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(226, 232, 240, 0.98)),
    #ffffff;
}

html[data-bs-theme="light"] .store-custom-frame,
html[data-bs-theme="light"] .store-custom-ring,
html[data-bs-theme="light"] .store-custom-preview--icons span,
html[data-bs-theme="light"] .store-plan-preview {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .store-plan-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98)),
    #ffffff;
  box-shadow: 0 3px 10px rgba(148, 163, 184, 0.10);
}

html[data-bs-theme="light"] .store-plan-preview--premium {
  background:
    linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(254, 243, 199, 0.92)),
    #ffffff;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.08);
}

html[data-bs-theme="light"] .store-plan-name {
  color: var(--text);
}

html[data-bs-theme="light"] .store-plan-features {
  color: color-mix(in srgb, var(--text) 76%, transparent);
}

html[data-bs-theme="light"] .store-plan-period,
html[data-bs-theme="light"] .store-plan-preview--free .store-plan-price {
  color: color-mix(in srgb, var(--text) 84%, transparent);
}

html[data-bs-theme="light"] .store-plan-action--free {
  color: var(--text);
  background: color-mix(in srgb, var(--card-bg) 94%, transparent);
}

.store-card-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

html[data-bs-theme="light"] .store-card-title {
  color: var(--text);
}

.store-card-sku {
  font-size: 12px;
}

@media (max-width: 575.98px) {
  .store-card-media {
    height: 160px;
  }

  .store-card-media--plan {
    height: 100%;
  }

  .store-plan-preview {
    padding: 12px;
  }

  .store-plan-name {
    font-size: 13px;
  }

  .store-plan-price {
    font-size: 24px;
  }

  .store-plan-features {
    font-size: 13px;
    gap: 10px;
  }

  .store-card--subscription {
    min-height: 420px;
  }
}

.store-card-foot {
  padding: 14px 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.store-card-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-card-price .price-now {
  font-weight: 900;
  color: rgba(238, 242, 255, 0.95);
  font-size: 13px;
}

html[data-bs-theme="light"] .store-card-price .price-now {
  color: var(--text);
}

.store-card-price .price-old {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}

html[data-bs-theme="light"] .store-card-price .price-old {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

.store-card-price .price-badge {
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: rgba(238, 242, 255, 0.95);
}

html[data-bs-theme="light"] .store-card-price .price-badge {
  color: var(--text);
}

.store-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 12px;
}

.store-page {
  position: relative;
}

.store-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(720px 320px at 18% 10%, rgba(109, 94, 252, 0.18), transparent 68%),
    radial-gradient(680px 300px at 82% 14%, rgba(82, 156, 235, 0.14), transparent 70%),
    radial-gradient(860px 360px at 50% 100%, rgba(178, 70, 150, 0.08), transparent 76%);
}

.store-top {
  position: relative;
  min-height: 48px;
  padding: 6px 2px 0;
}

.store-top-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.store-top-actions {
  position: relative;
  z-index: 3;
  margin-inline-start: auto;
}

.store-compare-bar {
  display: flex;
  justify-content: center;
}

.store-compare-link {
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--color-deep-indigo), var(--color-orchid-purple));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(109, 94, 252, 0.18);
  font-weight: 800;
}

.store-compare-link:hover {
  color: #fff;
  transform: translateY(-1px);
}

.store-tabs-wrap {
  border-radius: 28px;
  border: 1px solid var(--stroke-card);
  background:
    radial-gradient(900px 300px at 75% 30%, rgba(109, 94, 252, 0.18), transparent 62%),
    linear-gradient(135deg, rgba(15, 26, 48, 0.58), rgba(11, 18, 32, 0.62));
  padding: 14px;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.store-tabs {
  gap: 10px;
  padding-bottom: 6px;
}

/* Compare Plans Page */
.compare-page .home-topbar .app-container > .content-wrap > div {
  position: static;
  min-height: 0;
}

.compare-topbar {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.compare-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: rtl;
}

.compare-brand {
  justify-self: center;
  direction: rtl;
}

.compare-wrap {
  padding-bottom: 2rem;
}

.compare-shell {
  border-radius: 28px;
  border: 1px solid var(--stroke-card);
  background:
    radial-gradient(900px 280px at 50% 0%, rgba(109, 94, 252, 0.18), transparent 56%),
    rgba(12, 18, 34, 0.86);
  box-shadow: 0 22px 58px rgba(5, 10, 21, 0.22);
  padding: 16px;
}

html[data-bs-theme="light"] .compare-shell {
  background:
    radial-gradient(900px 280px at 50% 0%, rgba(109, 94, 252, 0.08), transparent 56%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(109, 94, 252, 0.07);
}

.compare-hero {
  text-align: center;
  padding: 10px 8px 18px;
}

.compare-hero-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.compare-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.compare-back-link i {
  font-size: 20px;
  line-height: 1;
}

.compare-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 14px;
}

.compare-breadcrumb a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compare-hero-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.compare-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.22), rgba(178, 70, 150, 0.18));
  border: 1px solid rgba(138, 124, 255, 0.18);
  box-shadow: 0 16px 30px rgba(109, 94, 252, 0.12);
}

.compare-hero-icon i {
  font-size: 28px;
}

.compare-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--text);
}

.compare-subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.compare-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.compare-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.20);
  color: #7ee2b8;
  font-size: 12px;
  font-weight: 800;
}

.compare-toggle-group {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(138, 124, 255, 0.14);
}

.compare-toggle {
  min-width: 110px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.compare-toggle.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--color-deep-indigo), var(--color-orchid-purple));
  box-shadow: 0 10px 22px rgba(109, 94, 252, 0.18);
}

.compare-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.compare-feature-panel {
  border-radius: 24px;
  border: 1px solid var(--stroke-card);
  background: rgba(8, 13, 24, 0.36);
  padding: 16px;
}

html[data-bs-theme="light"] .compare-feature-panel {
  background: rgba(255, 255, 255, 0.88);
}

.compare-feature-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.compare-feature-panel-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.compare-feature-panel-head i {
  color: var(--brand);
  font-size: 20px;
}

.compare-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.compare-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(138, 124, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.compare-feature-list i {
  color: var(--brand);
}

.compare-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.compare-plan-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--stroke-card);
  background: rgba(8, 13, 24, 0.36);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

html[data-bs-theme="light"] .compare-plan-card {
  background: rgba(255, 255, 255, 0.88);
}

.compare-plan-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-plan-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  box-shadow: 0 12px 24px rgba(109, 94, 252, 0.18);
}

.compare-plan-icon i {
  font-size: 24px;
}

.compare-plan-icon--free {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(14, 165, 233, 0.95));
}

.compare-plan-icon--basic {
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.96), rgba(178, 70, 150, 0.92));
}

.compare-plan-icon--pro {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.96), rgba(99, 102, 241, 0.92));
}

.compare-plan-icon--premium {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.96), rgba(236, 72, 153, 0.92));
}

.compare-plan-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.compare-plan-card--basic {
  border-color: rgba(178, 70, 150, 0.45);
  box-shadow: 0 16px 34px rgba(178, 70, 150, 0.08);
}

.compare-plan-card--free {
  opacity: 0.96;
}

.compare-plan-card--premium {
  border-color: rgba(109, 94, 252, 0.38);
}

.compare-plan-badge {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(109, 94, 252, 0.14);
  border: 1px solid rgba(109, 94, 252, 0.18);
  color: #c9bfff;
  font-size: 12px;
  font-weight: 800;
}

.compare-plan-badge--accent {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.2);
  color: #7ee2b8;
}

.compare-plan-name {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.compare-plan-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.compare-plan-price {
  color: var(--text);
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
}

.compare-plan-price small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.compare-plan-sku {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  direction: ltr;
  text-align: center;
}

.compare-plan-btn {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-deep-indigo), var(--color-orchid-purple));
}

.compare-plan-btn--ghost {
  background: transparent;
  border: 1px solid rgba(138, 124, 255, 0.24);
}

.compare-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.compare-plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.compare-plan-features .is-true i {
  color: #22c55e;
}

.compare-plan-features .is-false i {
  color: #ef4444;
}

.compare-plan-features i {
  font-size: 16px;
}

.compare-footer {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--stroke-card);
  background: rgba(8, 13, 24, 0.36);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

html[data-bs-theme="light"] .compare-footer {
  background: rgba(255, 255, 255, 0.88);
}

.compare-footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.compare-footer-copy i {
  color: var(--brand);
}

.compare-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 1199.98px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767.98px) {
  .compare-topbar {
    grid-template-columns: 1fr auto 1fr;
  }

  .compare-hero-head {
    flex-direction: column;
  }

  .compare-hero-actions {
    justify-content: center;
  }

  .compare-toggle {
    min-width: 88px;
  }

  .compare-plans {
    grid-template-columns: 1fr;
  }

  .compare-footer {
    justify-content: center;
    text-align: center;
  }
}

.store-tab {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.store-tab:hover {
  border-color: rgba(178, 70, 150, 0.35) !important;
  background: linear-gradient(135deg, rgba(67, 56, 140, 0.12) 0%, rgba(178, 70, 150, 0.12) 100%) !important;
  box-shadow: 0 4px 15px rgba(67, 56, 140, 0.08) !important;
}

.store-tab.is-active {
  border-color: rgba(178, 70, 150, 0.35) !important;
  background: linear-gradient(135deg, rgba(67, 56, 140, 0.12) 0%, rgba(178, 70, 150, 0.12) 100%) !important;
  box-shadow: 0 4px 15px rgba(67, 56, 140, 0.08) !important;
}

.store-tab-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store-tab-inner i {
  font-size: 14px;
  line-height: 1;
}

.store-toolbar {
  gap: 12px;
  border-radius: 24px;
  width: 100%;
}

.store-search {
  min-height: 58px;
  border-radius: 20px;
  border: 1px solid var(--stroke-card);
  background:
    radial-gradient(720px 180px at 80% 10%, rgba(109, 94, 252, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(15, 26, 48, 0.54), rgba(11, 18, 32, 0.58));
  padding-inline-start: 48px;
  box-shadow: var(--shadow);
}

.store-search i {
  inset-inline-start: 18px;
  color: rgba(255, 255, 255, 0.52);
}

.store-search-input {
  color: rgba(238, 242, 255, 0.94);
  font-size: 14px;
}

.store-search-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.store-filter {
  min-height: 58px;
  border-radius: 20px;
  padding-inline: 18px;
  background:
    linear-gradient(135deg, rgba(15, 26, 48, 0.56), rgba(11, 18, 32, 0.60));
  border-color: var(--stroke-card);
  color: rgba(238, 242, 255, 0.94);
  box-shadow: var(--shadow);
}

.store-filter i {
  color: var(--brand);
}

.store-sections {
  gap: 18px;
  width: 100%;
}

.store-category-section {
  border-radius: 28px;
  border: 1px solid var(--stroke-card);
  background: var(--card-bg);
  padding: 20px 20px 24px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.store-section-title {
  position: relative;
  padding-inline-start: 16px;
  margin-bottom: 18px !important;
  color: rgba(238, 242, 255, 0.94);
  font-size: 18px;
}

.store-section-title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 10%, transparent);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-inline: 0;
  margin-top: 0 !important;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.store-grid.row {
  margin-right: 0;
  margin-left: 0;
  margin-top: 0;
}

.store-grid.row>* {
  margin-top: 0;
}

.store-col {
  width: auto;
  max-width: none;
  padding-inline: 0;
  margin-bottom: 0;
}

.store-card {
  position: relative;
  min-height: 330px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(15, 26, 48, 0.62), rgba(11, 18, 32, 0.72)),
    rgba(15, 26, 48, 0.55);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.store-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(148, 163, 184, 0.16), transparent 78%);
  filter: blur(8px);
  pointer-events: none;
}

.store-card:hover {
  transform: translateY(-8px);
  border-color: var(--theme-accent, var(--brand));
  box-shadow:
    0 20px 40px color-mix(in srgb, var(--theme-accent, var(--brand)) 16%, transparent);
}

.store-card-head {
  padding: 14px 14px 0;
}

.store-card-head>.mt-2 {
  width: 100%;
  text-align: right;
}

.store-card-media {
  height: 168px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 120px at 72% 20%, rgba(109, 94, 252, 0.20), transparent 58%),
    radial-gradient(180px 100px at 26% 72%, rgba(82, 156, 235, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(8, 12, 22, 0.86), rgba(6, 10, 18, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.store-theme-preview {
  padding: 18px 16px 16px;
  background: transparent;
}

.store-theme-preview::before {
  background:
    radial-gradient(140px 92px at 18% 55%, var(--theme-glow-soft, rgba(168, 85, 247, 0.12)), transparent 62%),
    radial-gradient(140px 88px at 85% 40%, var(--theme-glow, rgba(139, 92, 246, 0.18)), transparent 60%);
}

.store-theme-avatar {
  width: 28px;
  height: 28px;
  margin-inline-start: auto;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--theme-accent, #8b5cf6) 22%, transparent);
}

.store-theme-lines {
  gap: 8px;
  margin-bottom: 12px;
}

.store-theme-lines .line {
  height: 4px;
  opacity: 0.92;
}

.store-theme-lines .line--strong {
  width: 76%;
}

.store-theme-lines .line:not(.line--strong):not(.line--short) {
  width: 64%;
}

.store-theme-lines .line--short {
  width: 82%;
}

.store-theme-stats {
  justify-content: flex-end;
  margin-bottom: 12px;
}

.store-theme-bar {
  width: 88%;
  height: 5px;
}

.store-theme-badge {
  top: 10px;
  inset-inline-start: 10px;
  inset-inline-end: auto;
  width: 24px;
  height: 24px;
  background: rgba(7, 10, 18, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.store-card-title {
  color: rgba(238, 242, 255, 0.94);
  font-size: 17px;
  line-height: 1.45;
  text-align: right;
}

.store-card-sku {
  color: rgba(255, 255, 255, 0.48) !important;
  display: block;
  text-align: right;
}

.store-card-foot {
  padding: 14px;
  gap: 12px;
}

.store-card-price .price-now {
  color: color-mix(in srgb, var(--theme-accent, var(--brand)) 88%, white 8%);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.store-add {
  min-height: 42px;
  border-radius: 14px;
  padding-inline: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(238, 242, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.store-add i {
  display: inline-block;
  width: 18px;
  height: 18px;
  font-size: 0;
  vertical-align: middle;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M5.5 5.5h5V5a2.5 2.5 0 0 0-5 0zM4.5 5.5V5a3.5 3.5 0 1 1 7 0v.5h2A1.5 1.5 0 0 1 15 7v6.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 1 13.5V7a1.5 1.5 0 0 1 1.5-1.5zm-2 1A.5.5 0 0 0 2 7v6.5a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V7a.5.5 0 0 0-.5-.5h-2V8a.5.5 0 0 1-1 0V6.5h-5V8a.5.5 0 0 1-1 0V6.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M5.5 5.5h5V5a2.5 2.5 0 0 0-5 0zM4.5 5.5V5a3.5 3.5 0 1 1 7 0v.5h2A1.5 1.5 0 0 1 15 7v6.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 1 13.5V7a1.5 1.5 0 0 1 1.5-1.5zm-2 1A.5.5 0 0 0 2 7v6.5a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V7a.5.5 0 0 0-.5-.5h-2V8a.5.5 0 0 1-1 0V6.5h-5V8a.5.5 0 0 1-1 0V6.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.store-card[data-product-id*="purple"] {
  --theme-accent: #8b5cf6;
}

.store-card[data-product-id*="classic"],
.store-card[data-product-id*="sea"] {
  --theme-accent: #3b82f6;
}

.store-card[data-product-id*="green"] {
  --theme-accent: #22c55e;
}

.store-card[data-product-id*="gold"] {
  --theme-accent: #f59e0b;
}

.store-card[data-product-id*="pink"] {
  --theme-accent: #ec4899;
}

.store-card[data-product-id*="gray"],
.store-card[data-product-id*="night"] {
  --theme-accent: #94a3b8;
}

html[data-bs-theme="light"] .store-tabs-wrap,
html[data-bs-theme="light"] .store-search,
html[data-bs-theme="light"] .store-filter,
html[data-bs-theme="light"] .store-category-section,
html[data-bs-theme="light"] .store-card {
  background:
    radial-gradient(900px 300px at 75% 30%, rgba(109, 94, 252, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.96);
  border-color: color-mix(in srgb, var(--stroke-card) 85%, transparent);
  box-shadow: var(--shadow);
}

html[data-bs-theme="dark"] .store-category-section {
  background: rgba(15, 26, 48, 0.45);
  border-color: var(--stroke-card);
  box-shadow: var(--card-shadow);
}

html[data-bs-theme="light"] .store-tab {
  color: color-mix(in srgb, var(--text) 82%, transparent);
}

html[data-bs-theme="light"] .store-tab.is-active {
  color: var(--text);
}

html[data-bs-theme="light"] .store-search-input,
html[data-bs-theme="light"] .store-filter,
html[data-bs-theme="light"] .store-card-title,
html[data-bs-theme="light"] .store-section-title {
  color: var(--text);
}

html[data-bs-theme="light"] .store-search-input::placeholder,
html[data-bs-theme="light"] .store-search i,
html[data-bs-theme="light"] .store-card-sku {
  color: color-mix(in srgb, var(--muted) 82%, transparent) !important;
}

html[data-bs-theme="light"] .store-card-media {
  background:
    radial-gradient(220px 120px at 72% 20%, rgba(109, 94, 252, 0.16), transparent 58%),
    radial-gradient(180px 100px at 26% 72%, rgba(82, 156, 235, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(226, 232, 240, 0.98));
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .store-theme-badge,
html[data-bs-theme="light"] .store-add {
  background: rgba(255, 255, 255, 0.88);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: var(--text);
}

html[data-bs-theme="light"] .store-card-price .price-now {
  color: color-mix(in srgb, var(--theme-accent, var(--brand)) 88%, black 8%);
}

@media (min-width: 992px) {
  .store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .store-tabs-wrap {
    padding: 10px;
    border-radius: 22px;
  }

  .store-category-section {
    padding: 14px 14px 6px;
    border-radius: 22px;
  }

  .store-section-title {
    font-size: 16px;
  }

  .store-card {
    min-height: 308px;
    border-radius: 20px;
  }

  .store-card-title {
    font-size: 16px;
  }

  .store-card-price .price-now {
    font-size: 15px;
  }

  .store-grid {
    gap: 20px;
  }
}

@media (max-width: 575.98px) {
  .store-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .store-card-media {
    height: 154px;
  }
}

@media (max-width: 420px) {
  .store-card-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .store-add {
    width: 100%;
    justify-content: center;
  }
}

.store-product-shell {
  width: 100%;
  padding: 24px;
  border-radius: 32px;
  border: 1px solid var(--stroke-card);
  background:
    radial-gradient(900px 360px at 86% 6%, rgba(109, 94, 252, 0.12), transparent 58%),
    radial-gradient(700px 280px at 12% 100%, rgba(82, 156, 235, 0.10), transparent 60%),
    var(--card-bg);
  box-shadow: var(--card-shadow);
}

.store-product-stage-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.store-product-crown-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 24px;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(178, 70, 150, 0.45));
  z-index: 3;
}

.store-product-badge-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--color-orchid-purple);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(178, 70, 150, 0.3);
  z-index: 3;
}

.store-product-stage {
  min-height: 440px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(560px 220px at 76% 14%, rgba(109, 94, 252, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(8, 12, 22, 0.88), rgba(6, 10, 18, 0.98));
  overflow: hidden;
  position: relative;
}

@media (max-width: 575.98px) {
  .store-product-stage {
    min-height: 260px;
  }

  .store-product-shell {
    padding: 16px;
    border-radius: 24px;
  }
}

.store-product-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 18px;
}

.store-product-head-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.store-product-badge {
  min-width: 68px;
  height: 42px;
  padding-inline: 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(109, 94, 252, 0.22);
}

.store-product-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1.18;
  color: rgba(238, 242, 255, 0.96);
}

.store-product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.store-product-rating-stars {
  letter-spacing: 0.18em;
  color: #ffb703;
  font-size: 20px;
}

.store-product-rating-value {
  color: rgba(238, 242, 255, 0.6);
  font-weight: 600;
}

.store-product-caption {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.store-product-description {
  margin: 0 0 18px;
  color: rgba(238, 242, 255, 0.76);
  line-height: 2;
}

.store-product-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  width: 100%;
}

.store-product-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.store-product-meta-item i {
  font-size: 16px;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.store-product-meta-item span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.store-product-meta-item strong {
  color: rgba(238, 242, 255, 0.94);
  font-size: 13px;
  font-weight: 700;
}

.store-product-meta-item+.store-product-meta-item::before {
  content: "|";
  color: rgba(255, 255, 255, 0.2);
  margin-inline-end: 16px;
}

.store-product-block {
  margin-bottom: 20px;
}

.store-product-accordion {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 22px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-product-accordion[data-open="true"] {
  background: rgba(255, 255, 255, 0.04);
}

button.store-product-block-head {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: right;
}

.store-product-accordion .store-product-block-title {
  font-size: 16px;
  font-weight: 700;
  padding-inline-start: 0;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.store-product-accordion .store-product-block-title::before {
  display: none !important;
}

.store-product-accordion .store-product-block-icon {
  border: none !important;
  background: transparent !important;
  width: auto;
  height: auto;
  font-size: 18px;
  display: inline-block;
}

.store-product-accordion .store-product-block-icon i {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.store-product-contents-wrapper {
  margin-top: 16px;
}

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

@media (max-width: 576px) {
  .store-product-contents {
    grid-template-columns: 1fr;
  }
}

.store-product-content-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  text-align: right;
}

.store-product-content-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 18px;
  flex-shrink: 0;
}

.store-product-content-icon i {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.store-product-content-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.store-product-content-item h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(238, 242, 255, 0.94);
}

.store-product-content-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.4;
}

.store-product-buy-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  width: 100%;
}

.store-product-qty,
.store-product-price-wrap,
.store-product-stats,
.store-product-perks {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.store-product-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 16px;
  padding: 8px;
}

.store-product-qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(238, 242, 255, 0.96);
  font-size: 24px;
  line-height: 1;
}

.store-product-qty-value {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  color: rgba(238, 242, 255, 0.96);
}

.store-product-price-wrap {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.store-product-price {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.store-product-sku {
  display: none !important;
}

.store-product-cta {
  width: 100%;
  max-width: 480px;
  min-height: 54px;
  border-radius: 16px;
  border: 2px solid var(--color-orchid-purple) !important;
  background: transparent !important;
  color: var(--color-orchid-purple) !important;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.store-product-cta:hover {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px rgba(178, 70, 150, 0.2);
}

.store-product-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
}

.store-product-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 84px;
  text-align: center;
}

.store-product-stat+.store-product-stat {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
}

.store-product-stat-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.store-product-stat-icon {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  font-size: 20px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-product-stat-icon i {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.store-product-stat-number {
  font-size: 22px;
  font-weight: 800;
  color: rgba(238, 242, 255, 0.96);
  line-height: 1;
}

.store-product-stat-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.2;
}

.store-product-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
}

.store-product-perk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px 14px;
  color: rgba(238, 242, 255, 0.88);
  font-weight: 700;
}

.store-product-perk+.store-product-perk {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
}

.store-product-perk i {
  color: color-mix(in srgb, var(--brand-2) 92%, white 10%);
  font-size: 18px;
}

.store-product-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border-radius: inherit;
  overflow: hidden;
  background:
    radial-gradient(500px 200px at 14% 84%, rgba(0, 0, 0, 0.55), transparent 56%),
    radial-gradient(460px 180px at 88% 12%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(145deg, rgba(8, 10, 18, 0.98), rgba(6, 8, 16, 1));
}

.store-product-visual::before,
.store-product-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.store-product-visual::before {
  inset: 10% auto auto 12%;
  width: 76%;
  height: 68%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.38));
  transform: perspective(900px) rotateY(-20deg) rotateX(12deg);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.store-product-visual::after {
  inset: auto 6% 7% auto;
  width: 52%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--product-glow, #8b5cf6) 24%, transparent), transparent 68%);
  filter: blur(22px);
}

.store-product-visual-screen {
  position: absolute;
  inset: 20% 18% 18% 18%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 13, 24, 0.58);
  transform: perspective(900px) rotateY(-20deg) rotateX(12deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.store-product-visual-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(6, 10, 18, 0.84);
  color: var(--product-accent, #8b5cf6);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.store-product-visual-pill,
.store-product-visual-card,
.store-product-visual-line,
.store-product-visual-bar,
.store-product-visual-chip {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: color-mix(in srgb, var(--product-accent, #8b5cf6) 84%, white 10%);
  box-shadow: 0 0 18px color-mix(in srgb, var(--product-accent, #8b5cf6) 24%, transparent);
}

.store-product-visual-pill {
  top: 10%;
  right: 8%;
  width: 22%;
  height: 8px;
}

.store-product-visual-pill--short {
  top: 18%;
  width: 14%;
}

.store-product-visual-card {
  top: 22%;
  right: 12%;
  width: 32%;
  height: 24%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(255, 255, 255, 0.05));
  border: 1px solid color-mix(in srgb, var(--product-accent, #8b5cf6) 26%, transparent);
}

.store-product-visual-card--user {
  top: 20%;
  left: 12%;
  width: 18%;
  height: 30%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 50% 72%, #fff 0 28%, transparent 29%),
    radial-gradient(circle, color-mix(in srgb, var(--product-accent, #8b5cf6) 82%, transparent) 0 80%, transparent 81%);
}

.store-product-visual-chip {
  top: 58%;
  right: 13%;
  width: 18%;
  height: 10%;
  border-radius: 14px;
}

.store-product-visual-line--lg {
  top: 54%;
  right: 36%;
  width: 46%;
  height: 10px;
}

.store-product-visual-line--md {
  top: 64%;
  right: 28%;
  width: 54%;
  height: 8px;
}

.store-product-visual-line--sm {
  top: 72%;
  right: 16%;
  width: 66%;
  height: 8px;
}

.store-product-visual-bar {
  bottom: 10%;
  right: 12%;
  width: 70%;
  height: 10px;
}

.store-product-visual.is-thumb {
  min-height: 90px;
  border-radius: 12px;
}

.store-product-visual.is-thumb::before {
  inset: 14% auto auto 12%;
  width: 68%;
  height: 58%;
  border-radius: 16px;
}

.store-product-visual.is-thumb .store-product-visual-screen {
  inset: 18% 16% 18% 18%;
  border-radius: 14px;
}

.store-product-visual.is-thumb .store-product-visual-badge {
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 10px;
}

.store-product-visual--purple {
  --product-accent: #8b5cf6;
  --product-glow: rgba(139, 92, 246, 0.42);
}

.store-product-visual--blue {
  --product-accent: #3b82f6;
  --product-glow: rgba(59, 130, 246, 0.38);
}

.store-product-visual--green {
  --product-accent: #22c55e;
  --product-glow: rgba(34, 197, 94, 0.34);
}

.store-product-visual--gold {
  --product-accent: #f59e0b;
  --product-glow: rgba(245, 158, 11, 0.38);
}

.store-product-visual--pink {
  --product-accent: #ec4899;
  --product-glow: rgba(236, 72, 153, 0.36);
}

.store-product-visual--gray {
  --product-accent: #94a3b8;
  --product-glow: rgba(148, 163, 184, 0.28);
}

.store-product-visual--orange {
  --product-accent: #fb923c;
  --product-glow: rgba(251, 146, 60, 0.34);
}

.store-product-visual--clean::before,
.store-product-visual--light::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.store-product-visual--dark {
  background:
    radial-gradient(500px 200px at 14% 84%, rgba(0, 0, 0, 0.7), transparent 56%),
    linear-gradient(145deg, #04060c, #0b1020);
}

.store-product-visual--light {
  background:
    radial-gradient(500px 200px at 14% 84%, rgba(255, 255, 255, 0.18), transparent 56%),
    linear-gradient(145deg, rgba(228, 235, 245, 0.98), rgba(195, 206, 222, 0.98));
}

.store-product-visual--light .store-product-visual-screen,
.store-product-visual--clean .store-product-visual-screen {
  background: rgba(255, 255, 255, 0.58);
}

html[data-bs-theme="light"] .store-product-shell,
html[data-bs-theme="light"] .store-product-stage,
html[data-bs-theme="light"] .store-product-meta-item,
html[data-bs-theme="light"] .store-product-content-item,
html[data-bs-theme="light"] .store-product-qty,
html[data-bs-theme="light"] .store-product-price-wrap,
html[data-bs-theme="light"] .store-product-stats,
html[data-bs-theme="light"] .store-product-block-icon {
  border-color: rgba(109, 94, 252, 0.15) !important;
  box-shadow: 0 10px 30px rgba(109, 94, 252, 0.04);
}

html[data-bs-theme="light"] .store-product-shell {
  background: #ffffff !important;
  border: 1px solid rgba(109, 94, 252, 0.18) !important;
  box-shadow: 0 15px 45px rgba(109, 94, 252, 0.08) !important;
}

html[data-bs-theme="light"] .store-product-stage {
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.98), rgba(226, 232, 240, 0.98)) !important;
  border-color: rgba(109, 94, 252, 0.15) !important;
}

html[data-bs-theme="light"] .store-product-meta-item {
  background: rgba(245, 247, 250, 0.5) !important;
}

html[data-bs-theme="light"] .store-product-accordion {
  border-color: rgba(109, 94, 252, 0.15) !important;
  background: rgba(245, 247, 250, 0.5) !important;
}

html[data-bs-theme="light"] .store-product-accordion[data-open="true"] {
  background: rgba(245, 247, 250, 0.8) !important;
}

html[data-bs-theme="light"] .store-product-content-item {
  background: #ffffff !important;
  border-color: rgba(109, 94, 252, 0.12) !important;
}

html[data-bs-theme="light"] .store-product-stats {
  background: rgba(245, 247, 250, 0.6) !important;
  border-color: rgba(109, 94, 252, 0.15) !important;
}

html[data-bs-theme="light"] .store-product-stat-number {
  color: var(--text) !important;
}

html[data-bs-theme="light"] .store-product-stat-desc {
  color: var(--muted) !important;
}

html[data-bs-theme="light"] .store-product-title,
html[data-bs-theme="light"] .store-product-content-item h3,
html[data-bs-theme="light"] .store-product-meta-item strong,
html[data-bs-theme="light"] .store-product-stat-copy strong,
html[data-bs-theme="light"] .store-product-perk,
html[data-bs-theme="light"] .store-product-qty-value,
html[data-bs-theme="light"] .store-product-nav-btn,
html[data-bs-theme="light"] .store-product-qty-btn {
  color: var(--text);
}

html[data-bs-theme="light"] .store-product-caption,
html[data-bs-theme="light"] .store-product-description,
html[data-bs-theme="light"] .store-product-meta-item span,
html[data-bs-theme="light"] .store-product-content-item p,
html[data-bs-theme="light"] .store-product-stat-copy span,
html[data-bs-theme="light"] .store-product-rating-value,
html[data-bs-theme="light"] .store-product-sku {
  color: var(--muted) !important;
}

html[data-bs-theme="light"] .store-product-qty-btn {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

html[data-bs-theme="light"] .store-product-visual--light {
  background:
    radial-gradient(500px 200px at 14% 84%, rgba(255, 255, 255, 0.28), transparent 56%),
    linear-gradient(145deg, rgba(245, 247, 251, 1), rgba(226, 232, 240, 1));
}

@media (max-width: 1199.98px) {
  .store-product-grid {
    grid-template-columns: 1fr;
  }

  .store-product-gallery-card {
    order: 1;
  }

  .store-product-info-card {
    order: 2;
  }
}

@media (max-width: 991.98px) {
  .store-product-contents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-product-cta {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .store-product-shell {
    padding: 14px;
    border-radius: 24px;
  }

  .store-product-info-card,
  .store-product-gallery-card {
    border-radius: 22px;
    padding: 14px;
  }

  .store-product-stage {
    min-height: 290px;
    border-radius: 20px;
  }

  .store-product-thumbs-row {
    grid-template-columns: 1fr;
  }

  .store-product-nav-btn {
    display: none;
  }

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

  .store-product-title {
    font-size: 24px;
  }

  .store-product-head {
    flex-direction: column;
    align-items: stretch;
  }

  .store-product-meta,
  .store-product-contents,
  .store-product-perks,
  .store-product-stats {
    grid-template-columns: 1fr;
  }

  .store-product-stat+.store-product-stat,
  .store-product-perk+.store-product-perk {
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .store-product-perk,
  .store-product-stat {
    justify-content: flex-start;
  }
}

.cart-badge {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 86%, #000);
  color: white;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.store-drawer {
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.92), rgba(11, 18, 32, 0.96));
  color: rgba(238, 242, 255, 0.92);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="light"] .store-drawer {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  color: var(--text);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

.store-drawer .btn-close {
  filter: invert(1);
}

html[data-bs-theme="light"] .store-drawer .btn-close {
  filter: none;
}

.store-drawer-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
}

html[data-bs-theme="light"] .store-drawer-hero {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

.store-drawer-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--brand-2) 92%, white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(closest-side, rgba(109, 94, 252, 0.22), rgba(0, 0, 0, 0.18));
}

html[data-bs-theme="light"] .store-drawer-icon {
  color: var(--brand);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.store-drawer-price {
  font-weight: 900;
}

.store-drawer-desc {
  line-height: 1.9;
  color: rgba(238, 242, 255, 0.75);
}

html[data-bs-theme="light"] .store-drawer-desc {
  color: var(--muted);
}

.store-drawer-meta {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.16);
  padding: 12px;
}

html[data-bs-theme="light"] .store-drawer-meta {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

.store-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-meta-row:last-child {
  border-bottom: 0;
}

html[data-bs-theme="light"] .store-meta-row {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

.store-related-title {
  font-weight: 900;
}

.store-related-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-related-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 242, 255, 0.9);
  padding: 8px 10px;
  font-weight: 800;
  font-size: 12px;
}

html[data-bs-theme="light"] .store-related-pill {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: var(--text);
}

.store-modal {
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.92), rgba(11, 18, 32, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(238, 242, 255, 0.92);
  border-radius: 22px;
}

.store-modal .btn-close {
  filter: invert(1);
}

html[data-bs-theme="light"] .store-modal .btn-close {
  filter: none;
}

html[data-bs-theme="light"] .store-modal {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: var(--text);
}

.store-cart {
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.92), rgba(11, 18, 32, 0.96));
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(238, 242, 255, 0.92);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

html[data-bs-theme="light"] .store-cart {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  color: var(--text);
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.16);
  padding: 12px;
}

.cart-row+.cart-row {
  margin-top: 10px;
}

html[data-bs-theme="light"] .cart-row {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

.cart-title {
  font-weight: 900;
}

.cart-remove {
  border-radius: 14px;
  padding: 8px 10px;
}

/* Admin (Store dashboard) */
.admin-hero-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
}

html[data-bs-theme="light"] .admin-hero-title {
  color: var(--text);
}

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

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

@media (min-width: 992px) {
  .admin-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}

.admin-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(15, 26, 48, 0.55);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

html[data-bs-theme="light"] .admin-card {
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  box-shadow: var(--shadow);
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="light"] .admin-card-head {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

.admin-card-title {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
}

html[data-bs-theme="light"] .admin-card-title {
  color: var(--text);
}

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

.admin-table {
  color: rgba(238, 242, 255, 0.92);
  margin: 0;
}

html[data-bs-theme="light"] .admin-table {
  color: var(--text);
}

.admin-table thead th {
  font-size: 12px;
  color: rgba(238, 242, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

html[data-bs-theme="light"] .admin-table thead th {
  color: var(--muted);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

.admin-table td {
  border-color: rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

html[data-bs-theme="light"] .admin-table td {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.admin-pill.is-on {
  border-color: color-mix(in srgb, var(--brand) 32%, transparent);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
}

.admin-pill.is-off {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.8;
}

html[data-bs-theme="light"] .admin-pill {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

/* Extra small phone optimization (< 380px) */
@media (max-width: 379.98px) {
  .home-hero-card .card-body {
    padding: 16px;
    gap: 8px;
  }

  .home-hero-title {
    font-size: clamp(18px, 1.8vw + 12px, 28px);
    margin-bottom: 12px;
  }

  .home-hero-subtitle {
    font-size: clamp(12px, 0.9vw + 9px, 14px);
  }

  .hero-illustration {
    margin: 0 auto 12px;
  }
}

@media (min-width: 768px) {
  .content-wrap {
    max-width: 1240px;
  }

  .bottom-nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1240px;
    border-radius: var(--radius);
    margin: 0 auto;
  }

  .pb-bottom-nav {
    padding-bottom: 24px;
    /* smaller padding when nav is fixed on wide screens */
  }
}

@media (min-width: 992px) {
  .content-wrap {
    max-width: 1320px;
  }
}

@media (min-width: 1400px) {
  .content-wrap {
    max-width: 1360px;
  }
}

@media (max-width: 575.98px) {
  .hero-body {
    padding-top: 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-illustration {
    width: min(260px, 100%);
  }

  .stats-table .stats-row .metric-num {
    font-size: 20px;
  }

  .feature-card {
    padding: 16px 14px;
  }

  .stat-card .card-body {
    padding: 16px;
  }

  .review .card-body {
    padding: 16px;
  }
}

/* Large phone optimization (380px - 500px) */
@media (min-width: 380px) and (max-width: 575.98px) {
  .home-hero-card {
    border-radius: 18px;
  }

  .hero-illustration,
  .stats-hero-graphic,
  .footer-illustration,
  .hero-card,
  .profile-hero-rocket {
    min-width: 0;
  }

  .bottom-nav-inner {
    gap: 4px;
  }

  .home-hero-card .card-body {
    padding: 20px;
  }

  .feature-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .feature-title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .feature-text {
    font-size: 12px;
  }

  .stat-card .card-body {
    padding: 18px;
  }

  .stat-value {
    font-size: 20px;
  }

  .review .card-body {
    padding: 18px;
  }

  .bottom-item {
    padding: 10px 6px;
    gap: 5px;
  }

  .bottom-item i {
    font-size: 20px;
  }

  .bottom-item span {
    font-size: 10px;
  }

  .stats-row .card-body {
    padding: 18px;
  }

  .rank-badge {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .avatar-lg {
    width: 42px;
    height: 42px;
  }

  .metric-num {
    font-size: 20px;
  }
}

/* Very large phone optimization (500px+) */
@media (min-width: 500px) and (max-width: 767.98px) {
  .home-hero-card .card-body {
    padding: 24px;
  }

  .home-hero-title {
    font-size: clamp(22px, 1.8vw + 14px, 32px);
  }

  .home-hero-subtitle {
    font-size: clamp(14px, 0.9vw + 10px, 16px);
  }

  .feature-card {
    padding: 20px 18px;
  }

  .bottom-nav-inner {
    gap: 6px;
  }

  .bottom-item {
    padding: 12px 8px;
  }

  .stats-row .card-body {
    padding: 20px;
  }
}

/* ===== Explore Page (Dark) ===== */
.explore-page {
  background: radial-gradient(900px 420px at 70% -10%, rgba(109, 94, 252, 0.22), transparent 60%),
    radial-gradient(900px 420px at 20% 0%, rgba(138, 124, 255, 0.16), transparent 62%),
    var(--app-bg);
}

.explore-header .hero-brand {
  color: rgba(238, 242, 255, 0.92);
}

.btn-post {
  border: 1px solid rgba(138, 124, 255, 0.45);
  background: rgba(109, 94, 252, 0.16);
  color: #fff;
  font-weight: 800;
  border-radius: 14px;
  padding: 10px 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.btn-post:hover {
  background: rgba(109, 94, 252, 0.22);
  color: #fff;
}

.avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.avatar-sm.lg {
  width: 46px;
  height: 46px;
}

.status-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  bottom: -1px;
  left: -1px;
  border: 2px solid rgba(11, 18, 32, 0.85);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  min-width: 0;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 14px;
  border-radius: 14px;
  white-space: nowrap;
  font-weight: 700;
}

@media (max-width: 450px) {
  .chip {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 500px) {
  .composer-actions {
    grid-template-columns: 1fr;
  }

  .composer-btn {
    width: 100%;
  }
}

.chip code {
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  padding: 0;
}

.chip.is-active {
  border-color: rgba(138, 124, 255, 0.55);
  background: rgba(109, 94, 252, 0.18);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(109, 94, 252, 0.15), 0 10px 30px rgba(109, 94, 252, 0.18);
}

.explore-panel {
  background: rgba(15, 26, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.explore-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(130px, 1fr);
  gap: 14px;
  overflow: auto;
  padding-bottom: 6px;
}

.trend {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  min-height: 160px;
  overflow: hidden;
}

.trend-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.trend-link:hover,
.trend-link:focus,
.trend-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.trend-link:focus-visible {
  outline: 2px solid rgba(138, 124, 255, 0.65);
  outline-offset: 2px;
}

@media (max-width: 450px) {
  .trend {
    border-radius: 16px;
    padding: 10px;
    min-height: 140px;
  }

  .trend-img {
    height: 80px;
    width: 80px;
  }

  .trend-title {
    font-size: 13px;
  }

  .trend-num {
    font-size: 11px;
    padding: 4px 8px;
  }
}

.trend-img {
  height: 92px;
  width: 92px;
  border-radius: 999px;
  margin: 0 auto;
  background:
    radial-gradient(120px 60px at 40% 40%, rgba(138, 124, 255, 0.35), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(138, 124, 255, 0.25);
}

.trend-img.alt {
  background:
    radial-gradient(120px 60px at 60% 40%, rgba(34, 197, 94, 0.25), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.trend-img.person {
  background:
    radial-gradient(120px 60px at 50% 40%, rgba(255, 122, 47, 0.22), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.trend-img.person2 {
  background:
    radial-gradient(120px 60px at 50% 40%, rgba(255, 255, 255, 0.10), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.trend-img.rocket {
  background:
    radial-gradient(120px 60px at 50% 40%, rgba(109, 94, 252, 0.32), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.trend-img.landscape {
  background:
    radial-gradient(120px 60px at 40% 40%, rgba(59, 130, 246, 0.22), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.trend-meta {
  margin-top: 10px;
  text-align: center;
}

.trend-num {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(138, 124, 255, 0.35);
  background: rgba(109, 94, 252, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 12px;
  width: fit-content;
}

.trend-title {
  font-weight: 900;
  color: #fff;
  margin-top: 8px;
}

.online-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  bottom: 10px;
  left: 10px;
  border: 2px solid rgba(11, 18, 32, 0.85);
}

.composer {
  background: rgba(15, 26, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.composer-input {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.92);
}

.composer-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.composer-input:focus {
  outline: none;
  border-color: rgba(138, 124, 255, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(109, 94, 252, 0.15);
}

.composer-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.composer-btn {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.post-card {
  border-radius: 22px;
  border: 1px solid rgba(138, 124, 255, 0.28);
  background: rgba(15, 26, 48, 0.55);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.post-card.accent-gold {
  border-color: rgba(245, 158, 11, 0.28);
}

.post-card.accent-teal {
  border-color: rgba(45, 212, 191, 0.28);
}

.post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 14px 14px 0;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
}

.post-body {
  padding: 10px 14px 12px;
}

.post-media {
  height: 190px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(260px 140px at 40% 35%, rgba(109, 94, 252, 0.34), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

@media (max-width: 450px) {
  .post-media {
    height: 160px;
    border-radius: 16px;
  }
}

.post-media.alt {
  background:
    radial-gradient(260px 140px at 55% 35%, rgba(245, 158, 11, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.post-media.teal {
  background:
    radial-gradient(260px 140px at 45% 35%, rgba(45, 212, 191, 0.24), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.post-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-pill {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  padding: 8px 12px;
  font-weight: 800;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.tag-pill.gold {
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.10);
}

.post-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-action {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.post-action.like-toggle {
  color: rgba(148, 163, 184, 0.92);
}

.post-action.like-toggle.is-like {
  color: rgba(59, 130, 246, 0.98);
}

.post-action.like-toggle.is-dislike {
  color: rgba(148, 163, 184, 0.92);
  opacity: 1;
}

.comments {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comment-list {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  margin-bottom: 12px;
}

.comment {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.avatar-xs {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  flex: 0 0 auto;
}

.comment-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.comment-input {
  flex: 1 1 auto;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.92);
}

.comment-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.comment-input:focus {
  outline: none;
  border-color: rgba(138, 124, 255, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(109, 94, 252, 0.15);
}

.comment-send {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html[data-bs-theme="light"] .comments,
html[data-bs-theme="light"] .comment-send,
html[data-bs-theme="light"] .avatar-xs {
  border-color: color-mix(in srgb, var(--stroke) 80%, transparent);
}

html[data-bs-theme="light"] .avatar-xs {
  background: color-mix(in srgb, var(--card-bg) 90%, transparent);
  color: var(--text);
}

html[data-bs-theme="light"] .comment-input {
  border-color: color-mix(in srgb, var(--stroke) 80%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  color: var(--text);
}

html[data-bs-theme="light"] .comment-input::placeholder {
  color: var(--muted);
}

/* ===== Explore Redesign ===== */
.explore-topbar {
  min-height: 56px;
}

.explore-page-title {
  min-width: 0;
}

.explore-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.explore-heading {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.explore-shell {
  border-radius: 24px;
  border: 1px solid var(--stroke-card);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

html[data-bs-theme="dark"] .explore-shell {
  background: rgba(15, 26, 48, 0.55);
}

.explore-tabs-shell {
  padding: 10px 12px;
  background:
    radial-gradient(900px 260px at 80% 20%, rgba(109, 94, 252, 0.16), transparent 62%),
    var(--card-bg);
}

html[data-bs-theme="dark"] .explore-tabs-shell {
  background:
    radial-gradient(900px 260px at 80% 20%, rgba(109, 94, 252, 0.18), transparent 62%),
    rgba(15, 26, 48, 0.55);
}

.explore-page .chips.explore-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  direction: inherit;
  scrollbar-width: none;
}

.explore-page .chips.explore-tabs::-webkit-scrollbar {
  display: none;
}

.explore-page .chip {
  flex: 0 0 auto;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 14px;
  white-space: nowrap;
  font-weight: 800;
  transition: all 0.25s ease;
}

.explore-page .chip:hover,
.explore-page .chip.is-active {
  border-color: rgba(178, 70, 150, 0.35) !important;
  background: linear-gradient(135deg, rgba(67, 56, 140, 0.12) 0%, rgba(178, 70, 150, 0.12) 100%) !important;
  box-shadow: 0 4px 15px rgba(67, 56, 140, 0.08) !important;
  color: inherit;
}

.explore-chip-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  transition: all 0.25s ease;
}

.explore-page .chip:hover .explore-chip-inner,
.explore-page .chip.is-active .explore-chip-inner {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.explore-panel {
  padding: 18px;
}

.explore-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 16px;
}

.explore-section-title-wrap {
  min-width: 0;
  text-align: start;
}

.explore-section-title-wrap .vertical-divider-line {
  background: linear-gradient(180deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
}

.explore-section-title {
  font-size: 1.15rem;
}

.explore-section-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.explore-panel-link {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 800;
}

  /* html[dir="rtl"] .explore-section-head {
    flex-direction: row-reverse;
  } */

html[dir="rtl"] .explore-section-title-wrap {
  text-align: right;
}

html[dir="rtl"] .explore-panel-link {
  flex-direction: row-reverse;
}

.explore-featured-slider-wrap {
  padding: 0 45px;
}

.explore-featured-swiper {
  width: 100%;
  padding-top: 24px !important;
  padding-bottom: 32px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  margin-top: -24px !important;
  margin-bottom: 0 !important;
}

.explore-featured-swiper .swiper-wrapper {
  align-items: stretch;
}

.explore-featured-swiper .swiper-slide {
  height: auto;
}

.explore-featured-swiper .explore-spotlight {
  height: 100%;
}

.explore-featured-prev,
.explore-featured-next {
  top: 44%;
  z-index: 3;
}

.explore-featured-prev {
  left: 0;
}

.explore-featured-next {
  right: 0;
}

html[dir="rtl"] .explore-featured-prev {
  right: 0;
  left: auto;
}

html[dir="rtl"] .explore-featured-next {
  left: 0;
  right: auto;
}

.explore-featured-pagination {
  position: absolute;
  inset-inline: 0;
  bottom: 6px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.explore-featured-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 999px;
  background: color-mix(in srgb, var(--stroke) 90%, transparent);
  opacity: 1;
  transition: all 0.28s ease;
}

.explore-featured-pagination .swiper-pagination-bullet-active {
  width: 22px;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
}

.explore-spotlight {
  min-height: 164px;
  padding: 18px 14px 14px;
  border-radius: 20px;
  border: none;
  background:
    radial-gradient(180px 110px at 50% 0%, color-mix(in srgb, var(--spotlight-glow, rgba(109, 94, 252, 0.22)) 88%, transparent), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    var(--card-bg);
  box-shadow:
    0 14px 34px color-mix(in srgb, var(--spotlight-glow, rgba(109, 94, 252, 0.16)) 42%, transparent),
    var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

html[data-bs-theme="dark"] .explore-spotlight {
  background:
    radial-gradient(200px 120px at 50% 0%, color-mix(in srgb, var(--spotlight-glow, rgba(109, 94, 252, 0.28)) 94%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012)),
    rgba(15, 26, 48, 0.72);
}

.explore-spotlight:hover {
  box-shadow: 0 16px 38px rgba(109, 94, 252, 0.12);
}

.explore-spotlight-icon {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--spotlight-color, var(--brand)) 26%, rgba(255, 255, 255, 0.14)); */
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--spotlight-glow, rgba(109, 94, 252, 0.24)) 100%, transparent), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); 
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 30px color-mix(in srgb, var(--spotlight-glow, rgba(109, 94, 252, 0.22)) 55%, transparent);
}

.explore-spotlight-icon i {
  font-size: 30px;
  color: var(--spotlight-color, var(--brand));
}

.trend-purple {
  --spotlight-color: #9b6bff;
  --spotlight-glow: rgba(155, 107, 255, 0.22);
}

.trend-green {
  --spotlight-color: #22c55e;
  --spotlight-glow: rgba(34, 197, 94, 0.20);
}

.trend-orange {
  --spotlight-color: #ff8b44;
  --spotlight-glow: rgba(255, 139, 68, 0.20);
}

.trend-blue {
  --spotlight-color: #3b82f6;
  --spotlight-glow: rgba(59, 130, 246, 0.20);
}

.trend-violet {
  --spotlight-color: #8b5cf6;
  --spotlight-glow: rgba(139, 92, 246, 0.20);
}

.trend-cyan {
  --spotlight-color: #06b6d4;
  --spotlight-glow: rgba(6, 182, 212, 0.20);
}

.explore-page .trend-meta {
  margin-top: 0;
  text-align: center;
}

.explore-page .trend-num {
  border-color: color-mix(in srgb, var(--spotlight-color, var(--brand)) 24%, transparent);
  background: color-mix(in srgb, var(--spotlight-color, var(--brand)) 10%, transparent);
  color: color-mix(in srgb, var(--spotlight-color, var(--brand)) 78%, white 10%);
  font-size: 11px;
  padding: 5px 9px;
}

.explore-page .trend-title {
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
}

.explore-page .online-dot {
  width: 8px;
  height: 8px;
  right: 14px;
  left: auto;
  bottom: 14px;
  border-color: color-mix(in srgb, var(--card-bg) 92%, transparent);
}

.composer {
  border-radius: 24px;
  border: 1px solid var(--stroke-card);
  box-shadow: var(--card-shadow);
}

.explore-composer-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  direction: ltr;
}

.explore-publish-btn {
  min-width: 78px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  box-shadow: 0 8px 25px rgba(67, 56, 140, 0.25);
  justify-self: start;
}

.explore-publish-btn:hover,
.explore-publish-btn:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 25px rgba(67, 56, 140, 0.25);
}

.explore-composer-input-wrap {
  min-height: 54px;
  border: 1px solid var(--stroke-card);
  border-radius: 18px;
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  direction: inherit;
}

html[dir="rtl"] .explore-composer-input-wrap {
  direction: rtl;
  flex-direction: row-reverse;
}

html[dir="ltr"] .explore-composer-input-wrap {
  direction: ltr;
  flex-direction: row;
}

html[data-bs-theme="dark"] .explore-composer-input-wrap {
  background: rgba(255, 255, 255, 0.02);
}

.explore-composer-input-wrap .composer-input {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

html[dir="rtl"] .explore-composer-input-wrap .composer-input {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .explore-composer-input-wrap .composer-input {
  direction: ltr;
  text-align: left;
}

.explore-composer-input-wrap .composer-input:focus {
  box-shadow: none;
}

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

.composer-btn {
  min-height: 44px;
  justify-content: center;
  border-radius: 16px;
  font-weight: 800;
}

.explore-feed {
  display: grid;
  gap: 18px;
}

.explore-post-card {
  border-radius: 24px;
  border: 1px solid var(--stroke-card);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

html[data-bs-theme="dark"] .explore-post-card {
  background: rgba(15, 26, 48, 0.55);
}

.explore-post-card .post-head {
  padding: 16px 18px 0;
}

.explore-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.explore-post-card .post-body {
  padding: 14px 18px 16px;
}

.explore-post-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  direction: ltr;
}

.explore-post-media-col,
.explore-post-content-col {
  direction: rtl;
}

.explore-post-media-col {
  display: grid;
  gap: 10px;
}

.explore-post-media {
  height: 170px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--stroke-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
}

.explore-post-art {
  width: 100%;
  height: 100%;
  position: relative;
}

.explore-post-art::before,
.explore-post-art::after {
  content: "";
  position: absolute;
  inset: auto;
}

.explore-post-art--violet {
  background:
    radial-gradient(80px 80px at 60% 30%, rgba(155, 107, 255, 0.26), transparent 60%),
    linear-gradient(135deg, rgba(109, 94, 252, 0.18), rgba(255, 122, 47, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.explore-post-art--violet::before {
  left: 34px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 112px solid transparent;
  border-right: 112px solid transparent;
  border-bottom: 78px solid rgba(139, 92, 246, 0.16);
}

.explore-post-art--violet::after {
  right: 38px;
  top: 30px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(178, 70, 150, 0.18);
}

.explore-post-art--gold {
  background:
    radial-gradient(120px 120px at 70% 35%, rgba(251, 191, 36, 0.18), transparent 62%),
    linear-gradient(135deg, rgba(251, 191, 36, 0.10), rgba(255, 255, 255, 0.02));
}

.explore-post-art--gold::before {
  left: 36px;
  top: 28px;
  width: 138px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.explore-post-art--gold::after {
  right: 30px;
  bottom: 22px;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(251, 191, 36, 0.16);
}

.explore-post-art--teal {
  background:
    radial-gradient(110px 110px at 42% 38%, rgba(45, 212, 191, 0.20), transparent 62%),
    linear-gradient(135deg, rgba(45, 212, 191, 0.10), rgba(59, 130, 246, 0.08));
}

.explore-post-art--teal::before {
  left: 30px;
  bottom: 26px;
  width: 150px;
  height: 3px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.35);
  box-shadow:
    0 -20px 0 rgba(45, 212, 191, 0.28),
    0 -40px 0 rgba(45, 212, 191, 0.22);
}

.explore-post-art--teal::after {
  right: 42px;
  top: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.16);
}

.explore-share-link {
  width: fit-content;
  color: var(--muted);
  padding: 0;
}

.explore-post-content-col {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.explore-post-copy {
  min-width: 0;
}

.explore-post-copy p {
  font-size: 16px;
  line-height: 2;
}

.explore-post-card .post-tags {
  gap: 10px;
}

.explore-post-card .post-foot {
  padding: 0;
  border-top: 0;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.explore-post-card .post-action {
  padding: 0;
  min-width: 0;
}

.explore-post-card .comments {
  margin: 0 18px 18px;
  padding: 14px 0 0;
}

html[data-bs-theme="light"] .explore-page .text-white {
  color: var(--text) !important;
}

html[data-bs-theme="light"] .explore-page .text-white-50 {
  color: var(--muted) !important;
}

html[data-bs-theme="light"] .explore-page .chip {
  border-color: color-mix(in srgb, var(--stroke) 80%, transparent);
  background: color-mix(in srgb, var(--card-bg) 86%, transparent);
  color: color-mix(in srgb, var(--text) 82%, transparent);
}

html[data-bs-theme="light"] .explore-page .chip:hover,
html[data-bs-theme="light"] .explore-page .chip.is-active {
  color: inherit;
}

html[data-bs-theme="light"] .explore-page .btn-ghost,
html[data-bs-theme="light"] .explore-page .composer-btn,
html[data-bs-theme="light"] .explore-page .tag-pill,
html[data-bs-theme="light"] .explore-page .comment-send,
html[data-bs-theme="light"] .explore-composer-input-wrap {
  border-color: color-mix(in srgb, var(--stroke) 80%, transparent);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  color: var(--text);
}

html[data-bs-theme="light"] .explore-page .composer-input,
html[data-bs-theme="light"] .explore-page .comment-input {
  color: var(--text);
}

html[data-bs-theme="light"] .explore-page .composer-input::placeholder,
html[data-bs-theme="light"] .explore-page .comment-input::placeholder,
html[data-bs-theme="light"] .explore-section-subtitle {
  color: var(--muted);
}

html[data-bs-theme="light"] .explore-spotlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96)),
    #ffffff;
}

html[data-bs-theme="light"] .explore-post-media {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96));
}

@media (max-width: 1199.98px) {
  .explore-featured-slider-wrap {
    padding: 0 32px;
  }
}

@media (max-width: 991.98px) {
  .explore-post-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .explore-featured-slider-wrap {
    padding: 0 22px;
  }
}

@media (max-width: 767.98px) {

  .explore-panel,
  .composer,
  .explore-post-card,
  .explore-shell {
    border-radius: 20px;
  }

  .explore-panel {
    padding: 16px 14px;
  }

  .explore-section-head {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .explore-section-title-wrap {
    width: 100%;
  }

  .explore-section-title {
    font-size: 1.05rem;
  }

  .explore-section-subtitle {
    font-size: 12px;
    line-height: 1.7;
  }

  .explore-panel-link {
    align-self: flex-start;
    font-size: 14px;
  }

  .explore-composer-top {
    grid-template-columns: 1fr;
  }

  .explore-publish-btn {
    width: auto;
    justify-self: start;
  }

  .composer-actions {
    grid-template-columns: 1fr;
  }

  .explore-featured-slider-wrap {
    padding: 0;
  }

  .explore-featured-swiper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .explore-featured-prev,
  .explore-featured-next {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .explore-page .chip {
    padding: 8px 12px;
    font-size: 13px;
  }

  .explore-panel {
    padding: 14px 12px;
  }

  .explore-featured-swiper {
    padding-top: 16px !important;
    padding-bottom: 34px !important;
    margin-top: -16px !important;
  }

  .explore-spotlight {
    min-height: 148px;
    padding: 14px 12px 12px;
  }

  .explore-spotlight-icon {
    width: 64px;
    height: 64px;
  }

  .explore-spotlight-icon i {
    font-size: 24px;
  }

  .explore-post-media {
    height: 150px;
  }

  .explore-post-copy p {
    font-size: 14px;
  }
}

/* Reveal Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  filter: blur(5px);
  transition: opacity 1.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform, filter;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Custom reveal animations for stats-row cards on statistics page */
@keyframes revealCardUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.stats-row.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  /* Override standard reveal transitions to avoid interfering with hover transitions */
  transition: background 0.25s ease, border-color 0.25s ease !important;
}

.stats-row.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: revealCardUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Staggered animation delays for the first 20 statistics cards */
.stats-table .stats-row.reveal:nth-child(1) {
  animation-delay: 0.02s;
}

.stats-table .stats-row.reveal:nth-child(2) {
  animation-delay: 0.04s;
}

.stats-table .stats-row.reveal:nth-child(3) {
  animation-delay: 0.06s;
}

.stats-table .stats-row.reveal:nth-child(4) {
  animation-delay: 0.08s;
}

.stats-table .stats-row.reveal:nth-child(5) {
  animation-delay: 0.10s;
}

.stats-table .stats-row.reveal:nth-child(6) {
  animation-delay: 0.12s;
}

.stats-table .stats-row.reveal:nth-child(7) {
  animation-delay: 0.14s;
}

.stats-table .stats-row.reveal:nth-child(8) {
  animation-delay: 0.16s;
}

.stats-table .stats-row.reveal:nth-child(9) {
  animation-delay: 0.18s;
}

.stats-table .stats-row.reveal:nth-child(10) {
  animation-delay: 0.20s;
}

.stats-table .stats-row.reveal:nth-child(11) {
  animation-delay: 0.22s;
}

.stats-table .stats-row.reveal:nth-child(12) {
  animation-delay: 0.24s;
}

.stats-table .stats-row.reveal:nth-child(13) {
  animation-delay: 0.26s;
}

.stats-table .stats-row.reveal:nth-child(14) {
  animation-delay: 0.28s;
}

.stats-table .stats-row.reveal:nth-child(15) {
  animation-delay: 0.30s;
}

.stats-table .stats-row.reveal:nth-child(16) {
  animation-delay: 0.32s;
}

.stats-table .stats-row.reveal:nth-child(17) {
  animation-delay: 0.34s;
}

.stats-table .stats-row.reveal:nth-child(18) {
  animation-delay: 0.36s;
}

.stats-table .stats-row.reveal:nth-child(19) {
  animation-delay: 0.38s;
}

.stats-table .stats-row.reveal:nth-child(20) {
  animation-delay: 0.40s;
}


/* Staggered entry transitions for row children inside revealed sections */
.reveal.revealed .row>* {
  animation: revealStaggerFade 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  will-change: opacity, transform, filter;
}

/* Apply staggered animation delays up to 6 items */
.reveal.revealed .row>*:nth-child(1) {
  animation-delay: 0.05s;
}

.reveal.revealed .row>*:nth-child(2) {
  animation-delay: 0.15s;
}

.reveal.revealed .row>*:nth-child(3) {
  animation-delay: 0.25s;
}

.reveal.revealed .row>*:nth-child(4) {
  animation-delay: 0.35s;
}

.reveal.revealed .row>*:nth-child(5) {
  animation-delay: 0.45s;
}

.reveal.revealed .row>*:nth-child(6) {
  animation-delay: 0.55s;
}

@keyframes revealStaggerFade {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Floating badge keyframe animations for Hero section illustrations */
@keyframes floatBadge1 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) translateX(4px) rotate(3deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes floatBadge2 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(12px) translateX(-5px) rotate(-3deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes floatBadge3 {
  0% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-8px) translateX(-6px);
  }

  100% {
    transform: translateY(0) translateX(0);
  }
}

@keyframes floatBadge4 {
  0% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(9px) translateX(5px);
  }

  100% {
    transform: translateY(0) translateX(0);
  }
}

.home-hero-swiper .hero-badge-1,
.home-hero-card .hero-badge-1 {
  animation: floatBadge1 4.5s ease-in-out infinite;
}

.home-hero-swiper .hero-badge-2,
.home-hero-card .hero-badge-2 {
  animation: floatBadge2 5.0s ease-in-out infinite;
}

.home-hero-swiper .hero-badge-3,
.home-hero-card .hero-badge-3 {
  animation: floatBadge3 4.2s ease-in-out infinite;
}

.home-hero-swiper .hero-badge-4,
.home-hero-card .hero-badge-4 {
  animation: floatBadge4 5.2s ease-in-out infinite;
}

/* Swiper Custom Styling */
.home-hero-swiper {
  position: relative;
  width: 100%;
}

.home-hero-swiper .swiper-pagination-bullets {
  bottom: 8px !important;
}

.home-hero-swiper .swiper-pagination-bullet {
  background: var(--muted);
  opacity: 0.4;
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
  transition: all 0.3s ease;
}

.home-hero-swiper .swiper-pagination-bullet-active {
  background: var(--brand) !important;
  opacity: 1;
  width: 20px;
  border-radius: 4px;
}

/* Linear text gradients for slide titles matching the 3 custom colors */
.home-hero-swiper .swiper-slide:nth-child(1) .text-brand,
.home-hero-card .text-brand {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.home-hero-swiper .swiper-slide:nth-child(2) .text-brand {
  background: linear-gradient(135deg, var(--color-sky-blue) 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.home-hero-swiper .swiper-slide:nth-child(3) .text-brand {
  background: linear-gradient(135deg, var(--color-orchid-purple) 0%, var(--color-deep-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Slide 1: Digital Identity Illustration Customization (Deep Indigo) */
.hero-ill-digital .hero-card {
  background: linear-gradient(135deg, rgba(67, 56, 140, 0.18), rgba(67, 56, 140, 0.04)) !important;
  border-color: rgba(67, 56, 140, 0.35) !important;
  box-shadow: 0 8px 32px rgba(67, 56, 140, 0.15) !important;
}

.hero-ill-digital .hero-card i {
  color: var(--color-deep-indigo) !important;
}

.hero-ill-digital .hero-badge {
  border-color: rgba(67, 56, 140, 0.25) !important;
  color: var(--color-deep-indigo) !important;
}

/* Slide 2: Analytics Illustration Customization (Sky Blue) */
.hero-ill-analytics .hero-card {
  background: linear-gradient(135deg, rgba(82, 156, 235, 0.18), rgba(82, 156, 235, 0.04)) !important;
  border-color: rgba(82, 156, 235, 0.35) !important;
  box-shadow: 0 8px 32px rgba(82, 156, 235, 0.15) !important;
}

.hero-ill-analytics .hero-card i {
  color: var(--color-sky-blue) !important;
}

.hero-ill-analytics .hero-badge {
  border-color: rgba(82, 156, 235, 0.25) !important;
  color: var(--color-sky-blue) !important;
}

/* Slide 3: Store Illustration Customization (Orchid Purple) */
.hero-ill-store .hero-card {
  background: linear-gradient(135deg, rgba(178, 70, 150, 0.18), rgba(178, 70, 150, 0.04)) !important;
  border-color: rgba(178, 70, 150, 0.35) !important;
  box-shadow: 0 8px 32px rgba(178, 70, 150, 0.15) !important;
}

.hero-ill-store .hero-card i {
  color: var(--color-orchid-purple) !important;
}

.hero-ill-store .hero-badge {
  border-color: rgba(178, 70, 150, 0.25) !important;
  color: var(--color-orchid-purple) !important;
}

/* Ensure slides display as proper block elements and have solid thematic backgrounds */
.home-hero-swiper .swiper-slide {
  display: block;
  box-sizing: border-box;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Slide 1 background (Deep Indigo theme) */
.home-hero-swiper .swiper-slide:nth-child(1) {
  background: radial-gradient(900px 360px at 75% 30%, rgba(67, 56, 140, 0.12), transparent 62%), var(--card-bg) !important;
}

html[data-bs-theme="dark"] .home-hero-swiper .swiper-slide:nth-child(1) {
  background: radial-gradient(900px 360px at 75% 30%, rgba(67, 56, 140, 0.32), transparent 62%), linear-gradient(135deg, rgba(15, 26, 48, 0.55), rgba(11, 18, 32, 0.60)) !important;
}

/* Slide 2 background (Sky Blue theme) */
.home-hero-swiper .swiper-slide:nth-child(2) {
  background: radial-gradient(900px 360px at 75% 30%, rgba(82, 156, 235, 0.12), transparent 62%), var(--card-bg) !important;
}

html[data-bs-theme="dark"] .home-hero-swiper .swiper-slide:nth-child(2) {
  background: radial-gradient(900px 360px at 75% 30%, rgba(82, 156, 235, 0.28), transparent 62%), linear-gradient(135deg, rgba(15, 26, 48, 0.55), rgba(11, 18, 32, 0.60)) !important;
}

/* Slide 3 background (Orchid Purple theme) */
.home-hero-swiper .swiper-slide:nth-child(3) {
  background: radial-gradient(900px 360px at 75% 30%, rgba(178, 70, 150, 0.12), transparent 62%), var(--card-bg) !important;
}

html[data-bs-theme="dark"] .home-hero-swiper .swiper-slide:nth-child(3) {
  background: radial-gradient(900px 360px at 75% 30%, rgba(178, 70, 150, 0.26), transparent 62%), linear-gradient(135deg, rgba(15, 26, 48, 0.55), rgba(11, 18, 32, 0.60)) !important;
}

/* Feature Icon custom color coding in "Why صفحتي" section */
.why .row>*:nth-child(1) .feature-icon {
  border-color: rgba(67, 56, 140, 0.3) !important;
  background: rgba(67, 56, 140, 0.1) !important;
  color: var(--color-deep-indigo) !important;
}

.why .row>*:nth-child(2) .feature-icon {
  border-color: rgba(178, 70, 150, 0.3) !important;
  background: rgba(178, 70, 150, 0.1) !important;
  color: var(--color-orchid-purple) !important;
}

.why .row>*:nth-child(3) .feature-icon {
  border-color: rgba(82, 156, 235, 0.3) !important;
  background: rgba(82, 156, 235, 0.1) !important;
  color: var(--color-sky-blue) !important;
}

.why .row>*:nth-child(4) .feature-icon {
  border-color: rgba(16, 185, 129, 0.3) !important;
  background: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important;
}

/* Feature card custom hover boundary glows */
.why .row>*:nth-child(1) .feature-card:hover {
  border-color: var(--color-deep-indigo) !important;
  box-shadow: 0 12px 28px rgba(67, 56, 140, 0.16) !important;
}

.why .row>*:nth-child(2) .feature-card:hover {
  border-color: var(--color-orchid-purple) !important;
  box-shadow: 0 12px 28px rgba(178, 70, 150, 0.16) !important;
}

.why .row>*:nth-child(3) .feature-card:hover {
  border-color: var(--color-sky-blue) !important;
  box-shadow: 0 12px 28px rgba(82, 156, 235, 0.16) !important;
}

.why .row>*:nth-child(4) .feature-card:hover {
  border-color: #10b981 !important;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.16) !important;
}


/* Custom Pill Badge for Hero Section */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent);
  border-radius: 50px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

html[data-bs-theme="dark"] .hero-badge-pill {
  background: rgba(138, 124, 255, 0.10);
  border-color: rgba(138, 124, 255, 0.18);
  color: var(--brand-2);
}

.hero-badge-pill i {
  font-size: 14px;
  line-height: 1;
}

/* Custom Action Buttons for Hero Slides */
.btn-hero-row {
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

/* Slide 1 & 3 purple gradient primary button */
.home-hero-swiper .swiper-slide:nth-child(1) .btn-hero-primary,
.home-hero-swiper .swiper-slide:nth-child(3) .btn-hero-primary,
.home-hero-card .btn-hero-primary {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  box-shadow: 0 8px 25px rgba(67, 56, 140, 0.25) !important;
}

/* Slide 2 blue gradient primary button */
.home-hero-swiper .swiper-slide:nth-child(2) .btn-hero-primary {
  background: linear-gradient(135deg, var(--color-sky-blue) 0%, #2563eb 100%);
  box-shadow: 0 8px 25px rgba(82, 156, 235, 0.25);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.btn-arrow-circle i,
.btn-hero-outline i {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Color specific inner arrow icon */
.home-hero-swiper .swiper-slide:nth-child(1) .btn-arrow-circle i,
.home-hero-swiper .swiper-slide:nth-child(3) .btn-arrow-circle i,
.home-hero-card .btn-arrow-circle i {
  color: var(--color-deep-indigo) !important;
}

.home-hero-swiper .swiper-slide:nth-child(2) .btn-arrow-circle i {
  color: #2563eb;
}

.btn-hero-primary:hover .btn-arrow-circle {
  transform: translateX(-3px);
}

html[dir="ltr"] .btn-arrow-circle i,
html[dir="ltr"] .btn-hero-outline i {
  transform: scaleX(-1);
}

html[dir="ltr"] .btn-hero-primary:hover .btn-arrow-circle {
  transform: translateX(3px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text) !important;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-hero-secondary i {
  font-size: 16px;
  color: var(--brand);
}

.btn-hero-secondary:hover {
  opacity: 0.85;
  transform: translateX(-2px);
}

/* Shared section header custom styling */
.header-section-wrapper {
  border-bottom: none !important;
}

.header-title-group {
  position: relative;
}

.vertical-divider-line {
  width: 4px;
  height: 38px;
  background: var(--color-deep-indigo);
  border-radius: 2px;
}

html[data-bs-theme="dark"] .vertical-divider-line {
  background: var(--color-sky-blue);
}

.header-stars-icon {
  font-size: 18px;
  animation: floatBadge3 3.5s ease-in-out infinite;
}

.btn-hero-outline {
  border: 1px solid var(--stroke);
  background: var(--card-bg);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-hero-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-hero-outline:hover::before {
  opacity: 1;
}

.btn-hero-outline:hover {
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(67, 56, 140, 0.25);
}

/* Premium Feature Cards */
.feature-card-premium {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 20px !important;
  padding: 28px 16px 20px !important;
  min-height: 270px !important;
  position: relative;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 30px rgba(109, 94, 252, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

html[data-bs-theme="dark"] .feature-card-premium {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: rgba(15, 26, 48, 0.65);
}

.feature-card-premium:hover {
  transform: translateY(-8px);
  border-color: var(--hover-border-color, var(--brand));
  box-shadow: var(--hover-shadow-glow, 0 20px 40px rgba(109, 94, 252, 0.08));
}

.feature-card-premium.theme-purple {
  --hover-border-color: var(--color-deep-indigo);
  --hover-shadow-glow: 0 20px 40px rgba(67, 56, 140, 0.12);
}

.feature-card-premium.theme-pink {
  --hover-border-color: var(--color-orchid-purple);
  --hover-shadow-glow: 0 20px 40px rgba(178, 70, 150, 0.12);
}

.feature-card-premium.theme-blue {
  --hover-border-color: var(--color-sky-blue);
  --hover-shadow-glow: 0 20px 40px rgba(82, 156, 235, 0.12);
}

.feature-card-premium.theme-green {
  --hover-border-color: #10b981;
  --hover-shadow-glow: 0 20px 40px rgba(16, 185, 129, 0.12);
}

.feature-card-premium.theme-cyan {
  --hover-border-color: #06b6d4;
  --hover-shadow-glow: 0 20px 40px rgba(6, 182, 212, 0.12);
}

/* Top Pill Badges on Cards */
.feature-tag-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.theme-purple .feature-tag-badge {
  background: rgba(67, 56, 140, 0.08);
  color: var(--color-deep-indigo);
}

.theme-pink .feature-tag-badge {
  background: rgba(178, 70, 150, 0.08);
  color: var(--color-orchid-purple);
}

.theme-blue .feature-tag-badge {
  background: rgba(82, 156, 235, 0.08);
  color: var(--color-sky-blue);
}

.theme-green .feature-tag-badge {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.theme-cyan .feature-tag-badge {
  background: rgba(6, 182, 212, 0.08);
  color: #06b6d4;
}

html[data-bs-theme="dark"] .theme-purple .feature-tag-badge {
  background: rgba(138, 124, 255, 0.16);
  color: var(--brand-2);
}

html[data-bs-theme="dark"] .theme-pink .feature-tag-badge {
  background: rgba(178, 70, 150, 0.16);
  color: #ff85df;
}

html[data-bs-theme="dark"] .theme-blue .feature-tag-badge {
  background: rgba(82, 156, 235, 0.16);
  color: #8cc3ff;
}

html[data-bs-theme="dark"] .theme-green .feature-tag-badge {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

html[data-bs-theme="dark"] .theme-cyan .feature-tag-badge {
  background: rgba(6, 182, 212, 0.16);
  color: #22d3ee;
}

/* Floating Graphic Containers */
.feature-icon-wrapper-premium {
  margin-top: 5px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70px;
  position: relative;
}

.feature-icon-backdrop {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-card-premium:hover .feature-icon-backdrop {
  transform: scale(1.05) translateY(-2px);
}

.theme-purple .feature-icon-backdrop {
  background: #ffffff;
  border: 1px solid rgba(67, 56, 140, 0.22);
  color: var(--color-deep-indigo);
  box-shadow: 0 10px 28px rgba(67, 56, 140, 0.15), 0 2px 10px rgba(67, 56, 140, 0.06);
}

.theme-pink .feature-icon-backdrop {
  background: #ffffff;
  border: 1px solid rgba(178, 70, 150, 0.22);
  color: var(--color-orchid-purple);
  box-shadow: 0 10px 28px rgba(178, 70, 150, 0.15), 0 2px 10px rgba(178, 70, 150, 0.06);
}

.theme-blue .feature-icon-backdrop {
  background: #ffffff;
  border: 1px solid rgba(82, 156, 235, 0.22);
  color: var(--color-sky-blue);
  box-shadow: 0 10px 28px rgba(82, 156, 235, 0.15), 0 2px 10px rgba(82, 156, 235, 0.06);
}

.theme-green .feature-icon-backdrop {
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: #10b981;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.15), 0 2px 10px rgba(16, 185, 129, 0.06);
}

.theme-cyan .feature-icon-backdrop {
  background: #ffffff;
  border: 1px solid rgba(6, 182, 212, 0.22);
  color: #06b6d4;
  box-shadow: 0 10px 28px rgba(6, 182, 212, 0.15), 0 2px 10px rgba(6, 182, 212, 0.06);
}

/* Custom hover state glows matching specific theme colors */
.feature-card-premium.theme-purple:hover .feature-icon-backdrop {
  box-shadow: 0 15px 35px rgba(67, 56, 140, 0.25), 0 5px 15px rgba(67, 56, 140, 0.12) !important;
}

.feature-card-premium.theme-pink:hover .feature-icon-backdrop {
  box-shadow: 0 15px 35px rgba(178, 70, 150, 0.25), 0 5px 15px rgba(178, 70, 150, 0.12) !important;
}

.feature-card-premium.theme-blue:hover .feature-icon-backdrop {
  box-shadow: 0 15px 35px rgba(82, 156, 235, 0.25), 0 5px 15px rgba(82, 156, 235, 0.12) !important;
}

.feature-card-premium.theme-green:hover .feature-icon-backdrop {
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.25), 0 5px 15px rgba(16, 185, 129, 0.12) !important;
}

.feature-card-premium.theme-cyan:hover .feature-icon-backdrop {
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.25), 0 5px 15px rgba(6, 182, 212, 0.12) !important;
}

html[data-bs-theme="dark"] .theme-purple .feature-icon-backdrop {
  background: #0f1a30 !important;
  border-color: rgba(138, 124, 255, 0.25) !important;
  box-shadow: 0 10px 30px rgba(138, 124, 255, 0.25), 0 2px 10px rgba(138, 124, 255, 0.1) !important;
}

html[data-bs-theme="dark"] .theme-pink .feature-icon-backdrop {
  background: #0f1a30 !important;
  border-color: rgba(178, 70, 150, 0.25) !important;
  box-shadow: 0 10px 30px rgba(178, 70, 150, 0.25), 0 2px 10px rgba(178, 70, 150, 0.1) !important;
}

html[data-bs-theme="dark"] .theme-blue .feature-icon-backdrop {
  background: #0f1a30 !important;
  border-color: rgba(82, 156, 235, 0.25) !important;
  box-shadow: 0 10px 30px rgba(82, 156, 235, 0.25), 0 2px 10px rgba(82, 156, 235, 0.1) !important;
}

html[data-bs-theme="dark"] .theme-green .feature-icon-backdrop {
  background: #0f1a30 !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25), 0 2px 10px rgba(16, 185, 129, 0.1) !important;
}

html[data-bs-theme="dark"] .theme-cyan .feature-icon-backdrop {
  background: #0f1a30 !important;
  border-color: rgba(6, 182, 212, 0.25) !important;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.25), 0 2px 10px rgba(6, 182, 212, 0.1) !important;
}

.feature-icon-backdrop i {
  font-size: 24px !important;
}


/* Floating Particles */
.feature-icon-backdrop .particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.theme-purple .particle {
  background: var(--color-deep-indigo);
}

.theme-pink .particle {
  background: var(--color-orchid-purple);
}

.theme-blue .particle {
  background: var(--color-sky-blue);
}

.theme-green .particle {
  background: #10b981;
}

.theme-cyan .particle {
  background: #06b6d4;
}

.particle-1 {
  width: 8px;
  height: 8px;
  top: 15%;
  right: -10px;
  opacity: 0.8;
  animation: floatParticle1 4s ease-in-out infinite;
}

.particle-2 {
  width: 6px;
  height: 6px;
  bottom: 12%;
  left: -12px;
  opacity: 0.6;
  animation: floatParticle2 4.5s ease-in-out infinite;
}

.particle-3 {
  width: 4px;
  height: 4px;
  top: 50%;
  left: -16px;
  opacity: 0.5;
  animation: floatParticle3 3.5s ease-in-out infinite;
}

@keyframes floatParticle1 {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-6px) scale(1.1);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes floatParticle2 {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(5px) scale(1.15);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes floatParticle3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-3px, -4px) scale(1.15);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Text Content styles */
.feature-title-premium {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
}

.feature-text-premium {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Bottom CTA Links */
.feature-cta-premium {
  margin-top: 10px;
  width: 100%;
}

#why-us .feature-cta-premium,
#why-us .btn-hero-outline,
#stats .btn-hero-outline,
#reviews .btn-hero-outline,
.explore-section-head .explore-panel-link {
  display: none !important;
}

.cta-link-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.25s ease;
  cursor: pointer;
}

.theme-purple .cta-link-premium {
  color: var(--color-deep-indigo) !important;
}

.theme-pink .cta-link-premium {
  color: var(--color-orchid-purple) !important;
}

.theme-blue .cta-link-premium {
  color: var(--color-sky-blue) !important;
}

.theme-green .cta-link-premium {
  color: #10b981 !important;
}

.theme-cyan .cta-link-premium {
  color: #06b6d4 !important;
}

html[data-bs-theme="dark"] .cta-link-premium {
  filter: brightness(1.15);
}

.cta-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.25s ease;
}

.theme-purple .cta-icon-circle {
  background: var(--color-deep-indigo);
}

.theme-pink .cta-icon-circle {
  background: var(--color-orchid-purple);
}

.theme-blue .cta-icon-circle {
  background: var(--color-sky-blue);
}

.theme-green .cta-icon-circle {
  background: #10b981;
}

.cta-icon-circle i {
  font-size: 14px;
  line-height: 1;
}

.cta-link-premium:hover .cta-icon-circle {
  transform: translate(-3px, 3px);
  /* RTL diagonal arrow hover slide */
}

.cta-link-premium:hover {
  opacity: 0.9;
}


/* Redesigned Homepage Stats Section (إحصائيات الأداء اليوم) */
.section-stats .stats-panel {
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 28px !important;
  padding: 32px 28px !important;
}

html[data-bs-theme="dark"] .section-stats .stats-panel {
  background: rgba(15, 26, 48, 0.45) !important;
}

.section-stats .header-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 94, 252, 0.08);
  /* Lavender/Purple soft background */
  border: 1px solid rgba(109, 94, 252, 0.16);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

html[data-bs-theme="dark"] .section-stats .header-icon-box {
  background: rgba(138, 124, 255, 0.16);
  border-color: rgba(138, 124, 255, 0.25);
}

.section-stats .header-icon-box i {
  font-size: 20px;
  color: var(--brand);
}

html[data-bs-theme="dark"] .section-stats .header-icon-box i {
  color: var(--brand-2);
}

.section-stats .stat-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 20px !important;
  padding: 24px 16px !important;
  min-height: 270px !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .section-stats .stat-card {
  background: rgba(15, 26, 48, 0.55) !important;
}

/* Stat card theme definitions using custom properties */
.section-stats .stat-card.theme-cyan {
  --theme-color: #06b6d4;
  --theme-color-rgb: 6, 182, 212;
}

.section-stats .stat-card.theme-green {
  --theme-color: #10b981;
  --theme-color-rgb: 16, 185, 129;
}

.section-stats .stat-card.theme-blue {
  --theme-color: #3b82f6;
  --theme-color-rgb: 59, 130, 246;
}

.section-stats .stat-card.theme-pink {
  --theme-color: #ec4899;
  --theme-color-rgb: 236, 72, 153;
}

.section-stats .stat-card.theme-purple {
  --theme-color: #8b5cf6;
  --theme-color-rgb: 139, 92, 246;
}

.section-stats .stat-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--theme-color) !important;
  box-shadow: 0 12px 30px rgba(var(--theme-color-rgb), 0.12) !important;
}

html[data-bs-theme="dark"] .section-stats .stat-card:hover {
  box-shadow: 0 12px 30px rgba(var(--theme-color-rgb), 0.22) !important;
}

/* Icon Backdrop inside stat cards */
.section-stats .stat-icon-backdrop {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--theme-color-rgb), 0.08);
  border: 1px solid rgba(var(--theme-color-rgb), 0.18);
  color: var(--theme-color);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-bottom: 12px;
}

html[data-bs-theme="dark"] .section-stats .stat-icon-backdrop {
  background: rgba(var(--theme-color-rgb), 0.16);
  border-color: rgba(var(--theme-color-rgb), 0.26);
}

.section-stats .stat-card:hover .stat-icon-backdrop {
  transform: scale(1.08);
  background: var(--theme-color);
  color: #ffffff;
  border-color: transparent;
}

.section-stats .stat-icon-backdrop i {
  font-size: 24px;
}

/* Stat card texts */
.section-stats .stat-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--theme-color);
  margin-top: 2px;
}

.section-stats .stat-card-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-top: 8px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-stats .stat-card-desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* Horizontal divider */
.section-stats .stat-card-divider {
  width: 100%;
  height: 1px;
  background: var(--stroke);
  margin-top: auto !important;
  margin-bottom: 16px !important;
  opacity: 0.8;
}

/* Growth & Period */
.section-stats .stat-card-growth {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #10b981;
  /* Green color for up growth */
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.cta-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.25s ease;
}

.theme-purple .cta-icon-circle {
  background: var(--color-deep-indigo);
}

.theme-pink .cta-icon-circle {
  background: var(--color-orchid-purple);
}

.theme-blue .cta-icon-circle {
  background: var(--color-sky-blue);
}

.theme-green .cta-icon-circle {
  background: #10b981;
}

.cta-icon-circle i {
  font-size: 14px;
  line-height: 1;
}

.cta-link-premium:hover .cta-icon-circle {
  transform: translate(-3px, 3px);
  /* RTL diagonal arrow hover slide */
}

.cta-link-premium:hover {
  opacity: 0.9;
}


/* Redesigned Homepage Stats Section (إحصائيات الأداء اليوم) */
.section-stats .stats-panel {
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 28px !important;
  padding: 32px 28px !important;
}

html[data-bs-theme="dark"] .section-stats .stats-panel {
  background: rgba(15, 26, 48, 0.45) !important;
}

.section-stats .header-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 94, 252, 0.08);
  /* Lavender/Purple soft background */
  border: 1px solid rgba(109, 94, 252, 0.16);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

html[data-bs-theme="dark"] .section-stats .header-icon-box {
  background: rgba(138, 124, 255, 0.16);
  border-color: rgba(138, 124, 255, 0.25);
}

.section-stats .header-icon-box i {
  font-size: 20px;
  color: var(--brand);
}

html[data-bs-theme="dark"] .section-stats .header-icon-box i {
  color: var(--brand-2);
}

.section-stats .stat-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 20px !important;
  padding: 24px 16px !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .section-stats .stat-card {
  background: rgba(15, 26, 48, 0.55) !important;
}

/* Stat card theme definitions using custom properties */
.section-stats .stat-card.theme-cyan {
  --theme-color: #06b6d4;
  --theme-color-rgb: 6, 182, 212;
}

.section-stats .stat-card.theme-green {
  --theme-color: #10b981;
  --theme-color-rgb: 16, 185, 129;
}

.section-stats .stat-card.theme-blue {
  --theme-color: #3b82f6;
  --theme-color-rgb: 59, 130, 246;
}

.section-stats .stat-card.theme-pink {
  --theme-color: #ec4899;
  --theme-color-rgb: 236, 72, 153;
}

.section-stats .stat-card.theme-purple {
  --theme-color: #8b5cf6;
  --theme-color-rgb: 139, 92, 246;
}

.section-stats .stat-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--theme-color) !important;
  box-shadow: 0 12px 30px rgba(var(--theme-color-rgb), 0.12) !important;
}

html[data-bs-theme="dark"] .section-stats .stat-card:hover {
  box-shadow: 0 12px 30px rgba(var(--theme-color-rgb), 0.22) !important;
}

/* Icon Backdrop inside stat cards */
.section-stats .stat-icon-backdrop {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--theme-color-rgb), 0.08);
  border: 1px solid rgba(var(--theme-color-rgb), 0.18);
  color: var(--theme-color);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-bottom: 12px;
}

html[data-bs-theme="dark"] .section-stats .stat-icon-backdrop {
  background: rgba(var(--theme-color-rgb), 0.16);
  border-color: rgba(var(--theme-color-rgb), 0.26);
}

.section-stats .stat-card:hover .stat-icon-backdrop {
  transform: scale(1.08);
  background: var(--theme-color);
  color: #ffffff;
  border-color: transparent;
}

.section-stats .stat-icon-backdrop i {
  font-size: 24px;
}

/* Stat card texts */
.section-stats .stat-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--theme-color);
  margin-top: 2px;
}

.section-stats .stat-card-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-top: 8px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-stats .stat-card-desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* Horizontal divider */
.section-stats .stat-card-divider {
  width: 100%;
  height: 1px;
  background: var(--stroke);
  margin-top: auto !important;
  margin-bottom: 16px !important;
  opacity: 0.8;
}

/* Growth & Period */
.section-stats .stat-card-growth {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #10b981;
  /* Green color for up growth */
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.section-stats .stat-card-growth i {
  font-size: 14px;
}

.section-stats .stat-card-period {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* Redesigned Reviews Swiper & Premium Cards */
.reviews-swiper-wrapper {
  padding: 0 45px;
  /* Add padding to leave space for arrows on the sides */
}

.btn-swiper-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-swiper-nav:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.reviews-swiper-prev {
  right: 0;
}

.reviews-swiper-next {
  left: 0;
}

.reviews-swiper {
  padding-top: 24px !important;
  padding-bottom: 32px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  margin-top: -24px !important;
  margin-bottom: 0 !important;
}

.review-card-premium {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  position: relative;
  overflow: hidden;
}

html[data-bs-theme="dark"] .review-card-premium {
  background: rgba(15, 26, 48, 0.55);
}

/* Card theme variables */
.review-card-premium.theme-purple {
  --theme-color: var(--color-deep-indigo);
  --theme-color-rgb: 67, 56, 140;
  border: 1px solid rgba(67, 56, 140, 0.14);
}

.review-card-premium.theme-pink {
  --theme-color: var(--color-orchid-purple);
  --theme-color-rgb: 178, 70, 150;
  border: 1px solid rgba(178, 70, 150, 0.14);
}

.review-card-premium.theme-blue {
  --theme-color: var(--color-sky-blue);
  --theme-color-rgb: 82, 156, 235;
  border: 1px solid rgba(82, 156, 235, 0.14);
}

.review-card-premium.theme-green {
  --theme-color: #10b981;
  --theme-color-rgb: 16, 185, 129;
  border: 1px solid rgba(16, 185, 129, 0.14);
}

.review-card-premium:hover {
  transform: translateY(-10px);
  border-color: var(--theme-color) !important;
  box-shadow: 0 16px 36px rgba(var(--theme-color-rgb), 0.14) !important;
}

html[data-bs-theme="dark"] .review-card-premium:hover {
  box-shadow: 0 16px 36px rgba(var(--theme-color-rgb), 0.24) !important;
}

.review-quote-icon {
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
}

.review-quote-icon i {
  font-size: 38px;
  line-height: 1;
  color: var(--theme-color);
  opacity: 0.8;
  display: inline-block;
  transform: scaleX(-1);
  /* Flip quote to face correctly */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card-premium:hover .review-quote-icon i {
  transform: scaleX(-1) translateY(-2px);
  opacity: 1;
}

.review-text-premium {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 600;
}

.review-stars-premium {
  color: #ffb703;
  /* Beautiful gold color for stars */
  font-size: 13px;
  margin-bottom: 20px;
}

.border-top-light {
  border-top: 1px solid var(--stroke);
}

.review-author-name {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.review-author-job {
  font-size: 12px;
  color: var(--muted);
}

.review-avatar-premium {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  background: var(--theme-color);
  box-shadow: 0 4px 10px rgba(var(--theme-color-rgb), 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card-premium:hover .review-avatar-premium {
  transform: scale(1.06);
  box-shadow: 0 6px 15px rgba(var(--theme-color-rgb), 0.38);
}

/* Custom Swiper Pagination Dots style */
.reviews-swiper-pagination {
  position: absolute !important;
  bottom: 8px !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.reviews-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--stroke);
  opacity: 1;
  margin: 0 !important;
  transition: all 0.3s ease;
}

.reviews-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--brand) !important;
  width: 18px;
  border-radius: 4px;
}

/* Redesigned Quick Links & Footer Info Card */
.quick-link-card {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 28px 18px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--theme-color);
}

.quick-link-card.theme-purple {
  --theme-color: #8b5cf6;
  --theme-color-rgb: 139, 92, 246;
}

.quick-link-card.theme-pink {
  --theme-color: #ec4899;
  --theme-color-rgb: 236, 72, 153;
}

.quick-link-card.theme-blue {
  --theme-color: #6366f1;
  --theme-color-rgb: 99, 102, 241;
}

.quick-link-card.theme-green {
  --theme-color: #10b981;
  --theme-color-rgb: 16, 185, 129;
}

.quick-link-card.theme-cyan {
  --theme-color: #3b82f6;
  --theme-color-rgb: 59, 130, 246;
}

.quick-link-card:hover {
  transform: translateY(-6px);
  border-color: var(--theme-color);
  box-shadow: 0 12px 30px rgba(var(--theme-color-rgb), 0.12);
}

html[data-bs-theme="dark"] .quick-link-card {
  background: rgba(15, 26, 48, 0.45);
}

html[data-bs-theme="dark"] .quick-link-card:hover {
  box-shadow: 0 12px 30px rgba(var(--theme-color-rgb), 0.22);
}

.quick-link-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 12px;
}

.quick-link-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--theme-color-rgb), 0.08);
  border: 1px solid rgba(var(--theme-color-rgb), 0.15);
  color: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

html[data-bs-theme="dark"] .quick-link-icon {
  background: rgba(var(--theme-color-rgb), 0.16);
  border-color: rgba(var(--theme-color-rgb), 0.25);
}

.quick-link-card:hover .quick-link-icon {
  transform: scale(1.06);
  background: var(--theme-color);
  color: #ffffff;
  border-color: transparent;
}

.dots-pattern {
  width: 24px;
  height: 24px;
  background-image: radial-gradient(var(--stroke) 1.5px, transparent 1.5px);
  background-size: 6px 6px;
  opacity: 0.25;
  pointer-events: none;
}

html[data-bs-theme="dark"] .dots-pattern {
  opacity: 0.12;
}

.dots-left {
  margin-left: 14px;
}

.dots-right {
  margin-right: 14px;
}

.quick-link-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-top: 8px;
  margin-bottom: 6px;
  text-align: center;
}

.quick-link-subtitle {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.5;
  min-height: 33px;
  /* Keep heights uniform for grid alignment */
}

.quick-link-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--theme-color-rgb), 0.06);
  color: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-link-arrow i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-link-arrow {
  background: var(--theme-color);
  color: #ffffff;
  transform: scale(1.05);
}

.quick-link-card:hover .quick-link-arrow i {
  transform: translateX(-3px);
  /* Slide to the left in RTL */
}

/* Footer Registration Information Card */
.footer-info-card {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 28px;
}

html[data-bs-theme="dark"] .footer-info-card {
  background: rgba(15, 26, 48, 0.45) !important;
}

.footer-info-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}


/* Metadata blocks (Tax & Commercial CR blocks) */
.footer-metadata-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--body-bg);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 12px 18px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-bs-theme="dark"] .footer-metadata-block {
  background: rgba(15, 26, 48, 0.35);
}

.footer-metadata-block:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(109, 94, 252, 0.08);
}

html[data-bs-theme="dark"] .footer-metadata-block:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.meta-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
}

.meta-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-deep-indigo);
  letter-spacing: 0.5px;
}

html[data-bs-theme="dark"] .meta-value {
  color: var(--color-sky-blue);
}

.meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 94, 252, 0.08);
  color: var(--brand);
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 12px;
}

html[data-bs-theme="dark"] .meta-icon {
  background: rgba(138, 124, 255, 0.16);
  color: var(--brand-2);
}

.footer-metadata-block:hover .meta-icon {
  background: var(--brand);
  color: #ffffff;
  transform: scale(1.05);
}

/* Footer Animated 3D Illustration */
.footer-3d-illustration {
  width: 270px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed var(--stroke);
  border-radius: 50%;
  opacity: 0.25;
  pointer-events: none;
}

.orbit-ring-1 {
  width: 260px;
  height: 260px;
  animation: rotateOrbit 30s linear infinite;
}

.orbit-ring-2 {
  width: 210px;
  height: 210px;
  animation: rotateOrbit 22s linear infinite reverse;
}

.ill-card-wrapper {
  position: relative;
  width: 180px;
  height: 115px;
  perspective: 1000px;
}

.ill-credit-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
  border-radius: 14px;
  position: relative;
  transform: rotateY(-20deg) rotateX(25deg) rotateZ(-10deg);
  box-shadow: -18px 18px 36px rgba(79, 70, 229, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  padding: 14px;
  color: #ffffff;
  animation: floatCard 6s ease-in-out infinite;
}

.ill-credit-card i {
  font-size: 24px;
  align-self: flex-start;
  /* Correct direction in card corner */
  opacity: 0.85;
}

.card-chip {
  width: 28px;
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  margin-top: 6px;
}

.card-lines {
  width: 72px;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  margin-top: 16px;
  box-shadow: 0 10px 0 rgba(255, 255, 255, 0.25),
    0 18px 0 rgba(255, 255, 255, 0.25);
}

.ill-shield-badge {
  position: absolute;
  bottom: -12px;
  right: 20px;
  /* RTL alignment */
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  /* Green check shield */
  font-size: 28px;
  z-index: 10;
  animation: floatBadge 6s ease-in-out infinite;
  animation-delay: -3s;
}

html[data-bs-theme="dark"] .ill-shield-badge {
  background: #0f1a30;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Animations for 3D Illustration */
@keyframes rotateOrbit {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes floatCard {
  0% {
    transform: rotateY(-20deg) rotateX(25deg) rotateZ(-10deg) translateY(0px);
  }

  50% {
    transform: rotateY(-18deg) rotateX(22deg) rotateZ(-8deg) translateY(-8px);
  }

  100% {
    transform: rotateY(-20deg) rotateX(25deg) rotateZ(-10deg) translateY(0px);
  }
}

@keyframes floatBadge {
  0% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.02);
  }

  100% {
    transform: translateY(0px) scale(1);
  }
}

/* Floating Particles */
.floating-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.6;
}

.particle-a {
  top: 20%;
  left: 20%;
  animation: floatParticle1 4s ease-in-out infinite;
}

.particle-b {
  bottom: 25%;
  right: 25%;
  animation: floatParticle2 5s ease-in-out infinite;
}

/* Mobile Section Header Adjustments */
@media (max-width: 576px) {
  .header-section-wrapper {
    gap: 8px !important;
  }

  .header-title-group {
    gap: 10px !important;
    flex: 1;
    min-width: 0;
  }

  .title-text-wrapper {
    flex: 1;
    min-width: 0;
  }

  .home-section-title {
    font-size: 16px !important;
  }

  .header-subtitle {
    font-size: 10px !important;
    max-width: 170px;
    white-space: normal;
    word-wrap: break-word;
  }

  .vertical-divider-line {
    height: 30px !important;
  }

  .header-section-wrapper .btn-hero-outline {
    padding: 6px 12px !important;
    font-size: 11px !important;
    flex-shrink: 0;
    border-radius: 10px !important;
  }
}

/* Mobile Swiper Layout Adjustments */
@media (max-width: 768px) {
  .btn-swiper-nav {
    display: none !important;
  }

  .reviews-swiper-wrapper {
    padding: 0 !important;
  }
}

/* Image-only Brand Logo adjustments (removes frame, bg, and hides word next to logo) */
html.has-image-logo .home-topbar {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

html.has-image-logo .brand-mark,
body.has-image-logo .brand-mark {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html.has-image-logo .brand-mark img,
body.has-image-logo .brand-mark img {
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

html.has-image-logo .brand-mark:hover img,
body.has-image-logo .brand-mark:hover img {
  transform: scale(1.05) !important;
}

html.has-image-logo .brand-name,
body.has-image-logo .brand-name {
  display: none !important;
}

/* Smooth Scroll configuration */
html {
  scroll-behavior: smooth;
}

/* Homepage Center Header Menu Navigation styling */
.nav-link-premium {
  color: var(--muted) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 6px 2px;
  transition: color 0.3s ease;
}

.nav-link-premium:hover {
  color: #fff !important;
}

html[data-bs-theme="light"] .nav-link-premium:hover {
  color: var(--bs-emphasis-color) !important;
}

.nav-link-premium.active {
  color: #fff !important;
}

html[data-bs-theme="light"] .nav-link-premium.active {
  color: var(--bs-emphasis-color) !important;
}

.nav-link-premium.active::after {
  transform: scaleX(1) !important;
}

.nav-link-premium::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%) !important;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-link-premium:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   Gateway Portal Page (auth.html) Styles
   ========================================================================== */

.portal-main-card {
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

html[data-bs-theme="light"] .portal-main-card {
  background: var(--card-bg);
}

html[data-bs-theme="dark"] .portal-main-card {
  background: rgba(15, 26, 48, 0.55);
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, #22c55e 10%, transparent) !important;
  color: #22c55e !important;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid color-mix(in srgb, #22c55e 20%, transparent) !important;
}

.portal-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.portal-badge-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #22c55e;
  border-radius: 50%;
  animation: badgePulse 1.8s infinite ease-in-out;
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.portal-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
}

.portal-subtitle {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}

.portal-progress-box {
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.portal-progress-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.portal-progress-value {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.portal-progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: color-mix(in srgb, var(--stroke) 80%, transparent);
  border-radius: 99px;
  overflow: hidden;
}

.portal-progress-bar-fill {
  height: 100%;
  width: 51%;
  background: linear-gradient(90deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  border-radius: 99px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-progress-stats {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.btn-portal-primary {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 16px;
  font-weight: 700;
  padding: 12px 24px;
  box-shadow: 0 8px 24px rgba(67, 56, 140, 0.25);
  transition: all 0.2s ease;
}

.btn-portal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(67, 56, 140, 0.35);
  filter: brightness(1.05);
}

.btn-portal-secondary {
  border: 1px solid color-mix(in srgb, var(--color-deep-indigo) 40%, transparent) !important;
  background: transparent !important;
  color: var(--color-deep-indigo) !important;
  border-radius: 16px;
  font-weight: 700;
  padding: 12px 24px;
  transition: all 0.2s ease;
}

.btn-portal-secondary:hover {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 56, 140, 0.25);
}

.portal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.portal-divider::before,
.portal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--stroke);
}

.portal-divider:not(:empty)::before {
  margin-left: .5em;
}

.portal-divider:not(:empty)::after {
  margin-right: .5em;
}

.portal-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--card-bg);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.portal-social-btn:hover {
  background: var(--stroke);
  border-color: var(--color-deep-indigo) !important;
  transform: translateY(-2px) scale(1.05);
}

.portal-social-btn:hover i {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.portal-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

.portal-illustration svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(67, 56, 140, 0.15));
}

html[data-bs-theme="dark"] .portal-illustration svg {
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
}

.portal-side-card {
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  box-shadow: var(--card-shadow);
}

.portal-side-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  flex-shrink: 0;
}

.portal-side-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
}

.portal-side-subtitle {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

.portal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.portal-feature-item:hover {
  background: color-mix(in srgb, var(--brand) 4%, transparent);
  border-color: color-mix(in srgb, var(--brand) 8%, transparent);
}

.portal-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, transparent);
}

.portal-feature-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.portal-feature-desc {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

.portal-footer-card {
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  transition: all 0.25s ease;
}

.portal-footer-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 20%, transparent);
  box-shadow: 0 12px 28px rgba(109, 94, 252, 0.06);
}

.portal-footer-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, transparent);
}

.portal-footer-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.portal-footer-desc {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .portal-illustration {
    display: none !important;
  }
}

/* Responsive Desktop 100vh Layout for Gateway portal */
@media (min-width: 992px) and (min-height: 650px) {
  body.portal-page {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  body.portal-page .home-topbar {
    flex: 0 0 auto;
  }

  body.portal-page main.auth-wrap {
    flex: 1 1 auto;
    height: calc(100vh - var(--topbar-height));
    padding-top: 16px !important;
    padding-bottom: calc(var(--bottom-nav-height) + 16px) !important;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow-y: auto;
  }

  body.portal-page main.auth-wrap>.app-container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  body.portal-page main.auth-wrap .content-wrap {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

  body.portal-page .row.g-4 {
    min-height: 100%;
    margin-bottom: 0;
    flex-wrap: nowrap !important;
  }

  body.portal-page .row.g-4>[class*="col-"] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  body.portal-page .portal-main-card,
  body.portal-page .portal-side-card {
    height: 100%;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  body.portal-page .portal-main-card.auth-main-card {
    height: auto !important;
    max-height: 700px !important;
  }

  body.portal-page .portal-main-card.auth-main-card .card-body {
    height: auto !important;
    overflow-y: visible !important;
  }

  body.portal-page .portal-main-card .card-body {
    height: 100%;
    overflow-y: hidden;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
  }

  body.portal-page .portal-main-card .card-body .row {
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
  }

  body.portal-page .portal-main-card .card-body .row>.col-md-7 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 0;
  }

  body.portal-page .portal-side-card .card-body {
    height: 100%;
    overflow-y: hidden;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Compact content styling for vertical fits */
  body.portal-page .portal-illustration {
    height: 100%;
  }

  body.portal-page .portal-illustration svg {
    max-height: 180px;
  }

  body.portal-page .portal-side-icon {
    margin: 0 !important;
  }

  body.portal-page .portal-feature-item {
    padding: 8px 10px;
    gap: 10px;
  }

  body.portal-page .portal-feature-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  body.portal-page .portal-progress-box {
    padding: 10px;
    margin-bottom: 24px !important;
  }

  body.portal-page .portal-title {
    font-size: 20px;
    margin-bottom: 2px !important;
  }

  body.portal-page .portal-divider {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
  }
}

body.portal-page.register-page {
  height: auto;
  overflow-y: auto;
  display: block;
}

body.portal-page.register-page main.auth-wrap {
  height: auto;
  min-height: calc(100svh - var(--topbar-height) - var(--bottom-nav-height) - var(--safe-bottom));
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 16px !important;
  padding-bottom: calc(var(--bottom-nav-height) + 24px) !important;
}

body.portal-page.register-page .portal-main-card.auth-main-card {
  height: auto !important;
  max-height: none !important;
}

body.portal-page.register-page .portal-main-card.auth-main-card .card-body {
  height: auto !important;
  overflow: visible !important;
}

/* Portal Title Vertical Divider Line */
.portal-divider-line {
  width: 4px;
  height: 38px;
  background: linear-gradient(180deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%) !important;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .portal-divider-line {
    height: 30px !important;
  }
}

/* ==========================================================================
   Gateway Portal SVG Animation Styles
   ========================================================================== */

/* Glow pulsing */
.portal-anim-glow {
  animation: portalPulseGlow 4s ease-in-out infinite;
  transform-origin: 140px 140px;
}

/* Main card slow float */
.portal-anim-main {
  animation: portalFloatMain 6s ease-in-out infinite;
  transform-origin: 140px 140px;
}

/* Floating Badge 1 (Verified) */
.portal-anim-badge-1 {
  animation: portalFloatBadge1 4.5s ease-in-out infinite;
  transform-origin: 225px 70px;
}

/* Floating Badge 2 (Cart) */
.portal-anim-badge-2 {
  animation: portalFloatBadge2 5s ease-in-out infinite;
  transform-origin: 55px 190px;
}

/* Floating Badge 3 (Stats Graph) */
.portal-anim-badge-3 {
  animation: portalFloatBadge3 4.2s ease-in-out infinite;
  transform-origin: 222px 167px;
}

/* Floating Badge 4 (Link Hub) */
.portal-anim-badge-4 {
  animation: portalFloatBadge4 5.2s ease-in-out infinite;
  transform-origin: 65px 80px;
}

/* Stars pulsing/spinning */
.portal-anim-star-1 {
  animation: portalStarPulse 3s ease-in-out infinite;
  transform-origin: 125px 22px;
}

.portal-anim-star-2 {
  animation: portalStarPulse 3.5s ease-in-out infinite 0.5s;
  transform-origin: 255px 115px;
}

.portal-anim-star-3 {
  animation: portalStarPulse 4s ease-in-out infinite 1s;
  transform-origin: 35px 239px;
}

/* Keyframes definitions */
@keyframes portalPulseGlow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.15;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }
}

@keyframes portalFloatMain {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes portalFloatBadge1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) translateX(3px) rotate(4deg);
  }
}

@keyframes portalFloatBadge2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(10px) translateX(-4px) rotate(-3deg);
  }
}

@keyframes portalFloatBadge3 {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-9px) translateX(-6px);
  }
}

@keyframes portalFloatBadge4 {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(8px) translateX(5px);
  }
}

@keyframes portalStarPulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 1;
  }
}

/* Brand secondary text color */
.text-brand-2 {
  color: var(--color-orchid-purple) !important;
}

/* Mobile Responsive Portal Header Stack */
@media (max-width: 575.98px) {
  .portal-header-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px;
  }

  .portal-header-flex .portal-badge {
    margin-top: 0 !important;
  }
}

/* Premium Text Gradient */
.portal-text-gradient {
  background: linear-gradient(135deg, var(--color-deep-indigo) 0%, var(--color-orchid-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Redesigned Card Input fields inside auth-main-card */
.auth-main-card .auth-field {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--stroke-card);
  background: var(--card-bg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.auth-main-card .auth-icon {
  position: absolute;
  inset-inline-start: 16px;
  inset-inline-end: auto;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-main-card .auth-input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  padding-inline-start: 32px;
  /* RTL start side padding for person/lock icon */
  padding-inline-end: 0;
  font-size: 14.5px;
}

.auth-main-card .auth-field:has(.auth-eye) .auth-input {
  padding-inline-end: 36px;
  /* RTL end side padding for visibility toggle eye */
}

.auth-main-card .auth-eye {
  position: absolute;
  inset-inline-end: 12px;
  inset-inline-start: auto;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.auth-main-card .auth-eye:hover {
  color: var(--text);
}

/* Vibrant Tab Styles (Active states) for Store, Statistics, and Explore pages */
.tab-pill.is-active,
.store-tab.is-active,
.explore-page .chip.is-active {
  background: var(--active-nav-gradient) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px var(--active-nav-glow) !important;
  opacity: 1 !important;
}

/* Ensure inner text and icons inside active tabs are solid white */
.tab-pill.is-active .tab-pill-inner,
.store-tab.is-active .store-tab-inner,
.explore-page .chip.is-active .explore-chip-inner {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #ffffff !important;
}

.tab-pill.is-active .tab-pill-inner *,
.store-tab.is-active .store-tab-inner *,
.explore-page .chip.is-active .explore-chip-inner * {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #ffffff !important;
}

/* Hover styles for inactive tabs across Store, Statistics, and Explore pages */
.tab-pill:not(.is-active):hover,
.store-tab:not(.is-active):hover,
.explore-page .chip:not(.is-active):hover {
  border-color: rgba(178, 70, 150, 0.45) !important;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.08) 0%, rgba(178, 70, 150, 0.08) 100%) !important;
  box-shadow: 0 4px 12px rgba(109, 94, 252, 0.08) !important;
  color: var(--brand) !important;
}

.tab-pill:not(.is-active):hover .tab-pill-inner,
.store-tab:not(.is-active):hover .store-tab-inner,
.explore-page .chip:not(.is-active):hover .explore-chip-inner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--color-orchid-purple) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.tab-pill:not(.is-active):hover .tab-pill-inner *,
.store-tab:not(.is-active):hover .store-tab-inner *,
.explore-page .chip:not(.is-active):hover .explore-chip-inner * {
  background: linear-gradient(135deg, var(--brand) 0%, var(--color-orchid-purple) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Light theme overrides for active/hover states to maintain high contrast and vibrant look */
html[data-bs-theme="light"] .tab-pill.is-active,
html[data-bs-theme="light"] .store-tab.is-active,
html[data-bs-theme="light"] .explore-page .chip.is-active {
  background: var(--active-nav-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

html[data-bs-theme="light"] .tab-pill.is-active .tab-pill-inner,
html[data-bs-theme="light"] .store-tab.is-active .store-tab-inner,
html[data-bs-theme="light"] .explore-page .chip.is-active .explore-chip-inner {
  color: #ffffff !important;
}

/* Custom Posts Details Layout Style Definitions */
.posts-detail-header {
  padding-top: 10px;
}

.posts-icon-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(109, 94, 252, 0.16);
  border: 1px solid rgba(109, 94, 252, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a7cff;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(109, 94, 252, 0.12);
}

html[data-bs-theme="light"] .posts-icon-badge {
  background: rgba(109, 94, 252, 0.08);
  border-color: rgba(109, 94, 252, 0.25);
  color: #6d5efc;
  box-shadow: 0 4px 12px rgba(109, 94, 252, 0.06);
}

.posts-selected-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  opacity: 0.85;
}

.posts-detail-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--text);
  margin-top: 8px;
  margin-bottom: 6px;
}

.posts-selected-sub {
  font-size: 13px;
  color: var(--muted);
}

.posts-qty-selector {
  margin-top: 15px;
}

.posts-qty-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.posts-qty-btn--minus {
  border: 1.5px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.posts-qty-btn--minus:hover {
  background: rgba(255, 255, 255, 0.08);
}

.posts-qty-btn--plus {
  background: var(--active-nav-gradient) !important;
  border: 0;
  color: #ffffff !important;
  font-weight: 900;
  box-shadow: 0 4px 15px var(--active-nav-glow);
}

.posts-qty-btn--plus:hover {
  filter: brightness(1.1);
  transform: scale(1.04);
}

.posts-qty-display {
  width: 120px;
  height: 46px;
  border-radius: 14px;
  border: 1.5px solid var(--stroke);
  background: rgba(0, 0, 0, 0.15);
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

html[data-bs-theme="light"] .posts-qty-display {
  background: rgba(255, 255, 255, 0.8);
}

.posts-qty-hint {
  font-size: 12px;
  color: var(--muted);
}

.posts-quick-adds {
  max-width: 280px;
  margin: 0 auto;
}

.posts-quick-btn {
  flex: 1;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--stroke) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text) !important;
  transition: all 0.2s ease !important;
}

.posts-quick-btn:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: var(--brand) !important;
}

.posts-divider-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 800;
}

.posts-divider-title::before,
.posts-divider-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--stroke);
  max-width: 80px;
}

.posts-duration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--stroke);
  color: var(--muted);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.posts-duration-card i {
  font-size: 26px;
  color: inherit;
  transition: color 0.2s ease;
}

.posts-duration-card span {
  font-size: 14.5px;
  font-weight: 800;
  color: inherit;
}

.posts-duration-card:hover {
  border-color: rgba(109, 94, 252, 0.4);
  color: var(--text);
}

.posts-duration-card.is-active {
  border-color: var(--brand) !important;
  background: color-mix(in srgb, var(--brand) 6%, transparent) !important;
  color: var(--text) !important;
  box-shadow: 0 0 0 1px var(--brand), 0 10px 30px var(--active-nav-glow) !important;
}

.posts-duration-card.is-active i {
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

html[data-bs-theme="light"] .posts-duration-card {
  background: rgba(255, 255, 255, 0.9);
}

html[data-bs-theme="light"] .posts-duration-card.is-active {
  background: color-mix(in srgb, var(--brand) 8%, transparent) !important;
}

.posts-discount-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6d5efc 0%, #b24696 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(109, 94, 252, 0.3);
  z-index: 2;
  white-space: nowrap;
}

html[data-bs-theme="light"] .posts-discount-badge {
  box-shadow: 0 4px 10px rgba(109, 94, 252, 0.2);
}

.posts-summary-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--stroke) !important;
  border-radius: 18px;
}

html[data-bs-theme="light"] .posts-summary-box {
  background: rgba(255, 255, 255, 0.85);
}

.posts-summary-title {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 700;
}

.posts-summary-price {
  font-size: 28px;
  font-weight: 900;
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  margin-block: 4px;
}

.posts-summary-desc {
  font-size: 12.5px;
  color: var(--muted);
}

.posts-cta-btn {
  background: var(--active-nav-gradient) !important;
  border: 0 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  border-radius: 18px !important;
  transition: all 0.22s ease !important;
  box-shadow: 0 10px 30px var(--active-nav-glow) !important;
}

.posts-cta-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(109, 94, 252, 0.3) !important;
}

.posts-cta-btn i {
  font-size: 18px;
  font-weight: 900;
  color: inherit;
}

/* Redesign top action buttons in all pages to be borderless, background-free icons with gradient hover and spring micro-animation */
.home-topbar .btn-hero,
.home-topbar #themeToggle,
.profile-visit-header .btn-hero,
.profile-visit-header #themeToggle,
.profile-visit-icon-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: var(--text) !important;
  opacity: 0.85;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  padding: 0 !important;
}

.home-topbar .btn-hero:hover,
.home-topbar #themeToggle:hover,
.profile-visit-header .btn-hero:hover,
.profile-visit-header #themeToggle:hover,
.profile-visit-icon-btn:hover {
  opacity: 1;
  background: transparent !important;
  transform: scale(1.18) translateY(-2px) rotate(4deg);
}

.home-topbar .btn-hero:hover i,
.home-topbar #themeToggle:hover i,
.profile-visit-header .btn-hero:hover i,
.profile-visit-header #themeToggle:hover i,
.profile-visit-icon-btn:hover i {
  background: var(--active-nav-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

/* Make sure the icons have standard size */
.home-topbar .btn-hero i,
.home-topbar #themeToggle i,
.profile-visit-header .btn-hero i,
.profile-visit-header #themeToggle i,
.profile-visit-icon-btn i,
#themeToggle i {
  font-size: 20px !important;
}

/* Spacing and Badge position adjustments for borderless buttons */
.home-topbar .btn-hero .notif-badge {
    top: -2px !important;
    inset-inline-end: -2px !important;
  }

/* Redesign visitor page layout to match mockup */
.profile-visit-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 28px !important;
  padding: 48px 24px 36px 24px !important;
  box-shadow: var(--card-shadow) !important;
  text-align: center;
}

/* Background grid dots and wave patterns */
.profile-visit-card-dots {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 52px;
  height: 80px;
  background-image: radial-gradient(var(--brand) 2px, transparent 2.5px);
  background-size: 13px 13px;
  opacity: 0.15;
  pointer-events: none;
}

.profile-visit-card-wave {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 94, 252, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

html[data-bs-theme="dark"] .profile-visit-card-wave {
  background: radial-gradient(circle, rgba(138, 124, 255, 0.14) 0%, transparent 70%);
}

/* Double-ring avatar design */
.profile-visit-avatar-wrap {
  width: 104px;
  height: 104px;
  position: relative;
  margin: 0 auto 28px auto;
}

.profile-visit-avatar-ring-outer {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(109, 94, 252, 0.25);
}

.profile-visit-avatar-ring-inner {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2.5px solid var(--brand);
  box-shadow: 0 0 15px rgba(109, 94, 252, 0.35);
}

.profile-visit-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid var(--card-bg) !important;
  position: relative;
  z-index: 1;
}

.profile-visit-avatar-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--active-nav-gradient);
  color: #ffffff;
  display: grid;
  place-items: center;
  border: 2px solid var(--card-bg);
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(109, 94, 252, 0.3);
  z-index: 2;
}

/* User Profile Naming */
.profile-visit-handle {
  color: var(--brand) !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.5px;
}

.profile-visit-name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-visit-name {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: var(--text) !important;
  margin: 0 !important;
}

.profile-visit-name-row .verified {
  color: #3b82f6 !important;
  font-size: 19px !important;
}

.profile-visit-tagline {
  color: var(--muted) !important;
  font-size: 13.5px !important;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 24px;
}

/* Pill Action Button */
.profile-visit-follow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--active-nav-gradient) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  padding: 10px 32px !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 8px 24px var(--active-nav-glow) !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  margin-bottom: 32px;
}

.profile-visit-follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(109, 94, 252, 0.35) !important;
  filter: brightness(1.06);
}

/* Redesigned Category Badges capsules & labels */
.profile-visit-badges {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  gap: 28px !important;
  margin: 0 auto 28px auto !important;
  max-width: 420px;
}

.profile-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.profile-visit-badge {
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(109, 94, 252, 0.08) !important;
  color: var(--brand) !important;
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, box-shadow 0.2s ease !important;
  border: none !important;
  clip-path: none !important;
  filter: none !important;
}

html[data-bs-theme="dark"] .profile-visit-badge {
  background: rgba(138, 124, 255, 0.12) !important;
  color: #a399ff !important;
}

.profile-visit-badge i {
  font-size: 19px !important;
  text-shadow: none !important;
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

.profile-badge-item:hover .profile-visit-badge {
  transform: translateY(-3px) scale(1.05);
  background: rgba(109, 94, 252, 0.14) !important;
  box-shadow: 0 6px 16px rgba(109, 94, 252, 0.15) !important;
}

html[data-bs-theme="dark"] .profile-badge-item:hover .profile-visit-badge {
  background: rgba(138, 124, 255, 0.2) !important;
  box-shadow: 0 6px 16px rgba(138, 124, 255, 0.2) !important;
}

.profile-badge-label {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--text) !important;
}

.profile-visit-bio {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  margin-block: 4px;
}

.profile-visit-bio--muted {
  color: var(--muted) !important;
}

/* Divider & Social Titles */
.profile-visit-divider {
  height: 1px;
  background: var(--stroke);
  margin-block: 28px 20px;
  opacity: 0.55;
}

.profile-visit-social-title {
  text-align: center;
  margin-bottom: 18px;
}

.profile-visit-social-title span {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: var(--muted) !important;
}

/* Circle Social Links */
.profile-visit-links {
  display: flex !important;
  justify-content: center;
  gap: 16px !important;
}

.profile-visit-link {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: inline-grid !important;
  place-items: center !important;
  background: var(--card-bg) !important;
  border: 1.5px solid var(--stroke) !important;
  color: var(--brand) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.22s ease !important;
}

html[data-bs-theme="light"] .profile-visit-link {
  background: #ffffff !important;
  box-shadow: 0 4px 10px rgba(109, 94, 252, 0.05) !important;
}

.profile-visit-link i {
  font-size: 18px !important;
}

.profile-visit-link:hover {
  transform: translateY(-3px);
  color: #ffffff !important;
  background: var(--active-nav-gradient) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px var(--active-nav-glow) !important;
}

/* Rebuild 3 Statistics Cards with horizontal content and SVG Sparklines */
.profile-visit-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px !important;
  margin-top: 20px;
}

@media (max-width: 767.98px) {
  .profile-visit-stats {
    grid-template-columns: 1fr;
    gap: 14px !important;
  }
}

.profile-visit-stat {
  position: relative;
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 22px !important;
  padding: 20px 20px 0 20px !important;
  box-shadow: var(--card-shadow) !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.profile-visit-stat::before {
  display: none !important;
  /* disable old top line accent */
}

.profile-visit-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 94, 252, 0.28) !important;
  box-shadow: 0 12px 28px rgba(109, 94, 252, 0.08) !important;
}

html[data-bs-theme="dark"] .profile-visit-stat:hover {
  border-color: rgba(138, 124, 255, 0.3) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3) !important;
}

.profile-visit-stat-content {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  width: 100%;
}

.profile-visit-stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(109, 94, 252, 0.08);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 20px;
  border: 1px solid rgba(109, 94, 252, 0.12);
  transition: transform 0.3s ease, background 0.3s ease;
}

.profile-visit-stat-icon-wrap i {
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

html[data-bs-theme="dark"] .profile-visit-stat-icon-wrap {
  background: rgba(138, 124, 255, 0.12);
  color: #a399ff;
  border-color: rgba(138, 124, 255, 0.16);
}

.profile-visit-stat:hover .profile-visit-stat-icon-wrap {
  transform: scale(1.06) rotate(3deg);
  background: rgba(109, 94, 252, 0.14);
}

html[data-bs-theme="dark"] .profile-visit-stat:hover .profile-visit-stat-icon-wrap {
  background: rgba(138, 124, 255, 0.2);
}

.profile-visit-stat-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.profile-visit-stat-value {
  font-size: 25px !important;
  font-weight: 900;
  color: var(--text) !important;
  line-height: 1.15;
}

.profile-visit-stat-label {
  margin-top: 2px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 800;
}

.profile-visit-stat-chart {
  width: calc(100% + 40px);
  margin-inline: -20px;
  height: 32px;
  margin-top: auto;
  margin-bottom: -1px;
  overflow: hidden;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.profile-visit-stat:hover .profile-visit-stat-chart {
  opacity: 1;
}

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

/* Light mode overrides for clean contrast */
html[data-bs-theme="light"] .profile-visit-card {
  background: #ffffff !important;
  box-shadow: 0 10px 35px rgba(109, 94, 252, 0.04) !important;
}

html[data-bs-theme="light"] .profile-visit-stat {
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(109, 94, 252, 0.03) !important;
}

/* Card spacing and height shrinkage overrides to match mockup dimensions */
.profile-visit-card,
.profile-visit-stats {
  max-width: 100% !important;
  margin-inline: auto !important;
  width: 100% !important;
}

.profile-visit-top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  width: 100%;
}

.profile-visit-avatar-wrap {
  margin-bottom: 14px !important;
}

.profile-visit-handle {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

.profile-visit-name-row {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

.profile-visit-tagline {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

.profile-visit-follow {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

.profile-visit-badges {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  width: 100%;
}

.profile-visit-divider {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  width: 100% !important;
}

.profile-visit-social-title {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

.profile-visit-links {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* ==========================================
   Redesign profile.html Dashboard Overrides
   ========================================== */

/* 1. Profile Hero Card */
.profile-page .profile-hero {
  background:
    radial-gradient(900px 380px at 15% 45%, rgba(109, 94, 252, 0.18), transparent 62%),
    radial-gradient(900px 420px at 85% 15%, rgba(138, 124, 255, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(15, 26, 48, 0.95), rgba(9, 14, 26, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 28px !important;
  box-shadow: var(--card-shadow) !important;
  padding: 32px 24px !important;
  position: relative;
  overflow: hidden;
}

html[data-bs-theme="light"] .profile-page .profile-hero {
  background:
    radial-gradient(900px 380px at 15% 45%, rgba(109, 94, 252, 0.08), transparent 62%),
    radial-gradient(900px 420px at 85% 15%, rgba(138, 124, 255, 0.06), transparent 60%),
    linear-gradient(135deg, #ffffff, #f7f9ff) !important;
  border: 1px solid rgba(109, 94, 252, 0.08) !important;
  box-shadow: 0 10px 30px rgba(109, 94, 252, 0.04) !important;
}

/* Background dots matrix inside Hero Card */
.profile-page .profile-hero::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 80px;
  background-image: radial-gradient(var(--brand) 2px, transparent 2.5px);
  background-size: 13px 13px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* Premium Conic Progress Ring */
.profile-page .progress-ring {
  background: conic-gradient(from 180deg, var(--brand) 0%, #B24696 calc(var(--p) * 1%), rgba(255, 255, 255, 0.06) calc(var(--p) * 1%)) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
  width: 140px !important;
  height: 140px !important;
  transition: transform 0.3s ease;
}

html[data-bs-theme="light"] .profile-page .progress-ring {
  background: conic-gradient(from 180deg, var(--brand) 0%, #B24696 calc(var(--p) * 1%), rgba(109, 94, 252, 0.06) calc(var(--p) * 1%)) !important;
  box-shadow: 0 10px 25px rgba(109, 94, 252, 0.1) !important;
}

.profile-page .progress-ring:hover {
  transform: scale(1.03);
}

.profile-page .progress-ring::before {
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  inset: 10px !important;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

html[data-bs-theme="light"] .profile-page .progress-ring::before {
  box-shadow: inset 0 4px 10px rgba(109, 94, 252, 0.05) !important;
}

.profile-page .progress-ring-inner {
  inset: 10px !important;
}

.profile-page .progress-ring-num {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: var(--text) !important;
}

.profile-page .progress-ring-inner .text-white-50 {
  font-size: 11px !important;
  font-weight: 700;
  color: var(--muted) !important;
}

/* Rocket Icon Block */
.profile-page .profile-hero-rocket {
  width: 64px !important;
  height: 64px !important;
  border-radius: 18px;
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  box-shadow: var(--shadow) !important;
  display: grid;
  place-items: center;
  position: relative;
}

.profile-page .profile-hero-rocket .rocket {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  position: static !important;
}

.profile-page .profile-hero-rocket .rocket i {
  font-size: 26px !important;
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

.profile-page .profile-hero-rocket .rocket-ring {
  display: none !important;
  /* hide raw CSS animations */
}

/* 2. Custom Navigation Action Cards */
.profile-page .profile-steps {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 24px !important;
}

.profile-page .profile-steps .card-body {
  padding: 0 !important;
}

.profile-page .profile-steps-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--muted) !important;
  margin-bottom: 14px !important;
  padding-right: 4px;
}

.profile-page .profile-nav-cards {
  gap: 12px !important;
}

.profile-page .profile-action-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 20px !important;
  padding: 16px 20px !important;
  min-height: 80px !important;
  box-shadow: var(--card-shadow) !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.profile-page .profile-action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 94, 252, 0.28) !important;
  box-shadow: 0 10px 25px rgba(109, 94, 252, 0.08) !important;
}

html[data-bs-theme="dark"] .profile-page .profile-action-card:hover {
  border-color: rgba(138, 124, 255, 0.3) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

/* List Item Icons */
.profile-page .profile-action-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  background: rgba(109, 94, 252, 0.08) !important;
  border: 1px solid rgba(109, 94, 252, 0.12) !important;
  display: grid !important;
  place-items: center !important;
  font-size: 20px !important;
  color: var(--brand) !important;
  margin: 0 !important;
  flex: 0 0 auto;
  transition: transform 0.3s ease;
}

html[data-bs-theme="dark"] .profile-page .profile-action-icon {
  background: rgba(138, 124, 255, 0.12) !important;
  border-color: rgba(138, 124, 255, 0.16) !important;
  color: #a399ff !important;
}

.profile-page .profile-action-icon i {
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

.profile-page .profile-action-card:hover .profile-action-icon {
  transform: scale(1.05) rotate(3deg);
}

/* Copy Content */
.profile-page .profile-action-copy {
  display: flex;
  flex-direction: column;
  text-align: right;
  flex-grow: 1;
}

.profile-page .profile-nav-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  line-height: 1.25;
}

.profile-page .profile-nav-sub {
  font-size: 13.0px !important;
  color: var(--muted) !important;
  font-weight: 600;
  margin-top: 2px !important;
}

/* Percent Gain Label */
.profile-page .profile-action-gain {
  color: #10b981 !important;
  /* Premium Emerald green */
  font-weight: 800 !important;
  font-size: 15px !important;
  min-width: 48px !important;
  text-align: center;
}

/* Edit Chip Button */
.profile-page .profile-action-chip {
  height: 38px !important;
  border-radius: 14px !important;
  background: rgba(109, 94, 252, 0.06) !important;
  border: 1px solid rgba(109, 94, 252, 0.15) !important;
  color: var(--brand) !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  padding: 0 16px !important;
  width: auto !important;
  min-width: 100px !important;
  transition: all 0.22s ease !important;
}

html[data-bs-theme="dark"] .profile-page .profile-action-chip {
  background: rgba(138, 124, 255, 0.08) !important;
  border-color: rgba(138, 124, 255, 0.18) !important;
  color: #b3a9ff !important;
}

.profile-page .profile-action-card:hover .profile-action-chip {
  background: var(--active-nav-gradient) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px var(--active-nav-glow) !important;
}

/* 3. Bottom Perks Card */
.profile-page .profile-perk {
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 20px !important;
  box-shadow: var(--card-shadow) !important;
  margin-top: 24px !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.profile-page .profile-perk:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 94, 252, 0.2) !important;
}

.profile-page .perk-illustration {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px;
  background: rgba(109, 94, 252, 0.08);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.profile-page .perk-illustration i,
.profile-page .perk-badge i {
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

.profile-page .perk-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--text) !important;
}

.profile-page .perk-sub {
  font-size: 12.5px !important;
  font-weight: 600;
  color: var(--muted) !important;
}

.profile-page .perk-badge {
  font-size: 18px !important;
  opacity: 0.85;
}

/* 4. Profile Forms Edit Cards (profile-status.html, profile-job.html) */
.profile-page .profile-edit-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 26px !important;
  box-shadow: var(--card-shadow) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  width: 100% !important;
  overflow: hidden;
}

.profile-page .profile-edit-hero {
  border-bottom: none !important;
  padding-bottom: 0px !important;
}

.profile-page .profile-edit-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  background: rgba(109, 94, 252, 0.08) !important;
  border: 1px solid rgba(109, 94, 252, 0.12) !important;
  display: grid !important;
  place-items: center !important;
  font-size: 24px !important;
  color: var(--brand) !important;
  flex: 0 0 auto;
}

html[data-bs-theme="dark"] .profile-page .profile-edit-icon {
  background: rgba(138, 124, 255, 0.12) !important;
  border-color: rgba(138, 124, 255, 0.16) !important;
  color: #a399ff !important;
}

.profile-page .profile-edit-icon i {
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

.profile-page .profile-edit-title {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: var(--text) !important;
  line-height: 1.2;
}

.profile-page .profile-edit-sub {
  font-size: 13.5px !important;
  color: var(--muted) !important;
  font-weight: 600;
  margin-top: 4px;
}

/* Custom form input controls */
.profile-page .profile-form .form-label {
  color: var(--text) !important;
  font-size: 14.5px !important;
}

.profile-page .profile-form .auth-field {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1.5px solid var(--stroke) !important;
  border-radius: 16px !important;
  padding: 12px 16px !important;
  color: var(--text) !important;
  font-size: 14.5px !important;
  font-weight: 600;
  transition: border-color 0.22s ease, box-shadow 0.22s ease !important;
}

html[data-bs-theme="light"] .profile-page .profile-form .auth-field {
  background: #ffffff !important;
}

.profile-page .profile-form .auth-field::placeholder {
  color: var(--muted) !important;
  opacity: 0.7;
}

.profile-page .profile-form .auth-field:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 12px rgba(109, 94, 252, 0.12) !important;
  background: var(--card-bg) !important;
}

/* Counters & helper states */
.profile-page .text-success {
  color: #10b981 !important;
  /* Emerald check alert */
}

.profile-page .text-success i {
  font-size: 14px;
}

.profile-page .text-muted {
  color: var(--muted) !important;
}

/* Submit Buttons */
.profile-page .btn-brand {
  background: var(--active-nav-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px var(--active-nav-glow) !important;
  transition: all 0.22s ease !important;
}

.profile-page .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(109, 94, 252, 0.3) !important;
  filter: brightness(1.05);
}

.profile-page .btn-brand i {
  font-size: 16px;
}

/* 5. Purchases Page Redesign (profile-purchases.html) */
.profile-page .purchases-hero::before {
  left: 24px !important;
  right: auto !important;
  opacity: 0.18 !important;
}

.profile-page .purchases-hero .profile-hero-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--brand);
  flex: 0 0 auto;
}

html[data-bs-theme="dark"] .profile-page .purchases-hero .profile-hero-icon-box {
  background: rgba(255, 255, 255, 0.05);
}

.profile-purchases {
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 26px !important;
  box-shadow: var(--card-shadow) !important;
}

html[data-bs-theme="dark"] .profile-purchases {
  background: rgba(15, 26, 48, 0.45) !important;
}

.profile-purchase-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px !important;
  border-radius: 20px !important;
  border: 1px solid var(--stroke) !important;
  background: var(--card-bg) !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-purchase-item:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 94, 252, 0.2) !important;
  box-shadow: var(--shadow) !important;
}

.profile-purchase-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--text) !important;
}

.profile-purchase-sub {
  color: var(--muted) !important;
  font-size: 13.5px;
  margin-top: 4px;
  line-height: 1.5;
  font-weight: 600;
}

.profile-purchase-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.profile-purchase-icon.is-yellow {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.20) !important;
}

html[data-bs-theme="dark"] .profile-purchase-icon.is-yellow {
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
}

.profile-purchase-icon.is-blue {
  background: rgba(59, 130, 246, 0.12) !important;
  border: 1px solid rgba(59, 130, 246, 0.20) !important;
}

html[data-bs-theme="dark"] .profile-purchase-icon.is-blue {
  background: rgba(59, 130, 246, 0.18) !important;
  border-color: rgba(59, 130, 246, 0.28) !important;
}

.profile-purchase-icon.is-green {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.20) !important;
}

html[data-bs-theme="dark"] .profile-purchase-icon.is-green {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: rgba(16, 185, 129, 0.28) !important;
}

/* Gradient text-fill icons across profile forms and purchases */
.profile-page .profile-form .form-label i,
.profile-page .profile-purchase-icon i {
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

.profile-purchase-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 700;
  color: #10b981 !important;
  /* Emerald green */
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.16);
  white-space: nowrap;
}

html[data-bs-theme="dark"] .profile-purchase-status-badge {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.24);
}

/* 6. Mockup User Cards & Pagination (profile-followers.html) */
.user-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .user-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .user-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.user-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: var(--card-shadow);
  cursor: pointer;
}

.user-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(109, 94, 252, 0.08) !important;
}

.user-avatar-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  position: relative;
}

.user-avatar-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  border: 1.5px solid transparent;
  transition: all 0.22s ease;
}

/* Blue theme */
.user-card.is-blue .user-avatar-circle {
  border-color: rgba(59, 130, 246, 0.35) !important;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.16) !important;
  color: #3b82f6 !important;
  background: rgba(59, 130, 246, 0.04) !important;
}

.user-card.is-blue .user-card-metric-badge {
  color: #2563eb !important;
  background: rgba(59, 130, 246, 0.08) !important;
}

/* Orange theme */
.user-card.is-orange .user-avatar-circle {
  border-color: rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.16) !important;
  color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.04) !important;
}

.user-card.is-orange .user-card-metric-badge {
  color: #d97706 !important;
  background: rgba(245, 158, 11, 0.08) !important;
}

/* Green theme */
.user-card.is-green .user-avatar-circle {
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.16) !important;
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.04) !important;
}

.user-card.is-green .user-card-metric-badge {
  color: #059669 !important;
  background: rgba(16, 185, 129, 0.08) !important;
}

/* Purple theme */
.user-card.is-purple .user-avatar-circle {
  border-color: rgba(138, 124, 255, 0.35) !important;
  box-shadow: 0 8px 24px rgba(138, 124, 255, 0.16) !important;
  color: #8a7cff !important;
  background: rgba(138, 124, 255, 0.04) !important;
}

.user-card.is-purple .user-card-metric-badge {
  color: #6d5efc !important;
  background: rgba(109, 94, 252, 0.08) !important;
}

.user-card-metric-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  white-space: nowrap;
}

.user-card-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.user-card-subtitle {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0;
}

.user-card-status-dot {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

/* Pagination custom classes */
.profile-page .pagination .page-link {
  border: 1px solid var(--stroke) !important;
  background: var(--card-bg) !important;
  color: var(--text) !important;
  border-radius: 12px !important;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-weight: 700;
  transition: all 0.22s ease;
}

.profile-page .pagination .page-link:hover {
  border-color: var(--brand) !important;
  color: var(--brand) !important;
  transform: translateY(-1px);
}

.profile-page .pagination .page-link.active {
  background: var(--active-nav-gradient) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px var(--active-nav-glow) !important;
}

.profile-share-page .content-wrap {
  display: grid;
  gap: 20px;
}

.profile-share-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-share-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.profile-share-back i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(109, 94, 252, 0.10);
  border: 1px solid rgba(109, 94, 252, 0.16);
}

.profile-share-layout {
  display: grid;
  gap: 14px;
}

.profile-share-hero,
.profile-share-card {
  background: var(--card-bg);
  border: 1px solid var(--stroke-card);
  box-shadow: var(--card-shadow);
}

.profile-share-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 300px);
  gap: 12px;
  align-items: center;
  border-radius: 26px;
  padding: 18px 20px;
  background:
    radial-gradient(680px 240px at 14% 58%, rgba(109, 94, 252, 0.15), transparent 58%),
    radial-gradient(520px 180px at 88% 12%, rgba(130, 122, 255, 0.10), transparent 56%),
    linear-gradient(135deg, rgba(15, 26, 48, 0.96), rgba(9, 14, 26, 0.98));
}

.profile-share-hero::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 58%),
    linear-gradient(135deg, rgba(109, 94, 252, 0.20), rgba(178, 70, 150, 0.16));
  opacity: 0.9;
  filter: blur(0.2px);
}

.profile-share-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  width: fit-content;
  max-width: max-content;
  padding: 0 14px;
  border-radius: 999px;
  justify-self: start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.profile-share-title {
  margin: 0 0 6px;
  max-width: 760px;
  font-size: clamp(22px, 2.35vw, 33px);
  line-height: 1.08;
  color: #fff;
  font-weight: 900;
}

.profile-share-subtitle {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
  font-size: 13px;
}

.profile-share-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
}

.profile-share-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.profile-share-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.90);
  font-weight: 700;
}

.profile-share-hero-pill i,
.profile-share-card-icon i,
.profile-share-hero-icon i {
  background: var(--active-nav-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.profile-share-hero-card {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-share-hero-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 18px;
}

.profile-share-visual {
  position: relative;
  min-height: 142px;
  display: grid;
  place-items: center;
  padding: 2px 0 0;
}

.profile-share-visual::before {
  content: "";
  position: absolute;
  inset: 20% 16% 12% 16%;
  border-radius: 22px;
  background: radial-gradient(circle at center, rgba(109, 94, 252, 0.15), transparent 66%);
  filter: blur(10px);
}

.profile-share-visual-card {
  position: relative;
  z-index: 1;
  width: min(100%, 228px);
  border-radius: 20px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)),
    rgba(8, 12, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.profile-share-visual-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.profile-share-visual-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.profile-share-visual-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.profile-share-visual-share-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.22), rgba(178, 70, 150, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
}

.profile-share-visual-share-lines {
  flex: 1 1 auto;
  display: grid;
  gap: 6px;
}

.profile-share-visual-share-lines span,
.profile-share-visual-link span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}

.profile-share-visual-share-lines span:first-child {
  width: 72%;
}

.profile-share-visual-share-lines span:last-child {
  width: 48%;
}

.profile-share-visual-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 14px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-share-visual-link i {
  color: #a995ff;
  font-size: 17px;
}

.profile-share-visual-link span {
  width: 100%;
  height: auto;
  background: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: left;
}

.profile-share-visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.profile-share-visual-metric {
  min-height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-share-visual-metric strong {
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.profile-share-visual-metric small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
}

.profile-share-visual-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 16, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  font-size: 10px;
  font-weight: 800;
}

.profile-share-visual-chip i {
  color: #a995ff;
  font-size: 12px;
}

.profile-share-visual-chip--top {
  top: 4px;
  left: 8px;
}

.profile-share-visual-chip--bottom {
  right: 2px;
  bottom: 0;
}

.profile-share-hero-note {
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  line-height: 1.65;
  font-size: 12px;
}

.profile-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-share-card {
  border-radius: 28px;
  padding: 16px;
}

.profile-share-card--wide {
  grid-column: 1 / -1;
}

.profile-share-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.profile-share-section-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}

.profile-share-section-sub {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
  font-weight: 600;
}

.profile-share-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(109, 94, 252, 0.08);
  border: 1px solid rgba(109, 94, 252, 0.14);
  font-size: 22px;
}

.profile-share-link-box,
.profile-share-edit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.profile-share-label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.profile-share-field {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.profile-share-field:focus {
  outline: none;
  border-color: rgba(109, 94, 252, 0.42);
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.10);
  background: rgba(255, 255, 255, 0.05);
}

.profile-share-btn {
  min-height: 56px;
  border-radius: 18px !important;
  padding-inline: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  border: none !important;
  background: var(--active-nav-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px var(--active-nav-glow) !important;
  font-weight: 800 !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
}

.profile-share-btn--ghost {
  min-width: 130px;
}

.profile-share-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(109, 94, 252, 0.28) !important;
}

.profile-share-btn i {
  color: #ffffff !important;
}

.profile-share-btn.is-copied {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.profile-copy-btn {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(109, 94, 252, 0.16);
  background: rgba(109, 94, 252, 0.08);
  color: var(--brand);
  display: inline-grid;
  place-items: center;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.profile-copy-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(109, 94, 252, 0.28);
  background: rgba(109, 94, 252, 0.12);
  box-shadow: 0 12px 24px rgba(109, 94, 252, 0.16);
}

.profile-copy-btn i {
  font-size: 20px;
  line-height: 1;
}

.profile-copy-btn span {
  display: none;
}

.profile-copy-btn.is-copied {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.22);
  background: rgba(16, 185, 129, 0.10);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.14);
}

.profile-share-status,
.profile-share-preview {
  margin-top: 14px;
  min-height: 46px;
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(109, 94, 252, 0.08);
  border: 1px solid rgba(109, 94, 252, 0.14);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
}

.profile-share-preview {
  color: var(--brand);
  direction: ltr;
  text-align: left;
}

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

.profile-share-stat-item {
  display: grid;
  gap: 8px;
  min-height: 108px;
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(180px 80px at 100% 0, rgba(109, 94, 252, 0.10), transparent 70%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-share-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(109, 94, 252, 0.10);
  border: 1px solid rgba(109, 94, 252, 0.14);
  font-size: 17px;
}

.profile-share-stat-icon i {
  background: var(--active-nav-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.profile-share-stat-copy {
  display: grid;
  gap: 4px;
  align-content: end;
}

.profile-share-stat-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-share-stat-copy strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.profile-share-stat-copy small {
  color: color-mix(in srgb, var(--muted) 88%, transparent);
  font-size: 11px;
  font-weight: 700;
}

.profile-share-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

html[data-bs-theme="light"] .profile-share-hero {
  background:
    radial-gradient(840px 320px at 12% 58%, rgba(109, 94, 252, 0.10), transparent 60%),
    radial-gradient(640px 240px at 88% 12%, rgba(130, 122, 255, 0.08), transparent 58%),
    linear-gradient(135deg, #ffffff, #f7f9ff);
  border-color: rgba(109, 94, 252, 0.08);
  box-shadow: 0 10px 30px rgba(109, 94, 252, 0.05);
}

html[data-bs-theme="light"] .profile-share-kicker,
html[data-bs-theme="light"] .profile-share-hero-pill,
html[data-bs-theme="light"] .profile-share-hero-card {
  background: rgba(109, 94, 252, 0.05);
  border-color: rgba(109, 94, 252, 0.10);
}

html[data-bs-theme="light"] .profile-share-title,
html[data-bs-theme="light"] .profile-share-hero-note,
html[data-bs-theme="light"] .profile-share-hero-pill,
html[data-bs-theme="light"] .profile-share-kicker {
  color: var(--text);
}

html[data-bs-theme="light"] .profile-share-subtitle,
html[data-bs-theme="light"] .profile-share-visual-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 255, 0.92)),
    #ffffff;
  border-color: rgba(109, 94, 252, 0.10);
  box-shadow: 0 18px 34px rgba(109, 94, 252, 0.10);
}

html[data-bs-theme="light"] .profile-share-visual-share-lines span,
html[data-bs-theme="light"] .profile-share-visual-link,
html[data-bs-theme="light"] .profile-share-visual-metric,
html[data-bs-theme="light"] .profile-share-visual-chip {
  background: rgba(109, 94, 252, 0.06);
  border-color: rgba(109, 94, 252, 0.10);
}

html[data-bs-theme="light"] .profile-share-visual-link span,
html[data-bs-theme="light"] .profile-share-visual-metric strong,
html[data-bs-theme="light"] .profile-share-visual-chip {
  color: var(--text);
}

html[data-bs-theme="light"] .profile-share-visual-metric small {
  color: var(--muted);
}

html[data-bs-theme="light"] .profile-share-field,
html[data-bs-theme="light"] .profile-share-stat-item {
  background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 991.98px) {
  .profile-share-hero {
    grid-template-columns: 1fr;
  }

  .profile-share-grid {
    grid-template-columns: 1fr;
  }

  .profile-share-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .profile-share-topbar {
    gap: 10px;
  }

  .profile-share-back span {
    display: none;
  }

  .profile-share-hero,
  .profile-share-card {
    border-radius: 24px;
    padding: 14px;
  }

  .profile-share-title {
    font-size: 24px;
  }

  .profile-share-link-box,
  .profile-share-edit-row {
    grid-template-columns: 1fr;
  }

  .profile-share-btn,
  .profile-share-btn--ghost {
    width: 100%;
  }

  .profile-share-visual {
    min-height: 200px;
  }

  .profile-share-visual-card {
    width: 100%;
  }
}

.profile-dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-dashboard-user {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.profile-dashboard-user-copy {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.profile-dashboard-user-copy strong {
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
}

.profile-dashboard-user-copy span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.profile-dashboard-avatar {
  width: 48px;
  height: 48px;
}

.profile-dashboard-shell {
  display: grid;
  gap: 12px;
}

.profile-dashboard-panel {
  border-radius: 28px;
  border: 1px solid var(--stroke-card);
  background:
    radial-gradient(900px 300px at 82% 12%, rgba(109, 94, 252, 0.10), transparent 58%),
    var(--card-bg);
  box-shadow: var(--card-shadow);
}

.profile-dashboard-share-bar {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}

.profile-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.profile-dashboard-panel {
  padding: 20px;
}

.profile-dashboard-panel--settings {
  min-width: 0;
  width: 100%;
  overflow: hidden;
  padding: 12px 18px !important;
}

.profile-dashboard-panel--settings .profile-dashboard-panel-head {
  margin-bottom: 10px;
  gap: 8px;
}

html[dir="ltr"] .profile-dashboard-panel--settings .profile-dashboard-panel-head,
html[dir="ltr"] .profile-dashboard-inline-panel-head {
  text-align: left;
}

html[dir="ltr"] .profile-dashboard-inline-panel-head > div:first-child {
  margin-right: auto;
}

html[dir="ltr"] .profile-dashboard-inline-panel-head .profile-dashboard-panel-icon {
  margin-left: auto;
}

.profile-dashboard-panel--settings .profile-dashboard-panel-head h2 {
  font-size: 16px;
  margin-bottom: 2px;
}

.profile-dashboard-panel--settings .profile-dashboard-panel-head p {
  font-size: 11.5px;
}

.profile-dashboard-panel--settings .profile-dashboard-panel-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.profile-dashboard-panel--settings .profile-dashboard-panel-icon i {
  font-size: 16px;
}

.profile-dashboard-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-dashboard-panel-head h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
}

.profile-dashboard-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.profile-dashboard-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(109, 94, 252, 0.08);
  border: 1px solid rgba(109, 94, 252, 0.14);
}

.profile-dashboard-panel-icon i {
  background: var(--active-nav-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.profile-dashboard-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide Firefox scrollbar */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(109, 94, 252, 0.035));
  border: 1px solid rgba(109, 94, 252, 0.10);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-dashboard-menu::-webkit-scrollbar {
  display: none; /* Hide Webkit scrollbar */
}

.profile-dashboard-trigger {
  cursor: pointer;
}

.profile-dashboard-menu-item {
  min-height: 54px;
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  text-decoration: none;
  color: var(--muted); /* Inactive tabs: muted text */
  background: transparent;
  border: 1px solid transparent;
  flex-shrink: 0;
  width: auto;
  text-align: inherit;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.22s ease;
}

.profile-dashboard-menu-item:first-child {
  border-radius: 14px;
}

.profile-dashboard-menu-item:last-child {
  border-radius: 14px;
}

.profile-dashboard-menu-item:hover {
  background: rgba(109, 94, 252, 0.08);
  border-color: rgba(109, 94, 252, 0.12);
  color: var(--text); /* Hover: bright text */
}

.profile-dashboard-menu-item.is-active {
  background:
    linear-gradient(135deg, rgba(109, 94, 252, 0.13), rgba(178, 70, 150, 0.08));
  border-color: rgba(109, 94, 252, 0.16);
  color: var(--brand); /* Active: brand color text */
  box-shadow: 0 10px 26px rgba(109, 94, 252, 0.10);
}

.profile-dashboard-menu-item span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  white-space: nowrap;
}

.profile-dashboard-menu-item span i {
  font-size: 16px;
  margin: 0;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--muted); /* Inactive: muted icon */
  display: inline-block;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.profile-dashboard-menu-item:hover span i,
.profile-dashboard-menu-item.is-active span i {
  background: var(--active-nav-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* Active/Hover: brand gradient icon */
  transform: translateY(-2px);
}

.profile-dashboard-menu-item>i {
  display: none;
}

/* Light mode overrides for capsule tab menu */
html[data-bs-theme="light"] .profile-dashboard-menu {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 243, 255, 0.82));
  border-color: rgba(109, 94, 252, 0.10);
  box-shadow: 0 10px 30px rgba(109, 94, 252, 0.05);
}

html[data-bs-theme="light"] .profile-dashboard-menu-item {
  border-color: rgba(109, 94, 252, 0.06);
  color: var(--muted);
}

html[data-bs-theme="light"] .profile-dashboard-menu-item:hover {
  background: rgba(109, 94, 252, 0.07);
  color: var(--text);
}

html[data-bs-theme="light"] .profile-dashboard-menu-item.is-active {
  background:
    linear-gradient(135deg, rgba(109, 94, 252, 0.12), rgba(178, 70, 150, 0.07));
  border-color: rgba(109, 94, 252, 0.16);
  color: var(--brand);
}

/* Mobile responsive styles for settings tabs */
@media (max-width: 767.98px) {
  .profile-dashboard-menu {
    overflow-x: auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .profile-dashboard-menu-item {
    min-height: 48px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .profile-dashboard-menu-item span {
    gap: 3px;
  }

  .profile-dashboard-menu-item span i {
    font-size: 15px;
  }
}

.profile-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-dashboard-card {
  min-height: 240px;
  border-radius: 24px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 120px at 80% 12%, rgba(109, 94, 252, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  width: 100%;
  text-align: inherit;
  font: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.profile-dashboard-card:hover,
.profile-dashboard-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(109, 94, 252, 0.26);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.profile-dashboard-card.is-active {
  background:
    radial-gradient(260px 140px at 80% 12%, rgba(109, 94, 252, 0.18), transparent 60%),
    rgba(109, 94, 252, 0.06);
}

.profile-dashboard-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.profile-dashboard-card-kicker {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  background: var(--active-nav-gradient);
  box-shadow: 0 8px 18px rgba(109, 94, 252, 0.24);
}

.profile-dashboard-card-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.profile-dashboard-card-phone {
  min-height: 160px;
  border-radius: 20px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.92), rgba(9, 14, 26, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-dashboard-mini-head,
.profile-dashboard-mini-button,
.profile-dashboard-mini-block,
.profile-dashboard-mini-list span,
.profile-dashboard-share-pill {
  border-radius: 14px;
}

.profile-dashboard-mini-head {
  width: 60%;
  height: 10px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 14px;
}

.profile-dashboard-mini-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background:
    radial-gradient(circle at 50% 34%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 50% 72%, #fff 0 28%, transparent 29%),
    radial-gradient(circle, rgba(109, 94, 252, 0.9) 0 82%, transparent 83%);
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.16);
}

.profile-dashboard-mini-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-dashboard-mini-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}

.profile-dashboard-mini-lines span:first-child {
  width: 72%;
  margin-inline: auto;
}

.profile-dashboard-mini-lines span:last-child {
  width: 48%;
  margin-inline: auto;
}

.profile-dashboard-mini-block {
  min-height: 38px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.profile-dashboard-mini-button {
  min-height: 34px;
  background: var(--active-nav-gradient);
}

.profile-dashboard-mini-list {
  display: grid;
  gap: 10px;
}

.profile-dashboard-mini-list span {
  display: block;
  min-height: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.profile-dashboard-card-themes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-dashboard-card-themes span,
.profile-dashboard-card-badges span {
  min-height: 78px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-dashboard-card-themes span:nth-child(1) {
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.24), rgba(178, 70, 150, 0.14));
}

.profile-dashboard-card-themes span:nth-child(2) {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(16, 185, 129, 0.10));
}

.profile-dashboard-card-themes span:nth-child(3) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(14, 165, 233, 0.10));
}

.profile-dashboard-card-themes span:nth-child(4) {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24), rgba(251, 191, 36, 0.10));
}

.profile-dashboard-card-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.profile-dashboard-card-badges span {
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fbbf24;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.profile-dashboard-share-strip {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.profile-dashboard-share-bar.short {
  width: 65%;
}

.profile-dashboard-share-pill {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  background: rgba(109, 94, 252, 0.10);
  border: 1px solid rgba(109, 94, 252, 0.18);
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
  direction: ltr;
}

.profile-dashboard-billing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 14px;
}

.profile-dashboard-billing div {
  min-height: 104px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-dashboard-billing strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.profile-dashboard-billing small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-dashboard-inline-panel[hidden] {
  display: none !important;
}

.profile-dashboard-inline-panel {
  padding: 22px;
  animation: profileDashboardInlineIn 0.3s ease;
}

.profile-dashboard-inline-panel-head {
  align-items: center;
  margin-bottom: 18px;
}

.profile-dashboard-inline-close {
  flex: 0 0 auto;
}

.profile-dashboard-edit-card {
  margin: 0 !important;
}

.profile-dashboard-inline-panel .profile-dashboard-edit-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.profile-dashboard-inline-panel .profile-dashboard-edit-card .card-body {
  padding: 0 !important;
}

.profile-theme-editor {
  display: grid;
  gap: 18px;
}

.profile-theme-editor-head {
  display: grid;
  gap: 8px;
}

.profile-theme-editor-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.profile-theme-editor-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(109, 94, 252, 0.08);
  border: 1px solid rgba(109, 94, 252, 0.14);
  color: var(--text);
  font-weight: 800;
}

.profile-theme-editor-badge i {
  background: var(--active-nav-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.profile-theme-option {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(220px 90px at 78% 0%, rgba(109, 94, 252, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.03);
  padding: 14px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  text-align: right;
  color: var(--text);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.profile-theme-option:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 94, 252, 0.22);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.profile-theme-option.is-active {
  border-color: rgba(109, 94, 252, 0.34);
  background:
    radial-gradient(260px 110px at 82% 0%, rgba(109, 94, 252, 0.14), transparent 68%),
    rgba(109, 94, 252, 0.05);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(109, 94, 252, 0.10);
}

.profile-theme-option-preview {
  min-height: 82px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.profile-theme-option-preview::before,
.profile-theme-option-preview::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.92;
}

.profile-theme-option-preview::before {
  inset: 18px 14px auto 14px;
  height: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.profile-theme-option-preview::after {
  inset: auto 14px 16px 14px;
  height: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.profile-theme-option-preview--reactor {
  background:
    radial-gradient(circle at 68% 42%, rgba(180, 70, 250, 0.9), transparent 18%),
    linear-gradient(135deg, rgba(18, 14, 42, 0.98), rgba(48, 18, 76, 0.92) 52%, rgba(14, 12, 34, 0.98));
}

.profile-theme-option-preview--ocean {
  background:
    radial-gradient(circle at 75% 34%, rgba(52, 181, 255, 0.74), transparent 20%),
    linear-gradient(135deg, rgba(8, 28, 64, 0.98), rgba(16, 82, 136, 0.92), rgba(7, 22, 44, 0.98));
}

.profile-theme-option-preview--minimal {
  background:
    radial-gradient(circle at 72% 36%, rgba(116, 255, 236, 0.34), transparent 18%),
    linear-gradient(135deg, rgba(5, 10, 15, 0.98), rgba(16, 24, 33, 0.96), rgba(6, 10, 16, 0.98));
}

.profile-theme-option-preview--sunset {
  background:
    radial-gradient(circle at 72% 38%, rgba(255, 196, 120, 0.46), transparent 18%),
    linear-gradient(135deg, rgba(62, 22, 48, 0.96), rgba(198, 102, 78, 0.9), rgba(54, 20, 42, 0.96));
}

.profile-theme-option-preview--matrix {
  background:
    radial-gradient(circle at 74% 34%, rgba(59, 242, 154, 0.42), transparent 18%),
    linear-gradient(135deg, rgba(5, 23, 18, 0.98), rgba(7, 58, 37, 0.92), rgba(6, 18, 14, 0.98));
}

.profile-theme-option-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.profile-theme-option-copy strong {
  font-size: 17px;
  font-weight: 900;
}

.profile-theme-option-copy small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.profile-theme-option-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: transparent;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.profile-theme-option.is-active .profile-theme-option-check {
  color: #ffffff;
  background: var(--active-nav-gradient);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(109, 94, 252, 0.26);
}

.profile-theme-create-btn {
  min-height: 56px;
  border-radius: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.profile-links-editor {
  display: grid;
  gap: 16px;
}

.profile-links-add-btn {
  min-height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
}

.profile-links-editor-list {
  display: grid;
  gap: 12px;
}

.profile-links-editor-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 90px at 86% 0%, rgba(109, 94, 252, 0.08), transparent 68%),
    rgba(255, 255, 255, 0.03);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.profile-links-editor-item:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 94, 252, 0.2);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.profile-links-editor-item.is-link-visible {
  border-color: rgba(109, 94, 252, 0.26);
  box-shadow: inset 0 0 0 1px rgba(109, 94, 252, 0.08);
}

.profile-links-editor-item.is-link-hidden {
  opacity: 0.72;
}

.profile-links-editor-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.profile-links-editor-copy strong {
  font-size: 16px;
  font-weight: 900;
}

.profile-links-editor-copy a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  direction: ltr;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-links-editor-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: color-mix(in srgb, var(--brand-2) 82%, white);
  font-size: 13px;
  font-weight: 700;
}

.profile-links-editor-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-links-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.profile-links-action-btn:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(109, 94, 252, 0.2);
  background: rgba(109, 94, 252, 0.08);
}

.profile-links-visibility {
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.profile-links-visibility-track {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  padding: 3px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-links-visibility-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, background 0.22s ease;
}

.profile-links-editor-item.is-link-visible .profile-links-visibility-track {
  background: var(--active-nav-gradient);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(109, 94, 252, 0.22);
}

.profile-links-editor-item.is-link-visible .profile-links-visibility-thumb {
  transform: translateX(-18px);
}

.profile-domains-editor {
  display: grid;
  gap: 16px;
}

.profile-domains-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-domains-add-btn,
.profile-domains-manage-btn {
  min-height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  padding: 0 18px !important;
  width: auto;
  flex: 0 0 auto;
  font-size: 14px;
}

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

.profile-domain-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 90px at 82% 0%, rgba(59, 130, 246, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.03);
  padding: 18px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.profile-domain-card:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 94, 252, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.profile-domain-card--featured {
  padding-bottom: 14px;
}

.profile-domain-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.profile-domain-card-head strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.profile-domain-card-head small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.profile-domain-status {
  flex: 0 0 auto;
  min-width: 64px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.profile-domain-status.is-active {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.18);
}

.profile-domain-status.is-expired {
  color: #f472b6;
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.18);
}

.profile-domain-visual {
  position: relative;
  min-height: 210px;
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.10);
  background:
    radial-gradient(circle at 50% 74%, rgba(59, 130, 246, 0.32), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(6, 14, 28, 0.98), rgba(7, 17, 30, 0.98));
}

.profile-domain-orbit,
.profile-domain-globe,
.profile-domain-grid {
  position: absolute;
  inset: 0;
}

.profile-domain-orbit::before,
.profile-domain-orbit::after {
  content: "";
  position: absolute;
  inset: auto 50% 28px auto;
  transform: translateX(50%);
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.profile-domain-orbit::before {
  width: 168px;
  height: 168px;
}

.profile-domain-orbit::after {
  width: 108px;
  height: 108px;
}

.profile-domain-globe::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.22), transparent 16%),
    linear-gradient(135deg, rgba(25, 76, 128, 0.88), rgba(29, 144, 255, 0.28));
  border: 1px solid rgba(96, 165, 250, 0.26);
  box-shadow:
    inset 0 0 30px rgba(125, 211, 252, 0.12),
    0 18px 42px rgba(8, 12, 22, 0.46);
}

.profile-domain-globe::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 52px;
  transform: translateX(-50%);
  width: 126px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.36), transparent 68%);
}

.profile-domain-grid {
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.94) 30%, rgba(0, 0, 0, 0.94));
}

.profile-link-modal .modal-dialog,
.profile-domain-modal .modal-dialog {
  max-width: 560px;
}

.profile-link-modal .modal-content,
.profile-domain-modal .modal-content {
  border-radius: 24px;
}

.profile-link-modal-field,
.profile-domain-modal-field {
  min-height: 54px;
}

.profile-link-modal textarea.profile-link-modal-field,
.profile-link-modal select.profile-link-modal-field,
.profile-domain-modal textarea.profile-domain-modal-field,
.profile-domain-modal select.profile-domain-modal-field {
  padding-inline-start: 16px !important;
}

.profile-link-modal select.profile-link-modal-field,
.profile-domain-modal select.profile-domain-modal-field {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-inline-end: 44px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, color-mix(in srgb, var(--brand-2) 90%, white) 50%),
    linear-gradient(135deg, color-mix(in srgb, var(--brand-2) 90%, white) 50%, transparent 50%);
  background-position:
    calc(18px) calc(50% - 2px),
    calc(12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

html[data-bs-theme="dark"] .profile-link-modal select.profile-link-modal-field,
html[data-bs-theme="dark"] .profile-domain-modal select.profile-domain-modal-field {
  color-scheme: dark;
  background-color: rgba(9, 17, 31, 0.92) !important;
  color: rgba(255, 255, 255, 0.94) !important;
}

html[data-bs-theme="dark"] .profile-link-modal select.profile-link-modal-field option,
html[data-bs-theme="dark"] .profile-domain-modal select.profile-domain-modal-field option {
  background: #10192c;
  color: rgba(255, 255, 255, 0.94);
}

html[data-bs-theme="dark"] .profile-link-modal select.profile-link-modal-field:focus,
html[data-bs-theme="dark"] .profile-domain-modal select.profile-domain-modal-field:focus {
  background-color: rgba(13, 23, 40, 0.98) !important;
}

.profile-link-modal .form-label,
.profile-domain-modal .form-label {
  font-weight: 800;
  margin-bottom: 8px;
}

.profile-link-modal-switch {
  display: block;
  cursor: pointer;
}

.profile-link-modal-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-link-modal-switch-ui {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.profile-link-modal-switch-track {
  width: 50px;
  height: 30px;
  border-radius: 999px;
  padding: 4px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-link-modal-switch-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease;
}

.profile-link-modal-switch-copy {
  display: grid;
  gap: 3px;
}

.profile-link-modal-switch-copy strong {
  font-size: 14px;
  font-weight: 900;
}

.profile-link-modal-switch-copy small {
  color: var(--muted);
  font-size: 12px;
}

.profile-link-modal-switch input:checked+.profile-link-modal-switch-ui .profile-link-modal-switch-track {
  background: var(--active-nav-gradient);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(109, 94, 252, 0.22);
}

.profile-link-modal-switch input:checked+.profile-link-modal-switch-ui .profile-link-modal-switch-thumb {
  transform: translateX(-20px);
}

.profile-domain-modal-switch {
  display: block;
  cursor: pointer;
}

.profile-domain-modal-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-domain-modal-switch-ui {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.profile-domain-modal-switch-track {
  width: 50px;
  height: 30px;
  border-radius: 999px;
  padding: 4px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-domain-modal-switch-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease;
}

.profile-domain-modal-switch-copy {
  display: grid;
  gap: 3px;
}

.profile-domain-modal-switch-copy strong {
  font-size: 14px;
  font-weight: 900;
}

.profile-domain-modal-switch-copy small {
  color: var(--muted);
  font-size: 12px;
}

.profile-domain-modal-switch input:checked+.profile-domain-modal-switch-ui .profile-domain-modal-switch-track {
  background: var(--active-nav-gradient);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(109, 94, 252, 0.22);
}

.profile-domain-modal-switch input:checked+.profile-domain-modal-switch-ui .profile-domain-modal-switch-thumb {
  transform: translateX(-20px);
}

.profile-referrals-editor {
  display: grid;
  gap: 16px;
}

.profile-referrals-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 90px at 82% 0%, rgba(109, 94, 252, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.03);
  padding: 18px 20px;
}

.profile-referrals-card-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.profile-referrals-link-box {
  margin-top: 14px;
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(109, 94, 252, 0.16);
  background: rgba(109, 94, 252, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.profile-referrals-link-box span {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  direction: ltr;
  text-align: left;
}

.profile-referrals-copy-btn {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 18px;
}

.profile-referrals-copy-btn:hover {
  transform: translateY(-1px);
}

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

.profile-referrals-stat {
  min-height: 116px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(180px 80px at 82% 0%, rgba(109, 94, 252, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.03);
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 16px 18px;
}

.profile-referrals-stat small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.profile-referrals-stat strong {
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.profile-referrals-chart-card {
  padding-bottom: 16px;
}

.profile-referrals-chart {
  position: relative;
  margin-top: 14px;
  height: 220px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(8, 12, 24, 0.42);
  background-size: 100% 36px, 36px 100%, auto;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.profile-referrals-chart-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px 120px at 72% 12%, rgba(154, 92, 255, 0.14), transparent 70%),
    radial-gradient(180px 100px at 20% 82%, rgba(124, 92, 255, 0.12), transparent 72%);
}

.profile-referrals-chart svg {
  position: absolute;
  inset: 12px 10px 18px;
  width: calc(100% - 20px);
  height: calc(100% - 30px);
}

.profile-referrals-chart-line {
  fill: none;
  stroke: url(#referralsLineGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 18px rgba(143, 92, 255, 0.24));
}

.profile-referrals-chart-area {
  fill: url(#referralsFillGradient);
}

.profile-referrals-chart-dot {
  fill: #f472d0;
  filter: drop-shadow(0 0 10px rgba(244, 114, 208, 0.7));
}

.profile-referrals-chart-labels {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-referrals-chart-labels span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-referrals-action {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 800;
  width: auto;
  justify-self: start;
  padding: 0 20px !important;
  font-size: 14px;
}

.profile-users-editor {
  display: grid;
  gap: 16px;
}

.profile-users-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-users-stat {
  min-width: 138px;
  min-height: 78px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(180px 80px at 82% 0%, rgba(109, 94, 252, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 4px;
}

.profile-users-stat strong {
  color: var(--text);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.profile-users-stat small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.profile-users-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.profile-users-editor .user-card {
  min-height: 248px;
  padding: 22px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 90px at 82% 0%, rgba(109, 94, 252, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.profile-users-editor .user-card:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(109, 94, 252, 0.18);
}

.profile-users-editor .user-avatar-container {
  width: 86px;
  height: 86px;
  margin-bottom: 12px;
}

.profile-users-editor .user-avatar-circle {
  width: 70px;
  height: 70px;
  font-size: 26px;
}

.profile-users-editor .user-card-metric-badge {
  margin-bottom: 10px;
}

.profile-users-editor .user-card-name {
  font-size: 15px;
}

.profile-users-editor .user-card-subtitle {
  font-size: 13px;
}

.profile-users-action {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 800;
  width: auto;
  justify-self: start;
  padding: 0 20px !important;
  font-size: 14px;
}

.profile-subscription-editor,
.profile-invoices-editor {
  display: grid;
  gap: 16px;
}

.profile-subscription-card,
.profile-invoice-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 90px at 82% 0%, rgba(109, 94, 252, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-subscription-card:hover,
.profile-invoice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 94, 252, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.profile-subscription-card {
  padding: 20px 22px;
}

.profile-subscription-card--hero {
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(190px 120px at 12% 22%, rgba(245, 158, 11, 0.12), transparent 72%),
    radial-gradient(220px 90px at 82% 0%, rgba(109, 94, 252, 0.10), transparent 70%),
    rgba(255, 255, 255, 0.03);
}

.profile-subscription-card--hero::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.profile-subscription-card-top {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 16px;
}

.profile-subscription-plan-copy {
  display: grid;
  gap: 6px;
}

.profile-subscription-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(109, 94, 252, 0.12);
  border: 1px solid rgba(109, 94, 252, 0.16);
  color: #b18bff;
  font-size: 13px;
  font-weight: 800;
}

.profile-subscription-plan-copy h3,
.profile-subscription-section-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 27px;
  font-weight: 900;
}

.profile-subscription-plan-copy h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.profile-subscription-plan-copy h3 i {
  font-size: 18px;
  color: #f5b624;
  filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.24));
}

.profile-subscription-plan-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.profile-subscription-status,
.profile-invoice-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.24);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-subscription-status {
  justify-self: start;
  margin-top: 6px;
}

.profile-subscription-crown {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 32px rgba(245, 158, 11, 0.08);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 219, 128, 0.32), transparent 50%),
    linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.03));
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.profile-subscription-crown i {
  font-size: 52px;
  color: #f5b624;
  filter: drop-shadow(0 12px 20px rgba(245, 158, 11, 0.24));
}

.profile-subscription-section-head {
  margin-bottom: 16px;
}

.profile-subscription-section-head h3 {
  font-size: 14px;
  color: var(--muted);
  font-weight: 800;
}

.profile-subscription-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.profile-subscription-features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.profile-subscription-features i {
  order: 2;
  color: #34d399;
  font-size: 18px;
}

.profile-subscription-features span {
  order: 1;
}

.profile-subscription-action,
.profile-invoices-action {
  min-height: 46px;
  border-radius: 14px;
  font-weight: 800;
  width: auto;
  justify-self: start;
  padding: 0 24px !important;
  font-size: 14px;
}

.profile-subscription-action {
  background: var(--active-nav-gradient) !important;
  border: 0 !important;
  color: #ffffff !important;
  box-shadow: 0 16px 28px rgba(109, 94, 252, 0.26) !important;
}

.profile-subscription-action:hover {
  color: #ffffff !important;
  box-shadow: 0 18px 32px rgba(109, 94, 252, 0.3) !important;
  transform: translateY(-1px);
}

.profile-subscription-action span {
  color: #ffffff !important;
}

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

.profile-invoice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.profile-invoice-copy {
  display: grid;
  gap: 6px;
}

.profile-invoice-copy strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  direction: ltr;
  text-align: left;
}

.profile-invoice-copy span {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  direction: ltr;
  text-align: left;
}

.profile-invoice-copy small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.profile-notifications-editor {
  display: grid;
  gap: 16px;
}

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

.profile-notification-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 90px at 82% 0%, rgba(109, 94, 252, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-notification-item:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 94, 252, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.profile-notification-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-notification-switch {
  display: inline-flex;
  align-items: center;
}

.profile-notification-switch-track {
  width: 50px;
  height: 30px;
  border-radius: 999px;
  padding: 4px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-notification-switch-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease;
}

.profile-notification-item input:checked+.profile-notification-switch .profile-notification-switch-track {
  background: var(--active-nav-gradient);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(109, 94, 252, 0.22);
}

.profile-notification-item input:checked+.profile-notification-switch .profile-notification-switch-thumb {
  transform: translateX(-20px);
}

.profile-notification-copy {
  display: grid;
  gap: 4px;
}

.profile-notification-copy strong {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
}

.profile-notification-copy small {
  color: var(--muted);
  font-size: 13px;
}

.profile-notifications-save-btn {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 800;
  width: auto;
  justify-self: start;
  padding: 0 20px !important;
  font-size: 14px;
}

.profile-privacy-editor {
  display: grid;
  gap: 16px;
}

.profile-privacy-meta {
  display: grid;
  gap: 8px;
}

.profile-privacy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(160px 70px at 88% 12%, rgba(109, 94, 252, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.profile-privacy-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

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

.profile-privacy-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 90px at 82% 0%, rgba(109, 94, 252, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-privacy-item:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 94, 252, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.profile-privacy-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-privacy-switch {
  display: inline-flex;
  align-items: center;
}

.profile-privacy-switch-track {
  width: 50px;
  height: 30px;
  border-radius: 999px;
  padding: 4px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-privacy-switch-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease;
}

.profile-privacy-item input:checked+.profile-privacy-switch .profile-privacy-switch-track {
  background: var(--active-nav-gradient);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(109, 94, 252, 0.22);
}

.profile-privacy-item input:checked+.profile-privacy-switch .profile-privacy-switch-thumb {
  transform: translateX(-20px);
}

.profile-privacy-copy {
  display: grid;
  gap: 4px;
}

.profile-privacy-copy strong {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
}

.profile-privacy-copy small {
  color: var(--muted);
  font-size: 13px;
}

.profile-privacy-save-btn {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 800;
  width: auto;
  justify-self: start;
  padding: 0 20px !important;
  font-size: 14px;
}

@keyframes profileDashboardInlineIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html[data-bs-theme="light"] .profile-dashboard-panel {
  background:
    radial-gradient(900px 300px at 82% 12%, rgba(109, 94, 252, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.96);
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
  box-shadow: var(--shadow);
}

html[data-bs-theme="light"] .profile-dashboard-metric,
html[data-bs-theme="light"] .profile-dashboard-menu-item,
html[data-bs-theme="light"] .profile-dashboard-card,
html[data-bs-theme="light"] .profile-dashboard-card-phone,
html[data-bs-theme="light"] .profile-dashboard-share-pill,
html[data-bs-theme="light"] .profile-dashboard-billing div {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .profile-dashboard-card-phone,
html[data-bs-theme="light"] .profile-dashboard-mini-head,
html[data-bs-theme="light"] .profile-dashboard-mini-lines span,
html[data-bs-theme="light"] .profile-dashboard-mini-list span,
html[data-bs-theme="light"] .profile-dashboard-share-bar {
  color: var(--text);
  background-color: rgba(109, 94, 252, 0.08);
}

html[data-bs-theme="light"] .profile-dashboard-card-phone,
html[data-bs-theme="light"] .profile-dashboard-billing div,
html[data-bs-theme="light"] .profile-dashboard-card-badges span,
html[data-bs-theme="light"] .profile-dashboard-card-themes span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.94)),
    #ffffff;
}

html[data-bs-theme="light"] .profile-theme-option,
html[data-bs-theme="light"] .profile-theme-option-check,
html[data-bs-theme="light"] .profile-theme-editor-badge,
html[data-bs-theme="light"] .profile-links-editor-item,
html[data-bs-theme="light"] .profile-links-action-btn,
html[data-bs-theme="light"] .profile-links-visibility-track,
html[data-bs-theme="light"] .profile-link-modal-switch-ui,
html[data-bs-theme="light"] .profile-link-modal-switch-track,
html[data-bs-theme="light"] .profile-domain-card,
html[data-bs-theme="light"] .profile-domain-visual,
html[data-bs-theme="light"] .profile-domain-modal-switch-ui,
html[data-bs-theme="light"] .profile-domain-modal-switch-track,
html[data-bs-theme="light"] .profile-referrals-card,
html[data-bs-theme="light"] .profile-referrals-stat,
html[data-bs-theme="light"] .profile-referrals-copy-btn,
html[data-bs-theme="light"] .profile-users-stat,
html[data-bs-theme="light"] .profile-users-editor .user-card,
html[data-bs-theme="light"] .profile-subscription-card,
html[data-bs-theme="light"] .profile-invoice-card,
html[data-bs-theme="light"] .profile-notification-item,
html[data-bs-theme="light"] .profile-notification-switch-track,
html[data-bs-theme="light"] .profile-privacy-badge,
html[data-bs-theme="light"] .profile-privacy-item,
html[data-bs-theme="light"] .profile-privacy-switch-track {
  border-color: color-mix(in srgb, var(--stroke) 85%, transparent);
}

html[data-bs-theme="light"] .profile-subscription-crown {
  border-color: rgba(245, 158, 11, 0.22);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 219, 128, 0.3), transparent 48%),
    rgba(245, 158, 11, 0.06);
}

html[data-bs-theme="light"] .profile-subscription-chip {
  border-color: rgba(109, 94, 252, 0.18);
  background: rgba(109, 94, 252, 0.08);
}

html[data-bs-theme="light"] .profile-referrals-link-box {
  border-color: rgba(109, 94, 252, 0.18);
  background: rgba(109, 94, 252, 0.08);
}

html[data-bs-theme="light"] .profile-referrals-chart {
  background:
    linear-gradient(rgba(18, 25, 41, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 25, 41, 0.06) 1px, transparent 1px),
    rgba(239, 243, 255, 0.76);
  background-size: 100% 36px, 36px 100%, auto;
  border-color: rgba(109, 94, 252, 0.08);
}

@media (max-width: 1199.98px) {
  .profile-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .profile-referrals-stats,
  .profile-users-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .profile-dashboard-inline-panel {
    padding: 18px;
  }

  .profile-invoice-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .profile-dashboard-topbar {
    gap: 10px;
  }

  .profile-dashboard-user-copy {
    display: none;
  }

  .profile-dashboard-panel {
    border-radius: 22px;
    padding: 14px;
  }

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

  .profile-dashboard-card {
    min-height: 210px;
  }

  .profile-dashboard-inline-panel {
    padding: 14px;
  }

  .profile-dashboard-inline-panel-head {
    align-items: flex-start;
  }

  .profile-theme-option {
    grid-template-columns: 1fr;
  }

  .profile-theme-option-preview {
    width: 100%;
  }

  .profile-links-editor-item {
    grid-template-columns: 1fr;
  }

  .profile-links-editor-actions {
    justify-content: flex-start;
  }

  .profile-referrals-stats,
  .profile-users-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-referrals-link-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-referrals-copy-btn {
    align-self: flex-end;
  }

  .profile-users-grid {
    grid-template-columns: 1fr;
  }

  .profile-domain-card-head {
    flex-direction: column;
  }

  .profile-domains-actions {
    width: 100%;
  }

  .profile-subscription-card,
  .profile-invoice-card {
    padding: 16px;
  }

  .profile-subscription-card-top {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .profile-subscription-plan-copy h3 {
    font-size: 24px;
  }

  .profile-subscription-action,
  .profile-invoices-action {
    width: 100%;
    justify-self: stretch;
  }
}

/* 7. Page Transition Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--app-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.3s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  width: auto;
  height: auto;
  color: var(--text) !important;
  font-size: 26px;
  font-weight: 900;
  box-shadow: none;
  animation: none;
  z-index: 2;
}

.loader-spinner {
  position: absolute;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--brand);
  border-bottom-color: var(--color-orchid-purple);
  animation: loader-spin 1.2s infinite linear;
  opacity: 0.8;
  z-index: 1;
}

@keyframes loader-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes loader-pulse {

  0%,
  100% {
    transform: scale(0.95);
    box-shadow: 0 10px 25px var(--active-nav-glow);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(109, 94, 252, 0.35);
  }
}


/* Legacy Settings Dashboard Cards */
.legacy-settings-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke-card);
  border-radius: 22px;
  padding: 16px 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legacy-settings-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 124, 255, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.legacy-settings-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(138, 124, 255, 0.08);
  border: 1px solid rgba(138, 124, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.legacy-settings-icon-wrapper i {
  background: var(--active-nav-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
  font-size: 22px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.legacy-settings-text {
  flex-grow: 1;
}

.legacy-settings-text h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
  transition: color 0.25s ease;
}

.legacy-settings-text p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.45;
  transition: color 0.25s ease;
}

.legacy-settings-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

/* Hover Effects */
.legacy-settings-card:hover {
  background: rgba(109, 94, 252, 0.05);
  border-color: rgba(109, 94, 252, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(109, 94, 252, 0.12), var(--card-shadow);
}

.legacy-settings-card:hover::before {
  opacity: 1;
}

.legacy-settings-card:hover .legacy-settings-icon-wrapper {
  background: var(--active-nav-gradient) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px var(--active-nav-glow);
  transform: scale(1.08) rotate(3deg);
}

.legacy-settings-card:hover .legacy-settings-icon-wrapper i {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #ffffff !important;
}

.legacy-settings-card:hover .legacy-settings-text h3 {
  color: #ffffff;
}

.legacy-settings-card:hover .legacy-settings-text p {
  color: rgba(255, 255, 255, 0.7);
}

.legacy-settings-card:hover .legacy-settings-arrow {
  background: rgba(109, 94, 252, 0.15);
  border-color: rgba(109, 94, 252, 0.2);
  color: var(--brand);
  transform: translateX(-4px);
}

/* Light mode support */
html[data-bs-theme="light"] .legacy-settings-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(109, 94, 252, 0.1);
  box-shadow: 0 8px 24px rgba(109, 94, 252, 0.03);
}

html[data-bs-theme="light"] .legacy-settings-icon-wrapper {
  background: rgba(109, 94, 252, 0.06);
  border-color: rgba(109, 94, 252, 0.12);
  color: var(--brand);
}

html[data-bs-theme="light"] .legacy-settings-arrow {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.04);
  color: var(--muted);
}

html[data-bs-theme="light"] .legacy-settings-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(109, 94, 252, 0.25);
  box-shadow: 0 12px 28px rgba(109, 94, 252, 0.08);
}

html[data-bs-theme="light"] .legacy-settings-card:hover .legacy-settings-text h3 {
  color: var(--brand);
}

html[data-bs-theme="light"] .legacy-settings-card:hover .legacy-settings-text p {
  color: var(--text);
}

/* Cart Page Redesign */
.cart-header-icon {
  width: 56px;
  height: 56px;
  background-color: var(--stroke-card);
  color: var(--brand);
}

.cart-item-row {
  border: 1px solid var(--stroke);
  transition: all 0.2s ease;
  background-color: var(--card-bg);
}

.cart-item-row:hover {
  border-color: var(--brand);
  box-shadow: var(--card-shadow);
}

.cart-item-remove {
  width: 40px;
  height: 40px;
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  background-color: #dc3545;
  color: #fff;
}

.cart-total-box {
  background-color: var(--app-bg);
  min-width: 150px;
}

.cart-empty-box {
  background-color: var(--app-bg);
  border: 1px dashed var(--stroke);
}

.cart-empty-icon {
  width: 48px;
  height: 48px;
  background-color: var(--stroke-card);
  color: var(--brand);
}

.cart-bg-pattern {
  width: 120px;
  height: 120px;
  opacity: 0.5;
  background-image: radial-gradient(var(--stroke) 2px, transparent 2px);
  background-size: 16px 16px;
  pointer-events: none;
}
html[data-bs-theme="dark"] .cart-bg-pattern {
  opacity: 0.2;
}

/* Premium Cart Page Redesign Styles */
.cart-main-card {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--stroke);
  background: radial-gradient(900px 300px at 75% 30%, rgba(109, 94, 252, 0.06), transparent 62%), var(--card-bg);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

html[data-bs-theme="dark"] .cart-main-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(1000px 400px at 50% -10%, rgba(109, 94, 252, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(15, 26, 48, 0.95), rgba(11, 18, 32, 0.98)),
    #0f1a30;
}

.cart-header-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.15) 0%, rgba(138, 124, 255, 0.05) 100%) !important;
  border: 1px solid var(--stroke-card) !important;
  color: var(--brand) !important;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(109, 94, 252, 0.08);
}

.btn-cart-clear {
  border: 1px solid var(--stroke) !important;
  color: var(--brand) !important;
  background: transparent !important;
  transition: all 0.22s ease !important;
}

.btn-cart-clear:hover {
  background: color-mix(in srgb, var(--brand) 8%, transparent) !important;
  border-color: var(--brand) !important;
  color: var(--brand) !important;
}

.cart-item-row {
  border: 1px solid var(--stroke) !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.005) 100%), var(--card-bg) !important;
  padding: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.cart-item-row:hover {
  transform: translateY(-3px) !important;
  border-color: var(--brand) !important;
  box-shadow: 0 12px 30px var(--card-shadow) !important;
}

.cart-item-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-item-row:hover .cart-item-icon-wrapper {
  transform: scale(1.12);
}

.cart-empty-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%), var(--app-bg) !important;
  border: 1.5px dashed var(--stroke) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  transition: all 0.3s ease !important;
}

.cart-empty-icon {
  width: 52px !important;
  height: 52px !important;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.12) 0%, rgba(138, 124, 255, 0.04) 100%) !important;
  border: 1px solid var(--stroke-card) !important;
  color: var(--brand) !important;
  border-radius: 50% !important;
}

.cart-total-box {
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.05) 0%, rgba(138, 124, 255, 0.01) 100%), var(--app-bg) !important;
  border: 1px solid var(--stroke) !important;
  transition: all 0.3s ease !important;
}

/* Support Page */
.support-wrap {
  padding-bottom: 2rem;
}

.support-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--stroke-card);
  background:
    radial-gradient(900px 280px at 50% 0%, rgba(109, 94, 252, 0.16), transparent 55%),
    radial-gradient(680px 220px at 12% 0%, rgba(59, 130, 246, 0.1), transparent 50%),
    rgba(15, 26, 48, 0.62);
  box-shadow: 0 22px 60px rgba(5, 10, 21, 0.22);
  padding: 18px 14px;
}

html[data-bs-theme="light"] .support-panel {
  background:
    radial-gradient(900px 280px at 50% 0%, rgba(109, 94, 252, 0.08), transparent 55%),
    radial-gradient(680px 220px at 12% 0%, rgba(59, 130, 246, 0.05), transparent 50%),
    rgba(255, 255, 255, 0.88);
}

.support-hero-panel {
  text-align: center;
}

.support-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--color-deep-indigo), var(--color-orchid-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.support-heart {
  width: 64px;
  height: 64px;
  margin: 0 auto 4px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.12), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(138, 124, 255, 0.16);
  color: #65a0ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.support-heart i {
  font-size: 26px;
  filter: drop-shadow(0 0 18px rgba(101, 160, 255, 0.24));
}

.support-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  color: var(--text);
}

.support-subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
}

.support-form-shell {
  max-width: 470px;
  border-radius: 16px;
  background: rgba(8, 13, 24, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-bs-theme="light"] .support-form-shell {
  background: rgba(255, 255, 255, 0.7);
}

.support-label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.support-field {
  position: relative;
}

.support-control {
  min-height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(138, 124, 255, 0.3) !important;
  background: rgba(5, 10, 21, 0.38) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.support-control::placeholder {
  color: color-mix(in srgb, var(--muted) 88%, transparent);
}

.support-control:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 0.18rem rgba(109, 94, 252, 0.12) !important;
}

.support-textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 10px;
}

.support-cta {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-deep-indigo), var(--color-orchid-purple));
  box-shadow: 0 14px 28px rgba(109, 94, 252, 0.22);
}

.support-cta:hover {
  color: #fff;
  box-shadow: 0 16px 30px rgba(109, 94, 252, 0.3);
  transform: translateY(-1px);
}

.support-cta-emoji {
  font-size: 1.05rem;
}

.support-section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
}

.support-section-title--center {
  font-size: 22px;
}

.support-section-subtitle {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.support-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(109, 94, 252, 0.12);
  border: 1px solid rgba(138, 124, 255, 0.15);
}

.support-leaders-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.support-leader-row {
  direction: ltr;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 7px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.support-leader-row:last-child {
  border-bottom: 0;
}

.support-leader-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.avatar-a {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
}

.avatar-b {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

.avatar-c {
  background: linear-gradient(135deg, #f97316, #ec4899);
}

.avatar-d {
  background: linear-gradient(135deg, #60a5fa, #6366f1);
}

.avatar-e {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.avatar-f {
  background: linear-gradient(135deg, #14b8a6, #3b82f6);
}

.avatar-g {
  background: linear-gradient(135deg, #a855f7, #f472b6);
}

.support-leader-meta {
  direction: rtl;
  text-align: right;
  min-width: 0;
}

.support-leader-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.support-leader-amount {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.support-leader-rank {
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
  opacity: 0.9;
}

.support-benefit-card {
  position: relative;
  height: 100%;
  border-radius: 20px;
  border: 1px solid var(--stroke-card);
  background: rgba(8, 13, 24, 0.35);
  padding: 16px 14px 14px;
  text-align: center;
}

html[data-bs-theme="light"] .support-benefit-card {
  background: rgba(255, 255, 255, 0.72);
}

.support-benefit-card--featured {
  border-color: rgba(138, 124, 255, 0.4);
  box-shadow: 0 18px 38px rgba(109, 94, 252, 0.1);
}

.support-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--color-deep-indigo), var(--color-orchid-purple));
  box-shadow: 0 12px 24px rgba(109, 94, 252, 0.2);
}

.support-benefit-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 10px;
}

.support-benefit-copy {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.support-benefit-list {
  margin: 0;
  padding: 0 18px 0 0;
  text-align: right;
  color: var(--text);
  font-size: 11px;
  line-height: 1.65;
}

.support-footer-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.support-footer-copy {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.support-footer-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

/* Policy Pages */
.policy-page .home-topbar .app-container > .content-wrap > div {
  position: static;
  min-height: 0;
}

.policy-topbar {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.policy-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: rtl;
}

.policy-brand {
  justify-self: center;
  direction: rtl;
}

.policy-wrap {
  padding-bottom: 2rem;
}

.policy-shell {
  border-radius: 26px;
  border: 1px solid var(--stroke-card);
  background:
    radial-gradient(900px 280px at 50% 0%, rgba(109, 94, 252, 0.14), transparent 54%),
    rgba(12, 18, 34, 0.82);
  box-shadow: 0 22px 58px rgba(5, 10, 21, 0.22);
  padding: 16px;
}

html[data-bs-theme="light"] .policy-shell {
  background:
    radial-gradient(900px 280px at 50% 0%, rgba(109, 94, 252, 0.08), transparent 54%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(109, 94, 252, 0.07);
}

.policy-hero {
  text-align: center;
  padding: 12px 8px 18px;
}

.policy-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.policy-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.policy-breadcrumb-sep {
  opacity: 0.6;
}

.policy-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  color: var(--text);
}

.policy-subtitle {
  max-width: 760px;
  margin: 0 auto 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.policy-updated {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.policy-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--stroke-card);
  background: rgba(8, 13, 24, 0.36);
}

html[data-bs-theme="light"] .policy-sidebar {
  background: rgba(255, 255, 255, 0.88);
}

.policy-sidebar-item {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: 0.22s ease;
}

.policy-sidebar-item:hover,
.policy-sidebar-item.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.24), rgba(178, 70, 150, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-bs-theme="light"] .policy-sidebar-item:hover,
html[data-bs-theme="light"] .policy-sidebar-item.is-active {
  color: #fff;
}

.policy-content {
  display: grid;
  gap: 14px;
}

.policy-content > .policy-card {
  scroll-margin-top: 110px;
}

.policy-card {
  border-radius: 22px;
  border: 1px solid var(--stroke-card);
  background: rgba(8, 13, 24, 0.36);
  padding: 16px;
}

html[data-bs-theme="light"] .policy-card {
  background: rgba(255, 255, 255, 0.88);
}

.policy-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.policy-card-head h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.policy-card-head p,
.policy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.policy-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--color-deep-indigo), var(--color-orchid-purple));
  box-shadow: 0 12px 24px rgba(109, 94, 252, 0.18);
  flex: 0 0 auto;
}

.policy-card-icon i {
  font-size: 19px;
}

.policy-faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(138, 124, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

html[data-bs-theme="light"] .policy-faq-search {
  background: rgba(255, 255, 255, 0.95);
}

.policy-faq-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}

.policy-faq-search i {
  color: var(--brand);
}

.policy-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.policy-contact-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.policy-contact-btn {
  margin-top: 12px;
  min-height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--color-deep-indigo), var(--color-orchid-purple));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

html[data-bs-theme="light"] .policy-contact-btn {
  color: #fff;
}

.policy-contact-wide {
  margin-top: 14px;
}

.policy-hours {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.policy-hours span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(138, 124, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.policy-hours i {
  color: var(--brand);
}

.policy-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.policy-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(109, 94, 252, 0.16);
  border: 1px solid rgba(138, 124, 255, 0.15);
  text-decoration: none;
}

.contact-shell {
  padding-bottom: 18px;
}

html[data-bs-theme="light"] .contact-shell {
  background:
    radial-gradient(900px 280px at 50% 0%, rgba(109, 94, 252, 0.08), transparent 54%),
    rgba(255, 255, 255, 0.92);
}

.contact-hero {
  padding-bottom: 14px;
}

.contact-hero-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.18), rgba(178, 70, 150, 0.12));
  border: 1px solid rgba(138, 124, 255, 0.18);
  box-shadow: 0 16px 30px rgba(109, 94, 252, 0.12);
}

html[data-bs-theme="light"] .contact-hero-icon {
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.10), rgba(178, 70, 150, 0.08));
}

.contact-hero-icon i {
  font-size: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  direction: ltr;
}

.contact-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  direction: rtl;
}

.contact-card--support {
  order: 4;
}

.contact-card--sales {
  order: 3;
}

.contact-card--bugs {
  order: 2;
}

.contact-card--partners {
  order: 1;
}

.contact-card p {
  flex: 1 1 auto;
}

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.contact-info-item {
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid var(--stroke-card);
  background: rgba(8, 13, 24, 0.36);
}

html[data-bs-theme="light"] .contact-info-item {
  background: rgba(255, 255, 255, 0.88);
}

.contact-info-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-value {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.contact-info-value i {
  color: var(--brand);
}

.contact-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-bs-theme="light"] .contact-footer {
  border-top-color: rgba(109, 94, 252, 0.10);
}

.contact-socials {
  display: flex;
  gap: 10px;
}

.contact-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.22), rgba(178, 70, 150, 0.18));
  border: 1px solid rgba(138, 124, 255, 0.16);
  text-decoration: none;
}

.contact-footer-copy {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .policy-layout,
  .policy-contact-grid {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
  }

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

  .contact-card--support,
  .contact-card--sales,
  .contact-card--bugs,
  .contact-card--partners {
    order: initial;
  }

  .contact-info-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .policy-topbar {
    grid-template-columns: 1fr auto 1fr;
  }

  .policy-card-head {
    flex-direction: column;
  }

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

  .contact-card--support,
  .contact-card--sales,
  .contact-card--bugs,
  .contact-card--partners {
    order: initial;
  }
}

@media (min-width: 768px) {
  .support-panel {
    padding: 20px 18px;
  }

  .support-form-shell {
    padding: 14px;
  }

  .support-leader-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    padding: 8px 6px;
  }

  .support-leader-avatar {
    width: 38px;
    height: 38px;
  }
}
/* #langDropdownWrapper {
     display: none !important;
} */

/* Initials fallback avatar (no external package) — scales with the circle via container queries. */
.profile-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  container-type: size;
}
.profile-avatar-initials > span {
  font-size: 1rem; /* fallback if container queries are unsupported */
  font-size: 44cqmin;
  letter-spacing: 0.5px;
}

/* Auth topbar fix: the centered brand logo is position:absolute (out of the topbar's flow),
   so a compact topbar can't contain it and it overlaps the card below. Reserve the logo's
   height on the flex row (auth pages use .content-wrap; the dashboard topbar is unaffected). */
.home-topbar .app-container > .content-wrap > div {
  min-height: 60px;
}
