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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Mobile touch optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover effects on touch devices */
  .btn-primary:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(255, 107, 129, 0.35);
  }
  
  .btn-primary:active {
    transform: scale(0.97);
  }
  
  /* Larger touch targets */
  .sound-toggle,
  .dark-toggle {
    min-width: 44px;
    min-height: 44px;
  }
  
  .home-button {
    min-height: 44px;
  }
  
  /* Disable sparkle trail on mobile */
  #sparkle-container {
    display: none;
  }
}

:root {
  --bg: #0f1222;
  --bg-soft: #14182e;
  --card: rgba(17, 24, 39, 0.85);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f3f4f6;
  --text-secondary: #d1d5db;
  --muted: #9ca3af;
  --accent: #ff6b81;
  --accent-2: #fca5a5;
  --accent-3: #a78bfa;
  --accent-4: #60a5fa;
  --ring: rgba(255, 107, 129, 0.35);
  --success: #22c55e;
  --warning: #fbbf24;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: 
    radial-gradient(ellipse 1200px 600px at 10% -10%, rgba(42, 29, 63, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse 800px 500px at 100% 0%, rgba(27, 42, 74, 0.8) 0%, transparent 55%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(255, 107, 129, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #080b14 100%);
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  color: var(--text);
  padding: 90px 16px 40px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Glow Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -150px;
  right: -100px;
  animation: orbFloat 15s ease-in-out infinite;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: orbFloat 18s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

body.dark-mode {
  --bg: #080b14;
  --bg-soft: #0c1020;
  --card: rgba(11, 18, 35, 0.9);
  --text: #f9fafb;
  --muted: #9ca3af;
  --accent: #fb7185;
  --accent-2: #fbcfe8;
  --accent-3: #c4b5fd;
  --ring: rgba(251, 113, 133, 0.4);
}

/* ===== TOP NAVIGATION ===== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(15, 18, 34, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(10px);
}

.nav-controls {
  display: flex;
  gap: 10px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.home-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-3px);
}

.home-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.home-button:hover .home-icon {
  transform: translateX(-3px);
}

.sound-toggle,
.dark-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
  transition: var(--transition);
}

.sound-toggle:hover,
.dark-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ===== HEART BACKGROUND ===== */
.heart-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.heart {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: rgba(255, 107, 129, 0.15);
  transform: rotate(45deg);
  animation: float 16s ease-in infinite;
  opacity: 0;
}

.heart::before,
.heart::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: inherit;
  border-radius: 50%;
}

.heart::before {
  top: -6px;
  left: 0;
}

.heart::after {
  left: -6px;
  top: 0;
}

@keyframes float {
  0% {
    transform: translateY(110vh) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-120vh) rotate(45deg);
    opacity: 0;
  }
}

/* ===== MAIN SHELL ===== */
.shell {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: min(94vw, 480px);
  margin: 0 auto;
}

/* ===== PANEL CARD ===== */
.panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: panelIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
}

/* Subtle animated gradient border */
.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 107, 129, 0.3), rgba(167, 139, 250, 0.3), rgba(252, 165, 165, 0.3));
  background-size: 200% 200%;
  animation: gradientMove 4s ease infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.panel:hover::before {
  opacity: 1;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* ===== BRAND HEADER ===== */
.brand-header {
  text-align: center;
  margin-bottom: 28px;
}

.brand-icon {
  font-size: 48px;
  margin-bottom: 8px;
  animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-2) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  animation: titleShimmer 3s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.brand-subtitle {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ===== FORM STYLES ===== */
.form {
  display: grid;
  gap: 20px;
}

.field {
  position: relative;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.input-wrapper:focus-within::after {
  width: calc(100% - 32px);
}

.input-icon {
  position: absolute;
  left: 16px;
  font-size: 18px;
  z-index: 1;
  transition: var(--transition);
}

.input-wrapper:focus-within .input-icon {
  animation: iconBounce 1s ease-in-out;
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.3) rotate(-10deg); }
  60% { transform: scale(1.2) rotate(10deg); }
}

.input {
  width: 100%;
  padding: 18px 18px 18px 50px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  font-size: 16px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.input:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.input:focus {
  border-color: var(--accent);
  background: rgba(255, 107, 129, 0.05);
  box-shadow: 0 0 0 4px var(--ring), 0 0 20px rgba(255, 107, 129, 0.15);
}

/* Icon animation on focus */
.input:focus ~ .input-icon,
.input-wrapper:focus-within .input-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 4px var(--accent));
}

