.loading-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.loading-rings {
  position: relative;
  width: 80px;
  height: 80px;
}

.loading-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  animation: spin 1.5s linear infinite;
}

.loading-ring.ring-outer {
  border-top-color: var(--color-primary);
}

.loading-ring.ring-middle {
  inset: 10px;
  border-right-color: var(--color-primary);
  animation-direction: reverse;
}

.loading-ring.ring-inner {
  inset: 20px;
  border-bottom-color: var(--color-secondary);
}

.loading-dot {
  position: absolute;
  top: 35px;
  left: 35px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  animation: loading-pulse 1.5s ease-in-out infinite;
}

.loading-text {
  font-weight: 600;
  letter-spacing: -0.4px;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient {
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.is-hidden {
  display: none;
}

.is-block {
  display: block;
}

.u-z-1 {
  z-index: 1;
}

.u-z-2 {
  z-index: 2;
}

.u-z-10 {
  z-index: 10;
}

.u-z-100 {
  z-index: 100;
}

.u-z-99 {
  z-index: 99;
}

.u-z-11000 {
  z-index: 11000;
}

.u-z-1100 {
  z-index: 1100;
}

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

.text-14 {
  font-size: 0.875rem;
}

.text-16 {
  font-size: 1rem;
}

.text-18 {
  font-size: 1.125rem;
}

.text-17 {
  font-size: 1.1rem;
}

.text-20 {
  font-size: 1.25rem;
}

.text-15 {
  font-size: 0.9375rem;
}

.text-85 {
  font-size: 0.85rem;
}

.text-19 {
  font-size: 1.2rem;
}

.text-13 {
  font-size: 0.8125rem;
}

.text-12 {
  font-size: 0.75rem;
}

.text-48 {
  font-size: 3rem;
}

.text-70 {
  font-size: 0.7rem;
}

/* Shared profile card styling for owner info across views */
.profile-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.profile-card .profile-user-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0 auto 12px;
  overflow: hidden;
}

.profile-card .profile-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-card .profile-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  display: inline-block;
}

.profile-card .profile-name:hover {
  color: var(--color-primary);
}

.profile-card .profile-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-weight: 600;
  justify-content: center;
  flex-wrap: wrap;
}

.profile-card .stars {
  display: inline-flex;
  gap: 2px;
  font-size: 18px;
}

.profile-card .star {
  color: #cbd5f5;
}

.profile-card .star.is-on {
  color: #f59e0b;
}

.profile-card .profile-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  text-align: left;
}

.profile-card .profile-block h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.profile-card .profile-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-text);
  font-size: 14px;
}

.profile-card .profile-meta-label {
  color: var(--color-muted);
  font-weight: 600;
}

@media (max-width: 992px) {
  .profile-card .profile-user-avatar {
    width: 108px;
    height: 108px;
    font-size: 1.9rem;
  }
}

@media (max-width: 640px) {
  .profile-card .profile-user-avatar {
    width: 96px;
    height: 96px;
    font-size: 1.6rem;
  }
}

.size-18 {
  width: 18px;
  height: 18px;
}

.size-20 {
  width: 20px;
  height: 20px;
}

.size-24 {
  width: 24px;
  height: 24px;
}

.size-28 {
  width: 28px;
  height: 28px;
}

.size-30 {
  width: 30px;
  height: 30px;
}

.size-36 {
  width: 36px;
  height: 36px;
}

.size-38 {
  width: 38px;
  height: 38px;
}

.size-40 {
  width: 40px;
  height: 40px;
}

.size-45 {
  width: 45px;
  height: 45px;
}

.size-80 {
  width: 80px;
  height: 80px;
}

.size-120 {
  width: 120px;
  height: 120px;
}

.size-150 {
  width: 150px;
  height: 150px;
}

.size-200 {
  width: 200px;
  height: 200px;
}

.size-60x34 {
  width: 60px;
  height: 34px;
}

.size-70 {
  width: 70px;
  height: 70px;
}

.size-45x22 {
  width: 45px;
  height: 22px;
}

.w-120 {
  width: 120px;
}

.w-40 {
  width: 40px;
}

.w-60 {
  width: 60px;
}

.w-95 {
  width: 95px;
}

.w-135 {
  width: 135px;
}

.w-150 {
  width: 150px;
}

.w-246 {
  width: 246px;
}

.w-0 {
  width: 0;
}

.w-66 {
  width: 66.6%;
}

.w-33 {
  width: 33.3%;
}

.w-60p {
  width: 60%;
}

.w-80 {
  width: 80%;
}

.w-fit {
  width: fit-content;
}

