/* Official Locket.com-inspired Minimal Design System for LocketGold.lol */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('/assets/locket_official/fonts/SF-Pro-Rounded-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('/assets/locket_official/fonts/SF-Pro-Rounded-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('/assets/locket_official/fonts/SF-Pro-Rounded-Bold.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --lg-hero: #FFE091;
  --lg-gold: #FFB800;
  --lg-gold-deep: #E5A000;
  --lg-cream: #FFFBF1;
  --lg-surface: #FFFFFF;
  --lg-oled: #0A0A0A;
  --lg-ink: #1A1200;
  --lg-muted: #6B5E42;
  --lg-border: rgba(26, 18, 0, 0.09);
  --lg-radius-md: 14px;
  --lg-radius-lg: 22px;
  --lg-radius-xl: 32px;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body:not(.lg-keep-dark) {
  font-family: 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--lg-cream);
  color: var(--lg-ink);
}

.lg-container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.lg-nav {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(255, 251, 241, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--lg-border);
}
.lg-nav.is-hero-top {
  background: rgba(255, 224, 145, 0.90);
  border-bottom-color: rgba(26, 18, 0, 0.06);
}

/* Buttons */
.lg-btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lg-ink);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 9999px;
  transition: transform 0.18s cubic-bezier(.22,1,.36,1), box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: 0;
  text-decoration: none;
}
.lg-btn-ink:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 26px -8px rgba(26, 18, 0, 0.38);
  background: #2D2004;
}
.lg-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lg-gold);
  color: var(--lg-ink);
  font-weight: 800;
  border-radius: 9999px;
  box-shadow: 0 10px 24px -8px rgba(255, 184, 0, 0.55);
  transition: transform 0.18s cubic-bezier(.22,1,.36,1), filter 0.18s ease;
  cursor: pointer;
  border: 0;
  text-decoration: none;
}
.lg-btn-gold:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.04);
}
.lg-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--lg-ink);
  font-weight: 700;
  border-radius: 9999px;
  border: 1.5px solid rgba(26, 18, 0, 0.12);
  transition: transform 0.18s ease, background 0.18s ease;
  cursor: pointer;
  text-decoration: none;
}
.lg-btn-ghost:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

/* Cards */
.lg-card {
  background: #FFFFFF;
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius-xl);
  box-shadow: 0 12px 36px -16px rgba(26, 18, 0, 0.10);
  transition: transform 0.24s cubic-bezier(.22,1,.36,1), box-shadow 0.24s ease;
}
.lg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -18px rgba(26, 18, 0, 0.15);
}
.lg-card-oled {
  background: #0D0D0F;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 184, 0, 0.55);
  border-radius: var(--lg-radius-xl);
  box-shadow: 0 24px 60px -18px rgba(26, 18, 0, 0.35), 0 0 0 1px rgba(255, 184, 0, 0.15);
}

/* Clean Pricing Tier Badges (Replaces noisy GIF badges) */
.lg-tier-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #FFF3CD;
  color: #9A6700;
  border: 1px solid rgba(255, 184, 0, 0.35);
}
.lg-tier-icon.is-pro {
  background: linear-gradient(135deg, #FFE091 0%, #FFB800 100%);
  color: #1A1200;
  border-color: rgba(255, 224, 145, 0.65);
  box-shadow: 0 6px 16px -4px rgba(255, 184, 0, 0.45);
}
.lg-tier-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: #FFF3CD;
  color: #8A5A00;
  border: 1px solid rgba(255, 184, 0, 0.35);
}
.lg-tier-pill.is-pro {
  background: rgba(255, 224, 145, 0.16);
  color: #FFE091;
  border-color: rgba(255, 224, 145, 0.35);
}
.lg-sale-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  background: #FFF1F2;
  color: #E11D48;
  border: 1px solid rgba(225, 29, 72, 0.16);
}
.lg-sale-pill.is-pro {
  background: rgba(255, 184, 0, 0.18);
  color: #FFE091;
  border-color: rgba(255, 224, 145, 0.30);
}

/* Subtle spring float for official Locket stickers */
@keyframes lgSpringFloat {
  0%, 100% { transform: translateY(0px) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-7px) rotate(var(--r, 0deg)); }
}
.lg-float { animation: lgSpringFloat 4.4s ease-in-out infinite; }
.lg-float-slow { animation: lgSpringFloat 5.6s ease-in-out 0.8s infinite; }

/* Mobile input zoom prevention */
@media screen and (max-width: 767px) {
  input, select, textarea { font-size: 16px !important; }
}

/* Checkout modal 1-tap pills */
.lg-co-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 4px;
  margin-top: 10px;
  border-top: 1px dashed rgba(26, 18, 0, 0.12);
  scrollbar-width: none;
}
.lg-co-pills::-webkit-scrollbar { display: none; }
.lg-co-pill {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 14px;
  cursor: pointer;
  background: #FFFBF1;
  border: 1.5px solid rgba(26, 18, 0, 0.10);
  color: #1A1200;
  transition: all 0.18s ease;
}
.lg-co-pill.is-active {
  background: #1A1200;
  border-color: #1A1200;
  color: #FFE091;
  box-shadow: 0 8px 18px -6px rgba(26, 18, 0, 0.38);
}

