* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  background: #0b0b10;
  color: white;
}

/* ================= BACKGROUND ================= */

.bg {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.aurora {
  position: absolute;
  width: 120%;
  height: 120%;
  background:
    radial-gradient(circle at 20% 30%, #ff4d88 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, #7c4dff 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, #00e5ff 0%, transparent 50%);
  filter: blur(90px);
  opacity: 0.55;
  animation: glowMove 10s infinite alternate;
}

.vignette {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.85));
}

/* ================= LAYOUT ================= */

.wrapper {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px;
  z-index: 2;
}

.content {
  width: 45%;
}

.badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ff6fa3;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 70px;
  line-height: 1.05;
  margin-top: 20px;
}

h1 span {
  color: #ff4d88;
}

p {
  margin-top: 15px;
  opacity: 0.75;
  font-weight: 300;
}

/* ================= SCENE ================= */

.scene {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================= CAKE (REALISTIC CORE) ================= */

.cake {
  position: relative;
  width: 270px;
  height: 330px;
  cursor: pointer;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 35px 40px rgba(0,0,0,0.6));
}

/* PLATE */
.plate {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  height: 24px;
  background: radial-gradient(circle at 30% 30%, #fff, #cfcfcf);
  border-radius: 50%;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

/* LAYERS (REAL BAKERY DEPTH) */

.layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 24px;
  box-shadow:
    inset 0 -15px 25px rgba(0,0,0,0.25),
    inset 0 10px 20px rgba(255,255,255,0.15);
}

.l1 {
  bottom: 60px;
  width: 200px;
  height: 70px;
  background: linear-gradient(145deg, #ffb3d1, #ff4d88);
}

.l2 {
  bottom: 135px;
  width: 230px;
  height: 75px;
  background: linear-gradient(145deg, #ff6fa3, #e91e63);
}

.l3 {
  bottom: 215px;
  width: 250px;
  height: 75px;
  background: linear-gradient(145deg, #ff4d88, #8b0f45);
}

/* ICING */
.icing {
  position: absolute;
  bottom: 205px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 30px;
  background: white;
  border-radius: 25px;
  box-shadow: inset 0 -6px 10px rgba(0,0,0,0.1);
}

/* DRIP EFFECT */
.icing::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 20px;
  bottom: -14px;
  left: 0;
  background:
    radial-gradient(circle at 20% 0%, white 10px, transparent 11px),
    radial-gradient(circle at 50% 0%, white 12px, transparent 13px),
    radial-gradient(circle at 80% 0%, white 9px, transparent 10px);
}

/* CANDLE */
.candle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 75px;
  background: repeating-linear-gradient(
    45deg,
    #fff,
    #fff 5px,
    #ff4d88 5px,
    #ff4d88 10px
  );
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* FLAME (REALISTIC) */
.flame {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 24px;
  background: radial-gradient(circle, #fff59d, #ff6f00, #ff3d00);
  border-radius: 50%;
  box-shadow:
    0 0 25px rgba(255,140,0,0.9),
    0 0 60px rgba(255,77,136,0.5);
  animation: flicker 0.12s infinite;
}

/* HINT */
.hint {
  margin-top: 25px;
  color: #ff6fa3;
  font-size: 14px;
}

/* ================= ANIMATIONS ================= */

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes flicker {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.25); }
  100% { transform: translateX(-50%) scale(0.95); }
}

@keyframes glowMove {
  0% { transform: translateX(-5%) translateY(-5%); }
  100% { transform: translateX(5%) translateY(5%); }
}