.rs-make-entry {
  background-color: transparent;
  font-family: "Jost", Sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff !important;
  background: linear-gradient(
    136deg,
    var(--e-global-color-ddc4004) 0%,
    var(--e-global-color-076555d) 100%
  );
  border-style: none;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  padding: 12px 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.rs-make-entry:hover {
  background-image: linear-gradient(
    136deg,
    var(--e-global-color-076555d) 0%,
    var(--e-global-color-ddc4004) 100%
  );
}

.rs-already-entered {
  background: #f11094 !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 0.9;
}

.rs-loading {
  padding-right: 42px;
  pointer-events: none;
  opacity: 0.8;
}

.rs-loading i {
  display: none;
}

.rs-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  animation: rs-spin 0.6s linear infinite;
}

@keyframes rs-spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

.rs-ultra-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  animation: rsFadeIn 0.3s ease;
}

.rs-ultra-modal {
  background: #ffffff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 50px);
  width: min(92vw, 480px);
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: rsPopIn 0.35s ease;
}

.rs-ultra-modal h2 {
  font-size: clamp(20px, 4vw, 26px);
  margin: 15px 0 10px;
  font-weight: 600;
}

.rs-ultra-modal p {
  font-size: clamp(14px, 3.5vw, 16px);
  color: #555;
  line-height: 1.6;
}

.rs-ultra-close {
  position: absolute;
  top: 16px;
  right: 18px;
  cursor: pointer;
  font-size: clamp(14px, 3vw, 18px);
  color: #777;
  transition: color 0.2s ease;
}

.rs-ultra-close:hover {
  color: #000;
}

.rs-ultra-icon {
  width: clamp(60px, 15vw, 90px);
  height: clamp(60px, 15vw, 90px);
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(22px, 6vw, 34px);
  color: #fff;
}

.rs-success {
  background: linear-gradient(135deg, #4caf50, #2ecc71);
  animation: rsPulseSuccess 1.5s infinite;
}

.rs-error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  animation: rsPulseError 1.5s infinite;
}

@keyframes rsPulseSuccess {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(46, 204, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

@keyframes rsPulseError {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(231, 76, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

@keyframes rsFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rsPopIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.rs-confetti-canvas,
.rs-firework-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99998;
}

@media (max-width: 480px) {
  .rs-ultra-overlay {
    padding: 16px;
  }

  .rs-ultra-modal {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-success,
  .rs-error {
    animation: none;
  }

  .rs-ultra-overlay,
  .rs-ultra-modal {
    animation: none;
  }
}
