body {
  font-family: "Press Start 2P", Arial, sans-serif;
  background: #dfd9d9;
  margin: 0;
  padding: 0;
  text-align: center;
}

header {
  background: #ef5350;
  padding: 1rem;
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 2px 2px 0px #333, 4px 4px 0px #161615;
  border-bottom: 5px solid #333;
}

.search-bar {
  margin: 1rem;
}

input {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  background: #ef5350;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #d32f2f;
}


.gameboy {
  width: 320px;
  margin: 2rem auto;
  background: #e6e1dc;
  border: 6px solid #333;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  position: relative;
}

.logo {
  text-align: center;
  margin-bottom: 0.5rem;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.screen-container {
  background: #333;
  border-radius: 10px;
  padding: 0.5rem;
}

.screen {
  background: #8bc34a;
  border: 3px solid #000;
  border-radius: 5px;
  padding: 1rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.screen img {
  width: 100px;
  height: 100px;
}

.info {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}


.controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.dpad {
  position: relative;
  width: 80px;
  height: 80px;
}

.dpad div {
  background: #333;
  position: absolute;
}

.dpad .up, .dpad .down {
  width: 20px;
  height: 30px;
  left: 30px;
}

.dpad .up { top: 0; }
.dpad .down { bottom: 0; }

.dpad .left, .dpad .right {
  width: 30px;
  height: 20px;
  top: 30px;
}

.dpad .left { left: 0; }
.dpad .right { right: 0; }

.dpad .center {
  width: 20px;
  height: 20px;
  background: #555;
  top: 30px;
  left: 30px;
}


.buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-right: 20px;
}

.btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #d32f2f;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  border: 3px solid #333;
}


.select-start {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 1rem;
}

.small-btn {
  background: #555;
  color: white;
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 10px;
  border: 2px solid #333;
}


.speaker {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
  justify-content: center;
}

.speaker div {
  width: 6px;
  height: 30px;
  background: #333;
  border-radius: 3px;
}
