/* ============================
   INFOS PAGE STYLES
   (loaded after work.css which provides base/header styles)
============================ */

/* ============================
   LAYOUT OVERRIDES
============================ */
html,
body {
  overflow: auto;
  height: auto;
}

body {
  height: auto;
  min-height: 100vh;
}


/* ============================
   PRESENTATION / HERO
============================ */
.presentation {
  margin: 0 auto;
  width: 80vw;
  max-width: 800px;
  text-align: center;
  padding-top: 15vh;
  padding-bottom: 5vh;
}

.presentation h1 {
  font-family: var(--font-title);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #562F00;
  letter-spacing: 0.15em;
  display: inline-block;
}

.presentation p {
  font-size: clamp(0.7rem, 1.2vw, 0.95rem);
  line-height: 1.7;
  color: #562F00;
  opacity: 0.8;
  margin: 1.5rem auto 0;
  max-width: 600px;
}


/* Animation */
.presentation h1,
.presentation p {
  opacity: 0;
  transform: translateY(30px);
  display: inline-block;
  filter: blur(8px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.presentation.visible h1,
.presentation.visible p {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.presentation p span,
.presentation .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: all 0.4s ease;
}

.presentation.visible p span,
.presentation.visible .word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}


/* ============================
   INFOS SECTIONS
============================ */
.infos-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: flex-start;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3vh 0;
  gap: 2rem;
}

.infos {
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 2rem;
  background: #FFFDF1;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(86, 47, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.infos:hover {
  box-shadow: 0 6px 24px rgba(86, 47, 0, 0.1);
  transform: translateY(-2px);
}

.infos h2 {
  text-transform: uppercase;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.75rem;
  color: #FFCE99;
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}

.infos p {
  font-family: var(--font);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 500;
  color: #FFCE99;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.infos a {
  text-decoration: none;
  color: #FFCE99;
  transition: color 0.3s ease;
}

.infos a:hover {
  color: #FFCE99;
}


/* ============================
   CREDITS
============================ */
.infos-section-credits {
  margin: 0 auto;
  text-align: center;
  padding: 8vh 0 4vh;
}

.infos-section-credits h2 {
  font-family: var(--font-title);
  text-transform: uppercase;
  font-size: 0.6rem;
  font-weight: 700;
  color: #562F00;
  letter-spacing: 0.23em;
  opacity: 0.8;
}

.infos-section-credits p {
  font-family: var(--font);
  font-size: 0.55rem;
  text-transform: uppercase;
  font-weight: 400;
  color: #562F00;
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  opacity: 0.6;
}


/* ============================
   ANIMATIONS
============================ */
.infos-page,
.infos-section-credits {
  will-change: opacity, transform;
}


/* ============================
   RESPONSIVE
============================ */
@media (max-width: 992px) {
  .presentation {
    padding-top: 10vh;
    width: 85vw;
  }

  .presentation h1 {
    font-size: 1.8rem;
  }

  .presentation p {
    font-size: 0.9rem;
  }

  .infos-page {
    grid-template-columns: 1fr;
    width: 85%;
  }

  .infos {
    padding: 2rem 1.5rem;
  }
}

/* ============================
   SPARKLES
============================ */
.login-sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
  /* Behind content, or adjust as needed */
}

.login-sparkles span {
  position: absolute;
  background: #FFCE99;
  opacity: 0;
  clip-path: polygon(50% 0%, 61% 35%, 100% 50%, 61% 65%,
      50% 100%, 39% 65%, 0% 50%, 39% 35%);
}

.login-sparkles span:nth-child(1) {
  left: 8%;
  top: 12%;
  width: 14px;
  height: 14px;
  animation: pop 1.8s ease-in-out 0s infinite;
}

.login-sparkles span:nth-child(2) {
  left: 88%;
  top: 18%;
  width: 18px;
  height: 18px;
  animation: pop 2.2s ease-in-out 0.15s infinite;
}

