/* inter-tight-100 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/inter-tight-v3-latin_latin-ext-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-100italic - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 100;
    src: url('fonts/inter-tight-v3-latin_latin-ext-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-200 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/inter-tight-v3-latin_latin-ext-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-200italic - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 200;
    src: url('fonts/inter-tight-v3-latin_latin-ext-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-300 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/inter-tight-v3-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-300italic - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/inter-tight-v3-latin_latin-ext-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-regular - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/inter-tight-v3-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-italic - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/inter-tight-v3-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-500 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/inter-tight-v3-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-500italic - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 500;
    src: url('fonts/inter-tight-v3-latin_latin-ext-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-600 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/inter-tight-v3-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-600italic - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 600;
    src: url('fonts/inter-tight-v3-latin_latin-ext-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-700 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/inter-tight-v3-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-700italic - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/inter-tight-v3-latin_latin-ext-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-800 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/inter-tight-v3-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-800italic - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 800;
    src: url('fonts/inter-tight-v3-latin_latin-ext-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-900 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/inter-tight-v3-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-tight-900italic - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 900;
    src: url('fonts/inter-tight-v3-latin_latin-ext-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  





* {

    font-family: 'Inter Tight';
    user-select: none;
}
body, input, button {
    color: var(--fg);
}
:focus {
    outline: color-mix(in srgb, var(--fg) 50%, transparent) .15rem solid;
    outline-offset: .25rem;
    transition: outline-offset .2s ease;
    border-radius: 1rem;
  }

body, html {
    background-color: var(--bg);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-size: 1vw;
    zoom: 200%;
}
.contentPage {
    height: 100vh;
    width: 100vw;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform .5s cubic-bezier(.5, 0, 0, 1);
    overflow: hidden;
    
}
form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    width: 40rem;
    margin-bottom: 50rem;
}
label {
    display: flex;
    align-items: center;
    justify-content: center;
}
button {
    /* color: #000; */
    background-color: var(--surface);
    padding: .75rem 1rem;
    border-radius: 1rem;
    border: none;
    font-size: 1.2rem;
    transition: transform .2s ease;
}
button:hover {
  transform: scale(1.1);
  transition: transform .2s ease;
}
button:active {
  transform: scale(0.99);
  transition: transform .2s ease;
}
#logo {
    width: 20%;
    height: auto;
    margin-bottom: 10rem;
}

input {
    /* color: #ffffff27; */
    background-color: var(--surface);
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    border: none;
    font-size: 1.2rem;
    width: 100%;
    /* text-transform: capitalize; */
}
#formSection {
    top: 0%;
    gap: 3rem;
}
.horizontalRow {
    display: flex;
    gap: .75rem;
    width: 100%;
}
#rouletteSection {
    top: 0;
    transform: translateY(100vh);
}
.confirmButton {
  margin-top: 3rem;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  margin-top: 5rem;
}
h1 {
  text-align: center;
  font-weight: 700;
  font-size: 4rem;
}
.rouletteWrapper {
  width: 90vw;
  height: 90vw;
  border-radius: 50vh;
  transform: scale(1);
    transition: transform .5s cubic-bezier(.5, 0, 0, 1), opacity .5s cubic-bezier(.5, 0, 0, 1);
    padding: 2rem;
}
.roulette {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
   
}
.roulette::before {
    content: "";
    display: block;
    width: 10rem;
    height: 10rem;
    background-color: color-mix(in srgb, var(--fg) 25%, transparent);
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(33% 0, 50% 100%, 66% 0);
}

.currentPrizeWrapper {
  width: fit-content;

  position: absolute;
  top: -12rem;
  height: 5rem;
  left: 50%;
  transform: translateX(-50%);

}
.currentPrizeWrapper span {
  width: fit-content;
  white-space: nowrap;
  height: 5rem;
  font-size: 3rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  /* text-shadow: 0 0 100px rgb(255, 255, 255); */


  font-weight: 700;
  letter-spacing: 0.05em;
 }
.rollIn {
  /* animation: name duration timing-function delay iteration-count direction fill-mode; */
  animation: rollIn .1s cubic-bezier(1,0,0,1) forwards;

}
@keyframes rollIn {
  from {
    transform: rotateX(90deg) translateX(-50%);
    top: -50%;
   
  }
  to {
    transform: rotateX(0deg) translateX(-50%);
    top: 0%;

  }
}
.rollOut {
  /* animation: name duration timing-function delay iteration-count direction fill-mode; */
  animation: rollOut .1s cubic-bezier(1,0,0,1) forwards;

}
@keyframes rollOut {
  from {
    transform: rotateX(0deg) translateX(-50%);
    top: 0%;
   
  }
  to {
    transform: rotateX(-90deg) translateX(-50%);
    top: 50%;
   
  }
}



#prizeModal {
    width: 100vw;
    height: 100vh;
    z-index: 1;
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
    opacity: 0;
    transform: scale(0);
    transition: transform .5s cubic-bezier(.5, 0, 0, 1), opacity .5s cubic-bezier(.5, 0, 0, 1);
    gap: 3rem;
}
.wonItem {
  font-size: 4rem;
  font-weight: 600;
}
.info {
  font-size: 2rem;
}
#endGame {
  font-size: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  margin-top: 5rem;
}
#wonItemText {
    box-shadow: color-mix(in srgb, var(--accent) 55%, #000) 0 .25rem 0 0;
    background:linear-gradient(318deg, color-mix(in srgb, var(--accent) 65%, #fff), var(--accent));
    color: var(--on-accent);
    background-size:200% auto;
    font-weight: 700;
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    letter-spacing: 0.05em;
   }
   /* Só anima com o prêmio na tela: escondida, a animação repintava sem parar. */
   #prizeModal.open #wonItemText {
    animation:wonItemText 2s ease infinite;
   }
   @keyframes wonItemText {
    0% {
     background-position:15% 0%
    }
    50% {
     background-position:86% 100%
    }
    100% {
     background-position:15% 0%
    }
   }
