/* ══════════════════════════════════════════════
   Page d'accueil — Morselli Maëlys
   Thème Rose 🌸
══════════════════════════════════════════════ */

/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #ffc2e0;
  color: #5c003a;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ═══ ORBES ANIMÉES EN FOND ═══ */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 800px; height: 800px;
  top: -250px; left: -200px;
  background: radial-gradient(circle, #ffffff 0%, #ffd6ec 60%, #ffaad4 100%);
  animation-delay: 0s;
}
.orb-2 {
  width: 700px; height: 700px;
  bottom: -250px; right: -200px;
  background: radial-gradient(circle, #ffffff 0%, #ffb6d9 60%, #ff80c0 100%);
  animation-delay: -4s;
}
.orb-3 {
  width: 500px; height: 500px;
  top: 40%; left: 55%;
  background: radial-gradient(circle, #ffffff 0%, #ffd6ec 60%, #ffaad4 100%);
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%   { opacity: 0.75; transform: scale(1)   translateY(0px); }
  50%  { opacity: 0.95; transform: scale(1.1) translateY(-30px); }
  100% { opacity: 0.75; transform: scale(1)   translateY(0px); }
}

/* ═══ TACHES BLANCHES SUPPLÉMENTAIRES ═══ */
.bg::before,
.bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.bg::before {
  width: 450px; height: 450px;
  top: 20%; right: 10%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,220,240,0.5) 60%, transparent 100%);
  animation: orbFloat 10s ease-in-out infinite;
  animation-delay: -2s;
}
.bg::after {
  width: 350px; height: 350px;
  top: 60%; left: 15%;
  background: radial-gradient(circle, rgba(255,255,255,0.85) 0%, rgba(255,200,230,0.4) 60%, transparent 100%);
  animation: orbFloat 14s ease-in-out infinite;
  animation-delay: -6s;
}

/* ═══ GRILLE DE PARTICULES ═══ */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* ═══ CONTENU PRINCIPAL ═══ */
main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 80px;
  max-width: 720px;
  width: 100%;
  gap: 0;
  animation: fadeInUp 0.9s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}



/* ═══ AVATAR / INITIALES ═══ */
.avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e8c 0%, #c2185b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 28px;
  box-shadow:
    0 0 0 10px rgba(233, 30, 140, 0.12),
    0 0 0 20px rgba(233, 30, 140, 0.06),
    0 20px 60px rgba(194, 24, 91, 0.4);
  position: relative;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #ff69b4, #ff1493, #ffb6c1) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spinBorder 6s linear infinite;
}

@keyframes spinBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ═══ NOM & TITRE ═══ */
.name {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #c2185b 0%, #e91e8c 60%, #ff69b4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: rgba(120, 0, 80, 0.7);
  margin-bottom: 10px;
  font-weight: 500;
}

.college {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c2185b;
  margin-bottom: 48px;
}

.college svg { width: 16px; height: 16px; flex-shrink: 0; }



/* ═══ BOUTON PRÉSENTATION ═══ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(120deg, #e91e8c 0%, #c2185b 100%);
  box-shadow: 0 10px 30px rgba(233, 30, 140, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 24px;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(233, 30, 140, 0.55);
}

.cta svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ═══ FOOTER ═══ */
footer {
  position: relative;
  z-index: 1;
  padding: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(150, 0, 80, 0.5);
}

footer a {
  color: rgba(255, 150, 200, 0.6);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

footer a:hover { color: #ff69b4; }

/* ═══ HELLO KITTY EASTER EGG 🎀 ═══ */
.hello-kitty-wrap {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
  animation: kittyFloat 4s ease-in-out infinite;
}

.hello-kitty-svg {
  width: 280px;
  height: 280px;
  filter: drop-shadow(0 8px 32px rgba(255, 20, 147, 0.85)) drop-shadow(0 0 60px rgba(255, 105, 180, 0.6));
  transition: transform 0.3s ease;
}

.hello-kitty-wrap:hover .hello-kitty-svg {
  transform: scale(1.18) rotate(-6deg);
}

.kitty-bubble {
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.4);
  pointer-events: none;
}

.hello-kitty-wrap:hover .kitty-bubble {
  opacity: 1;
  transform: translateY(0);
}

@keyframes kittyFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 600px) {
  .name { font-size: clamp(2rem, 9vw, 3rem); }
  .hello-kitty-wrap { bottom: 16px; left: 16px; }
  .hello-kitty-svg { width: 180px; height: 180px; }
}
