/* Game modal */
.rof-game-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rof-game-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 12, 0.85);
  backdrop-filter: blur(6px);
}

.rof-game-modal__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  background: #0d1316;
  border: 1px solid rgba(255, 122, 0, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.rof-game-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(13, 19, 22, 0.95);
}

.rof-game-modal__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}

.rof-game-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.rof-game-modal__close:hover {
  background: var(--rof-orange);
}

.rof-game-modal__body {
  aspect-ratio: 16 / 10;
  background: #000;
}

.rof-game-modal__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Age verification modal */
.rof-age-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rof-age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.rof-age-modal__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: #10171b;
  border: 1px solid rgba(255, 122, 0, 0.4);
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.rof-age-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.rof-age-modal__close:hover {
  background: var(--rof-orange);
}

.rof-age-modal__heading {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.rof-age-modal__text {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.55;
}

.rof-age-modal__button {
  width: 100%;
  padding: 14px;
}

/* Cookie banner */
.rof-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(11, 18, 22, 0.95);
  border: 1px solid rgba(255, 122, 0, 0.32);
  border-radius: 14px;
  padding: 16px 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.rof-cookie__text {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.rof-cookie__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.rof-cookie__accept {
  padding: 10px 18px;
  font-size: 12px;
}

.rof-cookie__decline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.rof-cookie__decline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 720px) {
  .rof-cookie {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .rof-cookie__actions {
    justify-content: center;
  }
}
