/* ════════════════════════════════════════════════════════════
   THE GLAMVERSE — SHARED DESIGN TOKENS
   styles/main.css — include on every page
   ════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Dancing+Script:wght@700&family=Raleway:wght@200;300;400;600;700;800&display=swap');

/* ── CSS CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  /* Colors */
  --color-black: #000000;
  --color-bg: #0a0010;
  --color-gold: #d4af37;
  --color-gold-dark: #9a7000;
  --color-rose: #ff69b4;
  --color-lavender: #c9a0dc;
  --color-purple: #9370db;
  --color-teal: #00ced1;
  --color-coral: #ff7f50;
  --color-red: #ff4466;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'Raleway', sans-serif;

  /* Animation */
  --anim-slow: 10s;
  --anim-medium: 8s;
  --anim-fast: 0.3s;
  --anim-easing: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Borders & Shadows */
  --border-gold: 1px solid rgba(212, 175, 55, 0.2);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.2);
  --shadow-dark: 0 24px 80px rgba(0, 0, 0, 0.6);

  /* Gradient */
  --gradient-rainbow: linear-gradient(
    135deg,
    #c9a0dc 0%,
    #f7c5e0 15%,
    #d4af37 30%,
    #e8b4d0 45%,
    #a78bcc 60%,
    #ffecd2 75%,
    #d4af37 88%,
    #c9a0dc 100%
  );
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes rainbow-flow {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 100%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── REUSABLE CLASSES ─────────────────────────────────────── */

/* Primary CTA — rose/magenta gradient */
.btn-primary {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--color-white);
  background: linear-gradient(135deg, #8b1a6b, #c2185b);
  box-shadow: 0 6px 24px rgba(180, 20, 100, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(180, 20, 100, 0.55);
}

/* Secondary — outlined translucent */
.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--color-gold);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  transition: all var(--anim-fast);
}
.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.7);
  transform: translateY(-2px);
}

/* Gold gradient button */
.btn-gold {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #1a0025;
  background: linear-gradient(135deg, #d4af37, #f5d17a, #d4af37);
  background-size: 200% 100%;
  animation: rainbow-flow var(--anim-medium) ease-in-out infinite;
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.65);
}

/* Section label — small all-caps */
.section-label {
  font-size: 10px;
  letter-spacing: 6px;
  color: rgba(212, 175, 55, 0.5);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-body);
}

/* Section title — Playfair Display large heading */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.15;
}
.section-title em {
  font-style: italic;
  background: var(--gradient-rainbow);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow-flow var(--anim-slow) ease-in-out infinite;
}

/* Rainbow / silk gradient text */
.rainbow-text {
  background: var(--gradient-rainbow);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow-flow var(--anim-slow) ease-in-out infinite;
}

/* Dark glass panel */
.glass-panel {
  background: rgba(10, 0, 16, 0.85);
  border: var(--border-gold);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-dark), var(--shadow-gold);
}

/* Animated gradient divider */
.rainbow-bar {
  height: 2px;
  background: var(--gradient-rainbow);
  background-size: 300% 100%;
  animation: rainbow-flow var(--anim-medium) ease-in-out infinite;
}
