/* Modal CSS - Modern Tasarım */
#popupModal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0; 
  top: 0; 
  width: 0vw; 
  height: 0vh;
  background: rgba(0,0,0,0.7); 
  justify-content: center; 
  align-items: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#popupModal .modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 0;
  border-radius: 0;
  text-align: center;
  width: 420px;
  max-width: 90vw;
  box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,215,0,0.3);
  position: relative;
  overflow: hidden;
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

#popupModal .modal-header {
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 50%, #ff8c00 100%);
  padding: 25px 20px;
  position: relative;
}

#popupModal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

#popupModal .discount-badge {
  font-size: 4rem;
  font-weight: 900;
  color: #1a1a2e;
  text-shadow: 2px 2px 0 rgba(255,255,255,0.3);
  line-height: 1;
  position: relative;
  z-index: 1;
}

#popupModal .discount-badge span {
  font-size: 2rem;
  vertical-align: top;
}

#popupModal .modal-body {
  padding: 30px 25px;
}

#popupModal .modal-title {
  color: #ffd700;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#popupModal .modal-subtitle {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

#popupModal .modal-cta {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  color: #1a1a2e;
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

#popupModal .modal-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255,215,0,0.4);
  animation: none;
}

#popupModal .modal-timer {
  margin-top: 20px;
  color: #ff6b6b;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#popupModal .modal-timer i {
  animation: pulse 1s infinite;
}

#popupModal .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  color: #1a1a2e;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.7;
}

#popupModal .close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

#popupModal .modal-footer {
  background: rgba(0,0,0,0.2);
  padding: 12px;
  border-top: 1px solid rgba(255,215,0,0.2);
}

#popupModal .modal-footer-text {
  color: #888;
  font-size: 0.75rem;
}

/* Mobil Responsive */
@media (max-width: 600px) {
  #popupModal .modal-content {
    width: 340px;
    max-width: 92vw;
  }
  
  #popupModal .discount-badge {
    font-size: 3rem;
  }
  
  #popupModal .discount-badge span {
    font-size: 1.5rem;
  }
  
  #popupModal .modal-header {
    padding: 20px 15px;
  }
  
  #popupModal .modal-body {
    padding: 25px 20px;
  }
  
  #popupModal .modal-title {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
  
  #popupModal .modal-subtitle {
    font-size: 0.9rem;
  }
  
  #popupModal .modal-cta {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  #popupModal .close-btn {
    top: 8px;
    right: 10px;
    font-size: 1.5rem;
  }
}
