.game-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.game-modal.active {
  display: flex;
}

.game-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.game-modal__content {
  position: relative;
  width: 90vw;
  height: 80vh;
  max-width: 1200px;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
}

.game-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: #fe0900;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.game-modal__close:hover {
  opacity: 0.8;
}

.game-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Age verification modal */
.age-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.age-modal.active {
  display: flex;
}

.age-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.age-modal__dialog {
  position: relative;
  background: #1f1f1f;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
}

.age-modal__logo {
  margin-bottom: 24px;
}

.age-modal__logo img {
  height: 60px;
  width: auto;
  margin: 0 auto;
}

.age-modal__title {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}

.age-modal__text {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  margin-bottom: 24px;
}

.age-modal__option {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  cursor: pointer;
}

.age-modal__option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #fe0900;
  flex-shrink: 0;
}

.age-modal__option span {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

.age-modal__confirm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.age-modal__legal {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  margin-bottom: 24px;
}

.age-modal__confirm {
  width: 100%;
  background: #fe0900;
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 16px;
  border-radius: 1000px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.age-modal__confirm:hover {
  opacity: 0.9;
}
