/* ===== BASE & RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* ===== SCENE ===== */
.scene {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(175deg,
    #d4eeff 0%,
    #b8dff8 15%,
    #a8d8ea 30%,
    #d4ecd0 55%,
    #c5e1a5 75%,
    #aed581 100%
  );
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scene::before {
  content: '';
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ===== FLOATING PETALS ===== */
.petals {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.petal-float {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50% 0 50% 0;
  opacity: 0;
  pointer-events: none;
  animation: petalDrift linear forwards;
}

@keyframes petalDrift {
  0% { opacity: 0; transform: translateY(-20px) rotate(0deg) scale(0.5); }
  10% { opacity: 0.7; transform: translateY(0) rotate(20deg) scale(1); }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(calc(100vh + 20px)) rotate(360deg) scale(0.8); }
}

/* ===== CLOUDS ===== */
.cloud {
  position: fixed;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  filter: blur(1px);
  z-index: 1;
}

.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}

.cloud-1 {
  width: 100px; height: 35px; top: 5%; left: 5%;
  animation: cloudFloat 28s ease-in-out infinite;
}
.cloud-1::before { width: 50px; height: 48px; top: -26px; left: 14px; }
.cloud-1::after { width: 60px; height: 42px; top: -18px; left: 40px; }

.cloud-2 {
  width: 120px; height: 40px; top: 8%; right: 8%;
  animation: cloudFloat 32s ease-in-out infinite reverse;
}
.cloud-2::before { width: 58px; height: 52px; top: -30px; left: 20px; }
.cloud-2::after { width: 70px; height: 46px; top: -22px; left: 50px; }

.cloud-3 {
  width: 75px; height: 28px; top: 3%; left: 40%;
  animation: cloudFloat 24s ease-in-out infinite; animation-delay: -8s;
  opacity: 0.55;
}
.cloud-3::before { width: 40px; height: 38px; top: -20px; left: 10px; }
.cloud-3::after { width: 44px; height: 34px; top: -15px; left: 30px; }

.cloud-4 {
  width: 85px; height: 30px; top: 14%; left: 22%;
  animation: cloudFloat 26s ease-in-out infinite reverse; animation-delay: -4s;
  opacity: 0.5;
}
.cloud-4::before { width: 42px; height: 40px; top: -22px; left: 12px; }
.cloud-4::after { width: 50px; height: 36px; top: -16px; left: 35px; }

.cloud-5 {
  width: 65px; height: 24px; top: 10%; right: 28%;
  animation: cloudFloat 22s ease-in-out infinite; animation-delay: -12s;
  opacity: 0.45;
}
.cloud-5::before { width: 34px; height: 32px; top: -18px; left: 8px; }
.cloud-5::after { width: 38px; height: 28px; top: -12px; left: 24px; }

@keyframes cloudFloat {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(40px); }
}

/* ===== BUTTERFLIES ===== */
.butterfly {
  position: fixed;
  width: 24px;
  height: 24px;
  z-index: 3;
}

.bf-wing {
  position: absolute;
  width: 14px;
  height: 18px;
  border-radius: 50% 50% 50% 10%;
  top: 0;
}

.bf-wing-l {
  left: 0;
  transform-origin: right center;
  animation: bfFlap 0.25s ease-in-out infinite alternate;
}

.bf-wing-r {
  right: 0;
  transform-origin: left center;
  transform: scaleX(-1);
  animation: bfFlap 0.25s ease-in-out infinite alternate-reverse;
}

@keyframes bfFlap {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(65deg); }
}

.bf-1 {
  top: 20%; left: 12%;
  animation: bfPath1 14s ease-in-out infinite;
}
.bf-1 .bf-wing { background: rgba(255, 183, 77, 0.75); border: 1px solid rgba(255, 152, 0, 0.3); }

.bf-2 {
  top: 28%; right: 15%;
  animation: bfPath2 18s ease-in-out infinite;
}
.bf-2 .bf-wing { background: rgba(240, 98, 146, 0.65); border: 1px solid rgba(233, 30, 99, 0.3); }

.bf-3 {
  top: 15%; left: 55%;
  animation: bfPath3 16s ease-in-out infinite;
}
.bf-3 .bf-wing { background: rgba(149, 117, 205, 0.65); border: 1px solid rgba(103, 58, 183, 0.3); }

.bf-4 {
  top: 32%; left: 30%;
  animation: bfPath4 20s ease-in-out infinite;
}
.bf-4 .bf-wing { background: rgba(129, 212, 250, 0.65); border: 1px solid rgba(33, 150, 243, 0.3); }

