/* ===== CSS Variables & Reset ===== */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-color: #667eea;
  --accent-color-dark: #5568d3;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a68;
  --bg-color: #0f0f1e;
  --card-bg: rgba(255, 255, 255, 0.95);
  --shadow-lg: 0 20px 60px rgba(102, 126, 234, 0.3);
  --shadow-xl: 0 30px 80px rgba(102, 126, 234, 0.4);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--bg-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ===== Background Animation ===== */
.background-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-gradient);
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.circle-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.circle-2 {
  width: 600px;
  height: 600px;
  bottom: -300px;
  right: -300px;
  background: var(--secondary-gradient);
  animation-delay: -7s;
}

.circle-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* ===== Main Container ===== */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-wrapper {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 4rem 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

/* ===== Icon ===== */
.icon-wrapper {
  display: inline-block;
  margin-bottom: 2rem;
  animation: pulse 2s infinite ease-in-out;
}

.icon {
  width: 80px;
  height: 80px;
  color: var(--accent-color);
  filter: drop-shadow(0 10px 20px rgba(102, 126, 234, 0.3));
}

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

/* ===== Typography ===== */
.title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
  animation: slideDown 0.6s ease-out 0.2s both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.domain {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2.5rem;
  animation: slideUp 0.6s ease-out 0.3s both;
  position: relative;
}

.domain::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  animation: fadeIn 0.6s ease-out 0.5s both;
}

#countdown {
  font-weight: 600;
  color: var(--accent-color);
}

/* ===== Button ===== */
.redirect-button {
  position: relative;
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  animation: slideUp 0.6s ease-out 0.4s both;
  font-family: "Inter", sans-serif;
}

.redirect-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.redirect-button:active {
  transform: translateY(-1px);
}

.button-text {
  position: relative;
  z-index: 2;
}

.arrow-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.redirect-button:hover .arrow-icon {
  transform: translateX(5px);
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.redirect-button:active .ripple {
  animation: ripple-effect 0.6s ease-out;
}

@keyframes ripple-effect {
  to {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .content-wrapper {
    padding: 3rem 2rem;
    border-radius: 20px;
  }

  .title {
    font-size: 1.5rem;
  }

  .domain {
    font-size: 2rem;
  }

  .icon {
    width: 60px;
    height: 60px;
  }

  .redirect-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }

  .circle-1,
  .circle-2,
  .circle-3 {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.25rem;
  }

  .domain {
    font-size: 1.5rem;
  }

  .redirect-button {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
}
