/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BACKGROUND */
body {
  min-height: 100vh;
  font-family: 'Orbitron', sans-serif;
  background: url("background.jpg") center/cover fixed no-repeat;
  color: white;
  overflow-x: hidden;
  position: relative;
  transition: background-position 0.1s ease-out;
  opacity: 0;
}

/* FADE IN */
body.loaded { opacity: 1; transition: opacity 1.2s ease-in-out; }

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: -1;
}

/* HEADER */
header {
  text-align: center;
  padding: 40px 20px;
}
header h1 {
  font-size: 3rem;
  letter-spacing: 3px;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff;
}
header p {
  max-width: 700px;
  margin: 15px auto 0;
  font-size: 1.2rem;
  opacity: 0.85;
  text-shadow: 0 0 5px #fff;
}

/* GROUP BUTTON */
.group-btn {
  position: absolute; /* was fixed */
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.08);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 20;
}
.group-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255,255,255,0.4);
}

/* STORE GRID */
#store {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 40px;
  perspective: 1000px;
}

/* CARD STYLING */
.card {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px;
  text-decoration: none;
  color: white;
  transition: transform 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}
.card img {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 8px;
}
.card p, .card .price {
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 8px #fff, 0 0 16px #fff;
  color: white;
  margin-bottom: 5px;
}

/* CARD 3D HOVER WHITE GLOW */
.card:hover {
  transform: rotateX(5deg) rotateY(5deg) scale(1.03);
  box-shadow: 0 0 25px rgba(255,255,255,0.5);
}

/* SOCIAL BUTTONS */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}
.social-btn {
  padding: 10px 20px;
  background: rgba(255,255,255,0.08);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.social-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255,255,255,0.4);
}

/* MUSIC CONTROLS */
.music-controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
  align-items: center;
}
#musicBtn {
  background: rgba(255,255,255,0.08);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
#musicBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(255,255,255,0.4);
}
#volume { cursor: pointer; }

/* PARTICLES */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
