.container {
  background-color: #0088cc;
  /* padding: 24px; */
  width: 100%;
  height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background-color: #0088cc;
  padding: 2px 16px;
  width: 100%;
  flex-shrink: 0;
}

.title {
  color: white;
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  flex: 1;
}

.exitButton {
  background: transparent;
  color: #fff;
  border: none;
  padding: 4px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: underline;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.exitButton:hover {
  opacity: 0.8;
}

.gameContainer {
  flex: 1;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  position: relative;
  background: #000;
  border-radius: 8px;
}

.gameIframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: none;
  border-radius: 8px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.loadingContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.loadingLogo {
  width: clamp(80px, 15vw, 120px);
  height: auto;
  margin-bottom: clamp(16px, 3vw, 24px);
  maxWidth: 100%;
}

.loadingText {
  color: #fff;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 0;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    margin: 0;
    overflow: hidden;
  }

  .header {
    margin-bottom: 0;
    padding: 12px 16px;
    flex-shrink: 0;
    width: 100%;
    background-color: #0088cc;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .title {
    font-size: 18px;
    padding: 0;
    color: white;
    font-weight: bold;
  }

  .exitButton {
    padding: 4px 12px;
    font-size: 14px;
    color: #fff;
    text-decoration: underline;
    text-transform: uppercase;
  }

  .gameContainer {
    flex: 1;
    min-height: 0;
    border-radius: 0;
    width: 100%;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gameIframe {
    min-height: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .loadingContainer {
    flex: 1;
    min-height: 0;
    background: #000;
  }
}