.login-sparkles span:nth-child(3) {
  left: 42%;
  top: 82%;
  width: 12px;
  height: 12px;
  animation: pop 1.5s ease-in-out 0.35s infinite;
}

.login-sparkles span:nth-child(4) {
  left: 74%;
  top: 52%;
  width: 10px;
  height: 10px;
  animation: pop 2.0s ease-in-out 0.55s infinite;
}

.login-sparkles span:nth-child(5) {
  left: 18%;
  top: 42%;
  width: 16px;
  height: 16px;
  animation: pop 1.7s ease-in-out 0.25s infinite;
}

.login-sparkles span:nth-child(6) {
  left: 62%;
  top: 8%;
  width: 11px;
  height: 11px;
  animation: pop 2.1s ease-in-out 0.7s infinite;
}

.login-sparkles span:nth-child(7) {
  left: 33%;
  top: 32%;
  width: 15px;
  height: 15px;
  animation: pop 1.6s ease-in-out 0.9s infinite;
}

.login-sparkles span:nth-child(8) {
  left: 92%;
  top: 68%;
  width: 10px;
  height: 10px;
  animation: pop 2.4s ease-in-out 0.45s infinite;
}

.login-sparkles span:nth-child(9) {
  left: 3%;
  top: 62%;
  width: 13px;
  height: 13px;
  animation: pop 1.9s ease-in-out 1.1s infinite;
}

.login-sparkles span:nth-child(10) {
  left: 52%;
  top: 3%;
  width: 17px;
  height: 17px;
  animation: pop 2.0s ease-in-out 0.1s infinite;
}

.login-sparkles span:nth-child(11) {
  left: 80%;
  top: 90%;
  width: 12px;
  height: 12px;
  animation: pop 1.4s ease-in-out 0.65s infinite;
}

.login-sparkles span:nth-child(12) {
  left: 28%;
  top: 92%;
  width: 14px;
  height: 14px;
  animation: pop 2.3s ease-in-out 1.0s infinite;
}

.login-sparkles span:nth-child(13) {
  left: 58%;
  top: 40%;
  width: 9px;
  height: 9px;
  animation: pop 1.6s ease-in-out 0.8s infinite;
}

.login-sparkles span:nth-child(14) {
  left: 12%;
  top: 85%;
  width: 16px;
  height: 16px;
  animation: pop 2.1s ease-in-out 1.3s infinite;
}

.login-sparkles span:nth-child(15) {
  left: 95%;
  top: 38%;
  width: 13px;
  height: 13px;
  animation: pop 1.8s ease-in-out 0.12s infinite;
}

.login-sparkles span:nth-child(16) {
  left: 40%;
  top: 15%;
  width: 11px;
  height: 11px;
  animation: pop 1.5s ease-in-out 0.5s infinite;
}

.login-sparkles span:nth-child(17) {
  left: 70%;
  top: 28%;
  width: 15px;
  height: 15px;
  animation: pop 2.0s ease-in-out 0.3s infinite;
}

.login-sparkles span:nth-child(18) {
  left: 22%;
  top: 72%;
  width: 10px;
  height: 10px;
  animation: pop 1.7s ease-in-out 1.5s infinite;
}

.login-sparkles span:nth-child(19) {
  left: 85%;
  top: 5%;
  width: 12px;
  height: 12px;
  animation: pop 2.2s ease-in-out 0.4s infinite;
}

.login-sparkles span:nth-child(20) {
  left: 48%;
  top: 58%;
  width: 14px;
  height: 14px;
  animation: pop 1.9s ease-in-out 0.75s infinite;
}

.login-sparkles span:nth-child(21) {
  left: 6%;
  top: 30%;
  width: 9px;
  height: 9px;
  animation: pop 1.4s ease-in-out 1.2s infinite;
}

.login-sparkles span:nth-child(22) {
  left: 65%;
  top: 75%;
  width: 17px;
  height: 17px;
  animation: pop 2.3s ease-in-out 0.2s infinite;
}

.login-sparkles span:nth-child(23) {
  left: 38%;
  top: 50%;
  width: 11px;
  height: 11px;
  animation: pop 1.6s ease-in-out 0.95s infinite;
}

