/* css/digital-subs.css - Asia X Network® Digital Subscriptions */

:root {
  --subs-gold: #d4af37;
  --subs-gold-light: #f3e5ab;
  --subs-gold-dark: #aa820a;
  --subs-bg-dark: #070c12;
  --subs-card-bg: rgba(13, 20, 30, 0.75);
  --subs-card-border: rgba(212, 175, 55, 0.22);
  --subs-card-hover: rgba(212, 175, 55, 0.45);
  --subs-text-primary: #f8fafc;
  --subs-text-secondary: #94a3b8;
  --subs-text-muted: #64748b;
  --subs-font-display: 'Playfair Display', Georgia, serif;
  --subs-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --subs-radius: 16px;
  --subs-radius-sm: 10px;
}

/* Strict Navbar Logo Constraints - Fixes oversized raw images */
.nav-logo-img,
.nav-logo img,
.logo-img,
.navbar .nav-logo img {
  max-width: 44px !important;
  max-height: 44px !important;
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  display: block !important;
  position: static !important;
  transform: none !important;
  flex-shrink: 0 !important;
}

/* Page Container */
.subs-page-wrapper {
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 90% 40%, rgba(30, 58, 138, 0.12) 0%, transparent 50%),
              var(--subs-bg-dark);
  min-height: 100vh;
  color: var(--subs-text-primary);
  font-family: var(--subs-font-sans);
  position: relative;
  overflow-x: hidden;
}

/* Hero Header */
.subs-hero-section {
  padding: 104px 24px 30px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.subs-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subs-gold);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.subs-badge-pill i {
  color: #10b981;
  font-size: 0.65rem;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.subs-hero-title {
  font-family: var(--subs-font-display);
  font-size: clamp(1.85rem, 1.25rem + 2.8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--subs-gold-light) 75%, var(--subs-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subs-hero-subtitle {
  font-size: clamp(0.92rem, 0.85rem + 0.45vw, 1.15rem);
  color: var(--subs-text-secondary);
  max-width: 720px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
  padding: 0 clamp(8px, 2vw, 16px);
}

/* Sync Telemetry Bar */
.subs-sync-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.825rem;
  color: var(--subs-text-secondary);
}

.sync-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 600;
}

.sync-status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

.btn-manual-sync {
  background: transparent;
  border: none;
  color: var(--subs-gold);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  transition: all 0.2s ease;
}

.btn-manual-sync:hover {
  color: #ffffff;
  transform: scale(1.05);
}

.btn-manual-sync i.spin {
  animation: spin 0.8s linear infinite;
}

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

/* Filter & Search Bar */
.subs-controls-wrapper {
  position: relative;
  z-index: 900;
  max-width: 1240px;
  margin: 1.25rem auto 1.75rem;
  padding: 0 clamp(14px, 3.5vw, 24px);
}

.subs-controls-bar {
  position: relative;
  z-index: 900;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(13, 20, 30, 0.85);
  border: 1px solid rgba(226, 190, 83, 0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

.subs-search-box {
  position: relative;
  flex: 1 1 360px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
}

.subs-search-box i.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subs-gold);
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}

.subs-search-input {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 46px;
  background: rgba(6, 11, 18, 0.95);
  border: 1.5px solid rgba(212, 175, 55, 0.32);
  border-radius: 12px;
  color: #ffffff;
  font-size: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.subs-search-input:focus {
  outline: none;
  border-color: var(--subs-gold);
  background: rgba(9, 16, 26, 0.98);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.subs-clear-search {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--subs-text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  display: none;
  z-index: 2;
  padding: 6px;
  transition: color 0.2s ease;
}

.subs-clear-search:hover {
  color: #ffffff;
}

/* Category Filter Animated Dropdown */
.subs-filter-dropdown-wrap {
  flex: 0 0 280px;
  position: relative;
}

.category-filter-dropdown {
  position: relative;
  width: 100%;
}

.category-dropdown-trigger {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(6, 11, 18, 0.95);
  border: 1.5px solid rgba(212, 175, 55, 0.32);
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.category-dropdown-trigger:hover {
  border-color: var(--subs-gold);
  background: rgba(14, 22, 34, 0.98);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

.category-filter-dropdown.is-open .category-dropdown-trigger {
  border-color: var(--subs-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  background: rgba(14, 22, 34, 0.98);
}

.category-trigger-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.category-trigger-icon {
  color: var(--subs-gold);
  font-size: 1.05rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.category-trigger-info {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-trigger-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subs-text-muted);
  font-weight: 700;
}

.category-trigger-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.category-trigger-arrow {
  color: var(--subs-gold);
  font-size: 0.85rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  margin-left: 8px;
}

.category-filter-dropdown.is-open .category-trigger-arrow {
  transform: rotate(180deg);
}

/* Luxury Animated Dropdown Menu */
.category-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  min-width: 280px;
  background: rgba(10, 16, 26, 0.98);
  border: 1.5px solid var(--subs-gold);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.22);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999999 !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top center;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s ease;
  pointer-events: none;
}

.category-filter-dropdown.is-open .category-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.category-dropdown-menu .axn-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
  user-select: none;
}

.category-dropdown-menu .axn-dropdown-item:hover {
  background: rgba(212, 175, 55, 0.14);
  color: #ffffff;
  transform: translateX(3px);
}

.category-dropdown-menu .axn-dropdown-item.is-selected {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28) 0%, rgba(170, 130, 10, 0.38) 100%);
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.45);
  font-weight: 700;
}

