.elevex-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: overlayIn 0.4s ease forwards;
}

.elevex-overlay.closing {
  animation: overlayOut 0.35s ease forwards;
}

@keyframes overlayIn { to { opacity: 1; } }
@keyframes overlayOut { to { opacity: 0; } }

.elevex-modal {
  background: #0A0A0E;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(30px);
  animation: modalIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  box-shadow: 0 0 0 1px rgba(232, 85, 58, 0.15), 0 25px 60px rgba(0,0,0,0.6), 0 0 120px rgba(232, 85, 58, 0.06);
}

.elevex-overlay.closing .elevex-modal {
  animation: modalOut 0.3s ease forwards;
}

@keyframes modalIn { to { transform: scale(1) translateY(0); } }
@keyframes modalOut { to { transform: scale(0.95) translateY(20px); opacity: 0; } }

.elevex-header {
  position: relative;
  padding: 40px 36px 28px;
  background: linear-gradient(135deg, #0A0A0E 0%, #161618 100%);
  overflow: hidden;
}

.elevex-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(232, 85, 58, 0.12) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.elevex-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(232, 85, 58, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 85, 58, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.elevex-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(245, 244, 240, 0.06);
  border-radius: 50%;
  color: rgba(245, 244, 240, 0.5);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.elevex-close:hover {
  background: rgba(232, 85, 58, 0.15);
  color: #E8553A;
  transform: rotate(90deg);
}

.elevex-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 85, 58, 0.1);
  border: 1px solid rgba(232, 85, 58, 0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #E8553A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.elevex-badge .dot {
  width: 6px;
  height: 6px;
  background: #E8553A;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.elevex-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(245, 244, 240, 0.45);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.elevex-event-name {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #f5f4f0;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}

.elevex-event-name span { color: #E8553A; }

.elevex-info {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(245, 244, 240, 0.06);
  position: relative;
  z-index: 1;
}

.elevex-info-item {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.elevex-info-item + .elevex-info-item {
  border-left: 1px solid rgba(245, 244, 240, 0.06);
}

.elevex-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(232, 85, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.elevex-info-icon svg { width: 18px; height: 18px; color: #E8553A; }

.elevex-info-label {
  font-size: 11px;
  color: rgba(245, 244, 240, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 2px;
}

.elevex-info-value {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #f5f4f0;
}

.elevex-body {
  padding: 28px 36px;
  background: linear-gradient(180deg, #111114 0%, #0A0A0E 100%);
}

.elevex-message {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(245, 244, 240, 0.65);
  margin-bottom: 24px;
}

.elevex-message strong { color: #f5f4f0; font-weight: 600; }

.elevex-stand {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(232, 85, 58, 0.06);
  border: 1px solid rgba(232, 85, 58, 0.12);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.elevex-stand-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #E8553A, #c9432d);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.elevex-stand-icon svg { width: 24px; height: 24px; color: #fff; }

.elevex-stand-text {
  font-size: 13px;
  color: rgba(245, 244, 240, 0.5);
  line-height: 1.4;
}

.elevex-stand-text strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #f5f4f0;
  margin-bottom: 2px;
}

.elevex-cta {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #E8553A, #d14a33);
  border: none;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.elevex-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.elevex-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 85, 58, 0.35);
}

.elevex-cta:hover::after { opacity: 1; }
.elevex-cta:active { transform: translateY(0); }

.elevex-countdown {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(245, 244, 240, 0.35);
}

.elevex-countdown strong {
  color: #E8553A;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
}

@media (max-width: 520px) {
  .elevex-modal { border-radius: 16px; }
  .elevex-header { padding: 32px 24px 22px; }
  .elevex-event-name { font-size: 22px; }
  .elevex-body { padding: 22px 24px; }
  .elevex-info { flex-direction: column; }
  .elevex-info-item + .elevex-info-item { border-left: none; border-top: 1px solid rgba(245, 244, 240, 0.06); }
}