@keyframes bfPath1 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(50px, -35px) rotate(25deg); }
  50% { transform: translate(90px, 15px) rotate(-10deg); }
  75% { transform: translate(35px, 35px) rotate(-30deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes bfPath2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-55px, -25px) rotate(-20deg); }
  50% { transform: translate(-25px, 25px) rotate(15deg); }
  75% { transform: translate(-65px, -15px) rotate(-25deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes bfPath3 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-40px, 30px) rotate(30deg); }
  50% { transform: translate(20px, 50px) rotate(-15deg); }
  75% { transform: translate(40px, 10px) rotate(20deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes bfPath4 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(-20deg); }
  50% { transform: translate(-20px, -20px) rotate(10deg); }
  75% { transform: translate(-40px, 20px) rotate(25deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.bf-5 {
  top: 24%; right: 35%;
  animation: bfPath5 15s ease-in-out infinite;
}
.bf-5 .bf-wing { background: rgba(165, 214, 167, 0.7); border: 1px solid rgba(76, 175, 80, 0.3); }

.bf-6 {
  top: 12%; left: 35%;
  animation: bfPath6 17s ease-in-out infinite;
}
.bf-6 .bf-wing { background: rgba(255, 224, 130, 0.7); border: 1px solid rgba(255, 193, 7, 0.3); }

@keyframes bfPath5 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(45px, 25px) rotate(20deg); }
  50% { transform: translate(-30px, 40px) rotate(-25deg); }
  75% { transform: translate(-50px, -10px) rotate(15deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes bfPath6 {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-35px, -30px) rotate(-15deg); }
  50% { transform: translate(40px, -10px) rotate(20deg); }
  75% { transform: translate(20px, 30px) rotate(-10deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* ===== SPARKLES ===== */
.sparkle {
  position: fixed;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.8);
  box-shadow: 0 0 6px 2px rgba(255, 215, 0, 0.3);
  animation: sparkleGlow 3s ease-in-out infinite;
  z-index: 3;
}

.sparkle::before, .sparkle::after {
  content: '';
  position: absolute;
  background: rgba(255, 215, 0, 0.6);
}

.sparkle::before {
  width: 12px; height: 1.5px; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 1px;
}

.sparkle::after {
  width: 1.5px; height: 12px; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 1px;
}

.sparkle-1 { top: 16%; left: 18%; animation-delay: 0s; }
.sparkle-2 { top: 26%; right: 16%; animation-delay: 0.7s; }
.sparkle-3 { top: 10%; left: 58%; animation-delay: 1.4s; }
.sparkle-4 { top: 33%; left: 6%; animation-delay: 2s; }
.sparkle-5 { top: 20%; right: 28%; animation-delay: 0.3s; }
.sparkle-6 { top: 8%; left: 32%; animation-delay: 1.8s; }
.sparkle-7 { top: 30%; right: 8%; animation-delay: 1.1s; }

@keyframes sparkleGlow {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* ===== CONTENT ===== */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  padding: 24px 20px 36vh;
  width: 100%;
  max-width: 480px;
}

.title {
  text-align: center;
  margin-bottom: 6px;
}

.title-brand {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(11px, 3vw, 13px);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8d6e63;
  margin-bottom: 2px;
}

.title-main {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 9vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.title-line1 {
  color: #d4650b;
  text-shadow: 0 2px 8px rgba(212, 101, 11, 0.15);
}

.title-line2 {
  color: #c2185b;
  text-shadow: 0 2px 8px rgba(194, 24, 91, 0.15);
}

.subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(14px, 3.5vw, 16px);
  color: #5D4037;
  text-align: center;
  margin-bottom: 20px;
  opacity: 0.85;
  font-weight: 400;
}

/* ===== PROGRESS DOTS ===== */
.progress {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: center;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(212, 101, 11, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(4px);
}

.dot.active {
  background: #d4650b;
  border-color: #d4650b;
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(212, 101, 11, 0.5);
}

/* ===== EGG ===== */
.egg-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.egg-wrapper {
  position: relative;
  width: 170px;
  height: 220px;
}

.egg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255, 183, 77, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: eggGlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes eggGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.egg {
  position: relative;
  width: 160px; height: 200px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
  animation: eggIdle 3s ease-in-out infinite;
}

@keyframes eggIdle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(0.5deg); }
}

.egg.shake-1, .egg.shake-2, .egg.shake-3 { animation: none; }

.egg-top {
  position: absolute;
  top: 0; left: 0;
  width: 160px; height: 112px;
  background: linear-gradient(145deg, #fff8e1 0%, #ffe082 20%, #ffca28 45%, #ffb300 70%, #ffa000 100%);
  border-radius: 80px 80px 0 0 / 112px 112px 0 0;
  overflow: hidden;
  z-index: 3;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  transform-origin: center bottom;
}

.egg-highlight {
  position: absolute;
  width: 45px; height: 65px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
  border-radius: 50%;
  top: 8px; left: 22px;
  transform: rotate(-15deg);
}

.egg-highlight-small {
  position: absolute;
  width: 12px; height: 18px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  top: 20px; left: 75px;
  transform: rotate(-10deg);
}

.egg-pattern-top {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  overflow: hidden;
}

.pattern-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding-top: 8px;
}

.pattern-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(194, 24, 91, 0.35);
  display: block;
}

.pattern-wave {
  position: absolute;
  bottom: 4px; left: -10px; right: -10px;
  height: 16px;
  border-top: 2.5px solid rgba(194, 24, 91, 0.2);
  border-radius: 50%;
}

.egg-bottom {
  position: absolute;
  bottom: 0; left: 0;
  width: 160px; height: 90px;
  background: linear-gradient(145deg, #ffca28 0%, #ffb300 30%, #ffa000 60%, #ff8f00 100%);
  border-radius: 0 0 65px 65px / 0 0 90px 90px;
  z-index: 2;
  overflow: hidden;
}

/* Jagged broken edge - overlay on egg-bottom, visible when top flies off */
.egg-jagged {
  position: absolute;
  top: 108px; left: 8px;
  width: 144px; height: 22px;
  background: linear-gradient(145deg, #ffca28, #ffb300);
  clip-path: polygon(
    0% 100%,
    0% 55%,
    5% 25%,
    9% 65%,
    14% 15%,
    19% 60%,
    24% 8%,
    29% 50%,
    34% 12%,
    39% 55%,
    44% 5%,
    49% 48%,
    54% 10%,
    59% 52%,
    64% 0%,
    69% 48%,
    74% 12%,
    79% 55%,
    84% 18%,
    89% 60%,
    94% 22%,
    100% 55%,
    100% 100%
  );
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.egg-jagged.visible {
  opacity: 1;
}

.egg-pattern-bottom {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.pattern-zigzag {
  position: absolute;
  top: 8px; left: 0; right: 0; height: 18px;
  background: repeating-linear-gradient(90deg, transparent 0px, transparent 10px, rgba(194,24,91,0.2) 10px, rgba(194,24,91,0.2) 11px);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M0 18 L10 0 L20 18' fill='white'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M0 18 L10 0 L20 18' fill='white'/%3E%3C/svg%3E");
  mask-size: 20px 18px; -webkit-mask-size: 20px 18px;
  mask-repeat: repeat-x; -webkit-mask-repeat: repeat-x;
}

.pattern-stripe {
  position: absolute;
  top: 32px; left: 15px; right: 15px;
  height: 10px;
  background: rgba(194, 24, 91, 0.15);
  border-radius: 5px;
}

.pattern-dots-bottom { padding-top: 50px; }
.pattern-dots-bottom span { background: rgba(255, 255, 255, 0.2); }

.egg-shadow {
  position: absolute;
  bottom: -10px; left: 30px;
  width: 100px; height: 18px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* ===== SVG CRACKS ===== */
.crack-svg {
  position: absolute;
  z-index: 6;
  opacity: 0;
  overflow: visible;
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.crack-svg-1 {
  width: 55px; height: 45px;
  bottom: 2px; left: 50%;
  transform: translateX(-50%) scale(0.6);
}

.crack-svg-2 {
  width: 65px; height: 50px;
  bottom: 0; left: 15%;
  transform: scale(0.6);
}

.crack-svg-3 {
  width: 45px; height: 40px;
  bottom: 5px; right: 15%;
  transform: scale(0.6);
}

/* Crack growth stages */
.crack-svg.crack-grow-1 { transform: translateX(-50%) scale(0.8); }
.crack-svg.crack-grow-2 { transform: translateX(-50%) scale(1.1); }
.crack-svg.crack-grow-3 { transform: translateX(-50%) scale(1.4); }
.crack-svg-2.crack-grow-1 { transform: scale(0.8); }
.crack-svg-2.crack-grow-2 { transform: scale(1.15); }
.crack-svg-3.crack-grow-1 { transform: scale(0.8); }
.crack-svg-3.crack-grow-2 { transform: scale(1.15); }

/* ===== TAP HINT ===== */
.tap-hint {
  position: absolute;
  bottom: -38px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(212, 101, 11, 0.7);
  animation: tapHintPulse 2s ease-in-out infinite;
  white-space: nowrap;
  z-index: 20;
  transition: opacity 0.4s;
}

.tap-hint.hidden { opacity: 0 !important; pointer-events: none; animation: none; }

@keyframes tapHintPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(-3px); }
}

/* ===== SHAKE ANIMATIONS ===== */
@keyframes shake1 {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-4px) rotate(-2deg); }
  40% { transform: translateX(4px) rotate(2deg); }
  60% { transform: translateX(-3px) rotate(-1deg); }
  80% { transform: translateX(3px) rotate(1deg); }
}

@keyframes shake2 {
  0%, 100% { transform: translateX(0) rotate(0); }
  15% { transform: translateX(-6px) rotate(-3deg); }
  30% { transform: translateX(6px) rotate(3deg); }
  45% { transform: translateX(-5px) rotate(-2deg); }
  60% { transform: translateX(5px) rotate(2deg); }
  75% { transform: translateX(-3px) rotate(-1deg); }
  90% { transform: translateX(3px) rotate(1deg); }
}

@keyframes shake3 {
  0%, 100% { transform: translateX(0) rotate(0); }
  10% { transform: translateX(-8px) rotate(-4deg); }
  20% { transform: translateX(8px) rotate(4deg); }
  30% { transform: translateX(-7px) rotate(-3deg); }
  40% { transform: translateX(7px) rotate(3deg); }
  50% { transform: translateX(-6px) rotate(-2deg); }
  60% { transform: translateX(6px) rotate(2deg); }
  70% { transform: translateX(-4px) rotate(-1deg); }
  80% { transform: translateX(4px) rotate(1deg); }
}

.egg.shake-1 { animation: shake1 0.5s ease-in-out; }
.egg.shake-2 { animation: shake2 0.6s ease-in-out; }
.egg.shake-3 { animation: shake3 0.7s ease-in-out; }

.egg-top.cracked {
  animation: topFlyOff 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes topFlyOff {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  30% { transform: translateY(-40px) rotate(-15deg); opacity: 1; }
  60% { transform: translateY(-80px) rotate(-30deg); opacity: 0.7; }
  100% { transform: translateY(-150px) rotate(-45deg); opacity: 0; }
}

/* ===== SHELL PARTICLES ===== */
.shell-particle {
  position: absolute;
  background: linear-gradient(135deg, #fff8e1, #ffca28);
  border-radius: 2px;
  z-index: 20;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@keyframes particleFall {
  0% { opacity: 1; transform: translate(var(--px), var(--py)) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--ex), var(--ey)) rotate(var(--rot)); }
}

/* ===== CHICK ===== */
.chick {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%) scale(0);
  z-index: 15;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chick.visible {
  transform: translateX(-50%) scale(1);
  animation: chickBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes chickBounce {
  0% { transform: translateX(-50%) scale(0) translateY(20px); }
  50% { transform: translateX(-50%) scale(1.1) translateY(-10px); }
  70% { transform: translateX(-50%) scale(0.95) translateY(0); }
  100% { transform: translateX(-50%) scale(1) translateY(0); }
}

.chick-body {
  position: relative;
  width: 70px; height: 65px;
  background: radial-gradient(ellipse at 40% 40%, #fff176, #ffee58, #fdd835);
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,0.05);
}

.chick-head {
  position: absolute;
  top: -25px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 45px;
  background: radial-gradient(ellipse at 40% 40%, #fff176, #ffee58, #fdd835);
  border-radius: 50%;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.04);
}

.chick-eye {
  position: absolute;
  width: 8px; height: 10px;
  background: #212121;
  border-radius: 50%;
  top: 15px;
}

.chick-eye::after {
  content: '';
  position: absolute;
  width: 3px; height: 3px;
  background: white;
  border-radius: 50%;
  top: 2px; left: 2px;
}

.chick-eye-left { left: 12px; }
.chick-eye-right { right: 12px; }

.chick-beak {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #FF6D00;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.chick-blush {
  position: absolute;
  width: 10px; height: 6px;
  background: rgba(244, 143, 177, 0.5);
  border-radius: 50%;
  top: 24px;
}
.chick-blush-left { left: 5px; }
.chick-blush-right { right: 5px; }

.chick-wing {
  position: absolute;
  width: 22px; height: 30px;
  background: linear-gradient(180deg, #ffee58, #fdd835);
  border-radius: 50% 50% 50% 30%;
  top: 10px;
}

.chick-wing-left {
  left: -8px;
  transform: rotate(20deg);
  animation: wingWave 0.8s ease-in-out infinite alternate;
}

.chick-wing-right {
  right: -8px;
  transform: rotate(-20deg) scaleX(-1);
  animation: wingWave 0.8s ease-in-out infinite alternate-reverse;
}

@keyframes wingWave {
  from { transform: rotate(20deg); }
  to { transform: rotate(35deg); }
}

.chick-feet {
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.chick-foot {
  width: 14px; height: 6px;
  background: #FF6D00;
  border-radius: 0 0 50% 50%;
}

/* ===== WIN HEADER ===== */
.win-header {
  text-align: center;
  animation: fadeInUp 0.4s ease;
}

.win-label {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 6vw, 32px);
  color: #d4650b;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(212, 101, 11, 0.15);
}

/* ===== DISCOUNT REVEAL ===== */
.discount-reveal {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  animation: fadeInUp 0.6s ease;
  max-width: 400px;
  width: 100%;
}

.discount-reveal.visible { display: flex; }

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

.discount-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #5D4037;
  padding: 12px 28px;
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);
  animation: badgePulse 2.5s ease-in-out infinite;
}

.badge-icon {
  font-size: 24px;
  line-height: 1;
}

.badge-label {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(18px, 5vw, 24px);
  letter-spacing: 0.5px;
  color: #d4650b;
}

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

.discount-description {
  font-family: 'DM Sans', sans-serif;
  color: #5D4037;
  font-size: clamp(13px, 3.5vw, 15px);
  text-align: center;
  line-height: 1.5;
  font-weight: 400;
}

.codes-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Glassmorphism code cards */
.code-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: fadeInUp 0.4s ease backwards;
  transition: transform 0.2s, box-shadow 0.2s;
}

.code-card:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.code-card:nth-child(2) { animation-delay: 0.15s; }
.code-card:nth-child(3) { animation-delay: 0.3s; }

.code-info { flex: 1; min-width: 0; }

.code-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; color: #999;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 3px;
  font-weight: 500;
}

.code-value {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 700;
  color: #d4650b;
  letter-spacing: 1.5px;
  word-break: break-all;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #d4650b;
  border: 1px solid rgba(212, 101, 11, 0.2);
  border-radius: 10px;
  padding: 9px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(212, 101, 11, 0.1);
  border-color: rgba(212, 101, 11, 0.35);
}

.copy-btn:active { transform: scale(0.95); }

.copy-btn.copied {
  background: rgba(67, 160, 71, 0.15);
  color: #43a047;
  border-color: rgba(67, 160, 71, 0.3);
}

.discount-expiry {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; color: #999;
  text-align: center;
}

.multi-code-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #795548;
  text-align: center;
  line-height: 1.5;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  padding: 10px 16px;
  margin-top: 4px;
}

.shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #c2185b;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(15px, 4vw, 17px);
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: all 0.3s;
  margin-top: 4px;
}

.shop-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ===== COOLDOWN ===== */
.cooldown {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.cooldown.visible { display: flex; }

.cooldown-glass {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  padding: 20px 36px;
  text-align: center;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cooldown-text {
  font-family: 'DM Sans', sans-serif;
  color: #5D4037; font-size: 14px;
  opacity: 0.8; font-weight: 400;
  margin-bottom: 4px;
}

.cooldown-timer {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 700;
  color: #d4650b;
  letter-spacing: 3px;
}

/* ===== INFO SECTIONS ===== */
.info-sections {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
}

.info-card {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.info-card-highlight {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(212, 101, 11, 0.15);
}

.info-card-usps {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(212, 101, 11, 0.12);
  padding: 24px;
}

/* USP Grid */
.usp-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.usp-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.usp-icon {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.usp-text strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #5D4037;
  display: block;
  margin-bottom: 4px;
}

.usp-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #795548;
  line-height: 1.5;
}

.info-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-top: -8px;
  margin-bottom: 14px;
}

.info-title {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: #5D4037;
  margin-bottom: 14px;
  text-align: center;
}

/* Steps */
.info-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(212, 101, 11, 0.1);
  color: #d4650b;
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(212, 101, 11, 0.15);
}

.info-step {
  align-items: flex-start;
}

.step-text strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #5D4037;
  display: block;
  margin-bottom: 2px;
}

