:root {
  --primary: #e63946;
  --secondary: #ffb703;
  --dark-red: #8b0000;
  --gold: #ffd700;
  --white: #ffffff;
  --bg-gradient: radial-gradient(circle at center, #ff4d4d 0%, #800000 100%);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.splash-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  text-align: center;
  position: relative;
}

.hero-logo-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-bottom: var(--space-md);
  animation: float 6s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-top: var(--space-sm);
  letter-spacing: -2px;
  background: linear-gradient(180deg, #ffffff 0%, #ffb703 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.brand-tagline {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 5px;
  font-weight: 300;
}

.cta-group {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-md);
}

.btn {
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
  background: var(--secondary);
  color: var(--dark-red);
  box-shadow: 0 10px 20px rgba(255, 183, 3, 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 183, 3, 0.5);
}

/* Background Sparkles */
.sparkle {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  animation: sparkle-anim var(--duration) linear infinite;
}

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

@keyframes sparkle-anim {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}

/* Responsive Grid for other pages if needed */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.onboarding-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 450px;
  width: 95%;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,255,255,0.05);
}

.join-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: radial-gradient(circle at top, #ff3366 0%, #800000 100%);
}

.profile-card-stack {
  position: relative;
  height: 350px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 40px;
}

.profile-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.5s ease;
}

.profile-card.back {
  transform: rotate(-5deg) translateX(-20px);
  z-index: 1;
  opacity: 0.7;
}

.profile-card.main {
  z-index: 2;
  transform: rotate(2deg);
}

.profile-card-img {
  width: 100%;
  height: 75%;
  background: #eee;
  border-radius: 18px;
  object-fit: cover;
}

.profile-info {
  padding: 12px 4px;
  color: #333;
}

.profile-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.profile-meta {
  font-size: 0.8rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.profile-location-tag {
  margin-left: auto;
  color: #999;
}

.indicator-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  background: var(--secondary);
}

.join-content {
  text-align: center;
  padding: 0 20px;
}

.join-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #fff;
}

.join-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 350px;
  margin-top: 40px;
}

.btn-skip {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
}

.btn-next {
  background: #a855f7; /* Purple from the reference image */
  color: white;
  padding: 16px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

.floating-emoji {
  position: absolute;
  font-size: 2rem;
  z-index: 3;
}

.emoji-love { top: 40%; left: -20px; animation: float 4s ease-in-out infinite; }
.emoji-sparkle { top: 10%; right: -10px; animation: float 5s ease-in-out infinite reverse; }


.input-group {
  margin-bottom: 24px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--secondary);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary);
}

.onboarding-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.onboarding-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 32px;
  color: var(--white);
}

.btn-full {
  width: 100%;
  border: none;
  cursor: pointer;
  display: block;
}

.sparkle-1 { left: 10%; bottom: 10%; --duration: 5s; width: 4px; height: 4px; }
.sparkle-2 { left: 80%; bottom: 20%; --duration: 7s; width: 6px; height: 6px; }
.sparkle-3 { left: 30%; bottom: 50%; --duration: 6s; width: 3px; height: 3px; }
.sparkle-4 { left: 60%; bottom: 40%; --duration: 8s; width: 5px; height: 5px; }
.sparkle-5 { left: 15%; top: 10%; --duration: 9s; width: 4px; height: 4px; }
.sparkle-6 { left: 85%; top: 15%; --duration: 5.5s; width: 6px; height: 6px; }
