/* IMPORT CUTE FONT */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap');

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

/* CUSTOM SCROLLBARS FOR A CUTIE VIEW */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #ffeef5;
}
::-webkit-scrollbar-thumb {
  background-color: #ffb3d1;
  border-radius: 10px;
  border: 3px solid #ffeef5;
}

/* ANIMATED BACKGROUND - SOFT DRIFTING POLKA DOTS */
@keyframes backgroundScroll {
  0% { background-position: 0 0, 25px 25px; }
  100% { background-position: 50px 50px, 75px 75px; }
}

body {
  background-color: #fff3f7; 
  background-image: 
    radial-gradient(#ffccd9 15%, transparent 15%),
    radial-gradient(#ffccd9 15%, transparent 15%);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  
  animation: backgroundScroll 16s linear infinite;
  color: #5c3c5c; /* Richer dark tone for improved contrast & readability */
  font-family: 'Fredoka', "Comic Sans MS", cursive;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  cursor: url('/mouse.png'), auto; 
}

/* CONTAINER (Styled like a super premium Retro Kawaii Desktop Window) */
.container {
  background: rgba(255, 255, 255, 0.98);
  border: 4px solid #ffb3d1; 
  border-radius: 40px; 
  padding: 50px 40px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 16px 0 #ffb3d1, 0 25px 30px rgba(255, 179, 209, 0.35); 
  margin-top: 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Keeps window corners clean */
}

/* RETRO VIRTUAL WINDOW HEADER BAR */
.window-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffe5f0;
  border-bottom: 4px solid #ffb3d1;
  padding: 12px 24px;
  margin: -50px -40px 40px -40px; /* Counteracts parent container padding */
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(92, 60, 92, 0.15);
}
.window-dots .close { background: #ff7597; }
.window-dots .minimize { background: #ffd075; }
.window-dots .expand { background: #8be5a0; }

.window-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ff5c90;
  letter-spacing: 1px;
}

/* TYPOGRAPHY */
h1 {
  color: #fff;
  -webkit-text-stroke: 3px #ff5c90; 
  text-shadow: 4px 4px 0 #ffccd9;
  margin-bottom: 25px;
  font-size: 3.2rem;
  letter-spacing: 1px;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  color: #ff5c90;
  margin-top: 25px;
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
  line-height: 1.4;
}

/* Elegant hand-drawn pill decoration under H2 titles */
h2::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 6px;
  background: #ffe3ed;
  bottom: -6px;
  left: 0;
  border-radius: 10px;
  z-index: -1;
}

p {
  font-size: 1.25em;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 400;
}

/* HEADER & NAV */
header {
  margin-bottom: 30px;
  border-bottom: 3px dashed #ffb3d1;
  padding-bottom: 30px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

/* Beautiful Bouncy 3D Buttons */
nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(to bottom, #ffaacb, #ff7ba7);
  padding: 12px 28px;
  border-radius: 50px;
  border: 3px solid #fff;
  box-shadow: 0 6px 0 #e65a8e, 0 8px 12px rgba(255, 92, 144, 0.25);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
}

nav a:hover {
  background: linear-gradient(to bottom, #ffbcd4, #ff8cb2);
  transform: translateY(-4px) scale(1.05) rotate(-1.5deg);
  box-shadow: 0 10px 0 #e65a8e, 0 12px 18px rgba(255, 92, 144, 0.35);
}

nav a:active {
  transform: translateY(6px) scale(0.97);
  box-shadow: 0 0 0 #e65a8e; 
}

/* PROFILE PHOTO AND STICKER BORDER */
.anime-girl {
  width: 210px;
  border-radius: 35px;
  border: 6px solid #fff;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(255, 92, 144, 0.18), 0 0 0 4px #ffcce0; 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
  cursor: pointer;
}

.anime-girl:hover {
  transform: translateY(-8px) rotate(4deg) scale(1.08);
  box-shadow: 0 18px 30px rgba(255, 92, 144, 0.25), 0 0 0 5px #ff9ebe;
}

.anime-girl:active {
  transform: scale(0.95) rotate(-2deg);
}

/* FOOTER */
footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 3px dashed #ffccd9;
  text-align: center;
  font-size: 1.05rem;
  color: #ff7597;
  font-weight: 600;
}

/* SECRET LINK (ARG) */
.secret-link {
  display: inline-block;
  margin-top: 15px;
  color: #ffdce6;
  text-decoration: none;
  font-size: 0.9em;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  cursor: url('/mouse.png'), pointer;
}

a, button {
  cursor: url('/mouse.png'), pointer;
}

.secret-link:hover {
  opacity: 1;
  color: #ff2a2a;
  text-shadow: 0 0 10px rgba(255, 42, 42, 0.7); 
  letter-spacing: 6px;
  font-weight: bold;
  transform: scale(1.15);
}

/* FLOATING SPARKLES (Polished Performance with will-change) */
.sparkle-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 99;
}

.sparkle-bg::before,
.sparkle-bg::after {
  content: "✨";
  position: absolute;
  font-size: 32px;
  opacity: 0.75;
  will-change: transform;
  animation: floatSparkle 14s infinite linear;
}

.sparkle-bg::after {
  font-size: 22px;
  animation: floatSparkle 20s infinite linear reverse;
  animation-delay: -7s; 
}

@keyframes floatSparkle {
  0% { transform: translate(-10vw, 110vh) rotate(0deg) scale(0.8); }
  50% { transform: translate(50vw, 50vh) rotate(180deg) scale(1.2); }
  100% { transform: translate(110vw, -10vh) rotate(360deg) scale(0.8); }
}