/* VIP System Styles */

/* ================= VIP Button (Menu) ================= */
.vip-neon-button {
  --btn-border-cyan: #f5c34b;
  --btn-border-light-cyan: rgba(255, 240, 188, 0.95);
  --btn-text-cyan: #fff4c5;
  --btn-border-magenta: #ffab3a;
  --btn-border-light-magenta: rgba(255, 228, 188, 0.95);
  --btn-text-magenta: #fff9da;
  --btn-outline-cyan: rgba(255, 232, 156, 0.9);
  --btn-bg: rgba(34, 16, 0, 0.55);
  --vip-icon-color: #ffe27a;
  --vip-label-color: #fff4c5;
  --vip-icon-shadow: drop-shadow(0 0 1px rgba(255, 234, 180, 0.7))
    drop-shadow(0 0 4px rgba(255, 196, 64, 0.5))
    drop-shadow(0 0 10px rgba(120, 48, 0, 0.35));
  position: absolute;
  min-width: 120px;
}

.vip-neon-button .vip-button__content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}

.vip-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  color: var(--vip-icon-color, #ffe27a);
}

.vip-button__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  filter: var(--vip-icon-shadow);
  transition: filter 0.3s ease;
}

.vip-button__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--vip-label-color, currentColor);
  text-shadow:
    0 0 2px rgba(255, 243, 193, 0.6),
    0 0 4px rgba(255, 200, 80, 0.4);
}

.vip-neon-button:hover .vip-button__icon svg,
.vip-neon-button:active .vip-button__icon svg {
  filter:
    drop-shadow(0 0 2px rgba(255, 238, 200, 0.8))
    drop-shadow(0 0 6px rgba(255, 206, 90, 0.6))
    drop-shadow(0 0 12px rgba(140, 60, 0, 0.45));
}

.vip-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.vip-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 3px;
  transition: width 0.5s ease;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.vip-points {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Pulsing animation removed - no glowing effect */

/* Max level styling */
.vip-neon-button.vip-max-level {
  --btn-border-cyan: #2EBECC;
  --btn-border-light-cyan: #d3fafdff;
  --btn-text-cyan: #dffcff;
  --btn-border-magenta: #FF2EBE;
  --btn-border-light-magenta: #FFEEFD;
  --btn-text-magenta: #FFEEFD;
  --btn-outline-cyan: rgba(183, 239, 245, 0.9);
  --btn-bg: rgba(0, 40, 38, 0.45);
  --vip-icon-color: #98fff0;
  --vip-label-color: #e0fffb;
  --vip-icon-shadow: drop-shadow(0 0 1px rgba(156, 255, 240, 0.7))
    drop-shadow(0 0 4px rgba(46, 190, 204, 0.5))
    drop-shadow(0 0 10px rgba(0, 80, 90, 0.35));
}

.vip-neon-button.vip-max-level .vip-button__label {
  text-shadow:
    0 0 2px rgba(156, 255, 240, 0.6),
    0 0 4px rgba(46, 190, 204, 0.4);
}

/* Daily Claim Icon Button */
.vip-daily-claim-icon {
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
}

.vip-daily-claim-icon:hover:not(:disabled) {
  transform: scale(1.1);
}

.vip-daily-claim-icon:active:not(:disabled) {
  transform: scale(0.95);
}

.vip-daily-claim-icon:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.vip-daily-claim-icon img {
  display: block;
  filter: brightness(1.3);
}

/* Neon dot indicator for claimable reward */
.vip-daily-claim-icon:not(:disabled)::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: var(--neon, #00FFCC);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon, #00FFCC), 0 0 20px var(--neon, #00FFCC);
  animation: vipDotPulse 2s ease-in-out infinite;
}

@keyframes vipDotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Timer under claim button */
.vip-next-claim-timer {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* ================= VIP Modal ================= */
.vip-modal-content {
  max-width: 500px;
  max-height: 80vh;
  overflow-y: visible;
}

.vip-section {
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vip-section h4 {
  margin: 0 0 12px 0;
  color: #FFD700;
  font-size: 16px;
  font-weight: 700;
}

.vip-progress-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip-points-display {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.vip-progress-bar-large {
  width: 100%;
  height: 24px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.vip-progress-bar-large .vip-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FF8C00);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  position: relative;
}

.vip-progress-bar-large .vip-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%);
  animation: vipShimmer 2s infinite;
}

@keyframes vipShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.vip-progress-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.vip-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin: 8px 0 0 0;
  font-style: italic;
}

.vip-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vip-benefits-list li {
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vip-benefits-list li:last-child {
  border-bottom: none;
}

.vip-benefits-list strong {
  color: #FFD700;
  font-weight: 700;
}

.vip-no-benefits {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  padding: 12px;
}

.vip-next-preview {
  padding: 12px;
  background: rgba(255, 215, 0, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.vip-next-requirement {
  text-align: center;
  margin: 12px 0 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.vip-next-requirement strong {
  color: #FFD700;
  font-weight: 700;
}

.vip-max-message {
  text-align: center;
  color: #00FFCC;
  font-size: 14px;
  padding: 12px;
}

/* Claim Button */
.vip-claim-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.vip-claim-btn:hover {
  background: linear-gradient(135deg, #FFA500, #FF8C00);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.6);
}

.vip-claim-btn:active {
  transform: translateY(0);
}

.vip-daily-claimed {
  text-align: center;
  padding: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.vip-next-claim {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* ================= VIP Daily Reward Modal ================= */
.vip-daily-modal-content {
  max-width: 400px;
  text-align: center;
}

.vip-daily-header {
  margin-bottom: 20px;
}

.vip-daily-icon {
  font-size: 64px;
  margin-bottom: 12px;
  animation: vipBounce 1s ease-in-out infinite;
}

@keyframes vipBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.vip-daily-header h3 {
  margin: 0;
  color: #FFD700;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.vip-daily-level {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.vip-daily-reward-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.15));
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.vip-daily-reward-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.vip-daily-reward-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.vip-points-icon {
  font-size: 32px;
}

.vip-points-value {
  font-size: 28px;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.vip-daily-claim-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
  margin-bottom: 16px;
}

.vip-daily-claim-btn:hover {
  background: linear-gradient(135deg, #FFA500, #FF8C00);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
}

.vip-daily-timer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Success State */
.vip-daily-success {
  padding: 20px;
}

.vip-daily-success-icon {
  font-size: 72px;
  color: #00FF88;
  margin-bottom: 16px;
  animation: vipSuccessPop 0.5s ease-out;
}

@keyframes vipSuccessPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.vip-daily-success h3 {
  margin: 0 0 16px 0;
  color: #00FF88;
  font-size: 24px;
}

.vip-daily-success-amount {
  font-size: 32px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.vip-daily-success-new-total {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.vip-daily-ok-btn {
  padding: 12px 40px;
  background: linear-gradient(135deg, #00FF88, #00CC66);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vip-daily-ok-btn:hover {
  background: linear-gradient(135deg, #00CC66, #009944);
  transform: scale(1.05);
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
  .vip-modal-content {
    max-width: 90vw;
  }

  .vip-daily-modal-content {
    max-width: 90vw;
  }

  .vip-section {
    padding: 12px;
  }

  .vip-benefits-list li {
    font-size: 13px;
  }

  .vip-daily-reward-box {
    padding: 16px;
  }

  .vip-points-value {
    font-size: 24px;
  }
}
