/* ===== Y2K RETRO MADNESS ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styling */
body {
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  background-color: #ff00ff;
  color: #ffff00;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Animated background pattern */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExd3h5eG1jNmV0dGFqYmJ4NDRlN3d6bTV4NTY3bWIwZ2U1anZxMGFuZSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/tHIRLHtNwxpjIFqPdV/giphy.gif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.8;
  z-index: -1;
}

/* Additional background elements */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 0, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 255, 255, 0.1) 0%,
      transparent 50%
    );
  z-index: -2;
  pointer-events: none;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 150px 20px 150px 20px;
  position: relative;
  z-index: 1;
  margin-top: 70px;
}

/* ===== LANDING PAGE STYLES ===== */

.landing-page {
  background: linear-gradient(135deg, #ff00ff 0%, #ff00ff 50%, #ffff00 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Marquee header */
.marquee-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ff00ff;
  color: #ffff00;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  border: 5px solid #ffff00;
  border-bottom: 5px solid #ffff00;
  animation: blink 0.5s infinite;
  z-index: 1000;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.5;
  }
}

/* Main content wrapper */
.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 30px;
}

/* Spinning logo */
.spinning-logo h1 {
  font-size: 72px;
  font-weight: bold;
  color: #ff00ff;
  text-shadow: 3px 3px 0px #ff00ff, 6px 6px 0px #ffff00,
    9px 9px 15px rgba(0, 0, 0, 0.1);
  animation: spin 4s linear infinite, bounce 2s ease-in-out infinite;
  transform-origin: center;
  letter-spacing: 2px;
}

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

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

/* Blinking text */
.blinking-text {
  animation: blink 0.6s infinite;
}

.blinking-text p {
  font-size: 32px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 2px 2px 0px #ff00ff;
}

/* Subheading */
.subheading p {
  font-size: 24px;
  color: #ffff00;
  font-style: italic;
  text-shadow: 2px 2px 0px #ff00ff;
}

/* Price container with spinning dollars */
.price-container {
  font-size: 48px;
  font-weight: bold;
  color: #ff00ff;
  text-shadow: 3px 3px 0px #ff00ff;
  margin: 20px 0;
  letter-spacing: 2px;
}

.spinning-dollar {
  display: inline-block;
  animation: spin 1s linear infinite;
  margin: 0 10px;
  color: #ffff00;
}

.main-price {
  font-size: 64px;
  color: #ff00ff;
}

.currency {
  font-size: 18px;
  color: #ff00ff;
}

/* Animated divider */
.animated-divider {
  width: 300px;
  height: 4px;
  background: linear-gradient(90deg, #ff00ff 0%, #ff00ff 50%, #ffff00 100%);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    width: 300px;
  }
  50% {
    width: 400px;
  }
}

/* CTA Section */
.cta-section {
  background: rgba(255, 255, 255, 0.2);
  padding: 30px;
  border: 5px dashed #ff00ff;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.cta-text {
  font-size: 20px;
  color: #ff00ff;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Payment button */
.payment-button {
  display: inline-block;
  padding: 20px 40px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #ff1493 0%, #ff00ff 100%);
  border: 4px solid #ff00ff;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  transform: rotate(-5deg);
  box-shadow: 0 8px 0px #ff00ff;
  font-family: "Comic Sans MS", cursive;
}

.payment-button:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 0, 255, 0.5);
}

.payment-button:active {
  transform: rotate(0deg) scale(0.98);
  box-shadow: 0 4px 0px #ff00ff;
}

/* Fine print */
.fine-print {
  font-size: 14px;
  color: #ff00ff;
  margin-top: 20px;
  font-style: italic;
}

