/* ==========================================================================
   MiniPets Finder - Ultra Modern, Interactive, Animated Dark Glassmorphism
   ========================================================================== */

:root {
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Theme Colors - Deep Cosmic Violet & Iridescent Pastels */
  --bg-deep: #0e0b16;
  --bg-dark: #151022;
  --bg-card: rgba(255, 255, 255, 0.07);
  --bg-card-hover: rgba(255, 255, 255, 0.12);
  --bg-card-active: rgba(255, 255, 255, 0.16);

  --border-glass: rgba(255, 255, 255, 0.15);
  --border-glass-hover: rgba(255, 255, 255, 0.35);
  --border-accent: rgba(168, 85, 247, 0.4);

  --accent-primary: #a855f7;
  --accent-pink: #f472b6;
  --accent-lavender: #d6bcd8;
  --accent-mint: #b1bfab;
  --accent-cyan: #38bdf8;
  --accent-gradient: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #ec4899 100%);
  --accent-gradient-lavender: linear-gradient(135deg, #d6bcd8 0%, #c8a7ca 100%);
  --accent-gradient-mint: linear-gradient(135deg, #b1bfab 0%, #a3b09c 100%);

  --text-main: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.82);
  --text-muted: rgba(255, 255, 255, 0.55);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --shadow-glass: 0 12px 36px rgba(0, 0, 0, 0.45);
  --shadow-glow-purple: 0 0 35px rgba(168, 85, 247, 0.45);
  --shadow-glow-pink: 0 0 35px rgba(236, 72, 153, 0.4);

  --nav-height: 78px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Atmospheric Background Image Layer + Animated Floating Glow Orbs */
.site-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.site-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 15%, rgba(168, 85, 247, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 55%),
    linear-gradient(180deg, rgba(14, 11, 22, 0.88) 0%, rgba(14, 11, 22, 0.96) 100%);
  z-index: 1;
}

.site-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/lps-background-1366x768.png');
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.45);
  transform: scale(1.08);
  z-index: 0;
}

/* Floating Ambient Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: #a855f7;
  top: 5%;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #ec4899;
  top: 45%;
  right: -150px;
  animation-duration: 16s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: #38bdf8;
  bottom: -100px;
  left: 30%;
  animation-duration: 14s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation (Glassmorphic)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  background: rgba(14, 11, 22, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  background: rgba(14, 11, 22, 0.88);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(168, 85, 247, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
  transition: var(--transition);
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.08) rotate(4deg);
}

.logo-title-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-lavender) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-mint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Shimmer Buttons */
.gradient-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent-gradient-lavender);
  box-shadow: 0 6px 20px rgba(214, 188, 216, 0.4);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: var(--transition);
  cursor: pointer;
}

.gradient-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gradient-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(214, 188, 216, 0.6);
  color: #ffffff;
}

.gradient-btn:hover::before {
  left: 120%;
}

.gradient-btn.mint {
  background: var(--accent-gradient-mint);
  box-shadow: 0 6px 20px rgba(177, 191, 171, 0.4);
}

.gradient-btn.mint:hover {
  box-shadow: 0 10px 30px rgba(177, 191, 171, 0.55);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-overlay {
  display: none;
}

/* ==========================================================================
   Hero Section & Interactive Elements
   ========================================================================== */
.hero-section {
  padding: calc(var(--nav-height) + 50px) 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.2);
  margin-bottom: 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-lavender);
}

.pulse-paw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #f472b6;
  filter: drop-shadow(0 0 6px rgba(244, 114, 182, 0.9));
  animation: pulse-paw-anim 1.8s infinite ease-in-out;
}

.pulse-paw svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

@keyframes pulse-paw-anim {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.75;
    filter: drop-shadow(0 0 4px rgba(244, 114, 182, 0.6));
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(244, 114, 182, 1));
  }
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.hero-mascot-side {
  flex-shrink: 0;
  width: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.hero-favourite-pets-img {
  display: inline-block;
  width: auto;
  max-width: 360px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
  vertical-align: middle;
  margin: 6px 0;
  filter: drop-shadow(0 4px 14px rgba(214, 188, 216, 0.45));
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Store Badges / Buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glass);
  text-decoration: none;
  transition: var(--transition);
}

.btn-store:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.3);
  color: #ffffff;
}

.btn-store svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-store-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.btn-store-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

/* ==========================================================================
   Interactive Live Scanner Simulator Widget (Left Column)
   ========================================================================== */
.scanner-demo-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-glass);
  margin-bottom: 32px;
}

.scanner-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.scanner-demo-title {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-lavender);
  display: flex;
  align-items: center;
  gap: 8px;
}

.scanner-demo-badge {
  font-size: 0.78rem;
  color: var(--accent-pink);
  font-weight: 700;
}

