/* =============================================================================
   ASTROMANTIE - Einzelanalyse Page Styles
   For Cosmic Dark V4 WordPress Theme

   Global CSS variables from parent theme are available:
   - --astro-bg: #0a0a1a
   - --astro-purple: #a78bfa
   - --astro-gold: #e8c96a
   - Global animations: starTwinkle, nebulaFloat, goldPulse
   ============================================================================= */

/* ===== ROOT & DARK/LIGHT MODE VARIABLES ===== */
:root {
  /* Dark mode colors */
  --astro-dark-bg: #0a0a1a;
  --astro-dark-card: rgba(255, 255, 255, 0.03);
  --astro-dark-card-border: rgba(255, 255, 255, 0.07);
  --astro-dark-accent: #a78bfa;
  --astro-dark-accent-dark: #7c3aed;
  --astro-dark-accent-glow: rgba(124, 58, 237, 0.3);
  --astro-dark-text: #fff;
  --astro-dark-text-mid: rgba(255, 255, 255, 0.6);
  --astro-dark-text-dim: rgba(255, 255, 255, 0.35);
  --astro-dark-input-bg: rgba(255, 255, 255, 0.04);
  --astro-dark-input-border: rgba(255, 255, 255, 0.1);
  --astro-dark-subtle-bg: rgba(124, 58, 237, 0.05);
  --astro-dark-form-card: rgba(15, 12, 35, 0.85);
  --astro-dark-form-glow: linear-gradient(90deg, transparent, #7c3aed, #a78bfa, #7c3aed, transparent);
  --astro-dark-footer-border: rgba(255, 255, 255, 0.04);

  /* Light mode colors */
  --astro-light-bg: #faf8f4;
  --astro-light-card: #ffffff;
  --astro-light-card-border: rgba(201, 168, 76, 0.15);
  --astro-light-accent: #a07c2a;
  --astro-light-accent-dark: #8b6914;
  --astro-light-accent-glow: rgba(201, 168, 76, 0.2);
  --astro-light-text: #2a2018;
  --astro-light-text-mid: #6b5d4f;
  --astro-light-text-dim: #9a8e7f;
  --astro-light-input-bg: #f5f2ec;
  --astro-light-input-border: #e5dfd5;
  --astro-light-subtle-bg: rgba(201, 168, 76, 0.04);
  --astro-light-form-card: rgba(255, 252, 245, 0.95);
  --astro-light-form-glow: linear-gradient(90deg, transparent, #c9a84c, #e8d48b, #c9a84c, transparent);
  --astro-light-footer-border: rgba(201, 168, 76, 0.1);

  /* Responsive breakpoint */
  --astro-mobile-break: 768px;
}

/* Default to dark mode */
body {
  --astro-bg: var(--astro-dark-bg);
  --astro-card: var(--astro-dark-card);
  --astro-card-border: var(--astro-dark-card-border);
  --astro-accent: var(--astro-dark-accent);
  --astro-accent-dark: var(--astro-dark-accent-dark);
  --astro-accent-glow: var(--astro-dark-accent-glow);
  --astro-text: var(--astro-dark-text);
  --astro-text-mid: var(--astro-dark-text-mid);
  --astro-text-dim: var(--astro-dark-text-dim);
  --astro-input-bg: var(--astro-dark-input-bg);
  --astro-input-border: var(--astro-dark-input-border);
  --astro-subtle-bg: var(--astro-dark-subtle-bg);
  --astro-form-card: var(--astro-dark-form-card);
  --astro-form-glow: var(--astro-dark-form-glow);
  --astro-footer-border: var(--astro-dark-footer-border);
}

/* Light mode toggle (if using data attribute or class) */
body.light-mode,
body[data-theme="light"] {
  --astro-bg: var(--astro-light-bg);
  --astro-card: var(--astro-light-card);
  --astro-card-border: var(--astro-light-card-border);
  --astro-accent: var(--astro-light-accent);
  --astro-accent-dark: var(--astro-light-accent-dark);
  --astro-accent-glow: var(--astro-light-accent-glow);
  --astro-text: var(--astro-light-text);
  --astro-text-mid: var(--astro-light-text-mid);
  --astro-text-dim: var(--astro-light-text-dim);
  --astro-input-bg: var(--astro-light-input-bg);
  --astro-input-border: var(--astro-light-input-border);
  --astro-subtle-bg: var(--astro-light-subtle-bg);
  --astro-form-card: var(--astro-light-form-card);
  --astro-form-glow: var(--astro-light-form-glow);
  --astro-footer-border: var(--astro-light-footer-border);
}

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--astro-bg);
  color: var(--astro-text);
  transition: background 0.5s ease, color 0.5s ease;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: 'Cinzel', serif;
}

