
/* =========================================
   WISHORA 2.0 — PREMIUM HOMEPAGE
   Existing Surprise CSS remains unchanged
========================================= */

:root {
  --w2-pink: #ec4899;
  --w2-purple: #8b5cf6;
  --w2-dark: #30213f;
  --w2-muted: #756780;
  --w2-radius: 24px;
}

/* Homepage background */

body {
  background: #fff9fd;
  color: var(--w2-dark);
}

/* Navigation */

.navbar {
  position: relative;
  z-index: 5;
  background: rgba(255,255,255,.92);
  padding: 20px 7%;
  box-shadow: 0 4px 25px rgba(119,57,108,.07);
}

.logo {
  font-size: 27px;
  font-weight: 800;
  background: linear-gradient(
    110deg,
    var(--w2-pink),
    var(--w2-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Hero */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 105px 20px 110px;
  background: linear-gradient(
    135deg,
    #fff0f8 0%,
    #f2e9ff 52%,
    #fff4e8 100%
  );
}

.hero::before,
.hero::after {
  content: "💖";
  position: absolute;
  font-size: 55px;
  opacity: .22;
  pointer-events: none;
  animation: w2Float 6s ease-in-out infinite;
}

.hero::before {
  top: 16%;
  left: 9%;
}

.hero::after {
  content: "✨";
  bottom: 15%;
  right: 10%;
  animation-delay: 2s;
}

.tagline {
  display: inline-block;
  background: rgba(255,255,255,.8);
  color: #c72f86;
  border: 1px solid #fbd0e9;
  border-radius: 50px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(236,72,153,.08);
}

.hero h1 {
  font-size: clamp(35px, 6vw, 65px);
  line-height: 1.22;
  letter-spacing: -.8px;
  margin-top: 20px;
}

.hero h1 span {
  background: linear-gradient(
    110deg,
    #ec4899,
    #a855f7
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 600px;
  margin: 25px auto 32px;
  font-size: 17px;
  line-height: 1.9;
  color: #6e5b79;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 32px;
  border-radius: 50px;
  background: linear-gradient(
    120deg,
    var(--w2-pink),
    var(--w2-purple)
  );
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(210,73,167,.25);
  transition: transform .25s, box-shadow .25s;
}

.hero-btn:hover {
  background: linear-gradient(
    120deg,
    #db2777,
    #7c3aed
  );
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(210,73,167,.3);
}

/* Surprise Categories */

.categories {
  padding: 85px 6%;
  background: #fffdfd;
}

.categories h2,
.w2-intro h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #32203f;
}

.category-grid {
  max-width: 1150px;
  gap: 22px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(230,194,223,.6);
  border-radius: var(--w2-radius);
  padding: 38px 18px;
  box-shadow: 0 8px 24px rgba(70,25,66,.04);
  transition: transform .3s, box-shadow .3s;
}

.category-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(139,92,246,.13);
}

.category-card .emoji {
  font-size: 52px;
  transition: transform .3s;
}

.category-card:hover .emoji {
  transform: scale(1.16) rotate(-5deg);
}

.category-card h3 {
  font-weight: 800;
}

.category-card p {
  line-height: 1.65;
}

/* Love Checker and Quiz */

#w2-features {
  padding: 70px 6% 100px;
  background: linear-gradient(
    180deg,
    #fff9fd,
    #f7f1ff
  );
}

.w2-intro {
  max-width: 700px;
  text-align: center;
  margin: 0 auto 35px;
}

.w2-intro p {
  color: var(--w2-muted);
  line-height: 1.8;
  margin-top: 12px;
}

.w2-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  max-width: 1050px;
  gap: 24px;
  margin: 0 auto 85px;
}

.w2-feature {
  background: rgba(255,255,255,.86);
  border: 1px solid #f0dff2;
  border-radius: 28px;
  padding: 38px 30px;
  text-align: center;
  box-shadow: 0 15px 45px rgba(121,65,151,.08);
  transition: transform .25s;
}

