[hidden] { display: none !important; }
.play-now-row { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; width: 100%; justify-content: center; align-items: center; margin: 0; }
body.game-started { overflow: hidden; background: #10100e; }
#game-container {
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: #10100e;
}
#game-container::before,
#game-container::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#game-container::before {
  background: url('../media/backgrounds/sail-hero.jpg') center 42% / cover no-repeat;
  filter: saturate(.78) sepia(.1);
}
#game-container::after {
  background:
    linear-gradient(90deg, rgba(9, 8, 7, .78), rgba(9, 8, 7, .18) 54%, rgba(9, 8, 7, .5)),
    linear-gradient(180deg, rgba(8, 7, 6, .3), rgba(8, 7, 6, .2) 52%, rgba(16, 14, 11, .55) 100%);
}
#unity-canvas { display: block; position: fixed; top: 0; left: 0; z-index: 2; width: 100%; height: 100%; height: 100dvh; border: 0; padding: 0; visibility: hidden; }
#game-container.game-ready #unity-canvas { visibility: visible; }
#loading-panel { position: fixed; z-index: 1; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(90%, 380px); padding: 22px; border: 1px solid #9f793e; background: rgba(18, 13, 9, .82); box-shadow: 0 12px 32px #0009; color: white; font: 18px/1.5 Arial, sans-serif; text-align: center; }
#loading-progress { display: block; width: 100%; margin-top: 16px; accent-color: #f2bd00; }
#fullscreen-btn {
  position: fixed;
  top: max(8px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
  z-index: 10;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 4px;
  place-items: center;
  color: #fff4d6;
  background: linear-gradient(145deg, rgba(62, 43, 25, .94), rgba(24, 20, 17, .96));
  border: 1px solid rgba(230, 185, 111, .8);
  border-radius: 10px;
  box-shadow: 0 3px 12px #0009, inset 0 1px 0 rgba(255, 239, 205, .2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
#fullscreen-btn svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#fullscreen-btn:hover { background: linear-gradient(145deg, rgba(103, 69, 34, .98), rgba(39, 30, 22, .98)); border-color: #f2bd00; box-shadow: 0 5px 16px #000a, inset 0 1px 0 rgba(255, 239, 205, .28); }
#fullscreen-btn:active { transform: scale(.94); }
#fullscreen-btn:focus-visible { outline: 3px solid #f2bd00; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { #fullscreen-btn { transition: none; } }
#unity-footer { position: fixed; bottom: 12px; right: 12px; }
