@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");
* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  /* Add will-change to optimize animations */
  will-change: transform, opacity;
}

/* Hardware acceleration for all animated elements */
.float,
.float_2,
.float_shade,
.button,
.main-btn,
.flip,
[data-animate-in],
#main_water1,
#main_water2,
#main_water3,
#main_water4,
#main_water5,
#main_water6,
#main2 #v2_back_gen,
#main2 #v2_wall_gen,
#main2 #v2_top_crystal_gen,
#main2 #v2_floor_gen,
#main2 #v2_bot_crystal_gen,
#main2 #v2_left_crystal_cartoon,
#main2 #v2_stalagmite_cartoon,
#main2 #v2_piou_cartoon,
#main2 #v2_loulou_cartoon,
#main #v1_back_gen,
#main #v1_rock_cartoon_1,
#main #v1_top_rock_gen,
#main #v1_rock_left_gen,
#main #v1_rock_bot_gen,
#main #v1_grass_cartoon_3,
#main #v1_grass_cartoon_2,
#main #v1_grass_cartoon_1,
#main #v1_loulou_cartoon {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000;
  -webkit-font-smoothing: antialiased;
}

/* Optimize fixed position elements */
.navbar,
.dashboard-nav {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* Use more efficient transform properties for animations */
@keyframes float {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -20px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes float_2 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Optimize animation performance */
.button__mask {
  transform: translate3d(-100%, 0, 0) rotate(45deg);
  will-change: transform;
}

.button:hover .button__mask {
  transform: translate3d(100%, 0, 0) rotate(45deg);
}

/* Optimize transitions */
.main-btn {
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1),
              background 0.4s ease,
              box-shadow 0.4s ease;
}

/* Use composite properties */
[data-animate-in] {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1),
              opacity 0.7s ease;
}

[data-animate-in].in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Optimize water animations */
@keyframes main_water {
  0% {
    transform: translate3d(0, 10px, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 500px, 0);
    opacity: 0.5;
  }
}

html {
  overflow-x: hidden;
}

body {
  background-color: #0f172a;
  /*min-height: 100vh;*/
  overflow-x: hidden;
  overflow-y: overlay;
  color: #dcdcdc;
  /* padding-top: 73px; Height of navbar + some spacing */
}

/*====== Custom scrollbar ======*/
* {
  scrollbar-color: #fff transparent;
}

::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 15px;
  background: #fff;
}

/*==============================*/
@media screen and (max-width: 650px) {
  .header {
    justify-content: center;
  }
  .nav {
    display: none;
  }
}
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
}

/* Adjust header when user is logged in */
body.user-logged-in header {
  top: 60px; /* Move header down when navbar is present */
}

header .logo {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 2em;
  text-transform: uppercase;
  position: absolute;
  top: 186px;
  left: 118px;
  z-index: -1;
  filter: drop-shadow(2px 4px 6px black);
}

header ul {
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 0 0 15px #0f0f0f, 0 0 15px #400e53;
}

header ul li {
  list-style: none;
  margin-left: 20px;
}

header ul li a {
  text-decoration: none;
  padding: 6px 15px;
  color: #fff;
  border-radius: 20px;
  transition: 0.5s;
}

header ul li a:hover {
  background-color: #fff;
  color: #2b1055;
}

.home-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../images/back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Combined pseudo-element for blur and gradient */
.home-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  transform: scale(1.1);
  z-index: 1;
}

.home-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 300px;
  width: 100%;
  background: linear-gradient(to top, #1c0522, transparent);
  z-index: 12;
}

/* Ensure content stays above the blur */
.home-section > * {
  position: relative;
  z-index: 2;
}

.home-section img {
  transition: 0.1s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

/* Replace the old #btn-letsgo styles with these new .main-btn styles */
.main-btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  background: linear-gradient(135deg, #8a41d0 0%, #3f41a1 100%);
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
  z-index: 102;
  margin: 10px 15px;
  min-width: 200px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
}

.main-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s ease;
}

.main-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #9b52e1 0%, #4f51b1 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(138, 65, 208, 0.5);
}

.main-btn:hover:before {
  left: 100%;
}

.main-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 15px rgba(138, 65, 208, 0.4);
}

/* Update the home-buttons container styles */
.home-buttons {
  position: relative;
  z-index: 102;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  padding: 0 20px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .home-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .main-btn {
    padding: 12px 30px;
    font-size: 1.1em;
    min-width: 180px;
    margin: 5px 10px;
  }
}

@media screen and (max-width: 480px) {
  .main-btn {
    padding: 10px 25px;
    font-size: 1em;
    min-width: 160px;
    margin: 5px;
  }
  
  .home-buttons {
    gap: 12px;
    margin-top: 20px;
  }
}

#piou {
  height: 75px;
  width: 75px;
  transition: 0.5s;
  margin-left: 113px;
  z-index: 26;
}

#loulou {
  height: 350px;
  width: 290px;
  top: 0px;
  margin-top: 650px;
  margin-left: 350px;
  bottom: 1100px;
  z-index: 26;
}

#fire {
  height: 350px;
  width: 400px;
  top: 0px;
  margin-top: 640px;
  margin-left: 530px;
  bottom: 1200px;
  z-index: 99;
}

#logo {
  height: 100px;
  position: absolute;
  left: 172px;
  top: 112px;
}

.about-section {
  position: relative;
  display: block;
  padding: 60px 0 60px 0;
  background-color: #0f172a;
  z-index: 13;
}

.about-section h2 {
  margin: 0.65em 0;
  color: #fff;
  font-size: 3.25em;
}

h3 {
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #fff;
  font-size: 2em;
}

.about-section p {
  margin: 1em 0;
  color: #fff;
  font-size: 1em;
}

.about-section ul {
  margin: 1em 0;
  padding-left: 2.5em;
}

.about-section ul li {
  margin: 0.5em 0;
  color: #fff;
  font-size: 1em;
}

.contact-section {
  /* height: 1129px; */
  position: relative;
  display: block;
  padding: 1px;
  background-color: #0f172a;
  z-index: 13;
}

footer {
  width: 100%;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
}

footer .logo {
  color: #2b1055;
  font-size: 2em;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

footer p {
  color: #2b1055;
  font-size: 1em;
}

/*main*/
/*==============================*/
#main_back_gen {
  width: 85%;
}

#chest {
  z-index: 3;
  width: 81rem;
}

#main_mountains_back {
  position: absolute;
  z-index: 4;
  width: 406px;
  right: 0px;
  left: initial;
}