p {
  margin: 0;
}

button {
  font-family: 'Inter', sans-serif;
}

input {
  font-family: 'Inter', sans-serif;
}

/* ===== HERO SECTION ===== */
.astro-hero {
  position: relative;
  padding: 80px 48px 60px;
  text-align: center;
  background: var(--astro-bg);
  overflow: hidden;
}

.astro-hero-starfield {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.astro-starfield-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 100%;
  animation: skyDrift 50s linear infinite;
}

.astro-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.astro-hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--astro-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.05s;
}

.astro-hero-title {
  font-size: 46px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--astro-accent), #e8c96a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.1s;
}

.astro-hero-description {
  font-size: 16px;
  color: var(--astro-text-mid);
  line-height: 1.7;
  margin: 0 auto 36px;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.2s;
}

/* Decorative divider */
.astro-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.25s;
}

.astro-divider-line {
  width: 50px;
  height: 1px;
  background: rgba(167, 139, 250, 0.3);
}

.astro-divider-icon {
  color: var(--astro-accent);
  font-size: 12px;
}

body.light-mode .astro-divider-line {
  background: rgba(201, 168, 76, 0.4);
}

/* Trust indicators */
.astro-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.3s;
}

.astro-trust-indicator {
  text-align: center;
}

.astro-trust-value {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--astro-accent), #e8c96a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.astro-trust-label {
  font-size: 10px;
  color: var(--astro-text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Price section */
.astro-price-section {
  margin-bottom: 0;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.35s;
}

.astro-price-label {
  font-size: 10px;
  color: var(--astro-text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.astro-price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.astro-price-old {
  font-size: 14px;
  color: var(--astro-text-mid);
  text-decoration: line-through;
  opacity: 0.5;
}

.astro-price-current {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--astro-accent), #e8c96a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== FORM SECTION ===== */
.astro-form-section {
  padding: 50px 20px 80px;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.6s;
}

.astro-form-title {
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--astro-accent), #e8c96a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.astro-form-subtitle {
  font-size: 14px;
  color: var(--astro-text-mid);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
}

/* Form container with glow */
.astro-form-container {
  position: relative;
}

.astro-form-glow {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 30px;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.18), 0 0 70px rgba(124, 58, 237, 0.08);
  animation: formGlowPulse 4s ease-in-out infinite;
}

.astro-form-glow-line {
  position: absolute;
  top: -1px;
  left: 30px;
  right: 30px;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, #7c3aed, #a78bfa, #7c3aed, transparent);
  border-radius: 50%;
  filter: blur(2px);
}

body.light-mode .astro-form-glow {
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.12), 0 0 60px rgba(232, 201, 106, 0.06);
  animation: borderGlowGold 4s ease-in-out infinite;
}

body.light-mode .astro-form-glow-line {
  background: linear-gradient(90deg, transparent, #c9a84c, #e8d48b, #c9a84c, transparent);
}

.astro-form-card {
  padding: 40px;
  border-radius: 24px;
  background: var(--astro-form-card);
  border: 1px solid rgba(124, 58, 237, 0.2);
  animation: borderGlowPulse 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

body.light-mode .astro-form-card {
  border: 1px solid rgba(201, 168, 76, 0.25);
  animation: borderGlowGold 4s ease-in-out infinite;
}

.astro-form-starfield {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  pointer-events: none;
  opacity: 0.3;
  display: none; /* Hidden for light mode, visible for dark mode */
}

body:not(.light-mode) .astro-form-starfield {
  display: block;
}

.astro-form-starfield svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.astro-form-content {
  position: relative;
  z-index: 1;
}

/* Form grid */
.astro-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.astro-form-field {
  display: flex;
  flex-direction: column;
}

.astro-form-field-full {
  grid-column: 1 / -1;
}

.astro-form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--astro-text-mid);
  margin-bottom: 6px;
  display: block;
}

.astro-form-label-optional {
  font-weight: 400;
  font-size: 10px;
  color: var(--astro-text-dim);
}

.astro-form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--astro-input-border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--astro-text);
  background: var(--astro-input-bg);
  outline: none;
  transition: border-color 0.2s ease;
}

.astro-form-input:focus {
  border-color: var(--astro-accent);
}