.login-sparkles span:nth-child(24) {
  left: 82%;
  top: 45%;
  width: 13px;
  height: 13px;
  animation: pop 2.1s ease-in-out 0.6s infinite;
}

.login-sparkles span:nth-child(25) {
  left: 15%;
  top: 55%;
  width: 15px;
  height: 15px;
  animation: pop 1.8s ease-in-out 1.4s infinite;
}

.login-sparkles span:nth-child(26) {
  left: 55%;
  top: 22%;
  width: 10px;
  height: 10px;
  animation: pop 1.5s ease-in-out 0.85s infinite;
}

.login-sparkles span:nth-child(27) {
  left: 75%;
  top: 95%;
  width: 12px;
  height: 12px;
  animation: pop 2.0s ease-in-out 0.05s infinite;
}

.login-sparkles span:nth-child(28) {
  left: 25%;
  top: 8%;
  width: 16px;
  height: 16px;
  animation: pop 1.7s ease-in-out 1.15s infinite;
}

.login-sparkles span:nth-child(29) {
  left: 46%;
  top: 68%;
  width: 9px;
  height: 9px;
  animation: pop 2.4s ease-in-out 0.38s infinite;
}

.login-sparkles span:nth-child(30) {
  left: 90%;
  top: 15%;
  width: 14px;
  height: 14px;
  animation: pop 1.6s ease-in-out 0.58s infinite;
}

.login-sparkles span:nth-child(31) {
  left: 2%;
  top: 5%;
  width: 11px;
  height: 11px;
  animation: pop 1.9s ease-in-out 0.22s infinite;
}

.login-sparkles span:nth-child(32) {
  left: 97%;
  top: 50%;
  width: 13px;
  height: 13px;
  animation: pop 1.5s ease-in-out 0.72s infinite;
}

.login-sparkles span:nth-child(33) {
  left: 36%;
  top: 95%;
  width: 15px;
  height: 15px;
  animation: pop 2.1s ease-in-out 1.05s infinite;
}

.login-sparkles span:nth-child(34) {
  left: 68%;
  top: 10%;
  width: 10px;
  height: 10px;
  animation: pop 1.7s ease-in-out 0.48s infinite;
}

.login-sparkles span:nth-child(35) {
  left: 14%;
  top: 38%;
  width: 12px;
  height: 12px;
  animation: pop 2.3s ease-in-out 0.18s infinite;
}

.login-sparkles span:nth-child(36) {
  left: 78%;
  top: 62%;
  width: 16px;
  height: 16px;
  animation: pop 1.4s ease-in-out 0.88s infinite;
}

.login-sparkles span:nth-child(37) {
  left: 50%;
  top: 25%;
  width: 9px;
  height: 9px;
  animation: pop 2.0s ease-in-out 1.35s infinite;
}

.login-sparkles span:nth-child(38) {
  left: 30%;
  top: 48%;
  width: 14px;
  height: 14px;
  animation: pop 1.8s ease-in-out 0.62s infinite;
}

.login-sparkles span:nth-child(39) {
  left: 86%;
  top: 82%;
  width: 11px;
  height: 11px;
  animation: pop 1.6s ease-in-out 0.32s infinite;
}

.login-sparkles span:nth-child(40) {
  left: 10%;
  top: 75%;
  width: 17px;
  height: 17px;
  animation: pop 2.2s ease-in-out 1.18s infinite;
}

.login-sparkles span:nth-child(41) {
  left: 44%;
  top: 6%;
  width: 13px;
  height: 13px;
  animation: pop 1.5s ease-in-out 0.08s infinite;
}

.login-sparkles span:nth-child(42) {
  left: 72%;
  top: 35%;
  width: 10px;
  height: 10px;
  animation: pop 2.4s ease-in-out 0.92s infinite;
}

.login-sparkles span:nth-child(43) {
  left: 20%;
  top: 18%;
  width: 15px;
  height: 15px;
  animation: pop 1.7s ease-in-out 0.42s infinite;
}

