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

:root {
  --color-primary: #8b5cf6;
  --color-secondary: #ec4899;
  --color-accent: #06b6d4;
  --color-bg: #0f0520;
  --color-surface: rgba(255, 255, 255, 0.05);
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  color: var(--color-text);
  padding: 24px;
  padding-bottom: 120px;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background Orbs */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary), transparent);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-secondary), transparent);
  bottom: -10%;
  right: -10%;
  animation-delay: 7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--color-accent), transparent);
  top: 40%;
  right: 20%;
  animation-delay: 14s;
}

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

/* Starfield Background */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.stars::before,
.stars::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  box-shadow: 100px 100px #fff, 200px 150px #fff, 300px 50px #fff, 400px 200px #fff,
    500px 100px #fff, 600px 250px #fff, 700px 150px #fff, 50px 300px #fff, 150px 350px #fff,
    250px 400px #fff, 350px 300px #fff, 450px 350px #fff, 550px 400px #fff, 650px 300px #fff,
    750px 350px #fff, 800px 50px #fff, 850px 200px #fff, 900px 150px #fff, 950px 100px #fff,
    1000px 250px #fff;
  animation: twinkle 3s infinite ease-in-out;
}

.stars::after {
  animation-delay: 1.5s;
}

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

/* Main Container */
.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  width: 100%;
  padding: 64px 56px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  text-align: center;
}

/* Logo Section */
.logo-wrapper {
  position: relative;
  margin-bottom: 32px;
  animation: fadeInDown 1s ease-out;
}

.logo-wrapper img {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.1), 0 20px 40px rgba(139, 92, 246, 0.3);
  z-index: 2;
}

.logo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
  z-index: 1;
}

.logo-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
  animation: pulse 2s ease-out infinite;
  z-index: 0;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Badge */
.badge {
  display: inline-block;
  padding: 8px 20px;
  margin-bottom: 24px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  animation: fadeInDown 1s ease-out 0.2s both;
}

/* Title */
.title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title-line {
  animation: fadeInUp 1s ease-out both;
}

.title-line:nth-child(1) {
  animation-delay: 0.3s;
}

.title-line:nth-child(2) {
  animation-delay: 0.5s;
}

.title-line:nth-child(3) {
  animation-delay: 0.7s;
}

.title-gradient {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: fadeInUp 1s ease-out 0.5s both, gradient 3s ease infinite;
}

@keyframes gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Description */
.description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  max-width: 500px;
  animation: fadeInUp 1s ease-out 0.9s both;
}

/* Timer */
.timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1.1s both;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.timer-card {
  position: relative;
  min-width: 80px;
  padding: 20px 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.timer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.timer-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.timer-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timer-separator {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 -8px;
  animation: blink 2s infinite;
}

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

/* CTA Button */
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border: none;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  /* No entrance animation – avoids hover glitches */
}

.cta-button:hover,
.cta-button:focus {
  opacity: 1;
  visibility: visible;
}

.cta-button:active {
  opacity: 0.95;
}

/* Shine overlay – no animation so it doesn’t affect hover visibility */
.cta-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-icon {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Contact Bar */
.contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 5, 32, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 12px;
}

.contact-link:hover {
  color: var(--color-primary);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.contact-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .title {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
  }

  .timer-value {
    font-size: 2rem;
  }

  .timer-card {
    min-width: 70px;
    padding: 16px 12px;
  }

  .timer-separator {
    font-size: 1.5rem;
    margin: 0 -4px;
  }

  .contact-content {
    justify-content: center;
    text-align: center;
  }

  .contact-label {
    width: 100%;
  }

  .contact-links {
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 16px;
    padding-bottom: 140px;
  }

  .container {
    padding: 36px 24px;
  }

  .logo-wrapper img {
    width: 100px;
    height: 100px;
  }

  .logo-ring {
    width: 120px;
    height: 120px;
  }

  .title {
    font-size: 1.75rem;
  }

  .description {
    font-size: 0.9375rem;
  }

  .timer {
    gap: 8px;
  }

  .timer-card {
    min-width: 60px;
    padding: 12px 8px;
  }

  .timer-value {
    font-size: 1.5rem;
  }

  .timer-label {
    font-size: 0.625rem;
  }

  .timer-separator {
    font-size: 1.25rem;
  }

  .cta-button {
    padding: 14px 28px;
    font-size: 0.9375rem;
  }

  .contact-links {
    flex-direction: column;
    gap: 12px;
  }
}
