*{
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #f8fafc 0%, #e0c3fc 100%);
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav {
  background: #22223b;
  color: #f2e9e4;
  box-shadow: 0 2px 8px rgba(34,34,59,0.1);
  border-radius: 0 0 18px 18px;
  width: 100vw;
  margin-bottom: 18px;
}

nav ul{
  list-style-type: none;

}

nav ul li {
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px #4a4e69;
  font-size: 2rem;
  padding: 8px 0;
}

.gameContainer {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.container {
  display: grid;
  grid-template-rows: repeat(3, 12vw);
  grid-template-columns: repeat(3, 12vw);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(44, 44, 84, 0.18);
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  border: 3px solid #c9ada7;
}

.box {
  font-size: 7vw;
  border: 2px solid #9a8c98;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8e1f4;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  min-width: 90px;
  min-height: 90px;
  border-radius: 12px;
  box-shadow: 0 2px 8px #e0c3fc33;
}

.box:hover {
  background: #ffe5ec;
  box-shadow: 0 4px 16px #c9ada7;
  transform: scale(1.07);
}

.gameInfo {
  padding: 28px 36px 18px 36px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(44, 44, 84, 0.13);
  min-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.gameInfo h1 {
  color: #b5838d;
  margin-bottom: 18px;
  font-size: 2.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #f8e1f4;
}

.info {
  display: inline-block;
  font-size: 1.4rem;
  color: #22223b;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  background: #f8e1f4;
  padding: 6px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #e0c3fc33;
}

.reset {
  background: linear-gradient(90deg, #b5838d 0%, #f7cad0 100%);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 0;
  margin-top: 10px;
  box-shadow: 0 2px 8px #c9ada7;
  transition: background 0.3s, transform 0.2s;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -28px;
  z-index: 2;
}
.reset:hover {
  background: linear-gradient(90deg, #4a4e69 0%, #b5838d 100%);
  transform: translateX(-50%) scale(1.08);
}

.imgBox {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 24px;
  min-height: 120px;
  min-width: 220px;
  width: 100%;
}

.imgBox img{
  display: none;
  width: 180px;
  max-width: 90vw;
  border-radius: 18px;
  box-shadow: 0 4px 16px #c9ada7;
  background: #fff;
  margin: 0 auto;
  transition: all 0.3s;
}

.bt-0{ border-top: 0; }
.bb-0{ border-bottom: 0; }
.bl-0{ border-left: 0; }
.br-0{ border-right: 0; }