.login-sparkles span:nth-child(44) {
  left: 56%;
  top: 88%;
  width: 12px;
  height: 12px;
  animation: pop 1.9s ease-in-out 1.28s infinite;
}

.login-sparkles span:nth-child(45) {
  left: 94%;
  top: 25%;
  width: 9px;
  height: 9px;
  animation: pop 2.1s ease-in-out 0.52s infinite;
}

.login-sparkles span:nth-child(46) {
  left: 4%;
  top: 48%;
  width: 16px;
  height: 16px;
  animation: pop 1.4s ease-in-out 0.78s infinite;
}

.login-sparkles span:nth-child(47) {
  left: 60%;
  top: 55%;
  width: 11px;
  height: 11px;
  animation: pop 2.0s ease-in-out 1.42s infinite;
}

.login-sparkles span:nth-child(48) {
  left: 34%;
  top: 70%;
  width: 14px;
  height: 14px;
  animation: pop 1.8s ease-in-out 0.28s infinite;
}

.login-sparkles span:nth-child(49) {
  left: 84%;
  top: 42%;
  width: 13px;
  height: 13px;
  animation: pop 1.6s ease-in-out 1.08s infinite;
}

.login-sparkles span:nth-child(50) {
  left: 16%;
  top: 92%;
  width: 10px;
  height: 10px;
  animation: pop 2.3s ease-in-out 0.68s infinite;
}

.login-sparkles span:nth-child(51) {
  left: 47%;
  top: 35%;
  width: 15px;
  height: 15px;
  animation: pop 1.5s ease-in-out 0.15s infinite;
}

.login-sparkles span:nth-child(52) {
  left: 76%;
  top: 78%;
  width: 12px;
  height: 12px;
  animation: pop 2.2s ease-in-out 0.98s infinite;
}

.login-sparkles span:nth-child(53) {
  left: 26%;
  top: 58%;
  width: 9px;
  height: 9px;
  animation: pop 1.9s ease-in-out 0.38s infinite;
}

.login-sparkles span:nth-child(54) {
  left: 66%;
  top: 2%;
  width: 16px;
  height: 16px;
  animation: pop 1.7s ease-in-out 1.22s infinite;
}

.login-sparkles span:nth-child(55) {
  left: 7%;
  top: 22%;
  width: 11px;
  height: 11px;
  animation: pop 2.0s ease-in-out 0.58s infinite;
}

.login-sparkles span:nth-child(56) {
  left: 54%;
  top: 72%;
  width: 14px;
  height: 14px;
  animation: pop 1.4s ease-in-out 0.82s infinite;
}

.login-sparkles span:nth-child(57) {
  left: 38%;
  top: 12%;
  width: 13px;
  height: 13px;
  animation: pop 2.4s ease-in-out 1.45s infinite;
}

.login-sparkles span:nth-child(58) {
  left: 91%;
  top: 55%;
  width: 10px;
  height: 10px;
  animation: pop 1.6s ease-in-out 0.05s infinite;
}

.login-sparkles span:nth-child(59) {
  left: 22%;
  top: 85%;
  width: 17px;
  height: 17px;
  animation: pop 2.1s ease-in-out 0.72s infinite;
}

.login-sparkles span:nth-child(60) {
  left: 64%;
  top: 45%;
  width: 12px;
  height: 12px;
  animation: pop 1.8s ease-in-out 1.12s infinite;
}

.login-sparkles span:nth-child(61) {
  left: 1%;
  top: 95%;
  width: 9px;
  height: 9px;
  animation: pop 1.5s ease-in-out 0.42s infinite;
}

.login-sparkles span:nth-child(62) {
  left: 96%;
  top: 8%;
  width: 15px;
  height: 15px;
  animation: pop 2.3s ease-in-out 0.88s infinite;
}

.login-sparkles span:nth-child(63) {
  left: 42%;
  top: 62%;
  width: 11px;
  height: 11px;
  animation: pop 1.7s ease-in-out 0.18s infinite;
}