.scanner-demo-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.45;
}

.sample-codes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 480px) {
  .sample-codes-grid {
    grid-template-columns: 1fr;
  }
}

.sample-code-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.sample-code-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(244, 114, 182, 0.5);
  transform: translateY(-2px);
}

.sample-code-btn.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28) 0%, rgba(244, 114, 182, 0.28) 100%);
  border-color: var(--accent-pink);
  box-shadow: 0 0 16px rgba(244, 114, 182, 0.35);
}

.sample-code-val {
  font-family: monospace, SFMono-Regular, Consolas, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.sample-code-meta {
  font-size: 0.76rem;
  color: var(--accent-lavender);
}

.scanner-status-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.scanner-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-paw-anim 1.5s infinite;
}

/* ==========================================================================
   Interactive Phone Mockup & In-Phone Camera Scanner Screen
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.7));
}

.phone-screen {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  border: 7px solid #231c33;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  background: #121014;
  aspect-ratio: 598 / 1299;
}

.phone-screen img#phoneMockupImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* 1:1 Mobile App Camera Scanner View Inside Phone */
.phone-camera-view {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-direction: column;
}

.phone-camera-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
  transform: scale(1.05);
}

/* Camera Reticle & Laser */
.camera-reticle {
  position: absolute;
  top: 18%;
  left: 10%;
  width: 80%;
  height: 38%;
  border-radius: 16px;
  pointer-events: none;
}

.camera-reticle .corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #f472b6;
  border-style: solid;
}

.camera-reticle .corner.tl {
  top: 0; left: 0;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 10px;
}
.camera-reticle .corner.tr {
  top: 0; right: 0;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 10px;
}
.camera-reticle .corner.bl {
  bottom: 0; left: 0;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 10px;
}
.camera-reticle .corner.br {
  bottom: 0; right: 0;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 10px;
}

.laser-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f472b6, #ec4899, transparent);
  box-shadow: 0 0 14px #ec4899;
  opacity: 0;
}

.laser-beam.scanning {
  opacity: 1;
  animation: laserScan 1.2s ease-in-out infinite;
}

@keyframes laserScan {
  0% { top: 0%; opacity: 0.9; }
  50% { top: 95%; opacity: 1; }
  100% { top: 0%; opacity: 0.9; }
}