.astro-form-input-date,
.astro-form-input-time {
  color-scheme: dark;
}

body.light-mode .astro-form-input-date,
body.light-mode .astro-form-input-time {
  color-scheme: light;
}

/* Upload box */
.astro-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.astro-upload-box {
  border: 2px dashed var(--astro-input-border);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  background: var(--astro-input-bg);
  transition: all 0.3s ease;
  position: relative;
}

.astro-upload-box:hover {
  border-color: var(--astro-accent);
  background: rgba(124, 58, 237, 0.1);
}

.astro-upload-info-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(233, 213, 255, 0.8);
  cursor: pointer;
}

.astro-upload-emoji {
  font-size: 30px;
  margin-bottom: 6px;
}

.astro-upload-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--astro-text);
}

.astro-upload-hint {
  font-size: 11px;
  color: var(--astro-text-dim);
  margin-top: 3px;
}

/* Example photos */
.astro-example-photos {
  margin: 32px 0;
}

.astro-example-photo {
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(124, 58, 237, 0.12);
  background: rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.astro-example-photo:hover {
  transform: translateY(-2px);
}

.astro-example-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.astro-example-photo-hand {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  overflow: hidden;
}

.astro-example-hand-emoji {
  font-size: 32px;
  opacity: 0.5;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.astro-example-hand-label {
  font-size: 9px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.astro-example-hand-magnifier {
  position: absolute;
  bottom: 3px;
  right: 4px;
  font-size: 8px;
  color: rgba(0, 0, 0, 0.35);
  font-weight: 500;
}

.astro-example-photo-info {
  padding: 8px 10px;
}

.astro-example-photo-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--astro-text);
}

.astro-example-photo-check {
  color: #4ade80;
  font-weight: 700;
  margin-right: 4px;
}

.astro-example-photo-subtitle {
  font-size: 10px;
  color: var(--astro-text-mid);
  margin-top: 2px;
}

/* Example tip box */
.astro-example-tip {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(232, 201, 106, 0.06);
  border: 1px solid rgba(232, 201, 106, 0.12);
  font-size: 10px;
  color: var(--astro-text-mid);
  line-height: 1.6;
  text-align: center;
}

.astro-example-tip-label {
  color: #e8c96a;
  font-weight: 700;
}

.astro-example-tip-hint {
  font-size: 8px;
  opacity: 0.6;
  margin-left: 4px;
}

/* Privacy section */
.astro-privacy-section {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  border-radius: 10px;
  background: var(--astro-subtle-bg);
}

.astro-privacy-checkbox {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--astro-accent);
  flex-shrink: 0;
}

.astro-privacy-label {
  font-size: 12px;
  color: var(--astro-text-mid);
  line-height: 1.6;
  cursor: pointer;
}

.astro-privacy-link {
  font-weight: 600;
  color: var(--astro-accent);
}

/* Buttons */
.astro-btn {
  width: 100%;
  padding: 18px 32px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.astro-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  margin-bottom: 12px;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.astro-btn-primary:hover {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
}

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

.astro-btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--astro-form-glow);
  animation: ctaShimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.astro-btn-secondary {
  background: transparent;
  color: var(--astro-accent);
  border: 1px solid var(--astro-accent);
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 13px;
}

.astro-btn-secondary:hover {
  background: var(--astro-accent);
  color: #fff;
}

/* Payment text and icons */
.astro-payment-text {
  font-size: 11px;
  color: var(--astro-text-dim);
  text-align: center;
  margin-bottom: 20px;
}

.astro-payment-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.astro-payment-icon {
  font-size: 10px;
  font-weight: 600;
  color: var(--astro-text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Form divider */
.astro-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  opacity: 0.5;
}

.astro-form-divider-line {
  flex: 1;
  height: 1px;
  background: var(--astro-card-border);
}

.astro-form-divider-text {
  font-size: 11px;
  color: var(--astro-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== FEATURES SECTION ===== */
.astro-features-section {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.3s;
}

.astro-section-title {
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--astro-accent), #e8c96a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.astro-section-subtitle {
  font-size: 14px;
  color: var(--astro-text-mid);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
}

.astro-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.astro-feature-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--astro-card);
  border: 1px solid var(--astro-card-border);
  animation: fadeUp 0.6s ease-out both;
}

.astro-feature-card:nth-child(1) { animation-delay: 0.4s; }
.astro-feature-card:nth-child(2) { animation-delay: 0.48s; }
.astro-feature-card:nth-child(3) { animation-delay: 0.56s; }
.astro-feature-card:nth-child(4) { animation-delay: 0.64s; }

