*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:     #f4a7b9;
  --pink-hot: #ff6eb4;
  --muted:    rgba(255,255,255,0.45);
}

* { cursor: none !important; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  background: #04010e;
}

/* ═══ BACKGROUND ═══ */
.bg {
  position: fixed; inset: 0; z-index: 0;
  background: url('/images/background.png') center 28% / cover no-repeat;
  transform-origin: center;
  transition: transform 0.12s ease-out;
}
.bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(4,1,14,0.55) 0%, rgba(4,1,14,0.3) 40%, rgba(4,1,14,0.7) 100%),
    linear-gradient(to right, rgba(4,1,14,0.4) 0%, transparent 30%, transparent 70%, rgba(4,1,14,0.4) 100%);
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(4,1,14,0.7) 100%);
}
.aurora {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 100% 50% at 0% 60%,   rgba(255,80,160,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 80%  40% at 100% 30%,  rgba(130,80,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60%  35% at 50%  95%,  rgba(80,160,255,0.06) 0%, transparent 60%);
  animation: auroraMove 18s ease-in-out infinite alternate;
}
@keyframes auroraMove {
  0%   { opacity: 0.5; transform: scale(1) translateY(0); }
  100% { opacity: 1;   transform: scale(1.06) translateY(-14px); }
}
#sakura { position: fixed; inset: 0; z-index: 3; pointer-events: none; }

/* ═══ CURSOR ═══ */
#cursor {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 13px; height: 13px;
  background: radial-gradient(circle, #ffe0f0, #ff6eb4);
  border-radius: 50% 10% 50% 10%;
  transform: translate(-50%,-50%) rotate(-45deg);
  box-shadow: 0 0 8px #ff6eb4, 0 0 22px rgba(255,110,180,0.5);
}
#cursor-ring {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 30px; height: 30px;
  border: 1px solid rgba(255,110,180,0.5);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: left 0.1s ease, top 0.1s ease;
}
.cursor-trail {
  position: fixed; z-index: 9997; pointer-events: none;
  border-radius: 50% 10% 50% 10%;
  transform: translate(-50%,-50%) rotate(-45deg);
  animation: trailFade 0.75s ease forwards;
}
@keyframes trailFade {
  0%   { opacity: 0.7; transform: translate(-50%,-50%) rotate(-45deg) scale(1); }
  100% { opacity: 0;   transform: translate(-50%,-50%) rotate(-45deg) scale(0) translateY(18px); }
}

/* ═══ KANJI ═══ */
.ambient { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.kanji {
  position: absolute; left: var(--x); top: var(--y);
  font-family: 'Cormorant Garamond', serif;
  font-size: calc(1.4rem * var(--s, 1));
  color: rgba(244,167,185,0.1);
  animation: kanjiFloat 10s var(--d,0s) ease-in-out infinite alternate;
}
@keyframes kanjiFloat {
  0%   { transform: translateY(0) rotate(-3deg); opacity: 0.5; }
  100% { transform: translateY(-16px) rotate(3deg); opacity: 0.12; }
}

/* ═══ VOLUME ═══ */
.volume-widget {
  position: fixed; top: 20px; left: 20px;
  z-index: 500;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 8px 14px 8px 10px;
  backdrop-filter: blur(16px);
  animation: fadeDown 1s 0.5s both;
}
.vol-btn {
  background: none; border: none; padding: 0;
  color: var(--pink); display: grid; place-items: center;
  width: 22px; height: 22px;
  transition: transform 0.2s;
}
.vol-btn:hover { transform: scale(1.2); }
.vol-slider-wrap { width: 80px; display: flex; align-items: center; }
.vol-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.15); outline: none;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px;
  border-radius: 50%; background: var(--pink-hot);
  box-shadow: 0 0 8px rgba(255,110,180,0.7);
}
.vol-label {
  font-size: 0.62rem; color: rgba(255,255,255,0.4); min-width: 28px;
}