.w2-feature:hover {
  transform: translateY(-5px);
}

.w2-icon {
  font-size: 60px;
  margin-bottom: 20px;
  animation: w2Float 4s ease-in-out infinite;
}

.w2-feature h3 {
  font-size: 25px;
  margin-bottom: 12px;
  color: #3a244b;
}

.w2-feature p {
  color: #776782;
  line-height: 1.8;
  margin-bottom: 24px;
}

.w2-btn {
  border: none;
  border-radius: 50px;
  padding: 15px 25px;
  min-height: 48px;
  background: linear-gradient(
    120deg,
    #ec4899,
    #8b5cf6
  );
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, filter .2s;
}

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

/* How It Works */

.w2-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  max-width: 1050px;
  margin: 0 auto;
}

.w2-step {
  background: #fff;
  border: 1px solid #f0e4f2;
  border-radius: 24px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(121,65,151,.04);
}

.w2-step strong {
  display: block;
  font-size: 40px;
  margin-bottom: 17px;
}

.w2-step h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.w2-step p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--w2-muted);
}

/* Mobile Bottom Navigation */

.w2-nav {
  display: none;
}

/* Animation */

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

/* Tablet */

@media (max-width: 850px) {
  .w2-feature-grid {
    gap: 16px;
  }

  .w2-feature {
    padding: 30px 18px;
  }

  .w2-steps {
    gap: 12px;
  }
}

/* Mobile */

@media (max-width: 600px) {
  body {
    padding-bottom: 78px;
  }

  .navbar {
    padding: 17px 5%;
  }

  .logo {
    font-size: 24px;
  }

  .hero {
    padding: 80px 20px 85px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero::before {
    left: 2%;
    font-size: 34px;
  }

  .hero::after {
    right: 3%;
    font-size: 35px;
  }

  .categories {
    padding: 60px 5%;
  }

  .category-grid {
    gap: 12px;
  }

  .category-card {
    padding: 25px 12px;
    border-radius: 20px;
  }

  .category-card .emoji {
    font-size: 40px;
  }

  .category-card h3 {
    font-size: 16px;
  }

  .category-card p {
    font-size: 12px;
  }

  #w2-features {
    padding: 60px 5% 85px;
  }

  
/* Love Checker + Fun Quiz: 2 cards in one row */
.w2-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* How It Works: keep one column */

/* Wishora Mobile — Compact How It Works */

.w2-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.w2-step {
  min-width: 0;
  padding: 18px 7px;
  border-radius: 16px;
}

.w2-step strong {
  font-size: 30px;
  margin-bottom: 10px;
}

.w2-step h3 {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.w2-step p {
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}


.w2-feature-grid {
  margin-bottom: 65px;
}

.w2-feature {
  min-width: 0;
  padding: 20px 10px;
  border-radius: 18px;
}

.w2-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.w2-feature h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.w2-feature p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.w2-btn {
  width: 100%;
  padding: 10px 5px;
  min-height: 42px;
  font-size: 11px;
}


  .w2-feature-grid {
    margin-bottom: 65px;
  }

  

  .w2-step {
    padding: 25px 20px;
  }

  .w2-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    align-items: center;
    justify-content: space-around;
    background: rgba(255,255,255,.97);
    border-top: 1px solid #f0dfef;
    box-shadow: 0 -5px 25px rgba(79,35,83,.07);
    padding: 9px 4px max(9px, env(safe-area-inset-bottom));
  }

  .w2-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 54px;
    min-height: 48px;
    color: #806d88;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
  }

  .w2-nav a span {
    font-size: 23px;
  }

  .w2-nav a[aria-current="page"] {
    color: #e83e87;
  }
}

/* Accessibility */