/* Floating text elements */
.floating-text {
  position: absolute;
  font-size: 36px;
  font-weight: bold;
  opacity: 0.3;
  color: #ff00ff;
  text-shadow: 2px 2px 0px #ff00ff;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

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

.floating-1 {
  top: 100px;
  left: 20px;
  animation-delay: 0s;
}

.floating-2 {
  top: 300px;
  right: 50px;
  animation-delay: 1s;
}

.floating-3 {
  top: 500px;
  left: 80px;
  animation-delay: 2s;
}

.floating-4 {
  top: 600px;
  right: 20px;
  animation-delay: 3s;
}

/* Bottom bar */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ff00ff;
  padding: 15px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #ffff00;
  border-top: 5px solid #ff00ff;
  animation: bounce-bar 1s ease-in-out infinite;
  z-index: 9999;
}

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

.bounce-text {
  animation: blink 0.6s infinite;
}

/* ===== protected PAGE STYLES ===== */

.protected-page {
  background: linear-gradient(135deg, #ff00ff 0%, #ff00ff 50%, #ffff00 100%);
  min-height: 100vh;
}

.protected-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* protected stages */
.protected-stage {
  width: 100%;
  text-align: center;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stage 1 - Main message */
.stage-1 h1 {
  font-size: 80px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 4px 4px 0px #ff00ff, 8px 8px 0px #ffff00,
    12px 12px 20px rgba(0, 0, 0, 0.3);
  animation: pulse-text 1s ease-in-out infinite;
  letter-spacing: 3px;
}

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

.stage-1 .stage-subtitle {
  font-size: 28px;
  color: #ffff00;
  margin-top: 20px;
  animation: blink 0.8s infinite;
}

/* Stage 2 - Spinning text */
.stage-2 h2 {
  font-size: 56px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 3px 3px 0px #ff00ff;
  animation: spin 2s linear infinite;
  margin-bottom: 40px;
}

.spinning-dollars {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 80px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 3px 3px 0px #ff00ff;
}

.spinning-dollars span {
  animation: spin 1s linear infinite;
}

.spinning-dollars span:nth-child(2) {
  animation-delay: 0.3s;
}

.spinning-dollars span:nth-child(3) {
  animation-delay: 0.6s;
}

/* Stage 3 - Sad text and face */
.stage-3 h2 {
  font-size: 56px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 3px 3px 0px #ff00ff;
  margin-bottom: 40px;
  animation: shake 0.5s infinite;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

.sad-face {
  font-size: 120px;
  margin: 40px 0;
  animation: pulse 1.5s ease-in-out infinite;
}

.sad-face span {
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0%,
  100% {
    display: inline;
  }
  50% {
    transform: rotateY(180deg);
  }
}

.regret-message {
  font-size: 24px;
  color: #ffff00;
  text-shadow: 2px 2px 0px #ff00ff;
  margin: 15px 0;
}

/* Stage 4 - Certificate */
.certificate-title {
  font-size: 48px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 3px 3px 0px #ff00ff;
  margin-bottom: 40px;
  animation: bounce 1.5s ease-in-out infinite;
}

.certificate {
  background: linear-gradient(135deg, #ffffcc 0%, #ffeecc 100%);
  border: 8px solid #ffff00;
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  transform: rotate(-2deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: rotate-certificate 4s ease-in-out infinite;
}

@keyframes rotate-certificate {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.certificate-inner {
  border: 3px dashed #ffff00;
  padding: 30px;
  background: rgba(255, 255, 255, 0.8);
}

.certificate-text {
  font-size: 18px;
  color: #ffff00;
  font-weight: bold;
  margin: 10px 0;
  text-shadow: 2px 2px 0px #ff00ff;
}

.certificate-name {
  font-size: 32px;
  color: #ffff00;
  font-style: italic;
  font-weight: bold;
  margin: 15px 0;
  text-decoration: underline;
  text-shadow: 2px 2px 0px #ff00ff;
}

.certificate-amount {
  font-size: 36px;
  color: #ffff00;
  font-weight: bold;
  text-shadow: 2px 2px 0px #ff00ff;
  margin: 15px 0;
}

.certificate-congrats {
  font-size: 28px;
  color: #ffff00;
  font-weight: bold;
  text-shadow: 2px 2px 0px #ff00ff;
  margin-top: 20px;
  animation: blink 0.5s infinite;
}

/* Stage 5 - Bonus */
.bonus-title {
  font-size: 48px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 3px 3px 0px #ff00ff;
  margin-bottom: 40px;
}

.bonus-content {
  background: rgba(255, 255, 255, 0.2);
  padding: 40px;
  border: 5px dashed #ffff00;
  border-radius: 20px;
}

.bonus-text {
  font-size: 24px;
  color: #ffff00;
  font-weight: bold;
  margin: 15px 0;
}

.club-members {
  font-size: 36px;
  color: #ffff00;
  font-weight: bold;
  text-shadow: 2px 2px 0px #ff00ff;
  margin: 20px 0;
}

#member-count {
  color: #ffff00;
  animation: spin 1s linear infinite;
}

.bonus-message {
  font-size: 20px;
  color: #ffff00;
  margin: 20px 0;
}

.reward-box {
  background: linear-gradient(135deg, #ff00ff 0%, #ff00ff 100%);
  border: 5px solid #ffff00;
  border-radius: 15px;
  padding: 40px;
  margin: 30px 0;
  transform: rotate(5deg);
}

.reward-text {
  font-size: 32px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 2px 2px 0px #ff00ff;
  margin: 0;
}

.reward-emoji {
  font-size: 80px;
  margin: 20px 0;
}

.final-message {
  font-size: 18px;
  color: #ffff00;
  font-style: italic;
  margin-top: 20px;
}

/* Stage navigation */
.stage-navigation {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.nav-button {
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border: 3px solid #ff00ff;
  border-radius: 10px;
  cursor: pointer;
  background: #ffff00;
  color: #ff00ff;
  transition: all 0.3s ease;
  font-family: "Comic Sans MS", cursive;
  text-shadow: 1px 1px 0px #fff;
}

.nav-button:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 15px rgba(255, 0, 255, 0.4);
  background: #ff00ff;
  color: #ffff00;
}

.nav-button:active {
  transform: scale(0.95);
}

/* Skip button */
.skip-section {
  margin-top: 30px;
}

.skip-button {
  padding: 10px 20px;
  font-size: 14px;
  color: #ff00ff;
  background: transparent;
  border: 2px dashed #ff00ff;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Comic Sans MS", cursive;
  transition: all 0.3s ease;
}

.skip-button:hover {
  background: #ff00ff;
  color: #ffff00;
}

/* Flashing text animation */
.flashing-text {
  animation: flashing 0.5s infinite;
}

@keyframes flashing {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.3;
  }
}

/* Spinning text */
.spinning-text {
  animation: spin 2s linear infinite;
}

/* Sad text wobble */
.sad-text {
  animation: wobble 0.8s ease-in-out infinite;
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-2deg);
  }
  75% {
    transform: rotate(2deg);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .spinning-logo h1 {
    font-size: 48px;
  }

  .blinking-text p {
    font-size: 24px;
  }

  .subheading p {
    font-size: 18px;
  }

  .price-container {
    font-size: 36px;
  }

  .main-price {
    font-size: 48px;
  }

  .payment-button {
    font-size: 18px;
    padding: 15px 30px;
  }

  .gif-grid {
    grid-template-columns: repeat(2, 60px);
    gap: 15px;
  }

  .stage-1 h1 {
    font-size: 48px;
  }

  .stage-2 h2 {
    font-size: 36px;
  }

  .certificate {
    max-width: 90%;
  }

  .floating-text {
    display: none;
  }

  .bottom-bar {
    padding: 10px;
    font-size: 16px;
  }
}

/* Print styles for certificate */
@media print {
  body {
    background: white;
  }

  .stage-navigation,
  .skip-section,
  .marquee-header,
  .bottom-bar,
  .floating-text {
    display: none !important;
  }

  .certificate {
    transform: rotate(0deg);
    box-shadow: none;
  }
}
