* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Press Start 2P', cursive;
  background: linear-gradient(135deg, #1e1e2f, #282846);
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 8rem;
  min-height: 100vh;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ccc;
  line-heigth: 1.5;
}

#start-btn {
  padding: 1rem 2rem;
  font-family: inherit;
  font-size: 0.8rem;
  border: none;
  border-radius: 10px;
  background-color: #00feba;
  color: #000;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: 0.3s ease;
}

#start-btn:hover {
  background-color: #5b548a;
  color: #fff;
}

.btn-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 500px;
  margin: auto;
}

.btn {
  width: 100%;
  aspect-ratio: 1/1;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.red { background-color: #e74c3c; }
.yellow { background-color: #f1c40f; }
.green { background-color: #2ecc71; }
.purple { background-color: #9b59b6; }

.flash {
  opacity: 0.6;
  transform: scale(1.1);
  box-shadow: 0 0 20px #fff;
}

.danger {
  background-color: #ff1f1f !important;
  animation: shake 0.4s ease;
}

.profile
{
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.profile img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(105, 86, 227, 0.5);
    transition: transform 0.3s ease-in-out;

}

.profile img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(105, 86, 227, 0.7);
    
}


@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  50% { transform: translateX(10px); }
  75% { transform: translateX(-10px); }
}

@media (max-width: 480px) {
  .profile {
    top: 10px;
    right: 10px;
  }

  h1 { font-size: 1.2rem; }
  h2 { font-size: 0.9rem; }
  #start-btn { font-size: 0.7rem; padding: 0.7rem 1.5rem; }
  .btn-container { gap: 1rem; }
}