.w-100-force {
  width: 100% !important;
}

.w-calc-50 {
  width: calc(100% - 50px);
}

.max-w-320 {
  max-width: 320px;
}

.max-w-380 {
  max-width: 380px;
}

.max-w-480 {
  max-width: 480px;
}

.max-w-700 {
  max-width: 700px;
}

.max-w-100 {
  max-width: 100%;
}

.h-500 {
  height: 500px;
}

.h-600 {
  height: 600px;
}

.h-250 {
  height: 250px;
}

.h-350 {
  height: 350px;
}

.h-70vh {
  height: 70vh;
}

.max-h-600 {
  max-height: 600px;
}

.radius-15 {
  border-radius: 15px;
}

.mt-14 {
  margin-top: 14px;
}

.mt-neg-3 {
  margin-top: -3px;
}

.me-15 {
  margin-right: 15px;
}

.me-50 {
  margin-right: 50px !important;
}

.mt-18 {
  margin-top: 18px;
}

.mt-20 {
  margin-top: 20px;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-25 {
  gap: 25px;
}
.transition-base {
  transition: all 0.3s ease;
}

.border-transparent {
  border-color: transparent !important;
}

.shadow-soft {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pointer-events-none {
  pointer-events: none;
}

.text-wrap-anywhere {
  overflow-wrap: anywhere;
}

.chat-addon {
  background: #f1f1f1;
  cursor: pointer;
}

.chat-send {
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  cursor: pointer;
}

.input-flat {
  box-shadow: none;
}

.input-price {
  border-color: #88b8f7;
  font-size: 18px;
  font-weight: 500;
}

.input-price-disabled {
  background-color: #B3D1FD;
}

.bg-brand-gradient {
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
}

.bg-brand-soft {
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.05), rgba(20, 184, 166, 0.05));
}

.bg-white-force {
  background-color: #ffffff !important;
}

.bg-white-70 {
  background: rgba(255, 255, 255, 0.7);
}

.bg-brand-faint {
  background: linear-gradient(45deg, rgba(14, 165, 233, 0.08), rgba(20, 184, 166, 0.08));
  color: var(--color-text);
}

.bg-danger-gradient {
  background: linear-gradient(45deg, var(--color-accent), #ff8e8e);
}

.bg-success-soft {
  background-color: rgba(40, 167, 69, 0.1);
}

.bg-success-soft-strong {
  background-color: rgba(40, 167, 69, 0.2);
}

.bg-orange-soft {
  background-color: rgba(247, 147, 26, 0.1);
}

.bg-coin-blue {
  background-color: rgba(98, 126, 234, 0.1);
}

.bg-black-5 {
  background: rgba(0, 0, 0, 0.05);
}

.bg-gray-200 {
  background: rgb(218, 218, 218);
}

.text-hot {
  color: #ff0090;
}

.drop-shadow-brand {
  filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.3));
}

.object-fit-cover {
  object-fit: cover;
}

.object-fit-contain {
  object-fit: contain;
}

.lh-160 {
  line-height: 1.6;
}

.image-remove {
  position: absolute;
  top: 5px;
  right: 20px;
  background-color: #ffffff;
  padding: 5px;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.24);
  border: 2px solid #000000;
}

.image-remove-tight {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #ffffff;
  padding: 5px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.thumb-bordered {
  border: 2px solid rgba(14, 165, 233, 0.3);
  border-radius: 12px;
  position: relative;
}

.shadow-brand {
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.glass-card {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.8);
}

.glass-surface {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.97);
}

.listing-card {
  width: 246px;
}

.listing-card-media {
  width: 246px;
  height: 233.69px;
  position: relative;
}

.badge-soft {
  background: linear-gradient(45deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
  color: var(--color-primary);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.title-underline {
  height: 3px;
  width: 40px;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  bottom: -8px;
  left: 0;
  border-radius: 3px;
}

.btn-wide {
  padding: 10px 100px;
}

.btn-tall {
  padding: 12px 0;
}

.btn.buy-now-button {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary, linear-gradient(135deg, var(--color-primary), var(--color-secondary)));
  border: none;
  color: #fff;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
  transition: all 0.3s ease;
}

.btn.buy-now-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: all 0.75s ease;
  z-index: 1;
}

.btn.buy-now-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(14, 165, 233, 0.25);
}

.btn.buy-now-button:hover::before {
  left: 100%;
}

.btn.buy-now-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.2);
}

.btn.buy-now-button:disabled,
.btn.buy-now-button[disabled] {
  opacity: 0.7;
  box-shadow: none;
  transform: none;
}

.badge-hot {
  background-color: #ff0090;
  margin-right: 20px;
}