.input:focus + .floating-label,
.input:not(:placeholder-shown) + .floating-label {
  transform: translateY(-38px) translateX(-10px) scale(0.85);
  color: var(--accent);
  background: var(--card);
  padding: 0 8px;
}

.floating-label {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  transition: var(--transition);
  background: transparent;
}

/* Input validation styles */
.input:valid:not(:placeholder-shown) {
  border-color: rgba(34, 197, 94, 0.4);
}

.input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(239, 68, 68, 0.4);
}

/* ===== BUTTONS ===== */
.actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.btn-primary {
  flex: 1;
  background: linear-gradient(135deg, var(--accent) 0%, #e84a5f 50%, var(--accent-3) 100%);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 8px 24px rgba(255, 107, 129, 0.35);
}

.btn-primary:hover {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 129, 0.45);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 16px rgba(255, 107, 129, 0.3);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover .btn-shine {
  left: 100%;
}

.btn-icon {
  font-size: 18px;
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  padding: 14px 24px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ===== NOTE ===== */
.note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
  animation: noteFloat 3s ease-in-out infinite;
}

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

.note-icon {
  font-size: 14px;
  animation: sparkleRotate 2s linear infinite;
}

@keyframes sparkleRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
}

/* ===== PANEL FOOTER ===== */
.panel-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.panel-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.panel-footer a:hover {
  color: var(--accent-2);
}

.heart-beat {
  display: inline-block;
  animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}

/* Hide old styles */
.panel-visual,
.brand,
.pill-row,
.score-preview,
.score-ring,
.score-text {
  display: none;
}

/* ===== RESULT SECTION ===== */
.result {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  animation: resultSlideIn 0.5s ease;
}

