@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  color: white;
  position: relative;
  background: linear-gradient(to bottom, #00A6FF 0%, #004CFF 100%);
}

/* Star canvas */
#starCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Screens */
.screen {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 50px 20px;
}

.center-screen {
  justify-content: center;
}

.fade-in { opacity: 1; transition: opacity 1s ease-in; }
.fade-out { opacity: 0; transition: opacity 1s ease-out; }
.hidden { display: none; }

/* Title */
#fluorite-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  color: rgb(0, 0, 0);
  text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
  cursor: pointer;
  margin-bottom: 60px;
  animation: glowPulse 2s infinite ease-in-out;
}

@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* Buttons */
.button-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.glow-button {
  background: transparent;
  border: 2px solid #00ffff;
  padding: 12px 32px;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  border-radius: 12px;
  box-shadow: 0 0 10px #00ffff;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.glow-button:hover {
  background-color: #00ffff33;
  box-shadow: 0 0 20px #00bfff;
  transform: scale(1.05);
}


/* Shop */
#back-button {
  align-self: flex-start;
  margin: 20px;
  background-color: #00ffff;
  color: black;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 10px #00bfff;
}
#back-button:hover { background-color: #00bfff; }

.shop-header {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  margin: 20px 0;
  text-align: center;
  text-shadow: 0 0 10px #00ffff;
}

.product-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px;
}

.product {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 16px;
  width: 250px;
  text-align: center;
  box-shadow: 0 0 10px #00ffff44;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00bfff88;
}

.product img { width: 100%; max-height: 150px; object-fit: contain; margin-bottom: 15px; }
.product p { margin: 10px 0; }
.product button {
  background-color: #00ffff;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 10px #00bfff;
}
.product button:hover { background-color: #00bfff; }