#main_mountains_back2 {
  position: absolute;
  z-index: 7;
  width: 60%;
  left: initial;
  top: 21px;
  right: 0px;
}

#main_mountains_back3 {
  position: absolute;
  right: 0px;
  left: initial;
  width: 578px;
  z-index: 6;
}

#main_water1 {
  top: 2px;
  right: 0px;
  left: inherit;
  width: 217px;
  height: 384px;
  animation-name: main_water;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  animation-delay: 0s;
}

#main_water2 {
  top: 2px;
  right: 0px;
  left: inherit;
  width: 217px;
  height: 384px;
  animation-name: main_water;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  animation-delay: 0.5s;
}

#main_water3 {
  top: 2px;
  right: 0px;
  left: inherit;
  width: 217px;
  height: 384px;
  animation-name: main_water;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  animation-delay: 1s;
}

#main_water4 {
  top: 2px;
  right: 0px;
  left: inherit;
  width: 217px;
  height: 384px;
  animation-name: main_water;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  animation-delay: 1.5s;
}

#main_water5 {
  top: 2px;
  right: 0px;
  left: inherit;
  width: 217px;
  height: 384px;
  animation-name: main_water;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  animation-delay: 2s;
}

#main_water6 {
  top: 2px;
  right: 0px;
  left: inherit;
  width: 217px;
  height: 384px;
  animation-name: main_water;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  animation-delay: 2.5s;
}
/* 
@keyframes main_water {
  0% {
    z-index: 7;
    transform: translatey(10px);
    opacity: 0;
  }
  100% {
    z-index: 7;
    transform: translatey(500px);
    opacity: 0.5;
  }
}
#mountains_front {
  z-index: 9;
  padding-top: 200px;
} */

#main_loulou {
  z-index: 12;
  position: absolute;
  width: 479px;
  top: 83px !important;
  left: initial;
}

#main_vegetation_cartoon {
  z-index: 10;
  position: absolute;
  top: 90px;
  left: -40%;
}

#main_piou_2 {
  z-index: 12;
  position: absolute;
  width: 150px;
  top: 100px;
  left: initial;
  right: 150px;
}

#main_piou_1 {
  z-index: 12;
  position: absolute;
  width: 100px;
  top: 200px;
  left: initial;
  right: 70px;
}

#main_transition img {
  position: absolute;
  z-index: 99;
  top: 65%;
  width: 100%;
}

#transition_2 img {
  position: absolute;
  top: -5px;
  z-index: 99;
  left: 20%;
  width: 50%;
}

#main_text {
  margin-top: 10px;
}
#loulou_coin {
  max-width: 200px;
  /* margin-top: 330px; */
  margin-bottom: 119px;
}

/*v1*/
/*==============================*/
#main {
  width: 100%;
}

#v1_back_gen img {
  z-index: 20;
  position: relative;
  top: 66px;
  left: 0px;
  width: 600px;
}

#v1_rock_cartoon_1 {
  position: absolute;
  top: 0px;
  left: -30px;
  width: 600px;
  z-index: 21;
}

#v1_top_rock_gen {
  position: absolute;
  top: -31px;
  left: -3px;
  z-index: 25;
}

#v1_top_rock_gen img {
  width: 42rem;
}

#v1_rock_left_gen {
  position: absolute;
  top: 29px;
  left: 0px;
  width: 600px;
  z-index: 22;
}

#v1_rock_bot_gen {
  position: absolute;
  top: 50px;
  left: -50px;
  width: 600px;
  z-index: 23;
}

#v1_grass_cartoon_3 {
  position: absolute;
  top: 0px;
  left: -50px;
  width: 600px;
  z-index: 24;
}

#v1_grass_cartoon_2 {
  position: absolute;
  top: 0px;
  left: -50px;
  width: 600px;
  z-index: 23;
}

#v1_grass_cartoon_1 {
  position: absolute;
  top: 0px;
  left: -50px;
  width: 600px;
  z-index: 24;
}

#v1_loulou_cartoon {
  position: absolute;
  left: 10px;
  top: 340px;
  width: 600px;
  z-index: 26;
}

#v1_tv_cartoon {
  position: absolute;
  top: 245px;
  z-index: 40;
  right: 133px;
}

#v1_tv_effet {
  position: relative;
  z-index: 1;
  width: 120px;
  left: -60px;
  padding-top: 140px;
  /* padding-right: -30px; */
}

#v1_tv_box {
  position: absolute;
  width: 460px;
  z-index: 2;
  right: -42px;
}

/*button extention*/
.button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  z-index: 50;
  user-select: none;
  display: inline-block;
  border: 0.2em solid;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  color: #FFF;
}

.button a, .button span{
  color:white !important;
  text-decoration:none;
}

.button__text {
  display: block;
  padding: 1em 2em;
  text-transform: uppercase;
  font-weight: bold;
}

.button__text:before {
  content: attr(title);
}

.button__text--bis {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateX(-1em);
  opacity: 0;
}

.button__mask {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  transform: translateX(-100%) rotate(45deg);
  transition: all 0.3s;
}

.button:hover {
  opacity: 1;
}

.button:hover .button__text {
  -webkit-animation: fx-text 0.3s ease-out;
  animation: fx-text 0.3s ease-out;
}

.button:hover .button__text--bis {
  -webkit-animation: fx-text-bis 0.3s ease-out;
  animation: fx-text-bis 0.3s ease-out;
}

.button:hover .button__mask {
  -webkit-animation: fx-mask 0.3s ease-out;
  animation: fx-mask 0.3s ease-out;
}

.button:active {
  opacity: 1;
  background: white;
  color: inherit;
}

@-webkit-keyframes fx-mask {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}
@keyframes fx-mask {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}
@-webkit-keyframes fx-text {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(1em);
    opacity: 0;
  }
}
@keyframes fx-text {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(1em);
    opacity: 0;
  }
}
@-webkit-keyframes fx-text-bis {
  0% {
    transform: translateX(-1em);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fx-text-bis {
  0% {
    transform: translateX(-1em);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
/*button extention end*/
#main .float_shade {
  width: 224px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0px 5px 80px 0px;
  background-color: rgba(0, 0, 0, 0.3098039216);
  position: absolute;
  right: 125px;
  bottom: 18px;
  -webkit-animation-name: float_shade;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 5s;
  animation-name: float_shade;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 5s;
}

#v1_title {
  position: absolute;
  text-align: center;
  z-index: 100;
  font-size: 35pt;
  top: 400px;
  color: white;
  text-shadow: 0 0 5px #0f0f0f, 0 0 15px #400e53;
}

/*Crystal v2*/
/*==============================*/
#main2 {
  position: relative;
  background-color: #0f172a;
  min-height: 645px;
  min-width: 500px;
  left: -68px;
}

#v2_back_gen {
  position: absolute;
  top: 222px;
  left: 50px;
  width: 600px;
  z-index: 20;
}