@keyframes resultSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result.is-loading {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: loadingPulse 1.5s ease-in-out infinite;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 107, 129, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes loadingPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.result-pop {
  animation: resultPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes resultPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.emoji-reaction {
  font-size: 56px;
  text-align: center;
  margin-bottom: 12px;
  animation: emojiDrop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes emojiDrop {
  0% { transform: translateY(-30px) scale(0); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.result-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.percent {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 72px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  text-shadow: 0 10px 40px rgba(255, 107, 129, 0.3);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 107, 129, 0.2), rgba(167, 139, 250, 0.2));
  border: 1px solid rgba(255, 107, 129, 0.3);
  color: var(--accent-2);
  animation: badgePop 0.4s ease 0.3s backwards;
}

@keyframes badgePop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.sparkle {
  display: none;
}

.compat-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 12px 0;
  font-size: 24px;
}

.star {
  animation: starPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.star:nth-child(1) { animation-delay: 0.1s; }
.star:nth-child(2) { animation-delay: 0.2s; }
.star:nth-child(3) { animation-delay: 0.3s; }
.star:nth-child(4) { animation-delay: 0.4s; }
.star:nth-child(5) { animation-delay: 0.5s; }

@keyframes starPop {
  from { transform: scale(0) rotate(-180deg); }
  to { transform: scale(1) rotate(0deg); }
}

.match-level {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.match-level span {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.match-bar {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.match-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
}

.match-fill.low { background: linear-gradient(90deg, #6b7280, #9ca3af); }
.match-fill.medium { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.match-fill.high { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.match-fill.perfect { background: linear-gradient(90deg, #22c55e, #4ade80); }

.compat-traits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}

.trait {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 13px;
  animation: traitSlide 0.4s ease backwards;
}

.trait:nth-child(1) { animation-delay: 0.1s; }
.trait:nth-child(2) { animation-delay: 0.2s; }
.trait:nth-child(3) { animation-delay: 0.3s; }
.trait:nth-child(4) { animation-delay: 0.4s; }

@keyframes traitSlide {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hearts-inline {
  text-align: center;
  font-size: 16px;
  letter-spacing: 8px;
  margin: 12px 0;
  color: var(--accent);
}

.result-message {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
}

.result-names {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.result-names strong {
  color: var(--accent);
  font-weight: 600;
}

/* ===== PREDICTION BOX ===== */
.prediction {
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
}

.prediction-ball {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4338ca, #6366f1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  flex-shrink: 0;
}

.prediction-text {
  font-size: 14px;
  color: #c7d2fe;
}

.prediction-text strong {
  display: block;
  color: #e0e7ff;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ===== LOVE QUOTE ===== */
.love-quote {
  margin-top: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08), rgba(255, 107, 129, 0.08));
  border-radius: 16px;
  border-left: 4px solid var(--accent-3);
  position: relative;
}

.love-quote::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 48px;
  font-family: Georgia, serif;
  color: var(--accent-3);
  opacity: 0.3;
  line-height: 1;
}

.love-quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 20px;
}

.love-quote-author {
  display: block;
  text-align: right;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}

/* ===== LOVE TIP ===== */
.love-tip {
  margin-top: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255, 107, 129, 0.08), rgba(252, 165, 165, 0.08));
  border-radius: 14px;
  border-left: 4px solid var(--accent);
}

.love-tip strong {
  display: block;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
}

.love-tip {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.share-btn,
.certificate-btn,
.try-again-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.share-btn {
  background: linear-gradient(135deg, #1877f2, #0d65d9);
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

.share-btn.copied {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.certificate-btn {
  background: linear-gradient(135deg, #d4a574, #b8860b);
  color: #fff8dc;
}

.certificate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 165, 116, 0.35);
}

.try-again-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: white;
}

.try-again-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 129, 0.35);
}

/* ===== ANIMATIONS ===== */
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(16px); }
}

@keyframes shimmer {
  from { transform: translateX(-100%) skewX(-20deg); }
  to { transform: translateX(200%) skewX(-20deg); }
}

.heartbreak {
  animation: heartbreak 0.5s ease;
}

@keyframes heartbreak {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px) rotate(-1deg); }
  40%, 80% { transform: translateX(8px) rotate(1deg); }
}

/* ===== CONFETTI CANVAS ===== */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

/* ===== ANIMATED COUNTER ===== */
.percent-counting {
  animation: countPulse 0.15s ease-in-out;
}

@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== LOVE TIPS ===== */
.love-tip {
  margin-top: 14px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255, 107, 129, 0.1), rgba(167, 139, 250, 0.1));
  border-radius: 12px;
  font-size: 13px;
  color: var(--accent-2);
  border-left: 3px solid var(--accent);
}

.love-tip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
}

/* ===== SHARE BUTTON ===== */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #1877f2, #0d5bc7);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.share-btn.copied {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* ===== HEARTBREAK ANIMATION ===== */
.heartbreak {
  animation: heartbreak 0.6s ease;
}

@keyframes heartbreak {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px) rotate(-2deg); }
  40%, 80% { transform: translateX(5px) rotate(2deg); }
}

.sad-emoji {
  font-size: 48px;
  animation: sadBounce 1s ease-in-out infinite;
}

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

/* ===== MATCH LEVELS ===== */
.match-level {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.match-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.match-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1s ease-out;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
}

