/* Member Portal Modern Aesthetics & Design System */

.member-badge-gold {
  background: linear-gradient(135deg, rgba(213, 169, 40, 0.2) 0%, rgba(213, 169, 40, 0.05) 100%);
  border: 1px solid rgba(213, 169, 40, 0.4);
  color: #D5A928;
  box-shadow: 0 0 10px rgba(213, 169, 40, 0.15);
}

.member-card-glass {
  background: rgba(20, 21, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card-glass:hover {
  border-color: rgba(213, 169, 40, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(213, 169, 40, 0.12);
}

/* Luminous Holographic Foil Strip Effect */
@keyframes hologramShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes hologramReflect {
  0% { left: -100%; }
  100% { left: 200%; }
}

.holographic-foil-strip {
  background: linear-gradient(
    90deg,
    #ff007f,
    #7928ca,
    #00dfd8,
    #ffaa00,
    #d5a928,
    #00ff66,
    #ff007f
  ) !important;
  background-size: 200% 200% !important;
  animation: hologramShimmer 3s linear infinite !important;
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.6), 0 0 25px rgba(0, 223, 216, 0.5) !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
}

.holographic-foil-strip::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important; left: -100% !important;
  width: 50% !important; height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent) !important;
  transform: skewX(-25deg) !important;
  animation: hologramReflect 2s infinite !important;
}

/* Digital Wallet Pass Ticket Card Styling (Apple/Google Wallet Style) */
.wallet-pass-card {
  background: linear-gradient(165deg, #1e2025 0%, #121316 100%);
  border: 1px solid rgba(213, 169, 40, 0.35);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wallet-pass-card:hover {
  border-color: rgba(213, 169, 40, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(213, 169, 40, 0.15);
}

.wallet-pass-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 16px;
}

.wallet-pass-body {
  padding: 18px;
}

.wallet-field-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #D5A928;
  margin-bottom: 2px;
}

.wallet-field-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: #F7F4EA;
}

.member-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #A6A196;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.member-tab-btn:hover {
  color: #F7F4EA;
  background: rgba(255, 255, 255, 0.04);
}

.member-tab-btn.active {
  color: #F7F4EA;
  background: rgba(213, 169, 40, 0.12);
  border-color: rgba(213, 169, 40, 0.3);
  box-shadow: 0 4px 15px rgba(213, 169, 40, 0.1);
}

.ticket-status-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.ticket-status-active {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Modal styling */
.member-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.member-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.member-modal-content {
  background: #141517;
  border: 1px solid rgba(213, 169, 40, 0.3);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(213, 169, 40, 0.15);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-modal-backdrop.open .member-modal-content {
  transform: scale(1);
}