#v2_wall_gen {
  position: absolute;
  top: 120px;
  left: 50px;
  width: 600px;
  z-index: 21;
}

#v2_top_crystal_gen {
  position: absolute;
  top: 80px;
  left: 30px;
  width: 600px;
  z-index: 21;
}

#v2_loulou_cartoon {
  position: absolute;
  top: 139px;
  left: 50px;
  width: 600px;
  z-index: 24;
}

#v2_floor_gen {
  position: absolute;
  top: 145px;
  left: 50px;
  width: 600px;
  z-index: 23;
}

#v2_left_crystal_cartoon {
  position: absolute;
  top: 180px;
  left: 50px;
  width: 600px;
  z-index: 26;
}

#v2_stalagmite_cartoon {
  position: absolute;
  top: 154px;
  left: 130px;
  width: 600px;
  z-index: 25;
}

#v2_piou_cartoon {
  position: absolute;
  top: 51px;
  left: 50px;
  width: 600px;
  z-index: 27;
}

#v2_bot_crystal_gen {
  position: absolute;
  top: 145px;
  left: 50px;
  width: 600px;
  z-index: 25;
}

/* animated chest */
/* Make the container relative */
.swap-on-hover {
  position: absolute;
  top: 500px;
  left: 195px;
  margin: 0 auto;
  max-width: 200px;
  z-index: 40;
}

/* Select the image and make it absolute to the container */
.swap-on-hover img {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  /* Sets the width and height for the images*/
  width: 200px;
}

/* 
	We set z-index to be higher than the back image, so it's alwyas on the front.

We give it an opacity leaner to .25s, that way when we hover we will get a nice fading effect. 
*/
.swap-on-hover .swap-on-hover__front-image {
  z-index: 9999;
  transition: opacity linear;
  cursor: pointer;
}

.swap-on-hover__back-image {
  display: none;
}

/* When we hover the figure element, the block with .swap-on-hover, we want to use > so the front-image is going to have opacity of 0, which means it will be hidden, to the back image will show */
.swap-on-hover:hover > .swap-on-hover__front-image {
  opacity: 0;
}

.swap-on-hover:hover > .swap-on-hover__back-image {
  display: initial;
}

/*Animations*/
[data-animate-in] {
  opacity: 0;
  transition: transform 0.9s ease, opacity 0.9s ease;
}

[data-animate-in=up] {
  transform: translate3d(0, 50px, 0);
}

[data-animate-in=left] {
  transform: translate3d(-25%, 0, 0);
}

[data-animate-in=right] {
  transform: translate3d(25%, 0, 0);
}

[data-animate-in=down] {
  transform: translate3d(0, -24px, 0);
}

[data-animate-in=fadeIn] {
  transform: translate3d(0, 0, 0);
}

[data-animate-in].in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.page-loaded .fade-in,
.page-loaded.fade-in {
  opacity: 1;
}

.isSafari.isTouch [data-animate-in],
.isSafari.isTouch [data-animate-in=up] {
  opacity: 1;
  transition: none;
  transform: none;
}

*/
/*flipping text*/
#flip_text {
  position: absolute;
  top: 1312px;
  left: 434px;
}

q:before,
q:after {
  content: "";
}

/* The below restores some sensible defaults */
strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

a img {
  border: none;
}

sup {
  vertical-align: super;
  font-size: 60%;
}

sub {
  vertical-align: sub;
  font-size: 60%;
}

h1 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

body .dn {
  display: none;
}

.flip {
  display: inline-block;
  -webkit-animation-duration: 500ms;
  /* Chrome, Safari, Opera */
  -webkit-animation-iteration-count: 1;
  /* Chrome, Safari, Opera */
  animation-duration: 500ms;
  animation-iteration-count: 1;
}

.flipIn {
  -webkit-animation-name: flipIn;
  /* Chrome, Safari, Opera */
  animation-name: flipIn;
}

