/* ====================
   GLOBAL / RESET
==================== */
html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: black;
  font-family: sans-serif;
  position: relative;
}



/* ====================
   WRAPPER + CONTAINER
==================== */
#wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;

     overflow: visible !important;

}

#container {
  width: 1920px;
  height: 1080px;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
}

/* ====================
   BACKGROUND VIDEO
==================== */
#bgVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  object-fit: cover;
  z-index: -1;

}
#page-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  border: 10px solid #000000; /* kolor ramki */
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* żeby nic nie wychodziło poza ramkę */}





/* kotwica dla absolutnego pozycjonowania */
#page-frame { position: relative; }

.site-branding{
  position:absolute;         /* zamiast fixed */
  top: 18px;
  right: 18px;
  z-index: 50;
  text-align: right;
  pointer-events: none;

  background: none;          /* bez “kwadratu” */
  border: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-branding__logo{
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;           /* mniejsze niż copyright/legal */
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.15;
  color: #fff;

  text-shadow:
    1px 1px 0 #000,
    2px 2px 0 #000,
    0 0 10px rgba(0,0,0,0.65);
}

.site-branding__copyright{
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;            /* większe względem logo */
  margin-top: 6px;
  color: rgba(255,255,255,0.80);
  text-shadow: 1px 1px 0 #000, 0 0 8px rgba(0,0,0,0.6);
}

.site-branding__legal{
  font-family: Arial, sans-serif;
  font-size: 9px;            /* czytelne ostrzeżenie */
  margin-top: 4px;
  color: rgba(255,255,255,0.55);
  text-shadow: 1px 1px 0 #000, 0 0 8px rgba(0,0,0,0.6);
}



/* NA SAMYM KOŃCU PLIKU: */

/* Małe ekrany - zawsze wyglądaj jak landscape */
/* 
@media screen and (max-width: 1024px) and (orientation: portrait) {
  html {
    transform: rotate(90deg) !important;
    transform-origin: left top !important;
    width: 100vh !important;
    height: 100vw !important;
    position: fixed !important;
    top: 0 !important;
    left: 100% !important;
    overflow: hidden !important;
  }
  
  body {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  
  #page-frame,
  #wrapper,
  #container {
    width: 100% !important;
    height: 100% !important;
  }
} 