.badge-brand-tint {
  background: rgba(58, 123, 213, 0.1);
  color: #3a7bd5;
  border-radius: 8px;
}

.shine-layer {
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  transform: skewX(-20deg);
  transition: all 0.6s ease;
  z-index: 1;
}

.shine-layer--light {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
}

.shine-layer--brand {
  background: linear-gradient(90deg, rgba(14, 165, 233, 0) 0%, rgba(14, 165, 233, 0.12) 50%, rgba(14, 165, 233, 0) 100%);
}

.bg-stage {
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.progress-thin {
  height: 6px;
}

.progress-thinner {
  height: 5px;
}

.progress-thick {
  height: 8px;
}

.progress-mini {
  height: 4px;
}

.progress-track-soft {
  background-color: rgba(233, 236, 239, 0.6);
  border-radius: 10px;
}

.progress-bar-brand {
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
}

.progress-bar-rounded {
  border-radius: 10px;
}

.modal-700 {
  max-width: 700px;
}

.geo-frame {
  position: absolute;
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 28px;
}

.geo-lg {
  width: 150px;
  height: 150px;
  top: 15%;
  right: 10%;
}

.geo-md {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 20%;
}

.geo-md-alt {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 20%;
}

.geo-sm {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 15%;
}

.geo-sm-alt {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 15%;
}

.geo-tilt-lg {
  transform: rotate(30deg);
}

.geo-tilt-md {
  transform: rotate(45deg);
}

.geo-tilt-sm {
  transform: rotate(15deg);
}

.loading-bar {
  width: 150px;
  height: 4px;
  background: rgba(14, 165, 233, 0.2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.loading-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35%;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  border-radius: inherit;
  animation: loading-bar 2s ease-in-out infinite;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.75rem;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.section-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-header h3 {
  font-size: 1.25rem;
  margin: 0;
}

.section-count {
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.section-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
}

.section-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.2s ease;
}

.section-link:hover::after {
  width: 100%;
}

.empty-state {
  padding: 1.5rem;
  text-align: center;
  color: var(--color-muted);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
}

.empty-illustration {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, #ff3e6a, #ff7676);
  box-shadow: 0 6px 12px rgba(255, 62, 106, 0.25);
}

.list-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(14, 165, 233, 0.15);
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow-sm);
}

.listing-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-pill {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.filter-pill.is-active:hover {
  color: #fff !important;
}

.filter-pill:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.pagination-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
}

.pagination-number {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}

.pagination-number.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.pagination-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  justify-content: center;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(248, 250, 252, 0.8);
}

.pagination-controls form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-controls label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.pagination-controls select,
.pagination-controls input {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-size: 12px;
  background: #ffffff;
}

.pagination-controls button {
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  background: var(--color-text);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.pagination .is-disabled {
  color: var(--color-muted);
  cursor: default;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  font-weight: 600;
  overflow: hidden;
}

.avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.avatar-md {
  width: 50px;
  height: 50px;
  font-size: 1rem;
}

.avatar-lg {
  width: 70px;
  height: 70px;
  font-size: 1.4rem;
}

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

.page-background,
.crypto-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-background-base,
.crypto-background-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eaf2f8 100%);
}

.page-background-waves,
.crypto-background-waves {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  opacity: 0.35;
}

.page-particles,
.crypto-particles {
  position: absolute;
  inset: 0;
}

.page-geo,
.crypto-geo {
  position: absolute;
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 28px;
  backdrop-filter: blur(4px);
}

.page-geo-lg,
.crypto-geo-lg {
  width: 160px;
  height: 160px;
  top: 12%;
  right: 10%;
}

.page-geo-md,
.crypto-geo-md {
  width: 120px;
  height: 120px;
  top: 58%;
  right: 22%;
}

.page-geo-sm,
.crypto-geo-sm {
  width: 90px;
  height: 90px;
  bottom: 18%;
  left: 14%;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes loading-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(20, 184, 166, 0); }
  50% { transform: scale(1.5); box-shadow: 0 0 20px rgba(20, 184, 166, 0.5); }
}

@keyframes loading-bar {
  0% { width: 0; left: 0; }
  50% { width: 100%; left: 0; }
  50.01% { width: 100%; left: auto; right: 0; }
  100% { width: 0; left: auto; right: 0; }
}

@media (max-width: 992px) {
  .pagination-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .pagination-controls form {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section-card {
    padding: 16px;
  }

  .pagination-controls input {
    width: 110px;
  }

  .listing-filter {
    justify-content: center;
  }

  .pagination {
    flex-direction: column;
    align-items: center;
  }
}
