:root {
  --ink: #39445d;
  --ink-soft: #6e7487;
  --cream: #fff8f1;
  --paper: #fffdf9;
  --sun: #ffbb55;
  --sun-dark: #ff7f79;
  --sky: #bce8ee;
  --sky-deep: #80ccd8;
  --pink: #ffc4d5;
  --lavender: #cbc5f7;
  --mint: #c9eee2;
  --night: #52647c;
  --line: rgba(57, 68, 93, 0.12);
  --shadow: 0 22px 50px rgba(71, 83, 112, 0.13);
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--cream); }
body.gift-locked { overflow: hidden; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.brand strong, h1, h2, h3, .now-temperature strong, .day-date, .wish-card > label {
  font-family: "Baloo 2", "Arial Rounded MT Bold", "Segoe UI", sans-serif;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.gift-intro { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; overflow: hidden; background: radial-gradient(circle at 50% 38%, rgba(255,244,185,.9), transparent 25%), linear-gradient(145deg, #ffd684, #bfe8e9 62%, #cfc9f7); transition: opacity .7s ease, visibility .7s ease; }
.gift-intro::before, .gift-intro::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.08), 0 0 0 150px rgba(255,255,255,.05); }
.gift-intro::before { left: -320px; top: -300px; }
.gift-intro::after { right: -350px; bottom: -330px; }
.gift-intro.opening { opacity: 0; visibility: hidden; }
.gift-stars span { position: absolute; color: white; font-size: 26px; animation: gift-float 3s ease-in-out infinite; }
.gift-stars span:nth-child(1) { left: 13%; top: 22%; }
.gift-stars span:nth-child(2) { right: 17%; top: 17%; color: #ff8e91; animation-delay: .6s; }
.gift-stars span:nth-child(3) { left: 20%; bottom: 20%; color: #fff2a7; animation-delay: 1.2s; }
.gift-stars span:nth-child(4) { right: 15%; bottom: 26%; animation-delay: 1.8s; }
.gift-card { position: relative; z-index: 2; width: min(540px, 100%); padding: 48px 42px 40px; text-align: center; color: var(--ink); background: rgba(255,252,246,.96); border: 4px solid white; border-radius: 36px; box-shadow: 0 28px 0 rgba(76,91,115,.11), 0 45px 80px rgba(70,88,112,.18); animation: gift-arrive .8s cubic-bezier(.2,.9,.25,1.2); }
.gift-card::before { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(255,127,121,.24); border-radius: 25px; pointer-events: none; }
.gift-envelope { position: relative; width: 118px; height: 78px; margin: -90px auto 25px; background: #fff6dd; border: 3px solid white; border-radius: 8px; box-shadow: 0 12px 0 rgba(57,68,93,.1); overflow: hidden; transform: rotate(-3deg); }
.gift-envelope::before { content: ""; position: absolute; left: 12px; top: -46px; width: 88px; height: 88px; background: #ffe3a3; border: 2px solid rgba(57,68,93,.08); transform: rotate(45deg); }
.gift-envelope::after { content: ""; position: absolute; left: 16px; bottom: -57px; width: 83px; height: 83px; background: #fffaf0; border: 2px solid rgba(57,68,93,.08); transform: rotate(45deg); }
.envelope-heart { position: absolute; z-index: 3; left: 50%; top: 37px; transform: translateX(-50%); display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--sun-dark); color: white; font-size: 19px; font-weight: 900; }
.gift-kicker { margin: 0 0 2px; color: var(--sun-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.gift-card h1 { margin: 0; color: var(--ink); font-size: clamp(58px, 10vw, 82px); line-height: 1; }
.gift-message { margin: 10px auto 24px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.gift-card > button { position: relative; z-index: 2; border: 0; border-radius: 15px; padding: 15px 22px; background: var(--sun-dark); color: white; font-size: 11px; font-weight: 900; letter-spacing: .09em; box-shadow: 0 7px 0 #d86664; transition: transform .2s, box-shadow .2s; }
.gift-card > button:hover { transform: translateY(-2px); box-shadow: 0 9px 0 #d86664; }
.gift-card > button span { margin-left: 8px; color: #ffe69e; }
.gift-card > small { position: relative; z-index: 2; display: block; margin-top: 22px; color: #8c8291; font-size: 11px; }
@keyframes gift-arrive { from { transform: translateY(50px) scale(.9) rotate(-2deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gift-float { 0%,100% { transform: translateY(-5px) rotate(-8deg); } 50% { transform: translateY(10px) rotate(8deg); } }

.sky-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute; z-index: 10; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px)); padding: 30px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.brand > span:last-child { display: grid; line-height: 1.08; }
.brand strong { letter-spacing: .055em; font-size: 18px; font-weight: 800; }
.brand small { margin-top: 2px; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; }
.brand-mark { position: relative; display: grid; place-items: center; width: 42px; height: 42px; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 3px 19px; background: #ff8c75; border-radius: 9px; transform: rotate(45deg); box-shadow: 0 0 0 0 #ff8c75; }
.brand-mark::after { transform: rotate(90deg); }
.brand-sun { position: relative; z-index: 1; width: 27px; height: 27px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); box-shadow: inset -3px -3px rgba(255,126,95,.16); }
.ghost-button { border: 2px solid rgba(57,68,93,.13); background: rgba(255,255,255,.72); color: var(--ink); border-radius: 999px; padding: 11px 18px; font-weight: 800; backdrop-filter: blur(8px); box-shadow: 0 7px 0 rgba(57,68,93,.07); transition: transform .2s, box-shadow .2s; }
.ghost-button:hover { background: white; transform: translateY(-2px); box-shadow: 0 9px 0 rgba(57,68,93,.07); }

.hero {
  position: relative; min-height: 760px; overflow: hidden;
  background:
    radial-gradient(circle at 15% 26%, rgba(255,244,190,.82) 0 8%, transparent 29%),
    radial-gradient(circle at 85% 78%, rgba(203,197,247,.52), transparent 27%),
    linear-gradient(145deg, #ffd77d 0%, #ffd18d 29%, #c6ebec 62%, #a5deeb 100%);
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center;
  padding: 125px max(24px, calc((100vw - 1180px) / 2)) 70px;
}
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; top: -390px; left: -150px; border: 1px solid rgba(255,255,255,.45); box-shadow: 0 0 0 80px rgba(255,255,255,.05), 0 0 0 160px rgba(255,255,255,.04); }
.hero-copy { position: relative; z-index: 2; max-width: 590px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; letter-spacing: .14em; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--sun-dark); }
.eyebrow.light { color: #f8c666; }
.for-an { display: inline-block; margin: -5px 0 16px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.5); color: #616a7c; font-size: 11px; font-weight: 800; transform: rotate(-1deg); }
.for-an strong { color: var(--sun-dark); }
h1, h2 { font-weight: 800; margin: 0; letter-spacing: -.025em; }
h1 { font-size: clamp(68px, 8.3vw, 116px); line-height: .78; max-width: 610px; }
h1 em, h2 em { color: var(--sun-dark); font-weight: 800; font-style: normal; position: relative; }
h1 em::after { content: ""; position: absolute; left: 4%; right: 1%; bottom: .05em; height: 7px; background: rgba(255,255,255,.55); border-radius: 50%; transform: rotate(-1deg); z-index: -1; }
.hero-intro { max-width: 460px; font-size: 17px; line-height: 1.7; margin: 34px 0 25px; color: #35495c; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 20px; }
.hero-chips span { padding: 7px 12px; border: 1px solid rgba(57,68,93,.1); border-radius: 999px; background: rgba(255,255,255,.42); font-size: 11px; font-weight: 800; color: #556077; }
.hero-chips b { color: var(--sun-dark); margin-right: 4px; }
.search { display: flex; align-items: center; width: min(560px, 100%); background: rgba(255,253,249,.96); border: 2px solid rgba(57,68,93,.1); border-radius: 18px; padding: 7px; box-shadow: 0 14px 0 rgba(87,112,123,.07), 0 22px 45px rgba(68,86,76,.12); }
.search-icon { flex: 0 0 22px; width: 16px; height: 16px; margin-left: 10px; border: 2px solid var(--ink); border-radius: 50%; position: relative; opacity: .7; }
.search-icon::after { content: ""; width: 7px; height: 2px; background: var(--ink); position: absolute; right: -5px; bottom: -2px; transform: rotate(45deg); }
.search input { min-width: 0; flex: 1; padding: 13px 12px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search input::placeholder { color: #7c8587; }
.search button, .sun-button { border: 0; background: var(--ink); color: white; border-radius: 12px; padding: 13px 20px; font-weight: 900; transition: transform .2s, background .2s; }
.search button:hover, .sun-button:hover { background: #53627d; transform: translateY(-2px); }
.search-hint { font-size: 11px; color: rgba(32,51,74,.66); margin: 10px 5px; }
.search-results { width: min(560px, 100%); max-height: 270px; overflow-y: auto; position: absolute; z-index: 5; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.result-button { width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); padding: 14px 17px; background: transparent; display: flex; justify-content: space-between; gap: 10px; color: var(--ink); }
.result-button:last-child { border-bottom: 0; }
.result-button:hover { background: #fff1d8; }
.result-button strong { display: block; }
.result-button small { display: block; margin-top: 3px; color: var(--ink-soft); }
.result-button > span:last-child { font-size: 12px; color: var(--sun-dark); padding-top: 4px; }

.sun-stage { position: relative; height: 570px; min-width: 0; }
.hero-sun { position: absolute; width: 300px; height: 300px; border-radius: 47% 53% 51% 49% / 52% 46% 54% 48%; top: 80px; left: 50%; transform: translateX(-43%); background: radial-gradient(circle at 42% 36%, #ffe793 0 8%, #ffc356 58%, #ff9f50 100%); box-shadow: 0 0 80px rgba(255,192,62,.48), inset -20px -20px 40px rgba(255,126,95,.13); animation: sun-wobble 8s ease-in-out infinite; }
.hero-sun::before { content: ""; position: absolute; width: 25px; height: 10px; left: 62px; top: 157px; border-radius: 50%; background: rgba(255,113,119,.3); box-shadow: 151px 0 rgba(255,113,119,.3); }
.sun-face::before, .sun-face::after { content: ""; position: absolute; width: 14px; height: 20px; top: 126px; border-radius: 50%; border-top: 3px solid var(--ink); }
.sun-face::before { left: 92px; transform: rotate(-8deg); }
.sun-face::after { right: 92px; transform: rotate(8deg); }
.sun-face { position: absolute; inset: 0; }
.sun-face { border-bottom: 0; }
.sun-face::selection { background: transparent; }
.hero-sun::after { content: ""; position: absolute; width: 35px; height: 16px; left: 50%; top: 166px; transform: translateX(-50%); border-bottom: 3px solid var(--ink); border-radius: 0 0 30px 30px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transform: translate(-47%,-50%); }
.orbit-one { width: 410px; height: 410px; }
.orbit-two { width: 535px; height: 535px; opacity: .65; }
.orbit-two::after { content: "✦"; position: absolute; right: 40px; top: 62px; color: white; font-size: 25px; }
.cloud { position: absolute; height: 40px; background: rgba(255,255,255,.82); border-radius: 40px; filter: drop-shadow(0 9px 0 rgba(116,157,173,.08)); }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; bottom: 0; }
.cloud::before { width: 65px; height: 65px; left: 25px; }
.cloud::after { width: 48px; height: 48px; right: 25px; }
.cloud-one { width: 160px; top: 95px; right: -20px; animation: drift 7s ease-in-out infinite; }
.cloud-two { width: 125px; top: 354px; left: 4px; opacity: .68; animation: drift 9s ease-in-out infinite reverse; }
.sun-caption { position: absolute; right: 0; bottom: 40px; font-family: "Baloo 2", "Segoe UI", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.2; transform: rotate(-5deg); }
.sparkle { position: absolute; color: white; font-size: 27px; text-shadow: 0 3px 0 rgba(66,91,112,.08); animation: twinkle 2.5s ease-in-out infinite; }
.sparkle-one { top: 58px; left: 14%; }
.sparkle-two { right: 4%; top: 310px; color: #fff2b0; animation-delay: .8s; }
.sun-sticker { position: absolute; top: 18px; right: 15px; padding: 11px 16px; background: #fffaf0; color: var(--ink); border-radius: 18px 18px 18px 4px; font-size: 11px; line-height: 1.2; transform: rotate(5deg); box-shadow: 0 8px 0 rgba(57,68,93,.07); }
.sun-sticker b { color: var(--sun-dark); font-size: 13px; }
.teru-wrap { --teru-scale: 1; position: absolute; z-index: 3; left: 5%; top: 320px; width: 126px; height: 190px; padding: 0; border: 0; background: transparent; transform-origin: 50% 0; animation: teru-sway 4.5s ease-in-out infinite; }
.teru-wrap:focus-visible { outline: 3px solid white; outline-offset: 8px; border-radius: 50%; }
.teru-wrap:hover { filter: brightness(1.04); }
.teru-string { position: absolute; left: 61px; top: -94px; width: 2px; height: 104px; background: rgba(57,68,93,.32); }
.teru-string::after { content: ""; position: absolute; width: 16px; height: 8px; left: -7px; bottom: -2px; border: 2px solid rgba(57,68,93,.32); border-bottom: 0; border-radius: 12px 12px 0 0; }
.teru-head { position: absolute; z-index: 3; left: 31px; top: 3px; width: 67px; height: 65px; border-radius: 48% 52% 47% 53%; background: #fffdf9; border: 2px solid rgba(57,68,93,.14); box-shadow: inset -7px -7px 0 #f3edf2, 0 8px 12px rgba(78,103,121,.12); }
.teru-head::before { content: ""; position: absolute; width: 5px; height: 7px; left: 19px; top: 25px; border-radius: 50%; background: var(--ink); box-shadow: 23px 0 var(--ink), -6px 12px 0 2px rgba(255,127,121,.22), 29px 12px 0 2px rgba(255,127,121,.22); }
.teru-head::after { content: ""; position: absolute; width: 16px; height: 8px; left: 24px; top: 37px; border-bottom: 2px solid var(--ink); border-radius: 0 0 14px 14px; }
.teru-body { position: absolute; z-index: 1; left: 13px; top: 56px; width: 102px; height: 105px; background: linear-gradient(150deg, #fffdf9 15%, #f5eef4 100%); border: 2px solid rgba(57,68,93,.12); clip-path: polygon(34% 0, 66% 0, 76% 13%, 83% 35%, 100% 92%, 87% 86%, 74% 97%, 60% 88%, 47% 100%, 31% 88%, 16% 96%, 0 88%, 17% 36%, 24% 14%); filter: drop-shadow(0 9px 6px rgba(78,103,121,.12)); }
.teru-body::before { content: "☀"; position: absolute; left: 40px; top: 38px; color: #ffc15b; font-size: 20px; }
.teru-bow { position: absolute; z-index: 4; left: 49px; top: 60px; width: 31px; height: 13px; border-radius: 50%; background: var(--sun-dark); box-shadow: -13px -2px 0 3px #ff9a96, 13px -2px 0 3px #ff9a96; }
.teru-note { position: absolute; z-index: 5; left: 70px; top: 139px; width: max-content; padding: 7px 10px; color: var(--ink); background: #fff4b9; border: 2px solid white; border-radius: 12px 12px 12px 3px; box-shadow: 0 5px 0 rgba(57,68,93,.07); font-size: 10px; font-weight: 900; transform: rotate(-5deg); }
@keyframes drift { 0%,100% { transform: translateX(-8px); } 50% { transform: translateX(14px); } }
@keyframes twinkle { 0%,100% { transform: scale(.8) rotate(-8deg); opacity: .65; } 50% { transform: scale(1.15) rotate(8deg); opacity: 1; } }
@keyframes sun-wobble { 0%,100% { border-radius: 47% 53% 51% 49% / 52% 46% 54% 48%; } 50% { border-radius: 53% 47% 46% 54% / 47% 54% 46% 53%; } }
@keyframes teru-sway { 0%,100% { transform: scale(var(--teru-scale)) rotate(-3deg); } 50% { transform: scale(var(--teru-scale)) rotate(4deg); } }

.forecast-section { padding: 90px max(24px, calc((100vw - 1180px) / 2)) 110px; background: radial-gradient(circle at 92% 8%, rgba(255,196,213,.22), transparent 22%), var(--paper); min-height: 600px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(50px, 7vw, 82px); line-height: .9; color: var(--ink); }
.location-detail { color: var(--ink-soft); margin: 12px 0 0; }
.updated { font-size: 11px; color: var(--ink-soft); letter-spacing: .08em; text-align: right; }
.loading { min-height: 300px; display: grid; place-content: center; justify-items: center; gap: 18px; color: var(--ink-soft); }
.loading-sun { width: 55px; height: 55px; border: 7px dotted var(--sun); border-radius: 50%; background: #ffc75d; animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-card { padding: 28px; display: flex; gap: 20px; align-items: center; border: 2px dashed #edbd83; background: #fff4dc; border-radius: 22px; }
.error-card > span { font-size: 40px; }
.error-card h3, .error-card p { margin: 0; }
.error-card p { margin-top: 5px; color: var(--ink-soft); }
.error-card button { margin-left: auto; border: 0; color: white; background: var(--ink); padding: 11px 16px; border-radius: 4px; }
.weather-now { display: grid; grid-template-columns: 1.2fr 1fr 1fr; background: #53627b; color: white; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 5px solid white; }
.now-main { padding: 36px; background: linear-gradient(135deg, #647994, #45566f); }
.now-label, .best-label { letter-spacing: .2em; font-size: 10px; font-weight: 800; color: #f7c15c; margin: 0 0 10px; }
.now-temperature { display: flex; align-items: center; gap: 22px; }
.now-temperature strong { font-size: 76px; font-weight: 800; letter-spacing: -.04em; }
.weather-symbol { font-size: 55px; color: #ffc65b; filter: drop-shadow(0 0 12px rgba(255,198,91,.25)); }
.now-main > p:last-child { margin: 0; opacity: .78; }
.now-stats { padding: 30px 36px; display: grid; align-content: center; }
.now-stats div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.now-stats div:last-child { border: 0; }
.now-stats span { color: rgba(255,255,255,.62); }
.verdict { padding: 35px; background: linear-gradient(145deg, #ffd368, #ffb76d); color: var(--ink); display: grid; place-content: center; justify-items: center; text-align: center; }
.verdict-icon { font-size: 38px; }
.verdict p { font-size: 22px; line-height: 1.35; font-weight: 700; }
.best-day { margin: 26px 0 45px; padding: 24px 28px; border: 2px dashed #f0b870; background: linear-gradient(90deg, #fff4cc, #fff8eb); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-radius: 20px; box-shadow: 0 8px 0 rgba(240,184,112,.1); }
.best-day h3 { margin: 0 0 5px; font-size: 27px; font-weight: 800; }
.best-day p:last-child { margin: 0; color: var(--ink-soft); }
.sun-button { flex: 0 0 auto; }
.sun-button span { margin-left: 12px; }
.daily-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.daily-heading h3 { margin: 0; font-weight: 800; font-size: 30px; }
.daily-heading p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.daily-list { display: grid; grid-template-columns: repeat(8, minmax(112px, 1fr)); gap: 10px; overflow-x: auto; padding: 2px 2px 14px; scrollbar-color: var(--sun) transparent; }
.day-card { position: relative; min-width: 112px; text-align: left; color: var(--ink); background: white; border: 2px solid var(--line); border-radius: 18px; padding: 16px 14px; transition: transform .2s, border .2s, box-shadow .2s; overflow: hidden; }
.day-card:hover { transform: translateY(-3px); border-color: #e4a548; box-shadow: 0 10px 25px rgba(53,76,87,.1); }
.day-card.selected { color: white; background: #5b6d88; border-color: #5b6d88; transform: translateY(-4px) rotate(-1deg); }
.day-card.best { border-color: var(--sun); box-shadow: inset 0 4px var(--sun); }
.day-card.best::after { content: "✦"; position: absolute; top: 7px; right: 9px; color: var(--sun-dark); font-size: 13px; }
.day-name { font-size: 10px; font-weight: 900; letter-spacing: .07em; opacity: .7; }
.day-date { font-size: 27px; font-weight: 800; margin-top: 3px; }
.day-icon { display: block; font-size: 29px; margin: 16px 0 8px; color: var(--sun-dark); }
.selected .day-icon { color: #ffc45a; }
.day-temps { display: flex; gap: 6px; font-size: 13px; }
.day-temps span { opacity: .55; }
.day-rain { margin-top: 9px; font-size: 10px; opacity: .65; }
.sun-score { height: 3px; background: rgba(128,128,128,.18); margin-top: 12px; overflow: hidden; }
.sun-score > span { display: block; height: 100%; background: var(--sun); }

.ritual-section { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding: 110px max(24px, calc((100vw - 1080px) / 2)); background: radial-gradient(circle at 75% 10%, rgba(203,197,247,.28), transparent 24%), linear-gradient(145deg, #536a83, #45586f); color: #fff8e9; }
.ritual-section::before { content: ""; position: absolute; width: 480px; height: 480px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; left: -250px; bottom: -240px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.ritual-copy { align-self: center; position: relative; z-index: 1; }
.ritual-copy h2 { color: white; font-size: clamp(48px, 6vw, 75px); line-height: .92; }
.ritual-copy h2 em { color: #f7bc53; }
.ritual-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); line-height: 1.7; max-width: 420px; }
.ritual-copy .disclaimer { font-size: 11px; margin-top: 26px; color: rgba(255,255,255,.44) !important; }
.wish-card { position: relative; color: var(--ink); background: #fff7df; padding: 42px 38px 38px; border-radius: 24px; transform: rotate(1deg); box-shadow: 16px 18px 0 rgba(28,42,63,.16); }
.wish-card::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(239,151,123,.28); border-radius: 17px; pointer-events: none; }
.paper-tape { position: absolute; z-index: 2; width: 100px; height: 30px; top: -13px; left: 50%; transform: translateX(-50%) rotate(-3deg); background: rgba(255,196,213,.88); clip-path: polygon(3% 5%, 96% 0, 100% 90%, 5% 100%); }
.wish-topline { position: relative; display: flex; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid rgba(32,51,74,.2); font-size: 9px; letter-spacing: .18em; }
.wish-card > label { position: relative; display: block; font-size: 23px; font-weight: 800; margin: 30px 0 10px; }
.wish-card textarea { position: relative; display: block; width: 100%; min-height: 100px; resize: vertical; border: 0; border-bottom: 2px dashed rgba(57,68,93,.22); outline: 0; padding: 9px 0; background: transparent; font-size: 17px; line-height: 1.5; color: var(--ink); }
.wish-meta { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 22px 0; }
.wish-meta label { font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.wish-meta input { color: var(--ink); padding: 9px 10px; background: rgba(255,255,255,.45); border: 1px solid rgba(32,51,74,.25); border-radius: 3px; }
.wish-submit { position: relative; width: 100%; border: 0; background: var(--sun-dark); color: white; border-radius: 13px; padding: 16px; font-size: 11px; font-weight: 900; letter-spacing: .08em; display: flex; justify-content: center; align-items: center; gap: 12px; box-shadow: 0 7px 0 #dd6865; transition: transform .2s, box-shadow .2s; }
.wish-submit:hover { background: #f17471; transform: translateY(-2px); box-shadow: 0 9px 0 #d76361; }
.mini-sun { width: 19px; height: 19px; border: 4px dotted #ffe193; border-radius: 50%; background: #ffc861; }
.wish-status { min-height: 18px; margin: 12px 0 0; text-align: center; font-size: 12px; color: #9c5625; }

footer { position: relative; overflow: hidden; padding: 40px max(24px, calc((100vw - 1180px) / 2)); background: #394b62; color: rgba(255,255,255,.58); display: flex; justify-content: space-between; gap: 20px; font-size: 10px; letter-spacing: .05em; }
.footer-sun { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: var(--sun); left: 50%; top: 20px; transform: translate(-50%, 50%); box-shadow: 0 0 60px rgba(246,166,58,.35); }
.toast { position: fixed; z-index: 50; bottom: 24px; left: 50%; transform: translate(-50%, 120px); opacity: 0; max-width: calc(100% - 30px); padding: 13px 18px; border-radius: 30px; background: #14283b; color: white; box-shadow: var(--shadow); transition: .35s ease; font-size: 13px; text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.secret-message { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(47,59,80,.55); backdrop-filter: blur(8px); }
.secret-card { position: relative; width: min(440px, 100%); padding: 42px 35px 36px; text-align: center; color: var(--ink); background: #fff8e8; border: 4px solid white; border-radius: 30px; box-shadow: 0 25px 70px rgba(28,39,60,.25); animation: secret-pop .45s cubic-bezier(.2,.9,.3,1.3); }
.secret-card::before { content: ""; position: absolute; inset: 11px; border: 2px dashed rgba(255,127,121,.25); border-radius: 20px; pointer-events: none; }
.secret-card > button { position: absolute; z-index: 2; right: 18px; top: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--pink); color: var(--ink); font-size: 22px; }
.secret-sun { display: block; color: var(--sun); font-size: 46px; animation: spin 8s linear infinite; }
.secret-card > p { margin: 9px 0 0; color: var(--sun-dark); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.secret-card h2 { margin: 5px 0; font-size: 45px; }
.secret-card blockquote { margin: 4px 0 18px; font-size: 19px; font-weight: 700; line-height: 1.55; }
.secret-card small { color: var(--ink-soft); }
.celebration { position: fixed; z-index: 110; inset: 0; overflow: hidden; pointer-events: none; }
.confetti-piece { position: absolute; top: -40px; left: var(--x); color: var(--color); font-size: var(--size); animation: confetti-fall var(--duration) cubic-bezier(.2,.75,.35,1) var(--delay) forwards; }
.magic-spark { position: fixed; z-index: 120; left: var(--x); top: var(--y); pointer-events: none; color: var(--color); font-size: var(--size); animation: magic-pop .8s ease-out forwards; }
@keyframes secret-pop { from { transform: scale(.75) rotate(-4deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes confetti-fall { to { transform: translate(var(--drift), 110vh) rotate(720deg); opacity: .25; } }
@keyframes magic-pop { from { transform: translate(-50%,-50%) scale(.2); opacity: 1; } to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.2) rotate(120deg); opacity: 0; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 680px; }
  .sun-stage { position: absolute; width: 480px; height: 480px; right: -230px; top: 80px; opacity: .45; }
  .hero-sun { width: 240px; height: 240px; }
  .sun-face::before, .sun-face::after { top: 100px; }
  .sun-face::before { left: 72px; } .sun-face::after { right: 72px; }
  .hero-sun::after { top: 132px; }
  .teru-wrap { --teru-scale: .88; left: 4%; top: 295px; }
  .weather-now { grid-template-columns: 1fr 1fr; }
  .verdict { grid-column: 1 / -1; min-height: 140px; }
  .verdict p { margin: 8px 0; }
  .daily-list { grid-template-columns: repeat(8, 125px); }
  .ritual-section { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 32px); padding-top: 20px; }
  .gift-card { padding: 44px 23px 32px; border-radius: 28px; }
  .gift-message br { display: none; }
  .gift-envelope { transform: scale(.9) rotate(-3deg); }
  .brand small { display: none; }
  .ghost-button { font-size: 0; width: 43px; height: 43px; padding: 0; }
  .ghost-button span { font-size: 22px; }
  .hero { min-height: 880px; padding: 132px 18px 240px; align-items: start; }
  h1 { font-size: clamp(56px, 17vw, 70px); }
  .hero-intro { font-size: 15px; }
  .search { align-items: stretch; }
  .search-icon { margin-top: 14px; }
  .search button { padding-inline: 13px; }
  .sun-stage { width: 100%; height: 820px; right: 0; top: 30px; opacity: 1; }
  .sun-stage > :not(.teru-wrap) { opacity: .2; }
  .teru-wrap { --teru-scale: .78; display: block; left: auto; right: 95px; top: auto; bottom: 18px; pointer-events: auto; }
  .forecast-section { padding: 70px 18px 80px; }
  .section-heading { align-items: start; }
  .updated { display: none; }
  .weather-now { grid-template-columns: 1fr; }
  .now-stats { padding: 18px 28px; }
  .verdict { grid-column: auto; }
  .best-day { align-items: stretch; flex-direction: column; }
  .daily-heading { align-items: start; flex-direction: column; gap: 8px; }
  .ritual-section { padding: 80px 18px; }
  .wish-card { padding: 29px 24px; transform: none; }
  .wish-meta { align-items: start; flex-direction: column; gap: 8px; }
  footer { flex-direction: column; text-align: center; align-items: center; }
  .footer-sun { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