.astro-feature-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--astro-text);
  margin-bottom: 10px;
}

.astro-feature-desc {
  font-size: 14px;
  color: var(--astro-text-mid);
  line-height: 1.7;
}

/* ===== TESTIMONIALS SECTION ===== */
.astro-testimonials-section {
  padding: 80px 48px;
  background: var(--astro-subtle-bg);
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.5s;
}

.astro-testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
}

.astro-section-title-light {
  background: linear-gradient(135deg, var(--astro-accent), #e8c96a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 50px;
}

.astro-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.astro-testimonial-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--astro-card);
  border: 1px solid var(--astro-card-border);
  animation: fadeUp 0.6s ease-out both;
}

.astro-testimonial-card:nth-child(1) { animation-delay: 0.55s; }
.astro-testimonial-card:nth-child(2) { animation-delay: 0.63s; }

.astro-testimonial-text {
  font-size: 15px;
  color: var(--astro-text);
  line-height: 1.8;
  margin-bottom: 16px;
  font-style: italic;
}

.astro-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.astro-testimonial-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.astro-testimonial-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--astro-text);
}

.astro-testimonial-meta {
  font-size: 10px;
  color: var(--astro-text-dim);
}

/* ===== STICKY MOBILE CTA ===== */
.astro-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 20px 16px;
  background: linear-gradient(transparent, rgba(10, 10, 26, 0.95) 30%);
  backdrop-filter: blur(16px);
  animation: fadeUp 0.3s ease-out;
  display: none;
}

.astro-sticky-cta.active {
  display: block;
}

.astro-btn-sticky {
  margin-bottom: 0;
  padding: 15px 24px;
  font-size: 15px;
  letter-spacing: 0.3px;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 767px) {
  /* Hero */
  .astro-hero {
    padding: 50px 20px 40px;
  }

  .astro-hero-title {
    font-size: 30px;
  }

  .astro-hero-description {
    font-size: 14px;
  }

  .astro-trust-indicators {
    gap: 20px;
  }

  .astro-price-old {
    font-size: 12px;
  }

  .astro-price-current {
    font-size: 28px;
  }

  /* Form */
  .astro-form-section {
    padding: 50px 20px;
  }

  .astro-form-title {
    font-size: 24px;
  }

  .astro-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .astro-form-card {
    padding: 24px;
  }

  .astro-upload-grid {
    grid-template-columns: 1fr;
  }

  /* Features & Testimonials */
  .astro-features-section {
    padding: 50px 20px;
  }

  .astro-section-title {
    font-size: 24px;
  }

  .astro-features-grid,
  .astro-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .astro-testimonials-section {
    padding: 50px 20px;
  }

  /* Sticky CTA shown on mobile when scrolled past hero */
  .astro-sticky-cta.active {
    display: block;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes skyDrift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(120px);
  }
}

@keyframes formGlowPulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.2), inset 0 0 10px rgba(124, 58, 237, 0.06), 0 25px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(124, 58, 237, 0.2);
  }
  50% {
    box-shadow: 0 0 28px rgba(124, 58, 237, 0.4), inset 0 0 16px rgba(124, 58, 237, 0.1), 0 25px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(167, 139, 250, 0.45);
  }
}

@keyframes ctaShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes borderGlowPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.15), inset 0 0 8px rgba(124, 58, 237, 0.05), 0 25px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(124, 58, 237, 0.15);
  }
  50% {
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.3), inset 0 0 12px rgba(124, 58, 237, 0.08), 0 25px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(167, 139, 250, 0.35);
  }
}

@keyframes borderGlowGold {
  0%, 100% {
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.1), inset 0 0 8px rgba(201, 168, 76, 0.03), 0 15px 60px rgba(160, 124, 42, 0.08);
    border-color: rgba(201, 168, 76, 0.2);
  }
  50% {
    box-shadow: 0 0 22px rgba(201, 168, 76, 0.2), inset 0 0 14px rgba(232, 201, 106, 0.06), 0 15px 60px rgba(160, 124, 42, 0.08);
    border-color: rgba(232, 201, 106, 0.4);
  }
}

/* starTwinkle, nebulaFloat, and goldPulse are defined in parent theme */
/* Redefine here for completeness */
@keyframes starTwinkle {
  0%, 100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.5);
  }
}

@keyframes nebulaFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(10px, -10px) scale(1.1);
    opacity: 0.8;
  }
}

@keyframes goldPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}
