html {
  scroll-behavior: smooth;
}
strong {
  color: #ffffff;
}

/* Particle system */
#particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Loading animations */
.hero-background {
  opacity: 0;
  animation: fadeInBackground 1.5s ease-out 0.2s forwards;
}

.hero-text {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInFromLeft 1s ease-out forwards;
}

/* Individual hero block animations */
.hero-big-text {
  animation-delay: 0.8s;
}

.hero-small-text {
  animation-delay: 1.1s;
}

.hero-coming-soon {
  animation-delay: 1.4s;
}

.hero-button {
  animation-delay: 1.7s;
}

/* Individual brand animations */
.brand-logo {
  opacity: 0;
  transform: translateY(40px);
  animation: slideInFromBottom 0.6s ease-out forwards;
}

.brand-logo:nth-child(1) { animation-delay: 2.0s; }
.brand-logo:nth-child(2) { animation-delay: 2.2s; }
.brand-logo:nth-child(3) { animation-delay: 2.4s; }
.brand-logo:nth-child(4) { animation-delay: 2.6s; }
.brand-logo:nth-child(5) { animation-delay: 2.8s; }
.brand-logo:nth-child(6) { animation-delay: 3.0s; }

@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Boardgames background - only on small screens */
.boardgames-bg {
  background-image: url('../images/boardgames.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1024px) {
  .boardgames-bg {
    background-image: none;
  }
}


.rpg-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/rpg.png');
  background-size: auto;
  background-position: left top;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.rpg-bg > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .rpg-bg {
    background-image: none;
  }
  
  .rpg-bg::before {
    display: none;
  }
}

/* Shimmer effect for brand boxes - hover only */
.shimmer {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-out;
}

.shimmer:hover {
  transform: scale(1.05);
}

.shimmer img {
  transition: transform 0.3s ease-out;
}

.shimmer:hover img {
  transform: scale(1.1);
}

.shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
  background-size: 300%;
  background-position-x: 100%;
  z-index: 1;
  border-radius: inherit;
  opacity: 0;
}

.shimmer:hover::before {
  animation: shimmer-move 0.8s ease-out;
}

@keyframes shimmer-move {
  0% {
    background-position-x: 100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    background-position-x: 0%;
    opacity: 0;
  }
}