/* Scanned Code Pill at Top */
.camera-code-badge {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22, 16, 34, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 114, 182, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: monospace, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.camera-code-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Floating AR Pet Card (Identical to app) */
.camera-ar-card {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%) scale(1);
  width: 170px;
  background: linear-gradient(135deg, rgba(248, 168, 207, 0.92) 0%, rgba(232, 93, 158, 0.92) 100%);
  border-radius: 28px;
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(244, 114, 182, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.75);
  z-index: 6;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.camera-ar-card.pop {
  animation: arPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes arPop {
  0% { transform: translateX(-50%) scale(0.6); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

.ar-pet-frame {
  width: 125px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-pet-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.ar-pet-title-tag {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

/* Bottom Ribbon on Phone */
.camera-bottom-ribbon {
  position: absolute;
  bottom: 60px;
  left: 12px;
  right: 12px;
  background: rgba(30, 24, 44, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.ribbon-pet-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ribbon-pet-info img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.ribbon-text {
  display: flex;
  flex-direction: column;
}

.ribbon-text strong {
  font-size: 0.84rem;
  color: #fff;
  line-height: 1.2;
}

.ribbon-text span {
  font-size: 0.72rem;
  color: var(--accent-mint);
}

.ribbon-heart {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(244, 114, 182, 0.6));
  transition: transform 0.2s ease;
}

.ribbon-heart:hover {
  transform: scale(1.2);
}

/* Camera Tab Bar */
.camera-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(18, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  z-index: 8;
}

.camera-tabbar .tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  gap: 2px;
}

.camera-tabbar .tab-item.active {
  color: var(--accent-pink);
}

.camera-tabbar .tab-icon {
  font-size: 1rem;
}

/* Interactive Tabs to switch phone screen */
.phone-tabs {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.phone-tab-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.phone-tab-btn.active, .phone-tab-btn:hover {
  background: var(--accent-gradient-lavender);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(214, 188, 216, 0.45);
}

.mascot-3d {
  position: relative;
  width: 100%;
  max-width: 170px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 24px rgba(244, 114, 182, 0.35));
  animation: floatMascot 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatMascot {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-12px) rotate(4deg); }
}

/* ==========================================================================
   Infinite Animated Marquee / Ticker
   ========================================================================== */
.ticker-section {
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 24px;
  white-space: nowrap;
}

.ticker-track.left {
  animation: scrollLeft 30s linear infinite;
}

.ticker-track.right {
  animation: scrollRight 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.ticker-item .star {
  color: var(--accent-pink);
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
   Glassmorphism Cards (Like in Downloads Page)
   ========================================================================== */
section {
  padding: 90px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-lavender);
  background: rgba(214, 188, 216, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(214, 188, 216, 0.25);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Modern Card with Glass & Shimmer */
.glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(168, 85, 247, 0.25);
  transform: translateY(-6px);
}

/* Icon circle with rotate effect on hover (from downloads page!) */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--accent-lavender), #c8a7ca);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(214, 188, 216, 0.35);
  transition: var(--transition);
}

.glass-card:hover .icon-circle {
  transform: scale(1.12) rotate(6deg);
}

.icon-circle.mint {
  background: linear-gradient(135deg, var(--accent-mint), #a3b09c);
  box-shadow: 0 8px 24px rgba(177, 191, 171, 0.35);
}

.icon-circle.cyan {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35);
}

.icon-circle.pink {
  background: linear-gradient(135deg, #f472b6, #db2777);
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.35);
}

.icon-circle svg {
  width: 30px;
  height: 30px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Pet Figurines Showcase (With Interactive Wishlist Action & Filter)
   ========================================================================== */
.figures-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-gradient-lavender);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(214, 188, 216, 0.45);
}

.figures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}

.figure-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.figure-card:hover {
  transform: translateY(-8px) scale(1.04);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(214, 188, 216, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.3);
}

.figure-img-box {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #000;
  position: relative;
}

.figure-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.figure-card:hover .figure-img-box img {
  transform: scale(1.08);
}

.figure-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(14, 11, 22, 0.85);
  backdrop-filter: blur(8px);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-lavender);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wishlist-heart-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 11, 22, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: var(--transition);
}

.wishlist-heart-btn.liked {
  color: #ef4444;
  transform: scale(1.15);
}

.figure-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Wave Showcase Section
   ========================================================================== */
.waves-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.wave-card {
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.wave-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 114, 182, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(244, 114, 182, 0.25);
}

.wave-icon-wrap {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.wave-icon-wrap img {
  max-width: 100px;
  max-height: 85px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.wave-card:hover .wave-icon-wrap img {
  transform: scale(1.15) translateY(-4px);
  filter: drop-shadow(0 10px 22px rgba(244, 114, 182, 0.5));
}

.wave-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-lavender);
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 450px;
  padding: 0 26px 26px;
}

/* ==========================================================================
   Big Vibrant CTA Banner
   ========================================================================== */
.cta-banner {
  margin: 40px auto 80px;
  padding: 70px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 20, 50, 0.85) 0%, rgba(18, 12, 30, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(168, 85, 247, 0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lavender);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-card-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.contact-card-val:hover {
  color: var(--accent-lavender);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent-gradient-lavender);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 24px rgba(214, 188, 216, 0.5);
  color: #fff;
}

.social-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Contact Form */
.contact-form {
  padding: 38px;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  font-family: inherit;
  font-size: 1rem;
  color: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 15px 24px;
}

.form-status {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  text-align: center;
  font-weight: 600;
}

.form-status.hidden {
  display: none;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid #10b981;
}

.form-status.info {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid #a855f7;
}

/* Toast Notification for Wishlist Action */
.wishlist-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(22, 17, 34, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-lavender);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.3);
  padding: 14px 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.wishlist-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: rgba(10, 8, 16, 0.95);
  color: var(--text-muted);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--accent-lavender);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

.footer-disclaimer {
  max-width: 800px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 16px;
  font-size: 0.82rem;
}

/* ==========================================================================
   Downloads & Privacy Specific Styles
   ========================================================================== */
.page-hero {
  padding: calc(var(--nav-height) + 50px) 0 40px;
  text-align: center;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin: 40px 0 80px;
}

.download-card {
  padding: 44px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}

.download-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.download-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.policy-card {
  padding: 56px 44px;
  margin: 20px 0 80px;
}

.policy-card h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.policy-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 26px 0 12px;
  color: var(--accent-lavender);
}

.policy-card p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.policy-card ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.policy-card li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.policy-card strong {
  color: #ffffff;
}

.highlight-box {
  background: rgba(168, 85, 247, 0.12);
  border-left: 4px solid var(--accent-primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-title-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero-mascot-side {
    width: 140px;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .store-buttons {
    justify-content: center;
  }
  
  .quick-codes {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    right: -100%;
    width: 290px;
    height: calc(100vh - var(--nav-height));
    background: rgba(18, 14, 28, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 20px;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--nav-height));
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-nav-download {
    display: none;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .policy-card {
    padding: 28px 20px;
  }

  .contact-form {
    padding: 24px;
  }
}