.flipOut {
  -webkit-animation-name: flipOut;
  /* Chrome, Safari, Opera */
  animation-name: flipOut;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes flipOut {
  0% {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  50% {
    -webkit-transform: rotateX(45deg);
    -moz-transform: rotateX(45deg);
    -o-transform: rotateX(45deg);
    transform: rotateX(45deg);
  }
  100% {
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    -o-transform: rotateX(90deg);
    transform: rotateX(90deg);
  }
}
/* Standard syntax */
@keyframes flipOut {
  0% {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  50% {
    -webkit-transform: rotateX(45deg);
    -moz-transform: rotateX(45deg);
    -o-transform: rotateX(45deg);
    transform: rotateX(45deg);
  }
  100% {
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    -o-transform: rotateX(90deg);
    transform: rotateX(90deg);
  }
}
/* Chrome, Safari, Opera */
@-webkit-keyframes flipIn {
  0% {
    -webkit-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    -o-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
  }
  50% {
    -webkit-transform: rotateX(-45deg);
    -moz-transform: rotateX(-45deg);
    -o-transform: rotateX(-45deg);
    transform: rotateX(-45deg);
  }
  100% {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
}
/* Standard syntax */
@keyframes flipIn {
  0% {
    -webkit-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    -o-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
  }
  50% {
    -webkit-transform: rotateX(-45deg);
    -moz-transform: rotateX(-45deg);
    -o-transform: rotateX(-45deg);
    transform: rotateX(-45deg);
  }
  100% {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
}
footer h3 {
  color: #2b1055;
}

/*twitch button*/
.ui.twitch.button {
  background-color: #6441A5;
  color: #FFF;
  box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.15) inset;
  cursor: pointer;
  display: inline-block;
  min-height: 1em;
  outline: 0;
  border: none;
  vertical-align: baseline;
  color: rgba(0, 0, 0, 0.6);
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  margin: 0 0.25em 0 0;
  padding: 0.78571429em 1.5em;
  text-transform: none;
  text-shadow: none;
  font-weight: 700;
  line-height: 1em;
  font-style: normal;
  text-align: center;
  text-decoration: none;
  border-radius: 0.28571429rem;
  box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34, 36, 38, 0.15) inset;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
  transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
  will-change: "";
  -webkit-tap-highlight-color: transparent;
}

.ui.twitch.button:hover {
  background-color: #3B2064;
}

/*_____________________________________________________________________*/
#main2 #v2_back_gen {
  -webkit-animation-name: v2_back_gen;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v2_back_gen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main2 #v2_wall_gen {
  -webkit-animation-name: v2_wall_gen;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v2_wall_gen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main2 #v2_top_crystal_gen {
  -webkit-animation-name: v2_top_crystal_gen;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v2_top_crystal_gen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main2 #v2_floor_gen {
  -webkit-animation-name: v2_floor_gen;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v2_floor_gen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main2 #v2_bot_crystal_gen {
  -webkit-animation-name: v2_bot_crystal_gen;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v2_bot_crystal_gen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main2 #v2_left_crystal_cartoon {
  -webkit-animation-name: v2_left_crystal_cartoon;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v2_left_crystal_cartoon;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main2 #v2_stalagmite_cartoon {
  -webkit-animation-name: v2_stalagmite_cartoon;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v2_stalagmite_cartoon;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main2 #v2_piou_cartoon {
  -webkit-animation-name: v2_piou_cartoon, float;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 8s;
  animation-name: v2_piou_cartoon, float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 8s;
}

#main2 #v2_loulou_cartoon {
  -webkit-animation-name: v2_loulou_cartoon;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v2_loulou_cartoon;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

.float {
  -webkit-animation-name: float;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 5s;
  animation-name: float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 5s;
}

.float_2 {
  -webkit-animation-name: float;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 4s;
  animation-name: float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 4s;
}

@keyframes v2_back_gen {
  from, to {
    -moz-transform: translate3d(-33.75px, -139.45px, 0px);
    -ms-transform: translate3d(-33.75px, -139.45px, 0px);
    transform: translate3d(-33.75px, -139.45px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.5px, -143.7px, 0px);
    -ms-transform: translate3d(-0.5px, -143.7px, 0px);
    transform: translate3d(-0.5px, -143.7px, 0px);
  }
  50% {
    -moz-transform: translate3d(-3px, -176.25px, 0px);
    -ms-transform: translate3d(-3px, -176.25px, 0px);
    transform: translate3d(-3px, -176.25px, 0px);
  }
  75% {
    -moz-transform: translate3d(-35.6px, -173.5px, 0px);
    -ms-transform: translate3d(-35.6px, -173.5px, 0px);
    transform: translate3d(-35.6px, -173.5px, 0px);
  }
}
@keyframes v2_wall_gen {
  from, to {
    -moz-transform: translate3d(-22.5px, -55.78px, 0px);
    -ms-transform: translate3d(-22.5px, -55.78px, 0px);
    transform: translate3d(-22.5px, -55.78px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.333333px, -57.48px, 0px);
    -ms-transform: translate3d(-0.333333px, -57.48px, 0px);
    transform: translate3d(-0.333333px, -57.48px, 0px);
  }
  50% {
    -moz-transform: translate3d(-2px, -70.5px, 0px);
    -ms-transform: translate3d(-2px, -70.5px, 0px);
    transform: translate3d(-2px, -70.5px, 0px);
  }
  75% {
    -moz-transform: translate3d(-23.7333px, -69.4px, 0px);
    -ms-transform: translate3d(-23.7333px, -69.4px, 0px);
    transform: translate3d(-23.7333px, -69.4px, 0px);
  }
}
@keyframes v2_top_crystal_gen {
  from, to {
    -moz-transform: translate3d(-16.05px, -39.8429px, 0px);
    -ms-transform: translate3d(-16.05px, -39.8429px, 0px);
    transform: translate3d(-16.05px, -39.8429px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.25px, -41.0571px, 0px);
    -ms-transform: translate3d(-0.25px, -41.0571px, 0px);
    transform: translate3d(-0.25px, -41.0571px, 0px);
  }
  50% {
    -moz-transform: translate3d(-1.5px, -50.3571px, 0px);
    -ms-transform: translate3d(-1.5px, -50.3571px, 0px);
    transform: translate3d(-1.5px, -50.3571px, 0px);
  }
  75% {
    -moz-transform: translate3d(-17.8px, -49.5714px, 0px);
    -ms-transform: translate3d(-17.8px, -49.5714px, 0px);
    transform: translate3d(-17.8px, -49.5714px, 0px);
  }
}
@keyframes v2_floor_gen {
  from, to {
    -moz-transform: translate3d(-21.4px, -55.78px, 0px);
    -ms-transform: translate3d(-21.4px, -55.78px, 0px);
    transform: translate3d(-21.4px, -55.78px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.333333px, -57.48px, 0px);
    -ms-transform: translate3d(-0.333333px, -57.48px, 0px);
    transform: translate3d(-0.333333px, -57.48px, 0px);
  }
  50% {
    -moz-transform: translate3d(-2px, -70.5px, 0px);
    -ms-transform: translate3d(-2px, -70.5px, 0px);
    transform: translate3d(-2px, -70.5px, 0px);
  }
  75% {
    -moz-transform: translate3d(-23.7333px, -69.4px, 0px);
    -ms-transform: translate3d(-23.7333px, -69.4px, 0px);
    transform: translate3d(-23.7333px, -69.4px, 0px);
  }
}
@keyframes v2_bot_crystal_gen {
  from, to {
    -moz-transform: translate3d(-16.05px, -39.8429px, 0px);
    -ms-transform: translate3d(-16.05px, -39.8429px, 0px);
    transform: translate3d(-16.05px, -39.8429px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.25px, -41.0571px, 0px);
    -ms-transform: translate3d(-0.25px, -41.0571px, 0px);
    transform: translate3d(-0.25px, -41.0571px, 0px);
  }
  50% {
    -moz-transform: translate3d(-1.5px, -50.3571px, 0px);
    -ms-transform: translate3d(-1.5px, -50.3571px, 0px);
    transform: translate3d(-1.5px, -50.3571px, 0px);
  }
  75% {
    -moz-transform: translate3d(-17.8px, -49.5714px, 0px);
    -ms-transform: translate3d(-17.8px, -49.5714px, 0px);
    transform: translate3d(-17.8px, -49.5714px, 0px);
  }
}
@keyframes v2_left_crystal_cartoon {
  from, to {
    -moz-transform: translate3d(-16.05px, -39.8429px, 0px);
    -ms-transform: translate3d(-16.05px, -39.8429px, 0px);
    transform: translate3d(-16.05px, -39.8429px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.25px, -41.0571px, 0px);
    -ms-transform: translate3d(-0.25px, -41.0571px, 0px);
    transform: translate3d(-0.25px, -41.0571px, 0px);
  }
  50% {
    -moz-transform: translate3d(-1.5px, -50.3571px, 0px);
    -ms-transform: translate3d(-1.5px, -50.3571px, 0px);
    transform: translate3d(-1.5px, -50.3571px, 0px);
  }
  75% {
    -moz-transform: translate3d(-17.8px, -49.5714px, 0px);
    -ms-transform: translate3d(-17.8px, -49.5714px, 0px);
    transform: translate3d(-17.8px, -49.5714px, 0px);
  }
}
@keyframes v2_stalagmite_cartoon {
  from, to {
    -moz-transform: translate3d(-16.05px, -39.8429px, 0px);
    -ms-transform: translate3d(-16.05px, -39.8429px, 0px);
    transform: translate3d(-16.05px, -39.8429px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.25px, -41.0571px, 0px);
    -ms-transform: translate3d(-0.25px, -41.0571px, 0px);
    transform: translate3d(-0.25px, -41.0571px, 0px);
  }
  50% {
    -moz-transform: translate3d(-1.5px, -50.3571px, 0px);
    -ms-transform: translate3d(-1.5px, -50.3571px, 0px);
    transform: translate3d(-1.5px, -50.3571px, 0px);
  }
  75% {
    -moz-transform: translate3d(-17.8px, -49.5714px, 0px);
    -ms-transform: translate3d(-17.8px, -49.5714px, 0px);
    transform: translate3d(-17.8px, -49.5714px, 0px);
  }
}
@keyframes v2_piou_cartoon {
  from, to {
    -moz-transform: translate3d(3.21px, 13.945px, 0px);
    -ms-transform: translate3d(3.21px, 13.945px, 0px);
    transform: translate3d(3.21px, 13.945px, 0px);
  }
  25% {
    -moz-transform: translate3d(0.05px, 14.37px, 0px);
    -ms-transform: translate3d(0.05px, 14.37px, 0px);
    transform: translate3d(0.05px, 14.37px, 0px);
  }
  50% {
    -moz-transform: translate3d(0.3px, 17.625px, 0px);
    -ms-transform: translate3d(0.3px, 17.625px, 0px);
    transform: translate3d(0.3px, 17.625px, 0px);
  }
  75% {
    -moz-transform: translate3d(3.56px, 17.35px, 0px);
    -ms-transform: translate3d(3.56px, 17.35px, 0px);
    transform: translate3d(3.56px, 17.35px, 0px);
  }
}
@keyframes v2_loulou_cartoon {
  from, to {
    -moz-transform: translate3d(-21.4px, -55.78px, 0px);
    -ms-transform: translate3d(-21.4px, -55.78px, 0px);
    transform: translate3d(-21.4px, -55.78px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.333333px, -57.48px, 0px);
    -ms-transform: translate3d(-0.333333px, -57.48px, 0px);
    transform: translate3d(-0.333333px, -57.48px, 0px);
  }
  50% {
    -moz-transform: translate3d(-2px, -70.5px, 0px);
    -ms-transform: translate3d(-2px, -70.5px, 0px);
    transform: translate3d(-2px, -70.5px, 0px);
  }
  75% {
    -moz-transform: translate3d(-23.7333px, -69.4px, 0px);
    -ms-transform: translate3d(-23.7333px, -69.4px, 0px);
    transform: translate3d(-23.7333px, -69.4px, 0px);
  }
}
@keyframes float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -20px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes float_2 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes float_shade {
  0% {
    width: 224px;
    height: 36px;
  }
  50% {
    width: 170px;
    height: 17px;
    right: 160px;
  }
  100% {
    width: 224px;
    height: 36px;
  }
}
/*_____________________________________________________________________*/
#main #v1_back_gen {
  -webkit-animation-name: v1_back_gen;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v1_back_gen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main #v1_rock_cartoon_1 {
  -webkit-animation-name: v1_rock_cartoon_1;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v1_rock_cartoon_1;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main #v1_top_rock_gen {
  -webkit-animation-name: v1_top_rock_gen;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v1_top_rock_gen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main #v1_rock_left_gen {
  -webkit-animation-name: v1_rock_left_gen;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v1_rock_left_gen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main #v1_rock_bot_gen {
  -webkit-animation-name: v1_rock_bot_gen;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v1_rock_bot_gen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main #v1_grass_cartoon_3 {
  -webkit-animation-name: v1_grass_cartoon_3;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v1_grass_cartoon_3;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main #v1_grass_cartoon_2 {
  -webkit-animation-name: v1_grass_cartoon_2;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v1_grass_cartoon_2;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main #v1_grass_cartoon_1 {
  -webkit-animation-name: v1_grass_cartoon_1, float;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v1_grass_cartoon_1, float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#main #v1_loulou_cartoon {
  -webkit-animation-name: v1_loulou_cartoon;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;
  animation-name: v1_loulou_cartoon;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

#v1_shine {
  position: absolute;
  width: 88px;
  left: 137px;
  top: 60px;
}

@keyframes v1_back_gen {
  from, to {
    -moz-transform: translate3d(-33.75px, -139.45px, 0px);
    -ms-transform: translate3d(-33.75px, -139.45px, 0px);
    transform: translate3d(-33.75px, -139.45px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.5px, -143.7px, 0px);
    -ms-transform: translate3d(-0.5px, -143.7px, 0px);
    transform: translate3d(-0.5px, -143.7px, 0px);
  }
  50% {
    -moz-transform: translate3d(-3px, -176.25px, 0px);
    -ms-transform: translate3d(-3px, -176.25px, 0px);
    transform: translate3d(-3px, -176.25px, 0px);
  }
  75% {
    -moz-transform: translate3d(-35.6px, -173.5px, 0px);
    -ms-transform: translate3d(-35.6px, -173.5px, 0px);
    transform: translate3d(-35.6px, -173.5px, 0px);
  }
}
@keyframes v1_rock_cartoon_1 {
  from, to {
    -moz-transform: translate3d(-16.05px, -39.8429px, 0px);
    -ms-transform: translate3d(-16.05px, -39.8429px, 0px);
    transform: translate3d(-16.05px, -39.8429px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.25px, -41.0571px, 0px);
    -ms-transform: translate3d(-0.25px, -41.0571px, 0px);
    transform: translate3d(-0.25px, -41.0571px, 0px);
  }
  50% {
    -moz-transform: translate3d(-1.5px, -50.3571px, 0px);
    -ms-transform: translate3d(-1.5px, -50.3571px, 0px);
    transform: translate3d(-1.5px, -50.3571px, 0px);
  }
  75% {
    -moz-transform: translate3d(-17.8px, -49.5714px, 0px);
    -ms-transform: translate3d(-17.8px, -49.5714px, 0px);
    transform: translate3d(-17.8px, -49.5714px, 0px);
  }
}
@keyframes v1_top_rock_gen {
  from, to {
    -moz-transform: translate3d(-22.5px, -55.78px, 0px);
    -ms-transform: translate3d(-22.5px, -55.78px, 0px);
    transform: translate3d(-22.5px, -55.78px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.333333px, -57.48px, 0px);
    -ms-transform: translate3d(-0.333333px, -57.48px, 0px);
    transform: translate3d(-0.333333px, -57.48px, 0px);
  }
  50% {
    -moz-transform: translate3d(-2px, -70.5px, 0px);
    -ms-transform: translate3d(-2px, -70.5px, 0px);
    transform: translate3d(-2px, -70.5px, 0px);
  }
  75% {
    -moz-transform: translate3d(-23.7333px, -69.4px, 0px);
    -ms-transform: translate3d(-23.7333px, -69.4px, 0px);
    transform: translate3d(-23.7333px, -69.4px, 0px);
  }
}
@keyframes v1_rock_left_gen {
  from, to {
    -moz-transform: translate3d(-22.5px, -55.78px, 0px);
    -ms-transform: translate3d(-22.5px, -55.78px, 0px);
    transform: translate3d(-22.5px, -55.78px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.333333px, -57.48px, 0px);
    -ms-transform: translate3d(-0.333333px, -57.48px, 0px);
    transform: translate3d(-0.333333px, -57.48px, 0px);
  }
  50% {
    -moz-transform: translate3d(-2px, -70.5px, 0px);
    -ms-transform: translate3d(-2px, -70.5px, 0px);
    transform: translate3d(-2px, -70.5px, 0px);
  }
  75% {
    -moz-transform: translate3d(-23.7333px, -69.4px, 0px);
    -ms-transform: translate3d(-23.7333px, -69.4px, 0px);
    transform: translate3d(-23.7333px, -69.4px, 0px);
  }
}
@keyframes v1_rock_bot_gen {
  from, to {
    -moz-transform: translate3d(-22.5px, -55.78px, 0px);
    -ms-transform: translate3d(-22.5px, -55.78px, 0px);
    transform: translate3d(-22.5px, -55.78px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.333333px, -57.48px, 0px);
    -ms-transform: translate3d(-0.333333px, -57.48px, 0px);
    transform: translate3d(-0.333333px, -57.48px, 0px);
  }
  50% {
    -moz-transform: translate3d(-2px, -70.5px, 0px);
    -ms-transform: translate3d(-2px, -70.5px, 0px);
    transform: translate3d(-2px, -70.5px, 0px);
  }
  75% {
    -moz-transform: translate3d(-23.7333px, -69.4px, 0px);
    -ms-transform: translate3d(-23.7333px, -69.4px, 0px);
    transform: translate3d(-23.7333px, -69.4px, 0px);
  }
}
@keyframes v1_grass_cartoon_3 {
  from, to {
    -moz-transform: translate3d(-16.05px, -39.8429px, 0px);
    -ms-transform: translate3d(-16.05px, -39.8429px, 0px);
    transform: translate3d(-16.05px, -39.8429px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.25px, -41.0571px, 0px);
    -ms-transform: translate3d(-0.25px, -41.0571px, 0px);
    transform: translate3d(-0.25px, -41.0571px, 0px);
  }
  50% {
    -moz-transform: translate3d(-1.5px, -50.3571px, 0px);
    -ms-transform: translate3d(-1.5px, -50.3571px, 0px);
    transform: translate3d(-1.5px, -50.3571px, 0px);
  }
  75% {
    -moz-transform: translate3d(-17.8px, -49.5714px, 0px);
    -ms-transform: translate3d(-17.8px, -49.5714px, 0px);
    transform: translate3d(-17.8px, -49.5714px, 0px);
  }
}
@keyframes v1_grass_cartoon_2 {
  from, to {
    -moz-transform: translate3d(-22.5px, -55.78px, 0px);
    -ms-transform: translate3d(-22.5px, -55.78px, 0px);
    transform: translate3d(-22.5px, -55.78px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.333333px, -57.48px, 0px);
    -ms-transform: translate3d(-0.333333px, -57.48px, 0px);
    transform: translate3d(-0.333333px, -57.48px, 0px);
  }
  50% {
    -moz-transform: translate3d(-2px, -70.5px, 0px);
    -ms-transform: translate3d(-2px, -70.5px, 0px);
    transform: translate3d(-2px, -70.5px, 0px);
  }
  75% {
    -moz-transform: translate3d(-23.7333px, -69.4px, 0px);
    -ms-transform: translate3d(-23.7333px, -69.4px, 0px);
    transform: translate3d(-23.7333px, -69.4px, 0px);
  }
}
@keyframes v1_grass_cartoon_1 {
  from, to {
    -moz-transform: translate3d(-22.5px, -55.78px, 0px);
    -ms-transform: translate3d(-22.5px, -55.78px, 0px);
    transform: translate3d(-22.5px, -55.78px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.333333px, -57.48px, 0px);
    -ms-transform: translate3d(-0.333333px, -57.48px, 0px);
    transform: translate3d(-0.333333px, -57.48px, 0px);
  }
  50% {
    -moz-transform: translate3d(-2px, -70.5px, 0px);
    -ms-transform: translate3d(-2px, -70.5px, 0px);
    transform: translate3d(-2px, -70.5px, 0px);
  }
  75% {
    -moz-transform: translate3d(-23.7333px, -69.4px, 0px);
    -ms-transform: translate3d(-23.7333px, -69.4px, 0px);
    transform: translate3d(-23.7333px, -69.4px, 0px);
  }
}
@keyframes v1_loulou_cartoon {
  from, to {
    -moz-transform: translate3d(-16.05px, -39.8429px, 0px);
    -ms-transform: translate3d(-16.05px, -39.8429px, 0px);
    transform: translate3d(-16.05px, -39.8429px, 0px);
  }
  25% {
    -moz-transform: translate3d(-0.25px, -41.0571px, 0px);
    -ms-transform: translate3d(-0.25px, -41.0571px, 0px);
    transform: translate3d(-0.25px, -41.0571px, 0px);
  }
  50% {
    -moz-transform: translate3d(-1.5px, -50.3571px, 0px);
    -ms-transform: translate3d(-1.5px, -50.3571px, 0px);
    transform: translate3d(-1.5px, -50.3571px, 0px);
  }
  75% {
    -moz-transform: translate3d(-17.8px, -49.5714px, 0px);
    -ms-transform: translate3d(-17.8px, -49.5714px, 0px);
    transform: translate3d(-17.8px, -49.5714px, 0px);
  }
}

@media only screen and (min-width: 1200px) {
  .home-section {
    height: 500px;
  }
  #main_loulou {
    top: 12px !important;
    width: 729px;
  }
}
@media only screen and (min-width: 1400px) {
  #main_back_gen {
    width: 86%;
  }
  #main_mountains_back {
    width: 706px;
  }
  #main_mountains_back3 {
    width: 961px;
  }
}
@media only screen and (min-width: 800px) {
  #main_transition {
    display: none;
  }
}
@media only screen and (max-width: 1200px) {
  .home-section {
    height: 600px;
  }
  #v1_title {
    font-size: 35pt;
    top: 90%;
  }
  #main_vegetation_cartoon {
    top: -16px;
    left: -40%;
  }
  #main_piou_1 {
    top: 350px;
  }
  #main_piou_2 {
    top: 251px;
  }
  #main_loulou {
    /* margin-top: -78px; */
    /* width: 62rem; */
    /* left: 23px; */
  }
  #chest {
    width: 81rem;
    left: 47px;
  }
  #main_transition img {
    top: 655px;
  }
  #loulou_coin {
    max-width: 200px;
    margin-top: 408px;
  }
  #main_text {
    margin-top: 416px;
  }
  #flip_text {
    top: 913px;
    left: 605px;
  }
  #main {
    margin-top: 90px;
  }
  #mountains_front {
    z-index: 9;
  }
  #main_mountains_back {
    left: initial;
    z-index: 5;
    width: 380px;
  }
}
@media only screen and (max-width: 1024px) {
  .home-section {
    height: 520px;
  }
  #v1_title {
    font-size: 35pt;
    top: 60%;
  }
  #main_loulou {
    /* width: 45rem; */
    /* left: -104px; */
    /* top: 128px; */
  }
  #main_vegetation_cartoon {
    top: -50px;
    right: -105px;
    left: initial;
  }
  #chest {
    width: 77rem;
    left: 87px;
  }
  #main_transition img {
    top: 655px;
  }
  #main {
    margin-top: 90px;
  }
}
@media only screen and (max-width: 768px) {
  #v1_tv_cartoon {
    right: 0px;
  }
  .home-section {
    height: 433px;
  }
  #v1_title {
    font-size: 21pt;
    top: 504px;
  }
  #main_loulou {
    /* width: 498px; */
    /* top: -89px !important; */
    left: -60px;
  }
  #mountains_front {
    top: 4px;
  }
  #main_piou_2 {
    width: 111px;
    top: 241px;
    right: 60px;
  }
  #main_piou_1 {
    width: 80px;
    top: 306px;
    right: 10px;
  }
  #main_vegetation_cartoon {
    top: 173px;
  }
  #main_transition img {
    top: 326px;
  }
  #main_text {
    margin-top: 250px;
  }
  #main {
    height: 625px;
    margin-top: 90px;
  }
  #flip_text {
    top: 1312px;
    left: 296px;
  }
  #text-bet {
    margin-right: 0;
    margin-left: 25px;
  }
  #text-quote {
    margin-left: 20px;
    margin-top: 556px;
    margin-right: 35px;
  }
  #loulou_coin {
    margin-top: 260px;
    padding-right: 30px;
  }
  h3 {
    margin-top: 3em;
    padding-left: 8px;
    font-size: 1.5em;
  }
  #main .float_shade {
    right: 13px;
    bottom: 120px;
  }
  @keyframes float_shade {
    0% {
      width: 224px;
      height: 36px;
    }
    50% {
      width: 170px;
      height: 17px;
      right: 36px;
    }
    100% {
      width: 224px;
      height: 36px;
    }
  }
}
@media only screen and (max-width: 480px) {
  .home-section {
    height: 520px;
  }
  #v1_title {
    font-size: 21pt;
    top: 504px;
  }
  #main_loulou {
    width: 39rem;
    left: -80px;
  }
  #main_back_gen {
    width: 100%;
  }
  #main_water1,
  #main_water2,
  #main_water3,
  #main_water4,
  #main_water5,
  #main_water6 {
    display: none;
  }
  #main_vegetation_cartoon {
    display: none;
  }
  #mountains_front {
    margin-top: 82px;
  }
  #main_piou_2 {
    width: 111px;
    top: 241px;
    right: 60px;
  }
  #main_piou_1 {
    width: 80px;
    top: 306px;
    right: 10px;
  }
  #main_transition img {
    top: 23rem;
  }
  #main_text {
    margin-top: 0px;
  }
  #flip_text {
    top: 1427px;
    left: 240px;
  }
  #text-bet {
    margin-right: 0;
    margin-left: 25px;
  }
  #text-quote {
    margin-left: 20px;
    margin-top: 525px;
    margin-right: 33px;
  }
  #loulou_coin {
    margin-top: 57px;
  }
  h3 {
    margin-top: 3em;
    padding-left: 8px;
    font-size: 1.5em;
  }
  #main .float_shade {
    display: none;
  }
  #v1_back_gen img {
    top: 97px;
    left: -38px;
  }
  #v1_rock_left_gen {
    top: 50px;
    left: -42px;
  }
  #v1_top_rock_gen {
    top: 7px;
    left: -1px;
  }
  #v2_back_gen {
    top: 222px;
    left: 50px;
  }
  #v2_wall_gen {
    top: 120px;
    left: -6px;
  }
  #v2_top_crystal_gen {
    top: 80px;
    left: -12px;
  }
  #v2_floor_gen {
    top: 145px;
    left: -75px;
  }
  #v2_bot_crystal_gen {
    top: 145px;
    left: -40px;
  }
  #v2_left_crystal_cartoon {
    top: 180px;
    left: -45px;
  }
  #v2_stalagmite_cartoon {
    top: 154px;
    left: 7px;
  }
  #v2_piou_cartoon {
    top: 51px;
    left: -13px;
  }
  #v2_loulou_cartoon {
    top: 139px;
    left: 1px;
  }
  footer {
    flex-direction: column;
  }
}

