
/* BODY (keep yours) */
body{
  background-image: url(bg2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  z-index:-1;
}

/* TITLE */
h1{
  text-align: center;
  font-size:70px;
  letter-spacing:2px;
  text-shadow:
  0 0 10px white,
  0 0 20px #00f7ff,
  0 0 40px #00f7ff;
}

/* SUB TEXT */
.music-line{
  text-align:center;
  color:#00f7ff;
  font-size:30px;
  margin-top:-20px;
  margin-bottom:30px;
  letter-spacing:5px;
  text-shadow:
  0 0 10px #00f7ff,
  0 0 20px #00f7ff;
  animation:pulse 2s infinite;
}

@keyframes pulse{
  0%{opacity:0.5;}
  50%{opacity:1;}
  100%{opacity:0.5;}
}

/* GRID FIX (IMPORTANT) */
.button-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  width: 90%;
  margin: auto;
  padding: 20px;
}

/* KEY BUTTON */
.key{
  margin-top: 10px;
  width: 100%;
  height: 140px;
  border:none;
  border-radius:25px;
  background:rgba(255,255,255,0.1);
  backdrop-filter:blur(10px);
  color:white;
  padding:15px;
  cursor:pointer;
  transition: all 0.3s ease;

  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

/* TOP */
.top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* TEXT */
.key h2{
  font-size:40px;
  margin:0;
}

.icon{
  font-size:25px;
  color:#00f7ff;
}

.key p{
  font-size:14px;
  opacity:0.8;
  text-align:left;
  margin:0;
}

/* HOVER */
.key:hover{
  transform:scale(1.05);
  box-shadow: 0 0 20px #00f7ff;
  background:rgba(255,255,255,0.15);
}

/* ACTIVE (GLow fix) */
.active{
  transform:scale(0.95);
  background:rgba(0,247,255,0.2);
  box-shadow:
  0 0 20px #00f7ff,
  0 0 50px #00f7ff;
}

/* 📱 MOBILE */
@media (max-width: 768px){

  h1{
    font-size:40px;
  }

  .music-line{
    font-size:18px;
    letter-spacing:3px;
  }

  .button-container{
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap:10px;
    width:95%;
  }

  .key{
    height:120px;
    padding:10px;
  }

  .key h2{
    font-size:28px;
  }

  .icon{
    font-size:20px;
  }

  .key p{
    font-size:12px;
  }
}