:root {
  /* Couleurs principales */
  --home: radial-gradient(1200px 800px at 0% 0%, #7992ff, transparent 60%),
          radial-gradient(1200px 800px at 100% 0%, #9c5eda, transparent 60%),
          linear-gradient(50deg,  #5469cb 0%, #5c3285 100%);

  --primary-gradient: linear-gradient(135deg, #667eea 0%, #673e91 100%);
  --primary-color: #667eea;
  --secondary-color: #673e91;
  
  /* Couleurs secondaires */
  --white: #ffffff;
  --secondary: #e5e7eb;
  --text-primary: #1C2736;
  --text-secondary: #666666;
  /* Transition */
  --transition-normal: 0.3s ease;
}

:root.dark-theme {
  /* Couleurs principales */
  --home: radial-gradient(1200px 800px at 0% 0%, #757dff, transparent 60%), 
          radial-gradient(1200px 800px at 100% 0%, #90e2ff, transparent 60%), 
          linear-gradient(100deg, #5a57bf 0%, #6ab8d4 100%);

  --primary-gradient: linear-gradient(135deg, #605DC6 0%, #7FDDFF 100%);
  --primary-color: #605DC6;
  --secondary-color: #7FDDFF;

  --white: #1e1e1e;
  --secondary: #253142;
  --text-primary: #F9FAFB;
  --text-secondary: #b0b0b0;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}
  
body {
    font-family:"Open Sans", sans-serif;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: var(--home);
    position: relative;
    text-decoration: none;
}

/*----------------------------------------------------*/

#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: move 10s linear infinite;
}

#tsparticles canvas {
  transition: opacity 0.6s ease-out;
}

@keyframes move {
  0% {
      transform: translate(0, 0) scale(1);
      opacity: 0.6;
  }
  50% {
      transform: translate(60px, -60px) scale(1.2);
      opacity: 0.3;
  }
  100% {
      transform: translate(0, 0) scale(1);
      opacity: 0.6;
  }
}

/*----------------------------------------------------*/

.container {
    height: 100vh;
    width: 100vw;
}

/*----------------------------------------------------*/

.social-icons {
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
  align-items: center;
}

.iconic {
  display: inline-flex;
  width: 60px;
  height: 60px;
  text-decoration: none;
  font-size: 25px;
  color: white;
  border-radius: 50%;
  outline: 2px solid white;
  outline-offset: 0;
  transition-property: outline-offset, outline-color, background-color, transform;
  transition-duration: 0.25s;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.iconic i {
  margin: auto;
  font-size: 28px;
  width: 28px;
  text-decoration: none;
  font-size: 25px;
  color: white;
}

.iconic:hover {
  outline-offset: 4px;
  transform: scale(1.1);
}

.iconic:hover i, .iconic:hover svg {
  animation: shake 0.25s;
}

.iconic.youtube:hover {
  background-color: #ff0000;
  outline-color: #ff0000;
}
.iconic.twitch:hover {
  background-color: #9146ff;
  outline-color: #9146ff;
}
.iconic.discord:hover {
  background-color: #5865f2;
  outline-color: #5865f2;
}
.iconic.instagram:hover {
  background-color: #d6249f;
  outline-color: #d6249f;
}

@keyframes shake {
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-15deg);
  }
}

/*----------------------------------------------------*/

.character-container {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    transition: transform 0.1s ease-out;
}

/*----------------------------------------------------*/

.character {
    position: absolute;
    width: 300px;
    height: 400px;
    z-index: 2;
}

.character img {
  width: 31vw;
  position: absolute;
  object-fit: cover;
  bottom: -15vh;
  left: -26vw;
}

/*----------------------------------------------------*/

.planet-circle {
  position: absolute;
  top: 15vh;
  left: -1vw;
  transform: translateX(-50%);
  width: 150vw;
  z-index: 1;
}

.planet-circle img {
    width: 100%;
    object-fit: cover;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -30%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

/*----------------------------------------------------*/

.logo-section {
  position: absolute;
  top: 15%;
  left: 13%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeInLeft 2s forwards;
  text-align: center;
}

.logo-section .logo {
  width: 33vw;
}

.logo-section .logo img {
    width: 100%;
    height: auto;
}

/*----------------------------------------------------*/

.logo-text {
  color: white;
  font-size: 1.8vh;
  font-weight: 600;
  line-height: 1.4;
  max-width: 28vw;
}

/*----------------------------------------------------*/

.logo-section .social-icons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 10px;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/*----------------------------------------------------*/

.bottom-left {
    position: absolute;
    bottom: 3.5%;
    left: 2%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleX(-1);
    color: white;
    font-size: 35px;
}

.info-text {
    color: white;
    font-weight: 600;
    font-size: 1.5vh;
    line-height: 1;
}

/*----------------------------------------------------*/

.copyright {
    position: absolute;
    bottom: 3.5%;
    left: 50%;
    font-weight: 600;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5vh;
    text-align: center;
}

/*----------------------------------------------------*/

.version-badge {
  position: absolute;
  bottom: 2%;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;

  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.version-badge a {
  text-decoration: none;
  color: inherit;
}

.version-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
}
