:root {
  --kirvx-green: #47F138;
  --kirvx-bg: #05070a;
  --kirvx-text: #e5e5e5;
}



.bot-mobile-block {
  display: none; /* standard: unsichtbar */
}

/* SECTION – zentriert, Abstand zur Navbar */
.kirvx-bot-game {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 80px 0 60px;
  background:
    radial-gradient(circle at 20% 15%, rgba(71, 241, 56, 0.18), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(71, 241, 56, 0.14), transparent 60%),
    #05070a;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* GAME CONTAINER */
.bot-game-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 26px 70px rgba(0,0,0,0.9);
  background: #000;
}

/* TV MODE OVERRIDES */
.tv-mode {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* TV IMAGE */
.tv-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* CANVAS auf CRT Bildschirm positionieren */
#botGameCanvas {
position: absolute;
  z-index: 2;

  top: 10.7%;
  left: 17.8%;
  width: 59.5%;
  height: 77.3%;

  background: #000;
  border-radius: 18px;
  overflow: hidden;

  filter: contrast(1.05) saturate(1.35) brightness(1.1);
}

/* OVERLAY */
.bot-overlay {
  position: absolute;
  z-index: 3;

  top: 10.7%;
  left: 17.8%;
  width: 59.5%;
  height: 77.3%;

  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 14px;
}

.bot-overlay-title {
  font-size: 32px;
  letter-spacing: 0.26em;
  color: var(--kirvx-green);
  margin-bottom: 16px;
}

.bot-overlay-sub {
  max-width: 720px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kirvx-text);
  opacity: 0.85;
  margin-bottom: 26px;
}

#botStartBtn {
  padding: 12px 32px;
  border-radius: 999px;
  border: 2px solid var(--kirvx-green);
  background: transparent;
  color: var(--kirvx-green);
  font-size: 12px;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: 0.2s ease;
}

#botStartBtn:hover {
  background: var(--kirvx-green);
  color: #05070a;
  box-shadow: 0 0 28px rgba(71,241,56,0.9);
  transform: translateY(-1px) scale(1.03);
}

/* HUD */
.bot-hud {
  position: absolute;
  z-index: 4;

  /* Gleiche Position wie dein Canvas */
  top: 10.7%;
  left: 17.8%;
  width: 59.5%;
  height: 77.3%;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  pointer-events: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(229,229,229,0.9);
  padding: 10px 18px;
}


.bot-score span,
.bot-best span {
  color: var(--kirvx-green);
}


.bot-score,
.bot-best,
.bot-phase {
  position: relative;
  z-index: 10;
}

.bot-phase {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(71,241,56,0.5);
  background: rgba(5,7,10,0.8);
  font-size: 11px;
}

/* Shake Effect */
.bot-game-inner.shake {
  animation: kirvxShake 0.16s ease-in-out;
}

@keyframes kirvxShake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-4px, 2px); }
  50% { transform: translate(4px, -2px); }
  75% { transform: translate(-3px, 1px); }
  100% { transform: translate(0, 0); }
}

/* ============================================================
   RESPONSIVE — BOT GAME + DESKTOP-LOCK FOR MOBILE
============================================================ */

@media (max-width: 1100px) {
  .bot-overlay-title {
    font-size: 26px;
  }
  #botStartBtn {
    padding: 10px 24px;
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .bot-overlay-title {
    font-size: 20px;
  }
}

/* ============================================================
   GAME LOCK ON MOBILE — ONLY AVAILABLE ON DESKTOP
============================================================ */

@media (max-width: 760px) {

  /* Section selbst anpassen */
  .kirvx-bot-game {
    padding: 40px 0 !important;     /* Wenig Abstand oben & unten */
    min-height: auto !important;     /* Keine erzwungene Höhe */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Alles vom Spiel ausblenden */
  .bot-game-inner,
  #botGameCanvas,
  .bot-overlay,
  .bot-hud,
  .tv-frame {
    display: none !important;
  }

  /* Mobile Hinweis */
  .bot-mobile-block {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    padding: 60px 26px;   /* kleiner & sauber */
    text-align: center;

    background:
      radial-gradient(circle at 50% 20%, rgba(71,241,56,0.18), transparent 60%),
      #05070a;
  }

  .bot-mobile-block h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--kirvx-green);
    margin-bottom: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .bot-mobile-block p {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    max-width: 260px;
  }
}
