/* RESET */
body {
  margin: 0;
  font-family: "Trebuchet MS", sans-serif;
  background: #fff5fb;
  color: #4a4158;
  transition: background 0.4s, color 0.4s;
}

/* NAVIGATION */
nav {
  padding: 12px 20px;
  background: #ffd8ef;
  border-bottom: 2px solid #ffbde4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
nav a {
  margin: 0 8px;
  text-decoration: none;
  color: #4a4158;
  font-weight: bold;
}
nav a.active {
  color: #ff62c6;
  text-shadow: 0px 0px 5px #ffb5e7;
}
#darkToggle {
  background: #ffd0f1;
  border: 1px solid #ff9de1;
  padding: 6px 12px;
  border-radius: 10px;
}

/* HERO */
.hero {
  padding: 100px 20px;
  color: white;
  background-size: cover;
  background-position: center;
  text-align: center;
  background-blend-mode: soft-light;
  backdrop-filter: blur(4px);
}
.hero-text {
  background: rgba(255, 215, 235, 0.6);
  padding: 20px;
  border-radius: 14px;
  display: inline-block;
  backdrop-filter: blur(8px);
}

/* CONTAINER */
.container {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

/* CARDS */
.card {
  background: #ffe9f6;
  padding: 20px;
  margin: 20px 0;
  border-radius: 15px;
  box-shadow: 0 4px 10px #ffb6e640;
}

/* LINKS GRID */
.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.links-grid a {
  background: #ffb5e7;
  padding: 10px 16px;
  border-radius: 20px;
  color: white;
  text-decoration: none;
  box-shadow: 0 3px 6px #f7a6d6;
  transition: transform 0.2s;
}
.links-grid a:hover {
  transform: scale(1.05);
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}
.gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 6px #ffb0e4;
}

/* SPARKLES ANIMATION */
.sparkles::before,
.sparkles::after {
  content: "✨";
  position: fixed;
  top: 10%;
  font-size: 30px;
  animation: float 6s infinite ease-in-out;
  opacity: 0.35;
}
.sparkles::after {
  left: 80%;
}
.sparkles::before {
  left: 20%;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(25px); }
  100% { transform: translateY(0px); }
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #ffd8ef;
  margin-top: 40px;
  border-top: 2px solid #ffbde4;
}

/* DARK MODE */
body.dark {
  background: #1d1421;
  color: #f3d1f5;
}
body.dark nav {
  background: #2d1e30;
  border-color: #5d3370;
}
body.dark .card {
  background: #2a1f32;
  box-shadow: none;
}
body.dark footer {
  background: #2d1e30;
}
body.dark .links-grid a {
  background: #a460d1;
  box-shadow: none;
}
