/* Ide jön a teljes style.css tartalom, amit a CodePen oldalról kimásoltál */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[v-cloak] {
  display: none !important;
}

#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7rem 1rem;
  min-height: 100vh;
  background-color: transparent;
}

.status-container {
  position: relative;
  left: 100px;
}

.toggle {
  display: flex;
  background-image: url("https://raw.githubusercontent.com/HuiyuLiz/vue-lucky-wheel/306abe15b78c71c3cd25ed8eaf97554101fd405e/svg/toggle.svg");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100px;
  height: 120px;
  position: absolute;
  left: calc;
  top: -3%;
  transition: all 0.3s ease-in;
  filter: drop-shadow(-3px 5px 0px #343baa);
  cursor: pointer;
}
.toggle:hover {
  transform: rotate(360deg) scale(0.8);
}

.game-status {
  position: absolute;
  left: 2%;
  top: 4%;
  font-size: 2rem;
  color: #f0beff;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  margin: 0 auto;
  flex-direction: column-reverse;
  font-weight: 700;
  text-transform: uppercase;
  width: 250px;
  height: 600px;
}

button:focus {
  outline: 0;
}

.times {
  font-size: 2.5rem;
  line-height: 0.9;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 5px 0px;
  position: relative;
  color: #1f1172;
}
.times::after {
  position: absolute;
  content: "x";
  font-size: 2.3rem;
  font-weight: normal;
  left: 150px;
  top: 3px;
  color: #f0beff;
}
.times > span {
  text-align: right;
  color: #1f1172;
  margin-left: 40px;
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.btn {
  cursor: pointer;
  font-family: "Roboto Condensed", sans-serif;
  width: 100px;
  padding: 5px 10px;
  margin: 10px 5px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s;
}
.btn.btn-primary {
  border: 3px solid #1f1172;
  color: #f0beff;
  background-color: #343baa;
}
.btn.active {
  border: 3px solid #ff00ba;
  color: #ff00ba;
  background-color: #1f1172;
}
.btn.btn-secondary {
  border: 3px solid #1f1172;
  color: #343baa;
  background-color: #f0beff;
}
.btn.btn-secondary:hover {
  border: 3px solid #f0beff;
  color: #f0beff;
  background-color: #1f1172;
}

.lucky-wheel {
  display: flex;
  width: 550px;
  height: 550px;
  border-radius: 550px;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.lucky-wheel::after {
  content: "";
  width: 540px;
  height: 549px;
  background-image: url("https://raw.githubusercontent.com/HuiyuLiz/vue-lucky-wheel/306abe15b78c71c3cd25ed8eaf97554101fd405e/svg/wheel-outside.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
}
.lucky-wheel .container {
  display: block;
  width: 520px;
  height: 520px;
  border-radius: 520px;
  overflow: hidden;
  position: relative;
  transform: rotate(-30deg);
}
.lucky-wheel .container.container-large {
  transform: rotate(-18deg);
}

.pointer-container {
  display: flex;
  width: 128px;
  height: 208px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  position: absolute;
  color: #ff00ba;
  font-size: 2rem;
}
.pointer-container::after {
  display: block;
  content: "PRESS";
  width: 120px;
  height: 120px;
  border-radius: 120px;
  background-color: #1f1172;
  line-height: 120px;
  text-align: center;
  font-weight: bold;
}
.pointer-container .pointer {
  width: 128px;
  height: 208px;
  display: block;
  background-image: url("https://raw.githubusercontent.com/HuiyuLiz/vue-lucky-wheel/306abe15b78c71c3cd25ed8eaf97554101fd405e/svg/hand.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 39.7px;
  transform-origin: 64px 144px;
  cursor: pointer;
}

.item {
  position: absolute;
  display: flex;
  width: 50%;
  height: 50%;
  border: 1px solid #1f1172;
  top: 0;
  right: 0;
  transform-origin: 0% 100%;
  justify-content: center;
  align-items: center;
}

.item-skew:nth-child(1) {
  transform: rotate(60deg) skewY(-30deg);
}

.item-skew:nth-child(2) {
  transform: rotate(120deg) skewY(-30deg);
}

.item-skew:nth-child(3) {
  transform: rotate(180deg) skewY(-30deg);
}

.item-skew:nth-child(4) {
  transform: rotate(240deg) skewY(-30deg);
}

.item-skew:nth-child(5) {
  transform: rotate(300deg) skewY(-30deg);
}

.item-skew:nth-child(6) {
  transform: rotate(360deg) skewY(-30deg);
}

.item-skew-large:nth-child(1) {
  transform: rotate(18deg) skewY(-72deg);
}

.item-skew-large:nth-child(2) {
  transform: rotate(36deg) skewY(-72deg);
}

.item-skew-large:nth-child(3) {
  transform: rotate(54deg) skewY(-72deg);
}

.item-skew-large:nth-child(4) {
  transform: rotate(72deg) skewY(-72deg);
}

.item-skew-large:nth-child(5) {
  transform: rotate(90deg) skewY(-72deg);
}

.item-skew-large:nth-child(6) {
  transform: rotate(108deg) skewY(-72deg);
}

.item-skew-large:nth-child(7) {
  transform: rotate(126deg) skewY(-72deg);
}

.item-skew-large:nth-child(8) {
  transform: rotate(144deg) skewY(-72deg);
}

.item-skew-large:nth-child(9) {
  transform: rotate(162deg) skewY(-72deg);
}

.item-skew-large:nth-child(10) {
  transform: rotate(180deg) skewY(-72deg);
}

.item-skew-large:nth-child(11) {
  transform: rotate(198deg) skewY(-72deg);
}

.item-skew-large:nth-child(12) {
  transform: rotate(216deg) skewY(-72deg);
}

.item-skew-large:nth-child(13) {
  transform: rotate(234deg) skewY(-72deg);
}

.item-skew-large:nth-child(14) {
  transform: rotate(252deg) skewY(-72deg);
}

.item-skew-large:nth-child(15) {
  transform: rotate(270deg) skewY(-72deg);
}

.item-skew-large:nth-child(16) {
  transform: rotate(288deg) skewY(-72deg);
}

.item-skew-large:nth-child(17) {
  transform: rotate(306deg) skewY(-72deg);
}

.item-skew-large:nth-child(18) {
  transform: rotate(324deg) skewY(-72deg);
}

.item-skew-large:nth-child(19) {
  transform: rotate(342deg) skewY(-72deg);
}

.item-skew-large:nth-child(20) {
  transform: rotate(360deg) skewY(-72deg);
}

.item-content {
  display: flex;
  max-width: 90px;
  align-items: center;
  flex-direction: column;
  font-size: 1.3rem;
  font-weight: bold;
  transform-origin: center center;
  transform: skewY(30deg) rotate(30deg) translate(-95px, 62px);
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: center;
  word-break: break-word;
}

.item-content span {
  font-size: 0.9rem;
  word-break: break-word;
}

.item-content.item-content-large {
  transform: skewY(72deg) rotate(9deg) translate(-22px, -10px);
  position: absolute;
  left: 0;
  top: 200px;
}
.item-content .count {
  position: absolute;
  left: 28px;
  top: 112px;
  font-size: 1.2rem;
  text-align: center;
  width: 45px;
  line-height: 25px;
  border-radius: 30px;
  display: block;
}
.item-content .count.count-large {
  left: 39px;
  top: 40px;
  font-size: 1rem;
  width: 25px;
  line-height: 25px;
  border-radius: 25px;
}
.item-content > i {
  font-size: 4rem;
}

.item:nth-child(odd) {
  background-color: #343baa;
}
.item:nth-child(odd) .item-content {
  color: #f0beff;
}
.item:nth-child(odd) .count {
  color: #343baa;
  background-color: #f0beff;
}

.item:nth-child(even) {
  background-color: #f0beff;
}
.item:nth-child(even) .item-content {
  color: #343baa;
}
.item:nth-child(even) .count {
  color: #f0beff;
  background-color: #343baa;
}

.item.active {
  background-color: #ff00ba;
  transition: 0.2s ease-in;
}
.item.active .item-content {
  color: white;
  transition: 0.2s ease-in;
}

.prize {
  display: flex;
  position: absolute;
  width: 100%;
  height: 237px;
  background-color: #343baa;
  overflow: hidden;
  z-index: -5;
}
.prize .prize-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1280px;
  margin: 0 auto;
  position: relative;
}
.prize .prize-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 25%;
  height: 157px;
  font-size: 72px;
  color: white;
  font-weight: bold;
  padding-left: 11%;
  z-index: 999;
}
.prize .prize-title:nth-child(2) {
  width: 26%;
  padding-left: 0px;
  font-size: 32px;
}
.prize .prize-item {
  font-size: 45px;
  color: #ff00ba;
  text-decoration: underline;
}

.prize-background {
  width: 1280px;
  height: 237px;
  position: absolute;
}
.prize-background i {
  font-size: 4rem;
  color: #22299b;
  position: absolute;
}
.prize-background i:nth-child(1) {
  bottom: 30px;
  left: -40px;
  transform: rotate(0deg);
}
.prize-background i:nth-child(2) {
  top: 40px;
  left: 30px;
  transform: rotate(20deg);
}
.prize-background i:nth-child(3) {
  bottom: -40px;
  left: 130px;
  transform: rotate(-20deg);
}
.prize-background i:nth-child(4) {
  top: -25px;
  left: 270px;
  transform: rotate(-30deg);
}
.prize-background i:nth-child(5) {
  bottom: 20px;
  left: 340px;
  transform: rotate(0deg);
}
.prize-background i:nth-child(6) {
  top: -20px;
  right: 300px;
  transform: rotate(0deg);
}
.prize-background i:nth-child(7) {
  bottom: -35px;
  right: 260px;
  transform: rotate(40deg);
}
.prize-background i:nth-child(8) {
  bottom: 35px;
  right: 50px;
  transform: rotate(-20deg);
}
.prize-background i:nth-child(9) {
  top: 10px;
  right: -25px;
  transform: rotate(20deg);
}

.prize-background i:nth-child(odd) {
  animation: move 3s alternate infinite ease-in-out;
  animation-delay: 0.2s;
}

.prize-background i:nth-child(even) {
  animation: move 2s alternate-reverse infinite ease-in-out;
}

.prize-background i:nth-child(odd) {
  animation: move 3s alternate infinite ease-in-out;
  animation-delay: 0.4s;
}

.prize-background i:nth-child(even) {
  animation: move 2s alternate-reverse infinite ease-in-out;
}

.prize-background i:nth-child(odd) {
  animation: move 3s alternate infinite ease-in-out;
  animation-delay: 0.6s;
}

.prize-background i:nth-child(even) {
  animation: move 2s alternate-reverse infinite ease-in-out;
}

.prize-background i:nth-child(odd) {
  animation: move 3s alternate infinite ease-in-out;
  animation-delay: 0.8s;
}

.prize-background i:nth-child(even) {
  animation: move 2s alternate-reverse infinite ease-in-out;
}

.prize-background i:nth-child(odd) {
  animation: move 3s alternate infinite ease-in-out;
  animation-delay: 1s;
}

.prize-background i:nth-child(even) {
  animation: move 2s alternate-reverse infinite ease-in-out;
}

.prize-background i:nth-child(odd) {
  animation: move 3s alternate infinite ease-in-out;
  animation-delay: 1.2s;
}

.prize-background i:nth-child(even) {
  animation: move 2s alternate-reverse infinite ease-in-out;
}

.prize-background i:nth-child(odd) {
  animation: move 3s alternate infinite ease-in-out;
  animation-delay: 1.4s;
}

.prize-background i:nth-child(even) {
  animation: move 2s alternate-reverse infinite ease-in-out;
}

.prize-background i:nth-child(odd) {
  animation: move 3s alternate infinite ease-in-out;
  animation-delay: 1.6s;
}

.prize-background i:nth-child(even) {
  animation: move 2s alternate-reverse infinite ease-in-out;
}

.prize-background i:nth-child(odd) {
  animation: move 3s alternate infinite ease-in-out;
  animation-delay: 1.8s;
}

.prize-background i:nth-child(even) {
  animation: move 2s alternate-reverse infinite ease-in-out;
}

@keyframes move {
  10% {
    transform: rotate(6deg) scale(0.8);
  }
  20% {
    transform: rotate(4deg) scale(0.8);
  }
  30% {
    transform: rotate(1deg) scale(0.8);
  }
  40% {
    transform: rotate(1deg) scale(0.8);
  }
  50% {
    transform: rotate(8deg) scale(0.8);
  }
  60% {
    transform: rotate(2deg) scale(0.8);
  }
  70% {
    transform: rotate(5deg) scale(0.8);
  }
  80% {
    transform: rotate(1deg) scale(0.8);
  }
  90% {
    transform: rotate(3deg) scale(0.8);
  }
}
.slide-fade-enter-active {
  transition: all 1s ease;
  transition-delay: 2s s;
}

.slide-fade-leave-active {
  transition: all 0.4s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter,
.slide-fade-leave-to {
  transform: translateX(10px);
  opacity: 0;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1f1172;
  color: #f0beff;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
}

.toast.hidden {
  display: none;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* átlátszó fekete */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
  box-sizing: border-box;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

.modal-content input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.modal-buttons button {
  padding: 0.6rem 1.2rem;
  margin: 0 0.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.modal-buttons button:first-child {
  background: #3498db;
  color: white;
}

.modal-buttons button:last-child {
  background: #ddd;
  color: #333;
}

#emailSentModal .modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  max-width: 420px;
  width: 90%;
  font-family: 'Poppins', sans-serif;
}

#emailSentModal h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #2c3e50;
}

#emailSentModal p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

#emailSentModal button {
  background-color: #27ae60;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#emailSentModal button:hover {
  background-color: #219150;
}

.rules-section {
      background-color: #f8f9fa;
      padding: 3rem 1rem;
      border-top: 1px solid #ddd;
      margin-top: 4rem;
    }
    .rules-section h2 {
      text-align: center;
      color: #2c3e50;
      margin-bottom: 1.5rem;
    }
    .rules-section ul {
      max-width: 800px;
      margin: 0 auto;
      padding: 0;
      list-style: none;
    }
    .rules-section ul li {
      margin-bottom: 1rem;
      padding-left: 1.5rem;
      position: relative;
    }
    .rules-section ul li::before {
      content: "\2713";
      position: absolute;
      left: 0;
      color: #3498db;
    }

.rules-toggle {
  text-align: center;
  margin: 3rem auto 1rem;
  cursor: pointer;
  color: #00e5ff;
  font-weight: bold;
  font-size: 1rem;
  display: block;
  max-width: 800px;
}
.rules-toggle:hover {
  color: #00bcd4;
}

.rules-box {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
  background: #f9f9f9; /* vagy #ffffff */
  color: #222; /* <-- ez itt a lényeg */
  font-size: 0.95rem;
  border-radius: 10px;
  line-height: 1.7;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.rules-box a {
  color: #007bff;
  text-decoration: underline;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.4s ease;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}

.rules-toggle,
.rules-box {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  padding: 1rem;
}

.lucky-wheel::after {
  background: none !important;
  background-image: none !important;
}

@media screen and (max-width: 480px) {
  .wheel-wrapper {
    transform: scale(0.65);
    transform-origin: top center;
  }
}

@media screen and (max-width: 360px) {
  .wheel-wrapper {
    transform: scale(0.68);
    transform-origin: top center;
  }
}