/* projects/drift/style.css */

body, html {
  margin: 0;
  padding: 0;
  background: #111;
  overflow: hidden;
  font-family: 'Segoe UI', Roboto, sans-serif;
}
canvas {
  display: block;
  background: #111;
}

/* NOWE STYLE DLA BLOKADY MOBILNEJ */
#mobileBlocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0b0d; /* Tło pasujące do ogólnego stylu */
    color: #dbe7ff;
    display: none; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 9999;
}

.blocker-title {
    color: #0582f2; /* Kolor 'niebieskiej' strony */
    font-size: 30px;
    margin-bottom: 10px;
}

.blocker-text {
    max-width: 400px;
    font-size: 18px;
    margin-bottom: 30px;
}

.blocker-button {
    text-decoration: none;
    background: #0582f2; /* Główny niebieski kolor */
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.blocker-button:hover {
    background: #093b66; 
}

/* Upewnienie się, że element gry jest niewidoczny na mobilnych */
@media (max-width: 800px) {
    #gameCanvas, #splashScreen, #uiContainer {
        display: none !important;
    }
    #mobileBlocker {
        display: flex; /* Aktywuj blokadę */
    }
}