html, body, ul, li {
  margin: 0;
  border: 0;
  padding: 0;
}

/* Promeck dark navy background */
body {
  overflow: hidden;
  height: 100%;
  background-color: #0D1B2A;
  font-family: "Press Start 2P", "Courier New", monospace;
}

html {
  overflow: hidden;
  height: 100%;
  background-color: #0D1B2A;
}

canvas {
  display: block;
  width: 762px;
  margin: 0 auto;
  background-color: #0D1B2A;
  border: 3px solid #F2B400;
  box-shadow: 0 0 30px #F2B400aa;
}

/* Promeck branding header */
#promeck-header {
  text-align: center;
  padding: 8px 0 4px 0;
  background: linear-gradient(180deg, #0D1B2A 0%, #0D1B2A 100%);
}

#promeck-header h1 {
  color: #F2B400;
  font-size: 22px;
  letter-spacing: 6px;
  margin: 0;
  text-shadow: 0 0 10px #F2B400, 2px 2px 0 #000;
  font-family: "Press Start 2P", "Courier New", monospace;
}

#promeck-header .tagline {
  color: #fff;
  font-size: 10px;
  letter-spacing: 3px;
  margin: 4px 0 0 0;
  text-shadow: 1px 1px 0 #000;
  font-family: "Press Start 2P", "Courier New", monospace;
}

.info {
  position: fixed;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.info .controls {
  color: #F2B400;
  font-size: 10px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #000;
  font-family: "Press Start 2P", "Courier New", monospace;
}

#promeck-logo {
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  filter: drop-shadow(0 0 8px #F2B400aa);
}


/* Force landscape on mobile */
@media (hover: none) and (pointer: coarse) and (orientation: portrait) {
  body::before {
    content: "📱 Lütfen telefonu yatay çevir!";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0D1B2A;
    color: #F2B400;
    font-family: "Press Start 2P", monospace;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 9999;
    padding: 20px;
  }
  canvas, #mobile-controls, .info {
    display: none !important;
  }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) {
  canvas {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh;
    object-fit: contain;
    border: none !important;
    box-shadow: none !important;
  }
  body {
    margin: 0 !important;
    padding: 0 !important;
  }
}