.w2-btn:focus-visible,
.w2-nav a:focus-visible,
.hero-btn:focus-visible,
.category-card:focus-visible {
  outline: 3px solid #8b5cf6;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .w2-icon {
    animation: none;
  }

  .hero-btn,
  .category-card,
  .w2-feature,
  .w2-btn {
    transition: none;
  }
}
/* Move homepage header content slightly down */
.navbar {
  padding-top: calc(
    36px + env(safe-area-inset-top, 0px)
  );
}
.fun-zone-grid.duo-home-grid {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 380px;
  margin: 24px auto 0;
  padding: 0 16px;
  box-sizing: border-box;
}

.duo-home-grid > .fun-zone-card {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
section[aria-labelledby="duoSyncTitle"] .fun-zone-grid {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

section[aria-labelledby="duoSyncTitle"] .fun-zone-card {
  flex: 0 1 340px;
  width: 100%;
  max-width: 340px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
}
.mystery-home-feature {
  width: min(1100px, calc(100% - 32px));
  margin: 24px auto 48px;
}

.mystery-home-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 56px 36px 36px;
  overflow: hidden;
  border: 1px solid #f9a8d480;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 50%, #ec489930, transparent 45%),
    linear-gradient(120deg, #30203e, #25182e);
  box-shadow: 0 12px 40px #ec489918;
  color: #fff4fa;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.mystery-home-card:hover {
  border-color: #f9a8d4;
  box-shadow: 0 12px 44px #ec489930;
}

.mystery-home-card:focus-visible {
  outline: 3px solid #f9a8d4;
  outline-offset: 5px;
}

.mystery-home-badge {
  position: absolute;
  top: 16px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fde68a;
  color: #542136;
  font-size: 0.75rem;
  font-weight: 800;
}

.mystery-home-gift {
  flex-shrink: 0;
  font-size: clamp(80px, 12vw, 130px);
  line-height: 1.2;
  filter: drop-shadow(0 10px 24px #ec48994d);
}

.mystery-home-copy {
  max-width: 520px;
}

.mystery-home-copy .mystery-home-eyebrow {
  margin: 0 0 8px;
  color: #fde68a;
  font-size: 0.9rem;
}

.mystery-home-copy h2 {
  margin: 0 0 12px;
  color: #fff4fa;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
}

.mystery-home-copy p {
  margin: 0 0 20px;
  color: #ead5e6;
  line-height: 1.8;
}

.mystery-home-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 14px;
  background: linear-gradient(110deg, #be185d, #7e22ce);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 600px) {
  .mystery-home-card {
    flex-direction: column;
    gap: 20px;
    padding: 58px 24px 28px;
    text-align: center;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mystery-home-card {
    transition: none;
  }
}
/* Mystery Box Home card — Light theme */

html[data-theme="light"] .mystery-home-card {
  background:
    radial-gradient(circle at 15% 25%, #fbcfe880, transparent 48%),
    linear-gradient(135deg, #fff1f7, #f5efff 60%, #fff8e9);
  border-color: #e8bfd8;
  color: #42213f;
  box-shadow: 0 10px 30px #a855f712;
}

html[data-theme="light"] .mystery-home-copy h2 {
  color: #42213f;
}

html[data-theme="light"] .mystery-home-copy p {
  color: #70566f;
}

html[data-theme="light"]
.mystery-home-copy .mystery-home-eyebrow {
  color: #9d174d;
}

html[data-theme="light"] .mystery-home-badge {
  background: #fff0ba;
  color: #714511;
  border: 1px solid #efd58b;
}

html[data-theme="light"] .mystery-home-gift {
  filter: drop-shadow(0 10px 18px #db27772b);
}

html[data-theme="light"] .mystery-home-button {
  background: linear-gradient(110deg, #be185d, #7e22ce);
  color: #fff;
  box-shadow: 0 6px 16px #be185d20;
}

html[data-theme="light"] .mystery-home-card:hover {
  border-color: #c969a1;
  box-shadow: 0 12px 32px #a855f71c;
}

html[data-theme="light"] .mystery-home-card:focus-visible {
  outline-color: #9d174d;
}