/* ============================================================================
// Nazwa pliku:style.css
// Ostatnia aktualizacja: 2025-09-27 T07:34:00 
// Autor: Your 'Mistake,' but We'll Fix It / ITI Data Net 
// Opis: Cel: Definicje stylów dla ekranu weryfikacji
//
// Historia Zmian:
// ----------------------------------------------------------------------------
// 2025-09-27 T00:07:00 - Zmiana: Dodano style dla Matrix Rain Canvas i poprawiono styl ikon w panelu. !!!
// 2025-09-28 T16:55:00 - Zmiana: PeÅ‚na aktualizacja nagÅ‚Ã³wka pliku ,
//                                dodano klauzulÄ™ licencyjnÄ… i zmieniono identyfikator.
// 
//
// Informacje Licencyjne i Prawa Autorskie:
// ----------------------------------------------------------------------------
// Our code, in whole or in part, may not be used in applications similar to our 
// solutions without our express written consent. We may grant a license if explicitly 
// requested by name in an inquiry and direct contact. 
// For licensing inquiries, please contact: office@itidatanet.com
// We exclusively employ high-class, innovative, and engineered solutions in 
// practical application.
//                             All Rights Reserved.
// ============================================================================*/


/*
    ENTER
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* --- DOMYŚLNE STYLE --- */
body, html {
  margin: 0; padding: 0; height: 100%; width: 100%;
  font-family: 'Montserrat', sans-serif;
  background-color: #000000;
  color: #00ff41;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px; 
}

/* --- STYLI DLA EKRANU WERYFIKACJI (index.html) --- */
.verification-body {
    perspective: none; 
    flex-direction: column;
    text-align: center;
    min-height: 100vh;
    background-color: #0a0a0a;
}
#welcome-screen {
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border: 2px solid #00fffb;
    border-radius: 10px;
    box-shadow: 0 0 20px #00fffb;
}

/* --- STYLIZACJA ANIMOWANEGO PRZYCISKU ENTER --- */
#enterBtn {
  background-color: #00ff41; 
  color: #000000;
  border: 3px solid #00fffb;
  padding: 15px 35px;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.7), 0 0 30px rgba(0, 255, 251, 0.5);
  transition: all 0.3s ease;
  animation: pulse 1.5s infinite; 
  margin-top: 30px;
}
#enterBtn:hover {
  background-color: #00fffb; 
  box-shadow: 0 0 20px #00fffb, 0 0 40px #00ff41;
}
#enterBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  animation: none;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* --- STYLE DLA KABINY 3D --- */
.cabin-scene {
  width: 90vw;
  max-width: 900px;
  height: 60vh;
  max-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  position: relative;
  z-index: 1000;
}
.cabin {
  width: 800px;
  height: 500px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease-in-out;
}
.wall {
  position: absolute;
  width: 800px;
  height: 500px;
  border: 2px solid #00ff41;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1; /* Zmieniono na pełną widoczność dla Canvas */
  transition: opacity 1s ease-in-out;
  background-color: #0a0a0a;
  position: relative; /* DODANO: Kontekst dla absolutnie pozycjonowanego Canvas */
}
.wall.front {
  transform: translateZ(400px); 
  border-color: #ff8000;
}
.wall.front.hidden { opacity: 0; }
.wall.back {
  transform: translateZ(-400px) rotateY(180deg);
}
.wall.left {
  transform: rotateY(-90deg) translateZ(400px);
}
.wall.right {
  transform: rotateY(90deg) translateZ(400px);
}
.wall.top {
  transform: rotateX(90deg) translateZ(250px); 
  width: 800px; 
  height: 800px; 
  border-width: 5px;
  background: linear-gradient(0deg, #001100, #004400);
}
.wall.bottom {
  transform: rotateX(-90deg) translateZ(250px);
  width: 800px;
  height: 800px;
  border-width: 5px;
  background: linear-gradient(0deg, #001100, #004400);
}

/* DODANO: Style dla Canvas Matrix Rain */
.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Pod warstwą iframe - tło */
    pointer-events: none; /* Ignorowanie kliknięć na Canvas */
}
/* Upewnienie się, że iframe jest na wierzchu */
.iframe-box {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2; /* Iframe nad Canvas */
}
.iframe-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
}


/* Panel Kontrolny - Desktop (dla dużych ekranów) */
.control-panel { 
  position: fixed;
  bottom: 20px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.8);
  border: 2px solid #00fffb;
  border-radius: 10px;
  box-shadow: 0 0 15px #00fffb;
  z-index: 2000;
  left: 50%;
  transform: translateX(-50%); 
}
.control-panel .button {
  background-color: #000;
  color: #00ff41;
  border: 1px solid #00ff41;
  padding: 10px 15px;
  margin: 0 5px;
  cursor: pointer;
  font-size: 1.5em; /* ZWIĘKSZONO dla ikon */
  transition: all 0.18s ease;
}
.control-panel .button:hover {
  background-color: #00ff41;
  color: black;
  box-shadow: 0 0 20px #00ff41, 0 0 40px #00ff41;
}

/* --- OPTYMALIZACJA MOBILNA (Media Query) --- */
@media (max-width: 768px) {
    body, html { perspective: none; }
    .cabin-scene { max-width: 100vw; height: 100vh; }
    .cabin { width: 100vw; height: 100vh; transition: transform 0.5s ease-out; }
    
    /* Panel Sterowania - PÓŁPRZEZROCZYSTY i chowany/wysuwany */
    .control-panel {
        bottom: 50%;
        top: auto;
        left: auto;
        right: 0;
        transform: translateY(50%); 
        flex-direction: column;
        display: flex;
        padding: 10px;
        margin-right: -100px; 
        transition: margin-right 0.5s ease-out, opacity 0.5s ease;
        border-radius: 10px 0 0 10px; 
        opacity: 0.7; 
    }
    .control-panel.visible { 
        margin-right: 0; 
        opacity: 1;
    }
    .control-panel .button { 
        margin: 5px 0;
        font-size: 1em; /* ZMNIEJSZONO czcionkę dla przycisków z pełnymi etykietami */
    }
}