.match-fill.low {
  background: linear-gradient(90deg, #6b7280, #9ca3af);
}

.match-fill.medium {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.match-fill.high {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.match-fill.perfect {
  background: linear-gradient(90deg, #22c55e, #86efac);
}

/* ===== FLOATING HEARTS ON HIGH MATCH ===== */
.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 998;
  overflow: hidden;
}

.float-heart {
  position: absolute;
  bottom: -50px;
  font-size: 28px;
  animation: riseUp 3s ease-out forwards;
  opacity: 0;
}

@keyframes riseUp {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) scale(1.2);
    opacity: 0;
  }
}

/* ===== EMOJI REACTION ===== */
.emoji-reaction {
  font-size: 42px;
  margin-bottom: 8px;
  animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ===== TRY AGAIN BUTTON ===== */
.try-again-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.try-again-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* ===== COMPATIBILITY STARS ===== */
.compat-stars {
  display: flex;
  gap: 4px;
  margin: 10px 0;
  font-size: 22px;
}

.star {
  transition: transform 0.3s ease;
  animation: starPop 0.5s ease backwards;
}

.star:nth-child(1) { animation-delay: 0.1s; }
.star:nth-child(2) { animation-delay: 0.2s; }
.star:nth-child(3) { animation-delay: 0.3s; }
.star:nth-child(4) { animation-delay: 0.4s; }
.star:nth-child(5) { animation-delay: 0.5s; }

@keyframes starPop {
  0% { transform: scale(0) rotate(-180deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ===== CUPID'S ARROW ===== */
.cupid-arrow {
  position: fixed;
  font-size: 48px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transform: rotate(-45deg);
}

.cupid-arrow.animate {
  animation: shootArrow 1.2s ease-out forwards;
}

@keyframes shootArrow {
  0% {
    left: -60px;
    top: 50%;
    opacity: 1;
    transform: rotate(-45deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: rotate(-45deg) scale(1.3);
  }
  100% {
    left: 110%;
    top: 30%;
    opacity: 0;
    transform: rotate(-45deg) scale(0.8);
  }
}

/* ===== SPARKLE CURSOR TRAIL ===== */
#sparkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 997;
  overflow: hidden;
}

.sparkle-trail {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 107, 129, 0.6));
  pointer-events: none;
  animation: sparkleTrail 0.8s ease-out forwards;
}

@keyframes sparkleTrail {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

/* ===== LOVE QUOTE BOX ===== */
.love-quote {
  margin-top: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(255, 107, 129, 0.15));
  border-radius: 14px;
  font-style: italic;
  font-size: 14px;
  color: var(--accent-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.love-quote::before {
  content: '"';
  font-size: 48px;
  position: absolute;
  top: -10px;
  left: 10px;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.love-quote-author {
  display: block;
  text-align: right;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
}

/* ===== COMPATIBILITY TRAITS ===== */
.compat-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.trait {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  animation: traitSlide 0.5s ease backwards;
}

.trait:nth-child(1) { animation-delay: 0.1s; }
.trait:nth-child(2) { animation-delay: 0.2s; }
.trait:nth-child(3) { animation-delay: 0.3s; }
.trait:nth-child(4) { animation-delay: 0.4s; }

@keyframes traitSlide {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== LOVE CERTIFICATE - NOSTALGIC VINTAGE ===== */
.certificate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #d4a574, #8b6914);
  color: #fff8dc;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.certificate-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Certificate Modal */
.certificate-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeInModal 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.certificate {
  background: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #faf3e0 0%, #f5e6c8 30%, #ede0c0 70%, #e8d4a8 100%);
  border: none;
  border-radius: 4px;
  padding: 0;
  text-align: center;
  max-width: 520px;
  width: 100%;
  color: #4a3728;
  position: relative;
  box-shadow: 
    0 0 0 3px #d4a574,
    0 0 0 6px #8b6914,
    0 0 0 10px #d4a574,
    0 25px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 100px rgba(139, 105, 20, 0.1);
  animation: certPop 0.4s ease;
  font-family: 'Times New Roman', Georgia, serif;
}

.certificate-inner {
  padding: 40px 45px;
  border: 2px solid #c9a86c;
  margin: 12px;
  position: relative;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}

.certificate-inner::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed #c9a86c;
  pointer-events: none;
}

/* Decorative corners */
.certificate-corner {
  position: absolute;
  width: 50px;
  height: 50px;
  font-size: 28px;
  color: #8b6914;
  opacity: 0.7;
}

.certificate-corner.top-left { top: 20px; left: 20px; }
.certificate-corner.top-right { top: 20px; right: 20px; transform: scaleX(-1); }
.certificate-corner.bottom-left { bottom: 20px; left: 20px; transform: scaleY(-1); }
.certificate-corner.bottom-right { bottom: 20px; right: 20px; transform: scale(-1); }

@keyframes certPop {
  from { transform: scale(0.8) rotate(-2deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.certificate-flourish {
  font-size: 24px;
  color: #8b6914;
  letter-spacing: 8px;
  margin-bottom: 8px;
  opacity: 0.6;
}

.certificate-header {
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #7a6348;
  margin-bottom: 8px;
  font-weight: normal;
}

.certificate-title {
  font-size: 38px;
  font-weight: 400;
  color: #6b3a3a;
  margin-bottom: 6px;
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.certificate-subtitle {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #8b7355;
  margin-bottom: 20px;
  font-weight: normal;
}

.certificate-divider {
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a86c, transparent);
  margin: 16px auto;
}

.certificate-text {
  font-size: 14px;
  color: #5c4a32;
  font-style: italic;
  margin-bottom: 12px;
}

.certificate-names {
  font-size: 28px;
  font-weight: 400;
  color: #4a3728;
  margin: 16px 0;
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  line-height: 1.4;
}

.certificate-ampersand {
  font-size: 20px;
  color: #b8860b;
  margin: 0 8px;
  font-family: Georgia, serif;
}

.certificate-heart {
  font-size: 42px;
  margin: 12px 0;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.certificate-percent {
  font-size: 56px;
  font-weight: 700;
  color: #8b4513;
  margin: 8px 0;
  font-family: Georgia, serif;
  text-shadow: 2px 2px 0 #d4a574;
}

.certificate-percent-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #7a6348;
  margin-bottom: 16px;
}

.certificate-message {
  font-size: 15px;
  color: #5c4a32;
  font-style: italic;
  margin: 16px 0;
  line-height: 1.5;
}

.certificate-date {
  font-size: 12px;
  color: #8b7355;
  margin-top: 20px;
  letter-spacing: 1px;
}

.certificate-seal {
  position: absolute;
  bottom: 25px;
  right: 35px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, #c9302c 0%, #8b0000 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(255,255,255,0.3);
  border: 3px solid #ffd700;
}

.certificate-ribbon {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c9302c, #8b0000);
  color: #ffd700;
  padding: 6px 20px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.certificate-ribbon::before,
.certificate-ribbon::after {
  content: '';
  position: absolute;
  bottom: -6px;
  width: 0;
  height: 0;
  border-style: solid;
}

.certificate-ribbon::before {
  left: 0;
  border-width: 6px 8px 0 0;
  border-color: #5a0000 transparent transparent transparent;
}

.certificate-ribbon::after {
  right: 0;
  border-width: 6px 0 0 8px;
  border-color: #5a0000 transparent transparent transparent;
}

.certificate-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 36px;
  height: 36px;
  background: #4a3728;
  border: 2px solid #d4a574;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: #faf3e0;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.certificate-close:hover {
  background: #6b3a3a;
  transform: rotate(90deg);
}

.certificate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.certificate-download {
  padding: 12px 28px;
  background: linear-gradient(135deg, #8b6914, #d4a574);
  color: #fff8dc;
  border: 2px solid #8b6914;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: Georgia, serif;
  letter-spacing: 1px;
}

.certificate-download:hover {
  background: linear-gradient(135deg, #d4a574, #8b6914);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 105, 20, 0.4);
}

.certificate-download:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== PULSE HEART ANIMATION ===== */
.pulse-heart {
  display: inline-block;
  animation: pulseHeart 1s ease-in-out infinite;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ===== MAGIC 8-BALL STYLE PREDICTION ===== */
.prediction {
  margin-top: 14px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.prediction-ball {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at 30% 30%, #4338ca, #1e1b4b);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.prediction-text {
  font-size: 13px;
  color: #a5b4fc;
}

.prediction-text strong {
  display: block;
  color: #c7d2fe;
  margin-bottom: 2px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
  .shell {
    width: min(94vw, 520px);
  }
}

@media (max-width: 600px) {
  body {
    padding: 70px 12px 30px;
  }
  
  .top-nav {
    padding: 12px 14px;
  }
  
  .home-button {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .sound-toggle,
  .dark-toggle {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .panel {
    padding: 24px 18px;
    border-radius: 22px;
  }
  
  .brand-icon {
    font-size: 40px;
  }
  
  .brand-title {
    font-size: 26px;
  }
  
  .brand-subtitle {
    font-size: 13px;
  }
  
  .input {
    padding: 16px 16px 16px 46px;
    font-size: 15px;
  }
  
  .input-icon {
    font-size: 16px;
    left: 14px;
  }
  
  .floating-label {
    left: 46px;
    font-size: 14px;
  }
  
  .btn {
    padding: 14px 20px;
    font-size: 14px;
  }
  
  .percent {
    font-size: 56px;
  }
  
  .emoji-reaction {
    font-size: 44px;
  }
  
  .result-hero {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .badge {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .compat-stars {
    font-size: 20px;
  }
  
  .match-level {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .match-level span {
    font-size: 13px;
  }
  
  .match-bar {
    width: 100%;
  }
  
  .compat-traits {
    gap: 6px;
  }
  
  .trait {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .prediction {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .prediction-ball {
    width: 40px;
    height: 40px;
  }
  
  .love-quote {
    font-size: 14px;
    padding: 16px;
  }
  
  .love-quote::before {
    font-size: 36px;
  }
  
  .love-tip {
    font-size: 13px;
    padding: 14px 16px;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .share-btn,
  .certificate-btn,
  .try-again-btn {
    justify-content: center;
    width: 100%;
  }
  
  .result {
    padding: 20px 16px;
  }
  
  .result-message {
    font-size: 15px;
  }
  
  .result-names {
    font-size: 13px;
  }
  
  .hearts-inline {
    font-size: 14px;
  }
  
  .panel-footer {
    margin-top: 20px;
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 65px 10px 25px;
  }
  
  .panel {
    padding: 20px 16px;
    border-radius: 20px;
  }
  
  .brand-icon {
    font-size: 36px;
  }
  
  .brand-title {
    font-size: 24px;
  }
  
  .percent {
    font-size: 48px;
  }
  
  .emoji-reaction {
    font-size: 38px;
  }
  
  .compat-stars {
    font-size: 18px;
    gap: 4px;
  }
  
  .home-button {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .home-icon {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .panel {
    padding: 18px 14px;
  }
  
  .brand-title {
    font-size: 22px;
  }
  
  .percent {
    font-size: 42px;
  }
  
  .actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .btn-ghost {
    order: 2;
  }
  
  .nav-controls {
    gap: 6px;
  }
  
  .home-text {
    display: none;
  }
  
  .home-button {
    padding: 8px 12px;
  }
}

/* Landscape mobile orientation */
@media (max-height: 500px) and (orientation: landscape) {
  body {
    padding-top: 60px;
  }
  
  .brand-header {
    margin-bottom: 16px;
  }
  
  .brand-icon {
    font-size: 32px;
    margin-bottom: 4px;
  }
  
  .brand-title {
    font-size: 22px;
  }
  
  .panel {
    padding: 16px;
  }
  
  .form {
    gap: 12px;
  }
  
  .input {
    padding: 12px 12px 12px 42px;
  }
}

/* ===== MOBILE RESPONSIVE FOR CERTIFICATE ===== */
@media (max-width: 600px) {
  .certificate {
    padding: 25px 20px;
    border-width: 6px;
    max-width: 95%;
  }
  
  .certificate-inner {
    padding: 25px 20px;
    margin: 8px;
  }
  
  .certificate-inner::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
  }
  
  .certificate-corner {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  
  .certificate-corner.top-left { top: 12px; left: 12px; }
  .certificate-corner.top-right { top: 12px; right: 12px; }
  .certificate-corner.bottom-left { bottom: 12px; left: 12px; }
  .certificate-corner.bottom-right { bottom: 12px; right: 12px; }
  
  .certificate-flourish {
    font-size: 18px;
    letter-spacing: 5px;
  }
  
  .certificate-header {
    font-size: 9px;
    letter-spacing: 3px;
  }
  
  .certificate-title {
    font-size: 26px;
    margin-bottom: 4px;
  }
  
  .certificate-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
  
  .certificate-text {
    font-size: 12px;
  }
  
  .certificate-names {
    font-size: 22px;
  }
  
  .certificate-ampersand {
    font-size: 16px;
  }
  
  .certificate-heart {
    font-size: 32px;
    margin: 8px 0;
  }
  
  .certificate-percent {
    font-size: 42px;
  }
  
  .certificate-percent-label {
    font-size: 10px;
    letter-spacing: 2px;
  }
  
  .certificate-message {
    font-size: 13px;
  }
  
  .certificate-date {
    font-size: 11px;
  }
  
  .certificate-seal {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 15px;
    right: 20px;
  }
  
  .certificate-ribbon {
    font-size: 8px;
    padding: 4px 14px;
  }
  
  .certificate-close {
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .certificate-download {
    padding: 10px 20px;
    font-size: 12px;
  }
  
  .cupid-arrow {
    font-size: 36px;
  }
}