.login-sparkles span:nth-child(64) {
  left: 70%;
  top: 92%;
  width: 14px;
  height: 14px;
  animation: pop 1.9s ease-in-out 1.32s infinite;
}

.login-sparkles span:nth-child(65) {
  left: 32%;
  top: 28%;
  width: 16px;
  height: 16px;
  animation: pop 2.0s ease-in-out 0.62s infinite;
}

.login-sparkles span:nth-child(66) {
  left: 80%;
  top: 18%;
  width: 10px;
  height: 10px;
  animation: pop 1.4s ease-in-out 0.95s infinite;
}

.login-sparkles span:nth-child(67) {
  left: 11%;
  top: 52%;
  width: 13px;
  height: 13px;
  animation: pop 2.2s ease-in-out 0.28s infinite;
}

.login-sparkles span:nth-child(68) {
  left: 58%;
  top: 78%;
  width: 12px;
  height: 12px;
  animation: pop 1.6s ease-in-out 1.48s infinite;
}

.login-sparkles span:nth-child(69) {
  left: 88%;
  top: 32%;
  width: 15px;
  height: 15px;
  animation: pop 1.8s ease-in-out 0.52s infinite;
}

.login-sparkles span:nth-child(70) {
  left: 46%;
  top: 48%;
  width: 9px;
  height: 9px;
  animation: pop 2.1s ease-in-out 0.82s infinite;
}

.login-sparkles span:nth-child(71) {
  left: 5%;
  top: 8%;
  width: 11px;
  height: 11px;
  animation: pop 1.5s ease-in-out 1.15s infinite;
}

.login-sparkles span:nth-child(72) {
  left: 74%;
  top: 65%;
  width: 16px;
  height: 16px;
  animation: pop 2.4s ease-in-out 0.35s infinite;
}

.login-sparkles span:nth-child(73) {
  left: 24%;
  top: 38%;
  width: 14px;
  height: 14px;
  animation: pop 1.7s ease-in-out 0.68s infinite;
}

.login-sparkles span:nth-child(74) {
  left: 52%;
  top: 85%;
  width: 10px;
  height: 10px;
  animation: pop 1.9s ease-in-out 1.02s infinite;
}

.login-sparkles span:nth-child(75) {
  left: 36%;
  top: 5%;
  width: 13px;
  height: 13px;
  animation: pop 2.0s ease-in-out 0.22s infinite;
}

.login-sparkles span:nth-child(76) {
  left: 93%;
  top: 75%;
  width: 12px;
  height: 12px;
  animation: pop 1.4s ease-in-out 1.38s infinite;
}

.login-sparkles span:nth-child(77) {
  left: 17%;
  top: 65%;
  width: 15px;
  height: 15px;
  animation: pop 2.3s ease-in-out 0.48s infinite;
}

.login-sparkles span:nth-child(78) {
  left: 62%;
  top: 30%;
  width: 9px;
  height: 9px;
  animation: pop 1.6s ease-in-out 0.78s infinite;
}

.login-sparkles span:nth-child(79) {
  left: 44%;
  top: 42%;
  width: 17px;
  height: 17px;
  animation: pop 2.1s ease-in-out 1.25s infinite;
}

.login-sparkles span:nth-child(80) {
  left: 83%;
  top: 58%;
  width: 11px;
  height: 11px;
  animation: pop 1.8s ease-in-out 0.08s infinite;
}



/* ============================
   MOUAK IMAGE
============================ */
.mouak-image-container {
  margin: 3rem auto 0;
  width: 100%;
  max-width: 500px;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.mouak-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(86, 47, 0, 0.15);
  display: block;
  border: 4px solid #FFFDF1;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }

  20% {
    opacity: 1;
    transform: scale(1.3) rotate(15deg);
  }

  40% {
    opacity: 0.7;
    transform: scale(0.9) rotate(-10deg);
  }

  60% {
    opacity: 0.4;
    transform: scale(1.1) rotate(5deg);
  }

  100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
}