/* Auteur : Z3S_2 */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(120deg, #0b0b0b, #1c1c1c, #2e2e2e, #1c1c1c);
  background-size: 300% 300%;
  animation: containerGradient 35s ease infinite;
  color: #fff;
  overflow-x: hidden;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 136, 0.05) 0%,
    transparent 70%
  );
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1) contrast(1.1) saturate(1.2);
  z-index: 1;
  animation: slowZoom 60s linear infinite;
}

@media (min-width: 1025px) {
  .hero-image {
    filter: brightness(0.4) contrast(1.1) saturate(1.2);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  animation: fadeInUp 2s ease-out;
}

.hero-content h1 {
  font-family: "Press Start 2P", cursive;
  font-size: 3.2rem;
  color: #e98a4f;
  text-shadow: 0 0 15px #e98a4f, 0 0 30px #e98a4f, 0 0 45px #e98a4f;
  animation: glowText 2.5s ease-in-out infinite alternate;
}

.hero-content p {
  font-size: 1.3rem;
  color: #ffeaca;
  text-shadow: 0 0 10px #e98a4f;
  line-height: 1.6;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-ip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 136, 0, 0.3);
  border: 2px solid rgba(255, 136, 0, 0.5);
  border-radius: 25px;
  padding: 12px 20px;
  box-shadow: 0 0 20px rgba(255, 133, 34, 0.6);
  color: #e98a4f;
  font-weight: 700;
  font-size: 1.05rem;
}

.copy-mini {
  background: rgba(255, 136, 0, 0.3);
  border: 2px solid rgba(255, 133, 34, 0.6);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #caffd8;
  font-size: 1.1rem;
}

.copy-mini:hover {
  background: rgba(255, 133, 34, 1.5);
  box-shadow: 0 0 15px rgba(255, 133, 34, 2);
  transform: scale(1.1);
}

.hero-ip:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(255, 133, 34, 2);
}

.hero-buttons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.copy-btn,
.discord-btn {
  padding: 16px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.copy-btn {
  background: rgba(0, 255, 136, 0.3);
  color: rgb(202, 255, 216);
  box-shadow: 0 0 20px rgba(34, 255, 136, 0.6);
  text-shadow: 0 0 7px #00ff99;
  border: solid 2px rgba(0, 255, 136, 0.5);
}

.discord-btn {
  background: linear-gradient(145deg, #5865f2, #404eed);
  color: #fff;
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.7);
}

.copy-btn::after,
.discord-btn::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(25deg);
  transition: all 0.5s ease;
}

.copy-btn:hover::after,
.discord-btn:hover::after {
  transform: rotate(25deg) translateX(15px);
}

.copy-btn:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 0 40px rgba(255, 133, 34, 0.9), 0 0 40px rgba(0, 0, 0, 0.9);
}

.discord-btn:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 0 40px rgba(0, 183, 255, 0.9), 0 0 40px rgba(0, 0, 0, 0.9);
}

.discord-btn i {
  margin-right: 10px;
  font-size: 1.3rem;
  vertical-align: middle;
}

.intro {
  padding: 90px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro h2 {
  font-family: "Press Start 2P", cursive;
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 0 8px #e98a4f;
  margin-bottom: 50px;
  text-align: center;
}

.intro-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.intro-card {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 25px;
  padding: 35px;
  flex: 1 1 calc(50% - 20px);
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 0 30px rgba(240, 145, 21, 0.4);
  transition: all 0.3s ease;
}

.intro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 50px #e98a4f;
}

.intro-icon {
  font-size: 3rem;
  margin: 0;
  flex-shrink: 0;
}

.intro-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ffe8ca;
}

.site-footer {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}