.step-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #795548;
  line-height: 1.45;
}

/* Discount list */
.discount-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.discount-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.15s;
}

.discount-list-item:hover { transform: translateX(2px); }

/* Row colors by rarity */
.dli-common { background: rgba(139,195,74,0.08); border-color: rgba(139,195,74,0.15); }
.dli-common .dl-label { color: #558b2f; }
.dli-uncommon { background: rgba(33,150,243,0.07); border-color: rgba(33,150,243,0.12); }
.dli-uncommon .dl-label { color: #1565c0; }
.dli-rare { background: rgba(171,71,188,0.07); border-color: rgba(171,71,188,0.12); }
.dli-rare .dl-label { color: #7b1fa2; }
.dli-legendary { background: rgba(255,152,0,0.08); border-color: rgba(255,152,0,0.15); }
.dli-legendary .dl-label { color: #bf360c; }

.dl-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.dl-rarity {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.dl-common { background: rgba(139,195,74,0.2); color: #33691e; }
.dl-uncommon { background: rgba(33,150,243,0.18); color: #0d47a1; }
.dl-rare { background: rgba(171,71,188,0.18); color: #6a1b9a; }
.dl-legendary { background: rgba(255,152,0,0.2); color: #bf360c; }

/* Promo items */
.promo-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.promo-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.promo-text strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #5D4037;
  display: block;
  margin-bottom: 4px;
}

.promo-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #795548;
  line-height: 1.45;
}

/* ===== GROUND & FLOWERS ===== */
.ground {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 33vh;
  min-height: 180px;
  max-height: 300px;
  z-index: 5;
  pointer-events: none;
}

.ground-layer {
  position: absolute;
  left: -5%; right: -5%;
  border-radius: 50% 50% 0 0;
}

.ground-back { bottom: 0; height: 80%; background: #7cb342; }
.ground-mid { bottom: 0; height: 60%; background: #8bc34a; }
.ground-front { bottom: 0; height: 40%; background: #9ccc65; }

/* ===== DETAILED FLOWERS ===== */
.deco-flower {
  position: absolute;
  bottom: 50px;
  z-index: 7;
}

.deco-flower-stem {
  width: 4px; height: 70px;
  background: linear-gradient(180deg, #689f38, #558b2f);
  margin: 0 auto;
  border-radius: 2px;
}

.deco-flower-head {
  position: relative;
  width: 40px; height: 40px;
  margin: 0 auto;
}

.deco-flower-head .petal {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  top: 50%; left: 50%;
}

.deco-flower-head .petal:nth-child(1) { transform: translate(-50%, -50%) translateY(-12px); }
.deco-flower-head .petal:nth-child(2) { transform: translate(-50%, -50%) rotate(72deg) translateY(-12px); }
.deco-flower-head .petal:nth-child(3) { transform: translate(-50%, -50%) rotate(144deg) translateY(-12px); }
.deco-flower-head .petal:nth-child(4) { transform: translate(-50%, -50%) rotate(216deg) translateY(-12px); }
.deco-flower-head .petal:nth-child(5) { transform: translate(-50%, -50%) rotate(288deg) translateY(-12px); }
.deco-flower-head .petal:nth-child(6) { transform: translate(-50%, -50%) rotate(330deg) translateY(-12px); }

.flower-center {
  position: absolute;
  width: 12px; height: 12px;
  background: #fdd835;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  z-index: 1;
}

.deco-flower-leaf {
  position: absolute;
  width: 20px; height: 12px;
  background: #7cb342;
  border-radius: 50%;
  top: 35px;
}

.deco-flower-leaf-left { left: -8px; transform: rotate(-30deg); }
.deco-flower-leaf-right { right: -8px; transform: rotate(30deg); }

.deco-flower-1 { left: 4%; bottom: 70px; animation: flowerSway 4s ease-in-out infinite; }
.deco-flower-1 .petal { background: #f48fb1; }
.deco-flower-1 .deco-flower-stem { height: 85px; }

.deco-flower-2 { left: 18%; bottom: 55px; animation: flowerSway 4.5s ease-in-out infinite reverse; }
.deco-flower-2 .petal { background: #ce93d8; }
.deco-flower-2 .deco-flower-stem { height: 65px; }

.deco-flower-3 { left: 38%; bottom: 65px; animation: flowerSway 3.8s ease-in-out infinite; }
.deco-flower-3 .deco-flower-stem { height: 75px; }

.tulip-head { width: 24px; height: 30px; }

.tulip-petal {
  position: absolute;
  width: 14px; height: 26px;
  background: #ef5350;
  border-radius: 50% 50% 0 0;
  bottom: 0;
}

.tulip-petal:nth-child(1) { left: 50%; transform: translateX(-50%); }
.tulip-petal:nth-child(2) { left: 50%; transform: translateX(-50%) translateX(-6px) rotate(-8deg); background: #e53935; }
.tulip-petal:nth-child(3) { left: 50%; transform: translateX(-50%) translateX(6px) rotate(8deg); background: #e53935; }

.tp-yellow { background: #fdd835 !important; }
.tp-yellow:nth-child(2) { background: #fbc02d !important; }
.tp-yellow:nth-child(3) { background: #fbc02d !important; }

.deco-flower-4 { right: 12%; bottom: 58px; animation: flowerSway 3.5s ease-in-out infinite reverse; }
.deco-flower-4 .petal { background: #fff; box-shadow: inset 0 0 2px rgba(0,0,0,0.05); }
.deco-flower-4 .deco-flower-stem { height: 60px; }
.deco-flower-4 .deco-flower-head { width: 32px; height: 32px; }
.deco-flower-4 .petal { width: 13px; height: 13px; }
.deco-flower-4 .petal:nth-child(1) { transform: translate(-50%, -50%) translateY(-10px); }
.deco-flower-4 .petal:nth-child(2) { transform: translate(-50%, -50%) rotate(72deg) translateY(-10px); }
.deco-flower-4 .petal:nth-child(3) { transform: translate(-50%, -50%) rotate(144deg) translateY(-10px); }
.deco-flower-4 .petal:nth-child(4) { transform: translate(-50%, -50%) rotate(216deg) translateY(-10px); }
.deco-flower-4 .petal:nth-child(5) { transform: translate(-50%, -50%) rotate(288deg) translateY(-10px); }
.deco-flower-4 .flower-center { width: 10px; height: 10px; background: #ffb74d; }

.deco-flower-5 { right: 30%; bottom: 62px; animation: flowerSway 4.2s ease-in-out infinite; animation-delay: -1s; }
.deco-flower-5 .deco-flower-stem { height: 70px; }

.deco-flower-6 { left: 58%; bottom: 52px; animation: flowerSway 3.6s ease-in-out infinite reverse; animation-delay: -2s; }
.deco-flower-6 .petal { background: #90caf9; }
.deco-flower-6 .deco-flower-stem { height: 58px; }
.deco-flower-6 .deco-flower-head { width: 36px; height: 36px; }
.deco-flower-6 .petal { width: 14px; height: 14px; }
.deco-flower-6 .petal:nth-child(1) { transform: translate(-50%, -50%) translateY(-11px); }
.deco-flower-6 .petal:nth-child(2) { transform: translate(-50%, -50%) rotate(60deg) translateY(-11px); }
.deco-flower-6 .petal:nth-child(3) { transform: translate(-50%, -50%) rotate(120deg) translateY(-11px); }
.deco-flower-6 .petal:nth-child(4) { transform: translate(-50%, -50%) rotate(180deg) translateY(-11px); }
.deco-flower-6 .petal:nth-child(5) { transform: translate(-50%, -50%) rotate(240deg) translateY(-11px); }
.deco-flower-6 .petal:nth-child(6) { transform: translate(-50%, -50%) rotate(300deg) translateY(-11px); }

@keyframes flowerSway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

/* ===== GRASS BLADES ===== */
.grass-blade {
  position: absolute;
  bottom: 0;
  width: 8px;
  background: linear-gradient(0deg, #7cb342, #9ccc65);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom center;
  z-index: 8;
}

.gb-1 { left: 2%; height: 95px; animation: grassSway 3s ease-in-out infinite; }
.gb-2 { left: 10%; height: 78px; width: 7px; animation: grassSway 3.5s ease-in-out infinite reverse; animation-delay: -0.5s; }
.gb-3 { left: 22%; height: 88px; animation: grassSway 2.8s ease-in-out infinite; animation-delay: -1s; }
.gb-4 { left: 32%; height: 70px; width: 7px; animation: grassSway 3.2s ease-in-out infinite reverse; }
.gb-5 { left: 42%; height: 92px; animation: grassSway 3s ease-in-out infinite; animation-delay: -1.5s; }
.gb-6 { left: 52%; height: 80px; width: 7px; animation: grassSway 3.4s ease-in-out infinite reverse; animation-delay: -0.8s; }
.gb-7 { left: 62%; height: 85px; animation: grassSway 2.9s ease-in-out infinite; animation-delay: -2s; }
.gb-8 { left: 72%; height: 74px; width: 7px; animation: grassSway 3.6s ease-in-out infinite reverse; }
.gb-9 { left: 80%; height: 96px; animation: grassSway 3.1s ease-in-out infinite; animation-delay: -0.3s; }
.gb-10 { left: 88%; height: 68px; width: 7px; animation: grassSway 3.3s ease-in-out infinite reverse; animation-delay: -1.2s; }
.gb-11 { left: 95%; height: 82px; animation: grassSway 2.7s ease-in-out infinite; animation-delay: -1.8s; }
.gb-12 { left: 15%; height: 62px; width: 6px; animation: grassSway 3.8s ease-in-out infinite; animation-delay: -2.5s; }

@keyframes grassSway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

/* ===== MINI EGGS IN GRASS ===== */
.mini-egg {
  position: absolute;
  bottom: 20px;
  z-index: 9;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.mini-egg-1 {
  left: 14%; width: 18px; height: 24px;
  background: linear-gradient(135deg, #e1bee7, #ce93d8);
  transform: rotate(-15deg);
}

.mini-egg-2 {
  right: 22%; width: 16px; height: 22px;
  background: linear-gradient(135deg, #b3e5fc, #81d4fa);
  transform: rotate(10deg);
}

.mini-egg-3 {
  left: 48%; width: 15px; height: 20px;
  background: linear-gradient(135deg, #fff9c4, #fff176);
  transform: rotate(-8deg);
}

.mini-egg-4 {
  left: 6%; width: 14px; height: 19px;
  bottom: 25px;
  background: linear-gradient(135deg, #ffccbc, #ff8a65);
  transform: rotate(18deg);
}

.mini-egg-5 {
  right: 8%; width: 17px; height: 23px;
  bottom: 22px;
  background: linear-gradient(135deg, #c8e6c9, #81c784);
  transform: rotate(-12deg);
}

.mini-egg-6 {
  left: 35%; width: 14px; height: 19px;
  bottom: 28px;
  background: linear-gradient(135deg, #f8bbd0, #f48fb1);
  transform: rotate(5deg);
}

/* Flower 7 - pink tulip */
.tp-pink { background: #f48fb1 !important; }
.tp-pink:nth-child(2) { background: #ec407a !important; }
.tp-pink:nth-child(3) { background: #ec407a !important; }

.deco-flower-7 { left: 72%; bottom: 64px; animation: flowerSway 4.1s ease-in-out infinite; animation-delay: -0.6s; }
.deco-flower-7 .deco-flower-stem { height: 72px; }

/* Flower 8 - orange daisy */
.deco-flower-8 { left: 88%; bottom: 56px; animation: flowerSway 3.7s ease-in-out infinite reverse; animation-delay: -1.4s; }
.deco-flower-8 .petal { background: #ffb74d; }
.deco-flower-8 .deco-flower-stem { height: 64px; }

/* ===== BUSHES ===== */
.bush {
  position: absolute;
  border-radius: 50% 50% 20% 20%;
  z-index: 6;
}

.bush-1 {
  left: 26%; width: 65px; height: 45px;
  background: radial-gradient(ellipse at 50% 60%, #8bc34a, #689f38);
  bottom: 35px;
}

.bush-2 {
  right: 16%; width: 80px; height: 52px;
  background: radial-gradient(ellipse at 50% 60%, #9ccc65, #7cb342);
  bottom: 30px;
}

.bush-3 {
  left: 56%; width: 55px; height: 38px;
  background: radial-gradient(ellipse at 50% 60%, #aed581, #8bc34a);
  bottom: 38px;
}

/* ===== FERN CLUSTERS ===== */
.fern-cluster {
  position: absolute;
  bottom: 10px;
  z-index: 7;
}

.fern-frond {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5px;
  background: linear-gradient(0deg, #558b2f, #7cb342 40%, #9ccc65 100%);
  border-radius: 3px 3px 50% 50%;
  transform-origin: bottom center;
}

/* Fronds splay outward from center */
.ff-1 { height: 80px; transform: translateX(-50%) rotate(-25deg); animation: fernSway 3.5s ease-in-out infinite; }
.ff-2 { height: 90px; transform: translateX(-50%) rotate(-10deg); animation: fernSway 4s ease-in-out infinite reverse; animation-delay: -0.5s; }
.ff-3 { height: 95px; transform: translateX(-50%) rotate(3deg); animation: fernSway 3.8s ease-in-out infinite; animation-delay: -1s; }
.ff-4 { height: 88px; transform: translateX(-50%) rotate(16deg); animation: fernSway 4.2s ease-in-out infinite reverse; animation-delay: -1.5s; }
.ff-5 { height: 75px; transform: translateX(-50%) rotate(28deg); animation: fernSway 3.6s ease-in-out infinite; animation-delay: -0.8s; }
.ff-6 { height: 70px; transform: translateX(-50%) rotate(-35deg); animation: fernSway 3.4s ease-in-out infinite reverse; animation-delay: -2s; }

@keyframes fernSway {
  0%, 100% { transform: translateX(-50%) rotate(var(--base-rot, 0deg)); }
  50% { transform: translateX(-50%) rotate(calc(var(--base-rot, 0deg) + 3deg)); }
}

/* Fern leaves (pseudo elements for leaf-like shape) */
.fern-frond::before, .fern-frond::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 5px;
  background: #8bc34a;
  border-radius: 50%;
}

.fern-frond::before {
  top: 25%; left: -10px;
  transform: rotate(-35deg);
}

.fern-frond::after {
  top: 50%; right: -10px;
  transform: rotate(35deg);
}

/* Hidden eggs nestled in fern bases */
.fern-egg {
  position: absolute;
  bottom: 2px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
  z-index: 6;
}

.fe-1 { left: -4px; width: 14px; height: 18px; background: linear-gradient(135deg, #ffcdd2, #ef9a9a); transform: rotate(-8deg); }
.fe-2 { left: 2px; width: 12px; height: 16px; background: linear-gradient(135deg, #dcedc8, #aed581); transform: rotate(12deg); }
.fe-3 { left: -6px; width: 13px; height: 17px; background: linear-gradient(135deg, #e1bee7, #ba68c8); transform: rotate(-5deg); }
.fe-4 { left: 10px; width: 11px; height: 15px; background: linear-gradient(135deg, #b3e5fc, #4fc3f7); transform: rotate(10deg); bottom: 5px; }
.fe-5 { left: -2px; width: 13px; height: 17px; background: linear-gradient(135deg, #ffe0b2, #ffb74d); transform: rotate(7deg); }

/* Cluster positions */
.fern-cluster-1 { left: 8%; bottom: 15px; }
.fern-cluster-2 { right: 5%; bottom: 12px; }
.fern-cluster-3 { left: 45%; bottom: 18px; }
.fern-cluster-4 { right: 35%; bottom: 14px; }

/* Vary frond sizes per cluster */
.fern-cluster-2 .fern-frond { width: 4px; }
.fern-cluster-2 .ff-1 { height: 70px; }
.fern-cluster-2 .ff-2 { height: 80px; }
.fern-cluster-2 .ff-3 { height: 85px; }
.fern-cluster-2 .ff-4 { height: 72px; }

.fern-cluster-3 .ff-1 { height: 90px; }
.fern-cluster-3 .ff-2 { height: 100px; }
.fern-cluster-3 .ff-3 { height: 105px; }
.fern-cluster-3 .ff-4 { height: 95px; }
.fern-cluster-3 .ff-5 { height: 85px; }
.fern-cluster-3 .ff-6 { height: 78px; }

.fern-cluster-4 .fern-frond { width: 4px; }
.fern-cluster-4 .ff-1 { height: 65px; }
.fern-cluster-4 .ff-2 { height: 75px; }
.fern-cluster-4 .ff-3 { height: 78px; }
.fern-cluster-4 .ff-4 { height: 68px; }

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

/* ===== RESPONSIVE ===== */
@media (max-height: 650px) {
  .title-main { font-size: 28px; }
  .subtitle { font-size: 13px; margin-bottom: 12px; }
  .egg-wrapper { width: 130px; height: 170px; }
  .egg { width: 120px; height: 150px; }
  .egg-top { width: 120px; height: 84px; border-radius: 60px 60px 0 0 / 84px 84px 0 0; }
  .egg-bottom { width: 120px; height: 68px; border-radius: 0 0 50px 50px / 0 0 68px 68px; }
  .chick { bottom: 30px; }
  .chick-body { width: 55px; height: 50px; }
  .chick-head { width: 40px; height: 36px; top: -20px; }
  .ground { height: 25vh; min-height: 120px; }
  .deco-flower { bottom: 30px; }
  .deco-flower-stem { height: 45px; }
  .deco-flower-head { width: 30px; height: 30px; }
  .grass-blade { width: 6px; }
  .tap-hint { bottom: -30px; }
  .egg-glow { width: 160px; height: 160px; }
}

@media (max-width: 380px) {
  .code-card { padding: 10px 14px; }
  .code-value { font-size: 14px; }
  .copy-btn { padding: 7px 12px; font-size: 12px; }
  .info-card { padding: 18px 16px; }
}

/* ===== LOADING STATE ===== */
.loading .egg { opacity: 0.7; pointer-events: none; }

.loading .subtitle::after {
  content: '...';
  animation: loadingDots 1s infinite;
}

@keyframes loadingDots {
  0% { content: '.'; }
  33% { content: '..'; }
  66% { content: '...'; }
}
