* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Baloo 2", system-ui, sans-serif;
  color: #59414f;
  background: linear-gradient(180deg, #fff7fb 0%, #f3fbff 42%, #fff8df 100%);
  overflow-x: hidden;
}
.sky { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.cloud { position: absolute; width: 130px; height: 46px; border-radius: 99px; background: rgba(255,255,255,.78); filter: drop-shadow(0 10px 18px rgba(255, 174, 201, .18)); animation: floatCloud 18s linear infinite; }
.cloud::before,.cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 60px; height: 60px; left: 22px; top: -28px; }
.cloud::after { width: 78px; height: 78px; right: 16px; top: -42px; }
.c1 { top: 110px; left: -140px; animation-delay: 0s; }
.c2 { top: 300px; left: -220px; animation-delay: 6s; transform: scale(.8); }
.c3 { top: 520px; left: -190px; animation-delay: 11s; transform: scale(1.1); }
.balloon { position: absolute; width: 54px; height: 70px; border-radius: 50% 50% 46% 46%; opacity: .55; animation: up 12s ease-in-out infinite; }
.balloon::after { content:""; position:absolute; left:26px; top:70px; width:2px; height:82px; background:rgba(89,65,79,.22); }
.b1 { left: 8%; bottom: -120px; background:#ff9fc2; animation-delay:0s; }
.b2 { left: 84%; bottom: -160px; background:#92e3ff; animation-delay:4s; }
.b3 { left: 66%; bottom: -130px; background:#ffe07a; animation-delay:7s; }
.hero, main, footer { position: relative; z-index: 1; }
.hero { min-height: 92vh; padding: 24px clamp(18px, 5vw, 70px); }
.nav { display: flex; justify-content: space-between; align-items: center; max-width: 1160px; margin: 0 auto; }
.logo { background: #fff; border: 3px solid #ffd1df; border-radius: 999px; padding: 9px 20px; font-weight: 800; color: #ff679b; box-shadow: 0 12px 30px rgba(255, 122, 170, .18); }
.nav a { color: #ff679b; font-weight: 800; text-decoration: none; background:#fff; padding:9px 18px; border-radius:999px; border:2px solid #ffd1df; }
.hero-content { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; max-width: 1160px; margin: 80px auto 0; }
.badge, .mini { display: inline-block; margin: 0 0 14px; background: #fff0a8; color: #b37b00; padding: 8px 16px; border-radius: 999px; font-weight: 800; }
h1 { font-size: clamp(38px, 6vw, 74px); line-height: .98; margin: 0; color: #ff679b; letter-spacing: -1px; }
.desc { max-width: 600px; font-size: 21px; line-height: 1.55; color: #7c6270; }
.btn, button { font-family: inherit; cursor: pointer; }
.btn { display:inline-block; text-decoration:none; color:#fff; background: linear-gradient(135deg,#ff7aaa,#ffb86c); padding: 15px 30px; border-radius:999px; font-size:20px; font-weight:800; box-shadow:0 16px 30px rgba(255,122,170,.28); }
.hero-card { position: relative; min-height: 430px; border-radius: 46px; background: linear-gradient(180deg,#bff1ff,#fff6c9); box-shadow:0 30px 70px rgba(137,198,255,.28); overflow:hidden; border: 8px solid rgba(255,255,255,.85); }
.sun { position:absolute; top:46px; right:52px; width:92px; height:92px; border-radius:50%; background:#ffe06f; box-shadow:0 0 0 18px rgba(255,224,111,.22); }
.bear { position:absolute; left:50%; bottom:76px; transform:translateX(-50%); width:220px; height:205px; }
.ear { position:absolute; top:0; width:76px; height:76px; border-radius:50%; background:#c58b60; }
.ear.left { left:14px; } .ear.right { right:14px; }
.face { position:absolute; bottom:0; left:0; width:220px; height:178px; border-radius:48% 48% 42% 42%; background:#d99b6d; box-shadow: inset 0 -14px 0 rgba(114,77,55,.08); }
.eye { position:absolute; top:66px; width:18px; height:24px; border-radius:50%; background:#4e382e; }
.e1 { left:68px; } .e2 { right:68px; }
.nose { position:absolute; left:50%; top:91px; transform:translateX(-50%); width:32px; height:24px; border-radius:50%; background:#4e382e; }
.smile { position:absolute; left:50%; top:120px; transform:translateX(-50%); width:58px; height:28px; border-bottom:5px solid #4e382e; border-radius:0 0 70px 70px; }
.grass { position:absolute; left:-5%; right:-5%; bottom:-28px; height:110px; border-radius:50% 50% 0 0; background:#9ee68f; }
.wishes { max-width:1160px; margin: 0 auto; padding: 46px clamp(18px,5vw,70px); }
h2 { font-size: clamp(32px, 4vw, 52px); color:#ff679b; margin: 0 0 24px; text-align:center; }
.wish-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.wish-grid article { background:rgba(255,255,255,.85); border:3px solid #ffe0ea; border-radius:30px; padding:26px; box-shadow:0 18px 40px rgba(255,122,170,.12); }
.wish-grid span { color:#ff8bb4; font-weight:800; }
.wish-grid h3 { font-size:26px; margin: 8px 0; }
.wish-grid p { font-size:18px; line-height:1.45; margin:0; color:#7c6270; }
.gift-section { padding: 54px clamp(18px,5vw,70px) 80px; }
.gift-card { max-width: 920px; margin:0 auto; text-align:center; background:rgba(255,255,255,.92); border:4px solid #ffd1df; border-radius:42px; padding:34px; box-shadow:0 30px 80px rgba(255,122,170,.18); }
.gift-note { font-size:19px; color:#7c6270; max-width:680px; margin:0 auto 18px; }
.status-box { display:inline-flex; align-items:center; justify-content:center; padding:10px 18px; margin: 8px 0 22px; border-radius:999px; background:#f3fbff; border:2px dashed #92dff7; font-weight:800; color:#348aa6; }
.gift-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; max-width: 590px; margin: 0 auto 22px; }
.box { min-height:120px; border:0; border-radius:28px; background:linear-gradient(180deg,#ff94bd,#ff6fa8); box-shadow:0 16px 28px rgba(255,111,168,.24); position:relative; color:#fff; font-size:34px; font-weight:900; overflow:hidden; transition:.18s ease; }
.box:nth-child(2), .box:nth-child(5){ background:linear-gradient(180deg,#8be3ff,#54c4ed); }
.box:nth-child(3), .box:nth-child(6){ background:linear-gradient(180deg,#ffe388,#ffc04f); }
.box:hover:not(:disabled){ transform: translateY(-8px) rotate(-2deg); }
.box:disabled { cursor:not-allowed; filter: grayscale(.25); opacity:.55; }
.box span { position:absolute; left:0; right:0; top:36px; height:18px; background:rgba(255,255,255,.95); }
.box::before { content:""; position:absolute; top:0; bottom:0; left:50%; width:18px; transform:translateX(-50%); background:rgba(255,255,255,.92); }
.box b { position:relative; z-index:2; display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; margin-top:28px; border-radius:50%; background:rgba(255,255,255,.25); }
.box.opened { animation: tada .72s ease both; }
.result { min-height: 96px; display:flex; align-items:center; justify-content:center; background:#fff8df; border:3px dashed #ffd56a; border-radius:26px; padding:18px; font-size:22px; color:#7c6270; }
.result strong { color:#ff679b; font-size:28px; }
.unlock-panel { margin-top:24px; padding:22px; border-radius:28px; background:#fff7fb; border:3px solid #ffe0ea; text-align:left; }
.unlock-panel h3 { margin:0 0 4px; color:#ff679b; font-size:30px; text-align:center; }
.small { margin:0 0 14px; text-align:center; color:#7c6270; }
.row { display:flex; gap:10px; margin:10px auto; max-width:560px; }
input { flex:1; font-family:inherit; border:3px solid #ffd1df; border-radius:18px; padding:13px 16px; font-size:18px; outline:none; color:#59414f; }
input:focus { border-color:#ff7aaa; box-shadow:0 0 0 4px rgba(255,122,170,.14); }
.row button { border:0; border-radius:18px; padding:12px 18px; background:#ff7aaa; color:#fff; font-weight:800; font-size:18px; }
.riddle { max-width:680px; margin:18px auto 0; background:#fff; border-radius:22px; padding:14px; border:2px solid #ffe0ea; }
.riddle p { margin:0 0 8px; color:#7c6270; font-size:18px; }
.unlock-msg { min-height: 28px; text-align:center; font-weight:800; color:#348aa6; }
footer { text-align:center; padding:30px; color:#9a7d8c; font-weight:700; }
.confetti { position: fixed; width: 12px; height: 12px; border-radius: 4px; z-index: 30; pointer-events: none; animation: pop .95s ease-out forwards; }
@keyframes floatCloud { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 260px)); } }
@keyframes up { 0%,100% { transform:translateY(0) rotate(-3deg); } 50% { transform:translateY(-90vh) rotate(5deg); } }
@keyframes tada { 0%{transform:scale(1)} 20%{transform:scale(.88) rotate(-5deg)} 45%{transform:scale(1.13) rotate(5deg)} 70%{transform:scale(1.02) rotate(-2deg)} 100%{transform:scale(1) rotate(0)} }
@keyframes pop { 0% { transform: translate(0, 0) scale(.5) rotate(0deg); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(1) rotate(260deg); opacity: 0; } }
@media (max-width: 820px) {
  .hero-content { grid-template-columns:1fr; margin-top:48px; }
  .hero-card { min-height:340px; }
  .wish-grid { grid-template-columns:1fr; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .row { flex-direction:column; }
  h1 { font-size: 43px; }
}


.box em {
  position: relative;
  z-index: 3;
  display: block;
  width: calc(100% - 18px);
  margin: 8px auto 0;
  padding: 6px 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color: #ff679b;
  font-size: 15px;
  line-height: 1.15;
  font-style: normal;
  font-weight: 900;
}

.result small {
  display: inline-block;
  margin-top: 8px;
  color: #7c6270;
  font-size: 16px;
}

.unlock-panel input:disabled,
.unlock-panel button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