/* ═══ MAIN ═══ */
main {
  position: fixed; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
}

/* ═══ HEADER ═══ */
header {
  text-align: center; margin-bottom: 44px;
  animation: fadeDown 1.1s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.title-wrap { position: relative; display: inline-block; }
.title-bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-weight: 500; font-size: clamp(5rem,16vw,12rem);
  color: rgba(255,255,255,0.025);
  letter-spacing: 0.25em; white-space: nowrap;
  pointer-events: none; user-select: none;
  animation: bgPulse 6s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  0%   { letter-spacing: 0.25em; opacity: 0.6; }
  100% { letter-spacing: 0.30em; opacity: 1; }
}
.title {
  position: relative;
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.6rem,5.5vw,4.5rem); color: #fff;
  letter-spacing: 0.18em;
  text-shadow: 0 0 50px rgba(255,110,180,0.5), 0 2px 20px rgba(0,0,0,0.8);
  animation: titleGlow 4s ease-in-out infinite alternate;
}
.title em { font-style: italic; color: var(--pink-hot); }
@keyframes titleGlow {
  0%   { text-shadow: 0 0 40px rgba(255,110,180,0.4), 0 2px 20px rgba(0,0,0,0.8); }
  100% { text-shadow: 0 0 70px rgba(255,110,180,0.7), 0 2px 20px rgba(0,0,0,0.8); }
}
.title-line {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 12px auto 0;
}
.title-line span:not(.dot) {
  display: block; height: 1px; width: 60px;
  background: linear-gradient(90deg,transparent,rgba(244,167,185,0.5),transparent);
}
.title-line .dot {
  color: var(--pink); font-size: 0.7rem;
  animation: dotSpin 8s linear infinite;
}
@keyframes dotSpin {
  0%   { transform: rotate(0deg)   scale(1);   opacity: 0.7; }
  50%  { transform: rotate(180deg) scale(1.5); opacity: 1; }
  100% { transform: rotate(360deg) scale(1);   opacity: 0.7; }
}
.subtitle {
  font-weight: 200; font-size: 0.75rem;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: rgba(244,167,185,0.65); margin-top: 10px;
}

/* ═══ MENU ═══ */
.menu {
  width: min(520px, 94vw);
  display: flex; flex-direction: column;
}
.menu-btn {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 13px 6px;
  background: none; border: none; color: #fff;
  text-align: left;
  overflow: hidden;
  animation: rowIn 0.6s var(--delay,0s) cubic-bezier(0.34,1.56,0.64,1) both;
  transition: padding-left 0.25s ease;
}
@keyframes rowIn {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* bottom line */
.menu-btn::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.menu-btn:hover::after {
  background: linear-gradient(90deg, transparent, var(--pink-hot), transparent);
}
.menu-btn:hover { padding-left: 12px; }
.menu-btn:hover .mb-label {
  color: var(--pink-hot);
  text-shadow: 0 0 14px var(--pink-hot);
}
.menu-btn:hover .mb-num { color: var(--pink-hot); opacity: 1; }
.menu-btn:hover .mb-arr { opacity: 1; transform: translate(3px,-3px); color: var(--pink-hot); }
.menu-btn:hover .mb-icon { transform: scale(1.2) rotate(-8deg); }

.mb-num {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2); min-width: 20px; transition: color 0.2s;
}
.mb-icon { font-size: 1.3rem; transition: transform 0.2s; }
.mb-label {
  font-size: 1rem; font-weight: 300; letter-spacing: 0.06em;
  flex: 1; transition: color 0.25s, text-shadow 0.25s;
}
.mb-arr {
  font-size: 1rem; opacity: 0.2;
  transition: opacity 0.2s, transform 0.2s, color 0.2s;
}

/* ═══ FOOTER ═══ */
.page-footer {
  margin-top: 28px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}
.footer-dot { color: var(--pink); opacity: 0.4; animation: dotSpin 10s linear infinite; }

