h1 {
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 12px #00000088;
}


body {
    font-family: 'Poppins', sans-serif;

  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}


.container {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  max-width: 450px;
  width: 100%;
}

h4, h5 {
  color: #e0e0e0;
  margin: 10px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  gap: 20px;
  justify-content: center;
  margin: 25px 0;
}

.but {
  width: 130px;
  height: 130px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.2), 0 6px 15px rgba(0,0,0,0.4);
}

.red    { background: linear-gradient(to right, #e52d27, #b31217); }
.green  { background: linear-gradient(to right, #11998e, #38ef7d); }
.yellow { background: linear-gradient(to right, #f7971e, #ffd200); }
.purple { background: linear-gradient(to right, #8e2de2, #4a00e0); }

.but:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.flashwhite {
  background-color: #fff !important;
  box-shadow: 0 0 30px #ffffff;
}

.flash {
  opacity: 0.6;
  transform: scale(0.92);
  box-shadow: 0 0 20px #ffffff;
}

.controls {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.controls button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 12px 24px;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
  backdrop-filter: blur(6px);
}

.controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}