/* 3D Icon Switcher */
.locket-3d-stage { perspective: 700px; }
.locket-icon-3d-hero {
  width: 78px; height: 78px; border-radius: 24%; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-12deg);
  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 14px 28px -6px rgba(26, 18, 0, 0.32), 0 5px 0 -1px rgba(0, 0, 0, 0.22), inset 0 2px 2px rgba(255, 255, 255, 0.65);
  animation: locket3dFloat 3.6s ease-in-out infinite;
}
.locket-icon-3d-hero.is-flipping { animation: none !important; transform: rotateY(360deg) scale(1.12) !important; }
@keyframes locket3dFloat {
  0%, 100% { transform: rotateX(8deg) rotateY(-10deg) translateY(0); }
  50% { transform: rotateX(-6deg) rotateY(10deg) translateY(-4px); }
}
.locket-icon-tile-btn {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 23%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; cursor: pointer; border: 0;
  transform: rotateX(6deg) rotateY(-5deg);
  transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.25s ease;
  box-shadow: 0 10px 18px -6px rgba(26, 18, 0, 0.22), 0 4px 0 -1px rgba(0,0,0,0.2), inset 0 2px 2px rgba(255,255,255,0.6);
}
.locket-icon-tile-btn:hover { transform: translateY(-4px) scale(1.06); }
.locket-icon-tile-btn.is-selected {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 0 0 3px #FFB800, 0 0 0 6px rgba(255, 184, 0, 0.28), 0 14px 24px -6px rgba(26,18,0,0.3);
}
.floral-bg { background-image: radial-gradient(circle, rgba(255,255,255,0.85) 2.5px, transparent 2.5px); background-size: 10px 10px; }
.floral-bg-sm { background-image: radial-gradient(circle, rgba(255,255,255,0.7) 1.8px, transparent 1.8px); background-size: 8px 8px; }

/* ==================== UNIFIED LOCKET.COM SKIN FOR LIGHT SECONDARY PAGES ==================== */
body:not(.lg-native-page):not(.lg-keep-dark) {
  background: #FFFBF1 !important;
  color: #1A1200 !important;
  font-family: 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
body:not(.lg-native-page):not(.lg-keep-dark)::before,
body:not(.lg-native-page):not(.lg-keep-dark)::after {
  display: none !important;
}
body:not(.lg-native-page):not(.lg-keep-dark) header,
body:not(.lg-native-page):not(.lg-keep-dark) .glass-header,
body:not(.lg-native-page):not(.lg-keep-dark) nav.sticky {
  background: rgba(255, 251, 241, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(26, 18, 0, 0.08) !important;
  box-shadow: none !important;
}
body:not(.lg-native-page):not(.lg-keep-dark) footer {
  background: #FFFFFF !important;
  border-top: 1px solid rgba(26, 18, 0, 0.08) !important;
  color: #6B5E42 !important;
}
body:not(.lg-native-page):not(.lg-keep-dark) .bg-pink-50,
body:not(.lg-native-page):not(.lg-keep-dark) .bg-rose-50,
body:not(.lg-native-page):not(.lg-keep-dark) .from-pink-50,
body:not(.lg-native-page):not(.lg-keep-dark) .via-pink-50 {
  background-color: #FFFBF1 !important;
}
body:not(.lg-native-page):not(.lg-keep-dark) .rounded-3xl,
body:not(.lg-native-page):not(.lg-keep-dark) .rounded-2xl {
  border-color: rgba(26, 18, 0, 0.09);
}
body:not(.lg-native-page):not(.lg-keep-dark) input[type="text"],
body:not(.lg-native-page):not(.lg-keep-dark) input[type="password"],
body:not(.lg-native-page):not(.lg-keep-dark) input[type="email"],
body:not(.lg-native-page):not(.lg-keep-dark) input[type="number"],
body:not(.lg-native-page):not(.lg-keep-dark) input[type="tel"],
body:not(.lg-native-page):not(.lg-keep-dark) select,
body:not(.lg-native-page):not(.lg-keep-dark) textarea {
  background-color: #FFFBF1 !important;
  border-color: rgba(26, 18, 0, 0.14) !important;
  color: #1A1200 !important;
  border-radius: 14px !important;
}
body:not(.lg-native-page):not(.lg-keep-dark) input:focus,
body:not(.lg-native-page):not(.lg-keep-dark) textarea:focus,
body:not(.lg-native-page):not(.lg-keep-dark) select:focus {
  border-color: #FFB800 !important;
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.22) !important;
  background-color: #FFFFFF !important;
}

/* Clean hide noisy clutter on all pages */
#fake-purchase-popup,
#lgStickyBar,
.floating-bar .upgrade-tooltip,
#mascot-chase,
#fx-aurora,
#fx-three,
#fx-cursor {
  display: none !important;
}
