@font-face {
  font-family: "MyCustomFont"; /* your font name */
  src: url("../font/FielmannSans-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* ensures text shows while font loads */
}

body {
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  overflow: hidden;
}
.container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  border: 1px solid #000;
  box-sizing: border-box;
  max-width: 600px;
  max-height: 300px;
  aspect-ratio: 2 / 1;
  opacity: 0;
  z-index: 10;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  touch-action: none;
  cursor: grab;
}

canvas.dragging {
  cursor: grabbing;
}

video {
  position: absolute;
  width: 1px;
  height: 1px;
  top: -9999px;
  left: -9999px;
}
.intro-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.logo,
.logo-intro {
  position: absolute;
  top: 21px;
  left: 50%;
  width: 53%;
  height: auto;
  transform: translateX(-50%);
  z-index: 102;
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.8));
  pointer-events: none;
}
.logo-intro img {
  width: 100%;
  height: auto;
}
.video-mask-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
#videoElement {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  /* z-index: 2; */
  -webkit-mask-image: url();
  mask-image: url();
  -webkit-mask-size: 600px 300px;
  mask-size: 600px 300px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  max-width: 600px;
  max-height: 300px;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  will-change:
    mask-image,
    -webkit-mask-image;
  pointer-events: auto;
  transform: translateZ(0);
  /* z-index: 100; */
}
#scratchCanvas {
  /* display: none; */
}
#scratchCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.logo img {
  width: 100%;
  height: auto;
}
.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  max-width: 600px;
  max-height: 300px;
  aspect-ratio: 2 / 1;
}
.splide__slide img {
  width: 100%;
}
.slider-container {
}
.image-carousels {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.image-carousels:active {
  /* cursor: grabbing; */
}
.splide__pagination__page {
  /* width: 20px !important;
  height: 20px !important;
  margin: 5px !important; */
}
.splide__pagination__page.is-active {
  transform: none !important;
}
.splide__pagination {
  /* right: unset !important; */
}
.splide__pagination__page {
  background: #474747 !important;
  opacity: 1 !important;
}
.splide__pagination__page.is-active {
  background: #fff !important;
}
.image-container .text1 {
  position: absolute;
  opacity: 0;
  transform: translateY(30px);
  top: 0;
}
.image-container .btn {
  position: absolute;
  opacity: 0;
  transform: translateY(30px);
  top: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  aspect-ratio: 2 / 1;
}
.btn-image,
.btn-image-hover {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease-in-out;
  width: 100%;
  height: auto;
  display: block;
}
.btn-image {
  opacity: 1;
  z-index: 1;
}
.btn-image-hover {
  opacity: 0;
  z-index: 2;
}
.image-container:hover .btn-image {
  opacity: 0;
}
.image-container:hover .btn-image-hover {
  opacity: 1;
}
.image {
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}
.image-container:hover .image {
  transform: scale(1.09);
}
/* LOTTIE PLAYER */
.lottie-container {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 25%;
  left: 3%;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
}
.lottie-container-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000; /* Circle background color */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  opacity: 0.7;
}
dotlottie-player {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  overflow: hidden;
  left: 0;
  right: 0;
  position: relative;
  margin: auto;
  top: -4%;
}
.lottie-text {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: white;
  text-align: center;
  pointer-events: none;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}
.reveal-container {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
@media screen and (max-width: 450px) {
  .splide__arrow {
    display: none !important;
  }
}

/* 👇 Wheel wrapper fits by height */
.wheel-wrapper {
  position: relative;
  height: 90%;
  aspect-ratio: 1 / 1;
  left: 5%;
  z-index: 22;
  top: 5%;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: url("../img/wheel.png") center/cover no-repeat;
  transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
}

.pointer {
  position: absolute;
  top: -3%;
  left: 50%;
  transform: translateX(-50%);
  width: 10%;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.spin-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
}
.left-bg {
  width: 50%;
  height: 100%;
  background-color: #ffeee6;
  position: absolute;
  left: 0;
}
.right-bg {
  width: 50%;
  height: 100%;
  background-color: #f7f6f2;
  position: absolute;
  right: 0;
}
.behind-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  position: absolute;
  pointer-events: none;
}
.behind-image img {
  width: 100%;
}
.BRILLE15-code {
  background: url("../img/BRILLE15-code.png") center/contain no-repeat;
}
.SONNE10-code {
  background: url("../img/SONNE10-code.png") center/contain no-repeat;
}
.LINSE10-code {
  background: url("../img/LINSE10-code.png") center/contain no-repeat;
}
.TRYAGAIN {
  background: url("../img/tryagain.png") center/contain no-repeat;
}
.START {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 222;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  cursor: pointer;
  /* background: url("../img/start.png") center/contain no-repeat; */
}
.START img {
  width: 55%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 0;
}
.START img {
  transition: transform 0.3s ease; /* smooth scaling */
}

.START:hover img {
  transform: scale(1.05); /* scale image 10% on hover */
}
.prize-image {
  width: 55%;
  height: 17%;
  position: absolute;
  z-index: 222;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  opacity: 0;
  cursor: pointer;
  /* transition: opacity 0.5s ease; */
}
.results {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; /* 👈 initially invisible */
  pointer-events: none; /* 👈 not clickable */
  /* transition: opacity 0.5s ease; */
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* 👈 20% black */
  z-index: 33;
}
.overlay-start {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* 👈 20% black */
  z-index: 33;
}
.cta {
  width: 55%;
  height: 17%;
  position: absolute;
  z-index: 222;
  left: 5%;
  margin: auto;
  top: 73%;
  background: url("../img/BRILLE15-cta.png") center/contain no-repeat;
}
.bg-click {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.copyNotification {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 333;
  font-family: "MyCustomFont", sans-serif;
  text-align: center;
}
