/**
 * CMB VIP Membership System Styles (Dark Luxury Edition)
 * Colors: #101010, #141414, #ffcc00, #222222, #555555
 */

/* 1. Content Teaser Mask */
.cmb-vip-gated-article {
  position: relative;
  margin-top: 20px;
}

.cmb-article-teaser {
  position: relative;
  overflow: hidden;
  max-height: 280px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  user-select: none;
  pointer-events: none;
}

/* 2. VIP Paywall Lock Card */
.cmb-vip-lock-card {
  position: relative;
  background: linear-gradient(135deg, #18150a 0%, #121212 100%);
  border: 1.5px solid #ffcc00;
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85);
  margin: 36px 0;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.cmb-vip-lock-card:hover {
  box-shadow: 0 20px 60px rgba(255, 204, 0, 0.15);
}

/* 3. Pricing Cards */
.cmb-vip-pricing-wrap {
  width: 100%;
}

.cmb-pricing-card {
  background: #141414;
  border: 1.5px solid #282828;
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.cmb-pricing-card:hover {
  border-color: rgba(255, 204, 0, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.cmb-pricing-card.is-featured {
  background: linear-gradient(135deg, #1d1806 0%, #141414 100%);
  border-color: #ffcc00;
}

.cmb-pricing-card.is-featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255, 204, 0, 0.25);
}

/* 4. VIP Dashboard Card */
.cmb-vip-status-card {
  background: linear-gradient(135deg, #1c1706 0%, #121212 100%);
  border: 1.5px solid #ffcc00;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 12px 40px rgba(255, 204, 0, 0.12);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.cmb-vip-badge-pill {
  background: rgba(255, 204, 0, 0.15);
  border: 1px solid #ffcc00;
  color: #ffcc00;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.cmb-vip-countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 12px;
  font-family: Montserrat, sans-serif;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cmb-vip-lock-card {
    padding: 32px 20px;
  }

  .cmb-vip-status-card {
    padding: 24px 20px;
  }
}

/* 5. Header User Account Dropdown */
.cmb-user-dropdown-wrap {
  position: relative !important;
}

.cmb-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 270px;
  background: #141414;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  z-index: 99999;
}

.cmb-user-dropdown-wrap:hover .cmb-user-dropdown,
.cmb-user-dropdown.is-open {
  display: block;
}

.cmb-user-dropdown-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cmb-user-dropdown-links li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cmb-user-dropdown-links li a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  color: #cccccc !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 13px !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: background 0.2s ease !important;
}

.cmb-user-dropdown-links li a:hover {
  background: #202020 !important;
  color: #ffcc00 !important;
}

.cmb-user-dropdown-header {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #262626;
}

.cmb-user-name {
  color: #ffffff;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 14px;
}

.cmb-user-email {
  color: #888888;
  font-family: Questrial, sans-serif;
  font-size: 12px;
  margin-bottom: 8px;
}

.cmb-user-balance-box {
  background: #1b1704;
  border: 1px solid rgba(255, 204, 0, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cmb-user-balance-label {
  font-size: 11px;
  color: #aaaaaa;
  text-transform: uppercase;
  font-weight: 700;
}

.cmb-user-balance-num {
  font-size: 13px;
  font-weight: 800;
  color: #ffcc00;
}

.cmb-quick-topup-btn {
  font-size: 11px !important;
  color: #ffcc00 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}