/* ═══════════════════════════════════════════
   OVERLAYS
═══════════════════════════════════════════ */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s ease;
}
.overlay.active {
  opacity: 1; pointer-events: all;
}

/* Blurred dark background */
.ov-bg {
  position: absolute; inset: 0;
  background: rgba(4,1,14,0.82);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

/* Close button */
.ov-close {
  position: absolute; top: 28px; right: 32px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; width: 40px; height: 40px;
  color: rgba(255,255,255,0.6); font-size: 0.85rem;
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 10;
}
.ov-close:hover {
  background: rgba(255,110,180,0.2);
  color: #fff; transform: rotate(90deg);
}

/* Content box */
.ov-content {
  position: relative; z-index: 5;
  text-align: center;
  animation: ovIn 0.5s cubic-bezier(0.22,1,0.36,1) both;
  max-width: min(560px, 90vw);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 10px 20px;
}
@keyframes ovIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ov-deco {
  font-size: 0.72rem; letter-spacing: 0.35em;
  color: var(--pink); opacity: 0.7; margin-bottom: 14px;
}
.ov-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff; letter-spacing: 0.16em;
  text-shadow: 0 0 40px rgba(255,110,180,0.5);
}
.ov-divider {
  width: 80px; height: 1px; margin: 18px auto 28px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}

/* ── Information grid ── */
.info-grid {
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
}
.info-item {
  display: flex; align-items: center;
  padding: 12px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  gap: 16px;
  transition: background 0.2s, border-color 0.2s;
}
.info-item:hover {
  background: rgba(255,110,180,0.07);
  border-color: rgba(255,110,180,0.2);
}
.info-key {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink); min-width: 80px; font-weight: 400;
}
.info-val {
  font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.85);
}

/* ── Socials list ── */
.socials-list { display: flex; flex-direction: column; gap: 4px; }
.soc-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 8px; text-decoration: none; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: padding-left 0.2s;
}

.soc-row:hover { padding-left: 10px; }
.soc-row:hover .soc-name { color: var(--pink-hot); text-shadow: 0 0 12px var(--pink-hot); }
.soc-row:hover .soc-arr { opacity: 1; transform: translate(3px,-3px); }
.soc-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform 0.2s;
}
.soc-row:hover .soc-icon { transform: scale(1.1) rotate(-5deg); }
.soc-name { flex: 1; font-size: 0.95rem; font-weight: 300; transition: color 0.2s, text-shadow 0.2s; }
.soc-handle { font-size: 0.68rem; color: var(--muted); }
.soc-arr { opacity: 0.2; transition: opacity 0.2s, transform 0.2s; }

/* Icon fills */
.ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.tk { background: linear-gradient(135deg,#010101,#69c9d0); }
.yt { background: #ff0000; }
.tw { background: #111; }
.dc { background: #5865f2; }

/* ── About me ── */
.about-text {
  font-size: 1rem; font-weight: 300; line-height: 1.9;
  color: rgba(255,255,255,0.8); letter-spacing: 0.03em;
  max-width: 440px; margin: 0 auto;
}

/* ── Love ── */
.love-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.love-heart {
  font-size: 3.5rem;
  animation: heartBeat 1.4s ease-in-out infinite;
}
@keyframes heartBeat {
  0%,100% { transform: scale(1); }
  14%     { transform: scale(1.25); }
  28%     { transform: scale(1); }
  42%     { transform: scale(1.15); }
  56%     { transform: scale(1); }
}
.love-name {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff;
  text-shadow: 0 0 30px rgba(255,110,180,0.6);
  letter-spacing: 0.1em;
}
.love-since {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.love-date {
  font-size: 1.1rem; font-weight: 300; color: var(--pink);
  letter-spacing: 0.12em;
}
.love-counter {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em; margin-top: 4px;
}
.love-msg {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1rem; color: rgba(255,255,255,0.55);
  max-width: 360px; line-height: 1.8; margin-top: 10px;
  letter-spacing: 0.04em;
}