.cat-drop-icon {
  color: var(--subs-gold);
  width: 20px;
  text-align: center;
  margin-right: 10px;
  font-size: 0.95rem;
}

.category-dropdown-menu .axn-dropdown-check {
  color: var(--subs-gold);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-dropdown-menu .axn-dropdown-item.is-selected .axn-dropdown-check {
  opacity: 1;
  transform: scale(1.15);
}

/* Products Grid */
.subs-grid-container {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto 80px;
  padding: 0 clamp(16px, 4.5vw, 24px) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.subs-results-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--subs-text-muted);
  margin-bottom: 1.25rem;
  padding: 0 4px;
  width: 100%;
  box-sizing: border-box;
}

.subs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: clamp(1.2rem, 2vw, 1.75rem);
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Subscription Card */
.subs-card {
  background: linear-gradient(160deg, rgba(18, 27, 46, 0.88) 0%, rgba(10, 16, 28, 0.96) 100%);
  border: 1px solid rgba(226, 190, 83, 0.22);
  border-radius: 16px;
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.32s ease,
              box-shadow 0.32s ease,
              background 0.32s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden;
  margin: 0 auto;
}

.subs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 190, 83, 0.5), transparent);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.subs-card:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 190, 83, 0.65);
  background: linear-gradient(160deg, rgba(22, 34, 58, 0.94) 0%, rgba(12, 19, 34, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 28px rgba(226, 190, 83, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.subs-card:hover::before {
  opacity: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--subs-gold, #e2be53), transparent);
}

.subs-card-top-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.subs-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.subs-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.subs-card:hover .subs-logo-wrap {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.platform-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.subs-official-badge,
.subs-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subs-gold-light, #fbe396);
  background: rgba(226, 190, 83, 0.12);
  border: 1px solid rgba(226, 190, 83, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.subs-stock-badge.out {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
}

.subs-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.subs-cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subs-gold, #e2be53);
  margin-bottom: 4px;
}

.subs-card-title {
  font-size: clamp(1.08rem, 1rem + 0.25vw, 1.22rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0 0 10px 0;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  width: 100%;
  min-width: 0;
}

/* Symmetrical Unified Plan Bar */
.subs-plan-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  background: rgba(13, 20, 32, 0.85);
  border: 1.5px solid rgba(226, 190, 83, 0.22);
  border-radius: 11px;
  backdrop-filter: blur(12px);
  margin-bottom: 12px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  width: 100%;
  min-width: 0;
}

.subs-card:hover .subs-plan-bar {
  border-color: rgba(226, 190, 83, 0.45);
  background: rgba(18, 28, 45, 0.92);
}

.subs-plan-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}

.subs-plan-left span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  display: inline-block;
}

.subs-plan-left i {
  font-size: 0.82rem;
  flex-shrink: 0;
}

.subs-plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.1;
}

.subs-plan-tag.variant-tag {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.subs-plan-tag.verified-tag {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Features Preview Checklist */
.subs-card-features-preview {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 44px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.subs-card-features-preview li {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 100%;
}

.subs-card-features-preview li i {
  color: #10b981;
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Card Footer */
.subs-card-footer {
  border-top: 1px solid rgba(226, 190, 83, 0.14);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.subs-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.subs-price-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(226, 190, 83, 0.75);
}

.subs-price-val {
  font-size: clamp(1.15rem, 1.05rem + 0.3vw, 1.35rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, #fbe396 75%, var(--subs-gold, #e2be53) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  white-space: nowrap;
}

.btn-subs-view {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background: linear-gradient(135deg, #e2be53 0%, #c59f33 100%) !important;
  color: #080d16 !important;
  border: none !important;
  font-size: clamp(0.78rem, 0.74rem + 0.2vw, 0.85rem) !important;
  font-weight: 700 !important;
  padding: 0.55rem clamp(0.75rem, 2vw, 1.15rem) !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(226, 190, 83, 0.32) !important;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-subs-view:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 22px rgba(226, 190, 83, 0.48) !important;
  filter: brightness(1.08) !important;
}

.btn-subs-view i {
  transition: transform 0.25s ease !important;
}

.btn-subs-view:hover i {
  transform: translateX(3px) !important;
}

/* ========================================================
   SKELETON LOADERS - LUXURY SHIMMER ANIMATION
   ======================================================== */
.subs-skeleton-card {
  pointer-events: none !important;
  cursor: default !important;
  user-select: none !important;
  border-color: rgba(226, 190, 83, 0.15) !important;
  background: linear-gradient(160deg, rgba(18, 27, 46, 0.72) 0%, rgba(10, 16, 28, 0.88) 100%) !important;
  animation: skeletonCardPulse 2s ease-in-out infinite;
}

.subs-skeleton-card:hover {
  transform: none !important;
  border-color: rgba(226, 190, 83, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

@keyframes skeletonCardPulse {
  0%, 100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

.skeleton-bone {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(226, 190, 83, 0.12) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

@keyframes skeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.skeleton-badge {
  width: 76px;
  height: 24px;
  border-radius: 999px;
}

.skeleton-cat {
  width: 95px;
  height: 12px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.skeleton-title {
  width: 90%;
  height: 20px;
  margin-bottom: 6px;
}

.skeleton-title-short {
  width: 60%;
  height: 20px;
  margin-bottom: 14px;
}

.skeleton-plan {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.skeleton-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.skeleton-feature {
  width: 95%;
  height: 14px;
  border-radius: 4px;
}

.skeleton-price-label {
  width: 65px;
  height: 10px;
  margin-bottom: 6px;
}

.skeleton-price-val {
  width: 100px;
  height: 22px;
  border-radius: 6px;
}

.skeleton-btn {
  width: 105px;
  height: 38px;
  border-radius: 10px;
}

.btn-manual-sync:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* ========================================================
   Interactive Product Detail Modal (No separate pages!)
   ======================================================== */
.subs-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 13, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.subs-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.subs-modal-box {
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  background: rgba(11, 18, 28, 0.96);
  border: 1px solid var(--subs-gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(212, 175, 55, 0.22);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.subs-modal-backdrop.active .subs-modal-box {
  transform: scale(1) translateY(0);
}

.subs-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 26, 40, 0.6);
}

.modal-header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.modal-title-group h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 4px;
}

.modal-title-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.785rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--subs-text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

/* Modal Interactive Navigation Tabs */
.modal-nav-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 20px 0;
  gap: 8px;
}

.modal-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--subs-text-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.modal-tab-btn:hover {
  color: #ffffff;
}

.modal-tab-btn.active {
  color: var(--subs-gold-light);
  border-bottom-color: var(--subs-gold);
}

.subs-modal-content {
  padding: 22px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Trust Guarantee Row */
.modal-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-trust-pill {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
}

/* 2-Column Golden Feature Badges Grid (Mirrors Image 4) */
.modal-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 640px) {
  .modal-badges-grid {
    grid-template-columns: 1fr;
  }
}

.feature-pill-badge {
  background: rgba(18, 14, 8, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #f1f5f9;
  box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.04);
  transition: all 0.2s ease;
}

.feature-pill-badge:hover {
  border-color: var(--subs-gold);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-1px);
}

.feature-pill-badge .badge-icon {
  font-size: 0.95rem;
  color: var(--subs-gold);
  flex-shrink: 0;
}

/* "Why Choose" Card (Mirrors Image 5) */
.modal-why-card {
  background: rgba(14, 21, 32, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 20px;
}

.modal-why-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 6px;
  display: inline-block;
}

.modal-why-desc {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 16px;
}

.modal-why-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}

@media (max-width: 540px) {
  .modal-why-checklist {
    grid-template-columns: 1fr;
  }
}

.modal-why-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #e2e8f0;
}

.modal-why-item i {
  color: var(--subs-gold);
  font-size: 0.9rem;
}

/* Modal Section Card */
.modal-section-card {
  background: rgba(6, 12, 19, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
}

.modal-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--subs-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-features-list li {
  font-size: 0.875rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.modal-features-list li i {
  color: #10b981;
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.modal-guide-text {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.65;
  white-space: pre-line;
}

/* Modal Checkout & Buying Actions */
.modal-checkout-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(13, 22, 34, 0.8) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Duration / Plan Variant Dropdown */
.checkout-variant-selection {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.variant-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--subs-gold-light);
  margin-bottom: 8px;
}

.variant-label i {
  color: var(--subs-gold);
}

.variant-select-wrapper {
  position: relative;
  width: 100%;
}

.modal-variant-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(13, 24, 38, 0.95);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 10px;
  padding: 12px 42px 12px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  outline: none;
}

.modal-variant-select:hover {
  border-color: var(--subs-gold);
  background: rgba(18, 32, 51, 0.98);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.modal-variant-select:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.modal-variant-select option {
  background: #0d1826;
  color: #ffffff;
  padding: 10px;
  font-weight: 600;
}

.variant-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subs-gold);
  pointer-events: none;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.variant-select-wrapper:hover .variant-select-arrow {
  transform: translateY(-50%) scale(1.1);
}

/* Custom Dropdown in Modal Duration Selector */
#modalVariantDropdown .axn-dropdown-trigger {
  min-height: 48px;
  padding: 8px 14px;
  overflow: visible;
}

#modalVariantDropdown .axn-dropdown-selection {
  overflow: visible !important;
}

#modalVariantDropdown .axn-dropdown-right-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  overflow: visible !important;
}

#modalVariantDropdown .axn-dropdown-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(226, 190, 83, 0.4);
  background: rgba(226, 190, 83, 0.16);
  color: var(--subs-gold-light);
  box-sizing: border-box;
}

.checkout-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.checkout-price-left h4 {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--subs-text-muted);
  letter-spacing: 0.08em;
}

.checkout-price-display {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 40%, var(--subs-gold-light) 75%, var(--subs-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.checkout-instant-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Action Buttons Grid */
.checkout-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.btn-buy-whatsapp {
  display: none;
}

.btn-buy-discord {
  width: 100%;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}

.btn-buy-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
  background: linear-gradient(135deg, #4752C4 0%, #3b449b 100%);
}

/* Discord Contact Info Banner Container & Grid */
.discord-id-container {
  background: rgba(88, 101, 242, 0.08);
  border: 1px dashed rgba(88, 101, 242, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.discord-id-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: #c7d2fe;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.discord-exec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .discord-exec-grid {
    grid-template-columns: 1fr;
  }
}

.discord-exec-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.discord-exec-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.exec-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.badge-ceo {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 2px 0;
}

.badge-cto {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  color: #818cf8;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 2px 0;
}

.exec-handle {
  font-size: 0.74rem;
  font-family: monospace;
  color: #94a3b8;
}

.btn-copy-discord {
  background: rgba(88, 101, 242, 0.25);
  border: 1px solid rgba(88, 101, 242, 0.5);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-copy-discord:hover {
  background: #5865F2;
}

.checkout-guarantee-note {
  margin-top: 12px;
  font-size: 0.725rem;
  color: var(--subs-text-muted);
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 860px) {
  /* Hero Refinements on Mobile */
  .subs-hero-section {
    padding: 86px 18px 20px;
  }
  .subs-badge-pill {
    padding: 5px 13px;
    font-size: 0.74rem;
    margin-bottom: 0.85rem;
  }
  .subs-hero-title {
    font-size: clamp(1.65rem, 5vw, 2.25rem);
    margin-bottom: 0.65rem;
    line-height: 1.2;
  }
  .subs-hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    padding: 0 4px;
  }

  /* Live Sync Bar - Compact & Clean Wrapping */
  .subs-sync-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 0.78rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .sync-bar-divider {
    display: none;
  }

  /* Controls Bar & Filter Dropdown - Zero Phantom Gapping */
  .subs-controls-wrapper {
    margin: 1rem auto 1.5rem;
    padding: 0 16px;
  }
  .subs-controls-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
    border-radius: 14px;
  }
  .subs-search-box {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .subs-search-input {
    height: 46px;
    font-size: 0.88rem;
  }
  .subs-filter-dropdown-wrap {
    flex: none !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .category-dropdown-trigger {
    height: 46px;
    font-size: 0.86rem;
    padding: 0 14px;
  }
  .category-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 100%;
  }

  /* Catalog Grid & Results Counter */
  .subs-grid-container {
    padding: 0 clamp(16px, 4.5vw, 24px) !important;
    margin-bottom: 80px;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .subs-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .subs-card {
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .subs-results-counter {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    padding: 0 4px;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .subs-hero-section {
    padding-top: 84px;
    padding-bottom: 16px;
    padding-left: clamp(16px, 4.5vw, 24px);
    padding-right: clamp(16px, 4.5vw, 24px);
  }
  .subs-controls-wrapper {
    padding: 0 clamp(16px, 4.5vw, 20px) !important;
  }
  .subs-grid-container {
    padding: 0 clamp(16px, 4.5vw, 22px) !important;
    margin-bottom: 75px;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .subs-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .subs-card {
    padding: 18px 16px;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .subs-card-title {
    font-size: 1.08rem;
  }
  .checkout-actions-grid {
    grid-template-columns: 1fr;
  }
  .modal-nav-tabs {
    overflow-x: auto;
  }
  .subs-modal-box {
    width: 100%;
    max-width: calc(100vw - 24px);
    max-height: 93vh;
    border-radius: 16px;
    box-sizing: border-box;
  }
  .subs-modal-header {
    padding: 14px 16px;
  }
  .subs-modal-content {
    padding: 14px 16px;
    gap: 14px;
  }
  .modal-trust-pill {
    flex: 1 1 100%;
  }
  .modal-badges-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .subs-hero-section {
    padding-top: 80px;
    padding-bottom: 12px;
  }
  .subs-controls-wrapper {
    padding: 0 16px !important;
  }
  .subs-grid-container {
    padding: 0 16px !important;
    margin-bottom: 70px;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .subs-card {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .subs-card-footer {
    gap: 10px;
  }
  .btn-subs-view {
    padding: 0.54rem 1rem !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 380px) {
  .subs-controls-wrapper {
    padding: 0 12px !important;
  }
  .subs-grid-container {
    padding: 0 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 60px;
  }
  .subs-card {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .subs-plan-bar {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }
  .subs-plan-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .subs-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .subs-price-block {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
  .btn-subs-view {
    width: 100% !important;
    padding: 0.6rem 0.9rem !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
  }
}