/*# sourceMappingURL=style.css.map */

  #main_transition img {
    display:none;
  }

/* Navbar styles */
.navbar {
  /* background: rgba(24, 0, 29, 0.95); */
  background: rgb(31 39 53 / 73%);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-item {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.navbar-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-item i {
  font-size: 1.1rem;
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.user-email {
  color: #a0aec0;
  font-size: 0.9rem;
}

.navbar-item.logout {
  color: #ef4444;
}

.navbar-item.logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

.navbar-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /*background: rgba(24, 0, 29, 0.95);*/
    backdrop-filter: blur(10px);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .navbar-menu.is-active {
    display: flex;
  }

  .navbar-user {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border: none;
  }

  .navbar-burger {
    display: block;
  }

  .navbar-burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Dashboard Nav Styles */
.dashboard-nav {
  background: #1f2735;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  padding: 0.75rem 0;
  /* Add GPU acceleration */
  transform: translateZ(0);
  will-change: transform;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.nav-brand:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  background: #232946;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Use transform3d for GPU acceleration */
  transform: translate3d(0, 0, 0);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  /* Optimize paint operations */
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.nav-btn:hover {
  transform: translate3d(0, -1px, 0);
  background: #2d3560;
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-btn i {
  font-size: 1rem;
  color: #a855f7;
}

.nav-user {
  display: flex;
  align-items: center;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-name {
  color: #a0aec0;
  font-size: 0.9rem;
}

.nav-btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.nav-btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
}

.nav-btn-danger i {
  color: #ef4444;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}


@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-actions, .nav-user {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .nav-right.active {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1f2735;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Add smooth animation for mobile menu */
    animation: slideDown 0.2s ease forwards;
    transform-origin: top;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-right.active .nav-actions,
  .nav-right.active .nav-user {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav-right.active .nav-user {
    border-left: none;
    padding-left: 0;
  }

  .nav-right.active .user-info {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Featured Characters Section */
.featured-characters {
  background: linear-gradient(to bottom, #1c0522, #0f172a);
  padding: 80px 0;
  position: relative;
  z-index: 13;
}

.featured-characters h2 {
  text-align: center;
  color: #fff;
  font-size: 2.5em;
  margin-bottom: 50px;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.character-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.character-card-wrapper {
  position: relative;
}

.character-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  margin-bottom: 15px;
}

.character-card {
  overflow: hidden;
  background: #2d3560;
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s ease;
  color: inherit;
  position: relative;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.character-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  background: linear-gradient(145deg, #363d6b, #2d3560);
}

.character-avatar-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.character-avatar-wrapper::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -40px;
  right: -40px;
  bottom: -30px;
  background-image: var(--avatar-bg);
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.6);
  opacity: 0.6;
  border-radius: 30px;
  z-index: -1;
  transition: all 0.4s ease;
  transform-origin: center;
}

.character-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid #a855f7;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
  transition: all 0.4s ease;
  position: relative;
  z-index: 10;
  margin: 0;
}

.avatar-emoji {
  position: absolute;
  bottom: 10px;
  right: 0px;
  width: 40px;
  height: 40px;
  background: #2d3560;
  border: 3px solid #a855f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 20;
  opacity: 0;
  transform: scale(0.8);
  animation: emojiPopIn 0.5s ease forwards;
  animation-delay: 0.5s;
  transition: all 0.3s ease;
}

.avatar-emoji:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: #6366f1;
}

@keyframes emojiPopIn {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
  }
  50% {
    transform: scale(1.2) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.character-card:hover .character-avatar {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
  border-color: #6366f1;
}

.character-card:hover .character-avatar-wrapper::before {
  filter: blur(15px) brightness(0.7);
  opacity: 0.8;
  transform: scale(1.1);
}

.character-name {
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.4em;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.character-desc {
  color: #e2e8f0;
  font-size: 1.05em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 25px;
  padding: 0 15px;
  flex-grow: 1;
}

.character-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  color: #94a3b8;
  padding: 12px 0 0 0;
  margin: 0;
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.creator-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

.character-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.character-card:hover .character-tags {
  opacity: 1;
}

.character-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(99, 102, 241, 0.1);
  color: #cbd5e1;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8em;
  gap: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.15);
  font-weight: 400;
}

.character-tag i {
  font-size: 0.9em;
  opacity: 0.7;
}

.character-tag:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
  color: #fff;
}

.tag-nsfw {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.15);
}

.tag-nsfw:hover {
  background: rgba(220, 38, 38, 0.15);
}

/* Character progression/XP system */
.character-progression {
  margin: 15px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.xp-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.level-badge {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 600;
  min-width: 40px;
  text-align: center;
}

.xp-bar-container {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.xp-bar {
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #6366f1);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.xp-text {
  font-size: 0.7em;
  color: #94a3b8;
  white-space: nowrap;
}

.achievement-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.character-card-link:hover {
  transform: translateY(-10px);
}

.character-card-link:hover .character-card {
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
}

@media (max-width: 1200px) {
  .character-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .character-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .character-showcase {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .featured-characters h2 {
    font-size: 2em;
  }
  
  .character-card {
    padding: 20px;
  }
  
  .character-avatar {
    width: 120px;
    height: 120px;
  }
  
  .character-avatar-wrapper {
    width: 120px;
    height: 120px;
  }
  
  .character-card-link:hover {
    transform: translateY(-5px);
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 1rem 0;
}

.discord-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #5865F2;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.discord-link:hover {
  background-color: #4752C4;
}

.discord-icon {
  width: 24px;
  height: 24px;
}

/* Home buttons specific styling */
.home-buttons-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.home-buttons .main-btn {
  flex: 0 1 auto;
  min-width: 200px;
  margin: 0;
}

@media (max-width: 768px) {
  .home-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .home-buttons .main-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Modern fade-in animations for scroll effects */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced parallax effects */
header {
  transition: transform 0.1s ease-out;
}

#main_piou_1,
#main_piou_2 {
  transition: transform 0.1s ease-out;
}

#loulou_coin {
  transition: transform 0.2s ease-out;
}

#v1_title {
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

#main_transition {
  transition: transform 0.2s ease-out;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Performance optimizations */
.fade-in,
.fade-in-visible,
header,
#main_piou_1,
#main_piou_2,
#loulou_coin,
#v1_title,
#main_transition {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}