/* ============================================================
   ✦ THE SEDUCTRESS DIARY™ (US EDITION) — LUXURY STYLESHEET
   Aesthetic: Dark Obsidian, Noble Gold, Velvet Ruby, Glassmorphism
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg-obsidian: #030407;
  --bg-card: #0A0810;
  --bg-card-elevated: #120E1C;
  --gold-primary: #D4AF37;
  --gold-light: #F7E7A9;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --ruby-primary: #9F1239;
  --ruby-bright: #E11D48;
  --ruby-glow: rgba(225, 29, 72, 0.4);
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-ruby: rgba(225, 29, 72, 0.35);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Background Canvas Starfield */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.65;
}

/* Typography Utilities */
.font-cinzel { font-family: 'Cinzel', serif; }
.font-serif-title { font-family: 'Playfair Display', Georgia, serif; }
.font-cormorant { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-mono-code { font-family: 'JetBrains Mono', monospace; }

/* Gradient Texts */
.gold-gradient-text {
  background: linear-gradient(135deg, #FDE68A 0%, #D4AF37 50%, #996515 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ruby-gradient-text {
  background: linear-gradient(135deg, #FDA4AF 0%, #E11D48 50%, #881337 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass Panels */
.glass-panel {
  background: rgba(10, 8, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.glass-panel-gold {
  background: linear-gradient(180deg, rgba(26, 18, 10, 0.9) 0%, rgba(10, 8, 16, 0.95) 100%);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.15);
}

.glass-panel-ruby {
  background: linear-gradient(180deg, rgba(35, 10, 20, 0.92) 0%, rgba(10, 8, 14, 0.97) 100%);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-ruby);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 25px rgba(225, 29, 72, 0.15);
}

/* Buttons */
.ruby-btn {
  background: linear-gradient(135deg, #E11D48 0%, #9F1239 50%, #4C0519 100%);
  color: #FFFFFF;
  border: 1px solid rgba(253, 230, 138, 0.4);
  box-shadow: 0 8px 30px rgba(225, 29, 72, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.ruby-btn:hover {
  background: linear-gradient(135deg, #F43F5E 0%, #BE123C 50%, #881337 100%);
  box-shadow: 0 12px 40px rgba(225, 29, 72, 0.65), 0 0 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-1.5px);
}

.ruby-btn:active {
  transform: translateY(0.5px);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
}

/* Quiz Option Card */
.quiz-option-card {
  background: rgba(18, 14, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.quiz-option-card:hover {
  background: rgba(30, 20, 42, 0.95);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-1px);
}

.quiz-option-card.selected {
  background: linear-gradient(135deg, rgba(60, 15, 30, 0.95) 0%, rgba(20, 14, 30, 0.95) 100%);
  border-color: #E11D48;
  box-shadow: 0 0 25px rgba(225, 29, 72, 0.45);
}

/* Power Progress Bar */
.power-meter-bar {
  background: linear-gradient(90deg, #E11D48 0%, #F59E0B 70%, #10B981 100%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6);
  transition: width 0.35s ease-in-out;
}

/* Danger Meter Circle */
.danger-meter-circle {
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Order Bump Box */
.bump-card {
  background: linear-gradient(135deg, rgba(28, 18, 8, 0.92) 0%, rgba(12, 10, 18, 0.96) 100%);
  border: 1.5px dashed rgba(245, 158, 11, 0.6);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Sticky Buy Bar */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(6, 5, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.85);
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-buy-bar.visible {
  transform: translateY(0);
}

/* Social Proof Toast */
.social-proof-toast {
  position: fixed;
  bottom: 85px;
  left: 20px;
  max-width: 300px;
  height: auto !important;
  z-index: 45;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.social-proof-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Checkbox */
input[type="checkbox"].custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #F59E0B;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

input[type="checkbox"].custom-checkbox:checked {
  background-color: #E11D48;
  border-color: #FDE68A;
}

input[type="checkbox"].custom-checkbox:checked::after {
  content: "✔";
  color: #FFF;
  font-size: 13px;
  font-weight: 900;
}
