/* =========================================================
   AstroArts.pink — Static CSS
   Migrated from Replit React/Tailwind to pure CSS
   Design: DO NOT CHANGE — matches live site exactly
   ========================================================= */

/* === CSS RESET & VARIABLES === */
:root {
  --bg-deep: #0c0a1d;
  --bg-card: rgba(20, 16, 40, 0.8);
  --bg-card-solid: #141028;
  --border-card: rgba(139, 92, 246, 0.15);
  --text-primary: #f5f0eb;
  --text-muted: rgba(245, 240, 235, 0.55);
  --text-dim: rgba(245, 240, 235, 0.35);
  --gold: #d4a853;
  --gold-light: #e8c97a;
  --gold-border: rgba(212, 168, 83, 0.4);
  --pink-accent: #ec4899;
  --pink-soft: rgba(236, 72, 153, 0.15);
  --purple-accent: #8b5cf6;
  --purple-soft: rgba(139, 92, 246, 0.08);
  --green-dot: #22c55e;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.08), 0 0 120px rgba(236, 72, 153, 0.04);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* === MYSTICAL BACKGROUND === */
.mystical-bg {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 50%),
              var(--bg-deep);
}

/* Stars Layer */
.stars-layer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  animation: twinkle ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% { opacity: 0.2; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.3); }
}

/* Grain overlay */
.astro-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Moon glow */
.moon-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* === LAYOUT === */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

/* === CARD COMPONENT === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.card-inner-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

/* Ring glow effect */
.ring-glow {
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.1),
              0 0 30px rgba(139, 92, 246, 0.05),
              var(--shadow-card);
}
.mystical-glow:hover {
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2),
              0 0 40px rgba(139, 92, 246, 0.08),
              var(--shadow-card);
}

/* === TYPOGRAPHY === */
.font-display { font-family: var(--font-display); }
.text-primary-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.tracking-wide { letter-spacing: 0.2em; }
.uppercase { text-transform: uppercase; }

/* === BIRTHDAY INPUT CARD === */
.birthday-card {
  max-width: 36rem;
  margin: 3rem auto 0;
  padding: 2rem;
}
.birthday-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.birthday-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: center;
}
.birthday-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.birthday-form label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  display: block;
  margin-bottom: 0.5rem;
}
.input-wrap {
  position: relative;
}
.input-wrap svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 1.25rem;
  height: 1.25rem;
}
.input-date {
  width: 100%;
  height: 2.75rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(12, 10, 29, 0.5);
  color: var(--text-primary);
  padding: 0.25rem 0.75rem 0.25rem 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  color-scheme: dark;
}
.input-date:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 83, 0.2);
}

/* Gold Button */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  border: 1px solid var(--gold-border);
  background: var(--gold);
  color: #000;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}
.btn-gold:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.btn-gold:active:not(:disabled) { transform: translateY(1px); }
.btn-gold:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-gold svg { width: 1.25rem; height: 1.25rem; margin-right: 0.5rem; }

/* === RAYNE CHAT CARD === */
.chat-card {
  margin-top: 4rem;
  margin-bottom: 2rem;
  border-color: rgba(236, 72, 153, 0.2);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), var(--bg-card), rgba(139, 92, 246, 0.05));
}
.chat-card .blob-1 {
  position: absolute;
  top: 0; right: 0;
  width: 10rem; height: 10rem;
  background: rgba(236, 72, 153, 0.1);
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
.chat-card .blob-2 {
  position: absolute;
  bottom: 0; left: 0;
  width: 8rem; height: 8rem;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
.chat-toggle {
  position: relative;
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}
.chat-toggle:hover .chat-avatar { transform: scale(1.1); }
.chat-avatar {
  flex-shrink: 0;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.3));
  border: 1px solid rgba(236, 72, 153, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.chat-avatar svg { width: 1.75rem; height: 1.75rem; color: #f472b6; }
.chat-meta {
  flex: 1;
  min-width: 0;
}
.chat-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.chat-label span:first-child {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 114, 182, 0.8);
}
.online-dot {
  position: relative;
  width: 0.5rem; height: 0.5rem;
}
.online-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green-dot);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}
.online-dot::after {
  content: '';
  position: relative;
  display: block;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--green-dot);
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.chat-meta h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.chat-meta p {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.chat-chevron {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}
.chat-toggle[aria-expanded="true"] .chat-chevron { transform: rotate(180deg); }

/* === ZODIAC RESULTS === */
.zodiac-result {
  margin-top: 2rem;
  padding: 2rem;
  animation: fadeSlideUp 0.6s ease-out;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.zodiac-symbol { font-size: 4rem; text-align: center; margin-bottom: 1rem; }
.zodiac-name {
  font-family: var(--font-display);
  font-size: 2rem;
  text-align: center;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.zodiac-dates {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.zodiac-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.trait-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border-card);
  background: var(--purple-soft);
  font-size: 0.75rem;
  color: var(--text-primary);
}
.zodiac-description {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 28rem;
  margin: 0 auto;
}

/* === SHOP SECTION === */
.shop-section {
  margin-top: 4rem;
  margin-bottom: 2rem;
}
.shop-header {
  text-align: center;
  margin-bottom: 3rem;
}
.shop-header .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(212, 168, 83, 0.6);
  margin-bottom: 0.75rem;
}
.shop-header h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.shop-header p {
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.product-card:hover {
  border-color: rgba(212, 168, 83, 0.4);
  transform: translateY(-4px);
}
.product-card .img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.product-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover img { transform: scale(1.05); }
.product-card .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .img-overlay { opacity: 1; }
.quick-shop-btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  background: var(--gold);
  color: #000;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: opacity 0.3s, transform 0.3s, filter 0.2s;
  white-space: nowrap;
}
.product-card:hover .quick-shop-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.quick-shop-btn:hover { filter: brightness(1.1); }
.product-info {
  padding: 1.25rem;
}
.product-info .collection-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212, 168, 83, 0.7);
  margin-bottom: 0.25rem;
}
.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.product-info .description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.product-info .price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold);
}

