body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  font-family: Georgia, serif;
  color: #ddd;
}
#coverScreen {
  position: fixed;
  inset: 0;

 background: url('images/cover.png') center top / cover no-repeat;
  background-size: contain;
  background-color: black;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

#coverScreen h1 {
  font-size: 48px;
  letter-spacing: 3px;
  color: #e6d3a3;

  text-shadow:
    0 0 10px black,
    0 0 20px rgba(0,0,0,0.8);
}
#frame {
  width: 95%;
  max-width: 900px;
  background: #2b2b2b;
  border: 6px solid #555;
  display: none;
  flex-direction: column;
}
#startGame {
  margin-top: 60vh;
  padding: 12px 24px;

  background: rgba(0,0,0,0.6);
  border: 1px solid #777;
  color: #ddd;

  cursor: pointer;
  transition: 0.3s;
}

#startGame:hover {
  background: rgba(0,0,0,0.8);
}
#imageArea {
  width: 100%;
  height: 50vh; /* 🔥 nagyobb kép */

  background-size: cover;
  background-position: center top; /* 🔥 ne középről vágjon */
  background-repeat: no-repeat;
  background-color: black;
}


#textArea {
  max-width: 520px; /* 🔥 keskenyebb */
  margin: 20px auto 0; /* 🔥 lejjebb tolva */
  padding: 0 15px;
}



#sceneText {
  font-size: 15px; /* 🔥 kisebb */
  line-height: 1.5;
}

#choices {
  margin-top: 15px;
}

button {
  padding: 10px 18px;
  margin-right: 10px;
  background: #3a3a3a;
  color: #ddd;
  border: 1px solid #666;
  cursor: pointer;

}
button:disabled {
  background: #444;
  color: #888;
  opacity: 0.6;
  cursor: not-allowed;
}

button:hover {
  background: #4a4a4a;
}
#battleArea {
  display: flex;
  flex-direction: column;
}

#battleControls {
  margin-bottom: 10px;
}

#battleLog {
  height: 150px;
  overflow-y: auto;
}

@media (max-width:768px){

  #imageArea {
    height: 40vh;
    background-position: top center;
  }

  
  #sceneText {
    font-size: 14px;
  }

}