/* Design System & Base Settings */
:root {
  --bg-primary: #09090b;
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  --accent-primary: #ec4899;
  --accent-secondary: #8b5cf6;
  
  --glass-bg: rgba(15, 15, 23, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-glow: rgba(236, 72, 153, 0.15);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Background glowing orbs */
.glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  mix-blend-mode: screen;
}

.orb-1 {
  top: 15%;
  left: 15%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.8) 0%, rgba(236, 72, 153, 0) 70%);
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-2 {
  bottom: 15%;
  right: 15%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.8) 0%, rgba(139, 92, 246, 0) 70%);
  animation: floatOrb 30s infinite alternate-reverse ease-in-out;
}

.orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, rgba(245, 158, 11, 0) 70%);
  animation: floatOrb 20s infinite alternate ease-in-out;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5%, -10%) scale(1.1);
  }
  100% {
    transform: translate(-5%, 10%) scale(0.9);
  }
}

/* Main Container & Card */
.container {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  z-index: 10;
  padding: 2rem;
  width: 100%;
  max-width: 600px;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
              0 0 40px var(--glass-glow);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  perspective: 1000px; /* Enable 3D tilt effect */
}

.card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 
              0 0 50px rgba(236, 72, 153, 0.25);
}

/* Logo / Flower SVG */
.logo-area {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.flower-icon {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.6));
  animation: rotateFlower 20s infinite linear;
}

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

/* Typography */
.main-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ff8a00, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.sub-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Button & Interactions */
.action-btn {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s ease;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.6);
}

.action-btn:hover::before {
  left: 100%;
}

.action-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.4);
}

/* Footer */
.footer {
  z-index: 10;
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

/* Interactive Particle Canvas */
#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Media Queries */
@media (max-width: 480px) {
  .card {
    padding: 2.5rem 1.5rem;
  }
  
  .main-title {
    font-size: 2.2rem;
  }
  
  .sub-text {
    font-size: 1.5rem;
  }
  
  .description {
    font-size: 0.95rem;
  }
}