/* Product Options (expandable) */
.product-options {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  padding-top: 1rem;
  animation: fadeSlideUp 0.3s ease-out;
}
.option-group { margin-bottom: 1rem; }
.option-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.option-buttons {
  display: flex;
  gap: 0.5rem;
}
.option-btn {
  flex: 1;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(139, 92, 246, 0.15);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.option-btn:hover { border-color: rgba(212, 168, 83, 0.4); }
.option-btn.active {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
}
.add-to-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
}
.add-to-cart-row .big-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}
.btn-add-cart {
  background: var(--gold);
  color: #000;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: filter 0.2s;
}
.btn-add-cart:hover { filter: brightness(1.1); }

/* Trust Signals */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.trust-row span { display: flex; align-items: center; gap: 0.5rem; }

/* === LEAD MAGNET === */
.lead-magnet {
  margin-top: 3rem;
  padding: 2rem;
  border-color: rgba(212, 168, 83, 0.3);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.05), var(--bg-card), rgba(139, 92, 246, 0.05));
}
.lead-magnet .inner { text-align: center; }
.lead-magnet .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.lead-magnet h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.lead-magnet p { color: var(--text-muted); font-size: 0.875rem; max-width: 28rem; margin: 0 auto 1.5rem; }
.lead-form {
  max-width: 24rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lead-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(12, 10, 29, 0.5);
  color: var(--text-primary);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
}
.lead-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 83, 0.2);
}
.lead-form input::placeholder { color: var(--text-dim); }
.lead-form .disclaimer { font-size: 0.75rem; color: var(--text-dim); text-align: center; }
.lead-success {
  text-align: center;
  padding: 2rem;
  animation: fadeSlideUp 0.4s ease-out;
}
.lead-success .discount-code {
  color: var(--gold);
  font-weight: 600;
  margin-top: 1rem;
}

/* === CART DRAWER === */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}
.cart-overlay.open { display: block; }
.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.cart-panel {
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background: var(--bg-card-solid);
  border-left: 1px solid var(--border-card);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}
.cart-overlay.open .cart-panel { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}
.cart-header h2 { font-family: var(--font-display); font-size: 1.25rem; }
.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}
.cart-close:hover { color: var(--text-primary); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
.cart-items .empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 0;
}
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(12, 10, 29, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.08);
  margin-bottom: 1rem;
}
.cart-item img { width: 5rem; height: 5rem; border-radius: 0.375rem; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-weight: 500; margin-bottom: 0.125rem; }
.cart-item-info .variant { font-size: 0.875rem; color: var(--text-muted); }
.cart-item-info .item-price { color: var(--gold); font-weight: 600; margin-top: 0.25rem; }
.cart-item .remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  align-self: flex-start;
  line-height: 1;
}
.cart-item .remove-btn:hover { color: #ef4444; }
.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.cart-total .amount { font-weight: 700; color: var(--gold); }
.btn-checkout {
  width: 100%;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  padding: 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.125rem;
  transition: filter 0.2s;
  margin-bottom: 0.75rem;
}
.btn-checkout:hover { filter: brightness(1.1); }
.cart-footer .secure-note { font-size: 0.75rem; text-align: center; color: var(--text-dim); }

/* Floating Cart Button */
.cart-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.3);
  transition: filter 0.2s;
}
.cart-fab:hover { filter: brightness(1.1); }
.cart-fab.visible { display: flex; }
.cart-fab .badge {
  position: absolute;
  top: -0.25rem; right: -0.25rem;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* === FOOTER === */
.site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(139, 92, 246, 0.08);
  margin-top: 4rem;
}
.site-footer .brand {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* === ANIMATION HELPERS === */
.fade-in { animation: fadeSlideUp 0.6s ease-out both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }

/* === SUCCESS PAGE === */
.success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.success-card {
  max-width: 32rem;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
}
.success-card .icon { font-size: 4rem; margin-bottom: 1.5rem; }
.success-card h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.success-card .message { color: var(--text-muted); margin-bottom: 1.5rem; }
.success-card .btn-continue {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: filter 0.2s;
}
.success-card .btn-continue:hover { filter: brightness(1.1); }
