html, body {
  margin: 0;
  padding: 0;
  width: 100dvw;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  background: #061726; 
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  
  /* Flexbox to organize the 3 columns */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* --- AD ZONE STYLES --- */
.ad-zone {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.ad-placeholder {
  width: 100%;
  max-width: 300px;
  height: 80%;
  max-height: 600px;
  border: 2px dashed #2a4763;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.25);
  color: #4a7299;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: background-color 0.3s;
}

.ad-placeholder:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

/* Hide ads on mobile/narrow screens */
@media (max-width: 850px) {
  .ad-zone {
    display: none;
  }
}

/* --- FLOATING GAME LINK --- */
.play-full-game-btn {
  position: absolute;
  top: 20px;
  right: 20px; 
  z-index: 100; 
  background-color: #4a7299; 
  color: #ffffff;
  text-decoration: none;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s, transform 0.2s;
}

.play-full-game-btn:hover {
  background-color: #5c8bb8;
  transform: translateY(-2px); 
}

/* --- UNITY CONTAINER STYLES --- */
#unity-container {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

#unity-canvas {
  display: block;
  background: #000;
  touch-action: none;
  outline: none;
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 320px);
  display: none;
  color: #fff;
  font-family: sans-serif;
  text-align: center;
}

#unity-logo {
  display: none;
}

#unity-progress-bar-empty {
  width: 100%;
  height: 18px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  border-radius: 9px;
  background: #ffffff;
}

#unity-warning {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  display: none;
  color: #fff;
  font-family: sans-serif;
  font-size: 14px;
  z-index: 2;
}