@keyframes containerGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes particlesMove {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(50px, 50px) rotate(180deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes linesMove {
  0% {
    background-position: 0 0, 0 0;
  }
  50% {
    background-position: 40px 40px, -40px -40px;
  }
  100% {
    background-position: 0 0, 0 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glowText {
  0% {
    text-shadow: 0 0 15px #e98a4f, 0 0 30px #e4ad8b;
  }
  100% {
    text-shadow: 0 0 25px #e98a4f, 0 0 45px #e4ad8b;
  }
}

.page-accueil .site-title {
  display: none;
}

@media (max-width: 768px) {
  .page-accueil .site-title {
    display: inline-block;
  }

  .page-accueil .hero-content h1 {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 70px 10px 50px 10px;
    margin-bottom: 20px;
    margin-top: 70px;
  }

  .hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .copy-btn,
  .discord-btn {
    width: 80%;
    max-width: 300px;
    padding: 12px 0;
  }

  .hero-content {
    padding-top: 30px;
  }

  .intro {
    max-width: 100%;
    padding: 40px 15px;
    padding-top: 0;
  }

  .intro h2 {
    font-size: 1.6rem;
  }

  .intro-cards {
    flex-direction: column;
    gap: 25px;
  }

  .intro-card {
    flex: 1 1 100%;
    padding: 25px;
    justify-content: center;
    gap: 15px;
  }

  .intro-card p {
    font-size: 1rem;
  }

  .intro-icon {
    font-size: 2.5rem;
  }
}

.intro-card {
  position: relative;
  animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px) translateX(5px);
  }
  100% {
    transform: translateY(0px);
  }
}

.intro-icon {
  display: inline-block;
  animation: pulseIcon 2s ease-in-out infinite alternate;
}

@keyframes pulseIcon {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.copy-btn,
.discord-btn {
  animation: neonGlow 2.5s ease-in-out infinite alternate;
}

@keyframes neonGlow {
  0% {
    box-shadow: 0 0 20px rgb(0, 174, 255, 0);
  }
  50% {
    box-shadow: 0 0 20px rgb(0, 174, 255, 0.75);
  }
  100% {
    box-shadow: 0 0 20px rgb(0, 174, 255, 0.75);
  }
}

.hero-image {
  transition: transform 0.2s ease;
}

.hero:hover .hero-image {
  transform: scale(1.05) translateY(-5px);
}

.intro-card p {
  transition: text-shadow 0.5s ease;
}

.intro-card:hover p {
  text-shadow: 0 0 15px #8b3f01, 0 0 30px #ff7a0d;
}

.intro-card:nth-child(1) {
  animation-delay: 0.1s;
}

.intro-card:nth-child(2) {
  animation-delay: 0.3s;
}

.intro-card:nth-child(3) {
  animation-delay: 0.5s;
}

.intro-card:nth-child(4) {
  animation-delay: 0.7s;
}

.intro-card:nth-child(5) {
  animation-delay: 0.9s;
}

.intro-cards:hover .intro-card {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .hero {
    display: block;
    padding: 0;
    margin-top: 70px;
    margin-bottom: 20px;
    height: auto;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    z-index: 1;
    animation: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 25px 15px;
    margin-top: 10px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    display: block;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .copy-btn,
  .discord-btn {
    width: 80%;
    max-width: 300px;
    padding: 12px 0;
  }
}

.hero-fade-desktop {
  display: block;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

@media (max-width: 768px) {
  .hero-fade-desktop {
    display: none;
  }
  .hero-fade-mobile {
    display: block;
  }
}

.hero-slider-mobile {
  display: block;
  position: relative;
  width: 100%;
  height: 150px;
  overflow: visible;
}

.hero-slider-mobile .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.7s ease, transform 1.2s ease;
  transform: scale(1.03);
  object-fit: cover;
}

.hero-slider-mobile .slide.active {
  opacity: 1;
  transform: scale(1);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  font-weight: bold;
  color: #ffeaca;
  text-shadow: 0 0 10px #e98a4f, 0 0 20px #e98a4f;
  z-index: 10;
  padding: 10px 15px;
  cursor: pointer;
  user-select: none;
}

.slider-arrow.left {
  left: 10px;
}

.slider-arrow.right {
  right: 10px;
}

.hero-fade-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero-fade-mobile {
    display: block !important;
    position: absolute;
    top: 150px;
    left: 0;
    width: 100%;
    height: 110px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.7) 40%,
      rgba(0, 0, 0, 0.35) 70%,
      rgba(0, 0, 0, 0) 100%
    );
  }
}

.hero-image-desktop {
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .hero-image-desktop {
    display: none;
  }
}

.hero-slider-mobile {
  display: none;
  position: relative;
  width: 100%;
  height: 150px;
  overflow: visible;
}

@media (max-width: 768px) {
  .hero-slider-mobile {
    display: block;
  }

  .hero-image-desktop {
    display: none;
  }
}
