/* === Base Reset & Typography === */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Orbitron', sans-serif;
  color: #f4c430;
  overflow-x: hidden;
}

h1, h2, label {
  color: #f4c430;
}

h1 {
  margin: 40px 0 20px;
  font-size: 2em;
  text-align: center;
}

/* === Background & Overlay === */
body {
  background: url('https://github.com/Supernova-FX/supernova-fx.github.io/blob/main/design%20render%20GIF%20by%20xponentialdesign.gif?raw=true') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 0;
}

/* === Layout Containers === */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

/* === Block Sections === */
.block-section {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  background-color: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px #00ffff;
  border: 1px solid #00ffff;
}

.collapsed {
  display: none;
}

/* === Toggles === */
.toggle {
  font-size: 1.5em;
  color: #f4c430;
  cursor: pointer;
  margin-top: 30px;
  user-select: none;
}

/* === Buttons === */
button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: rgba(0, 255, 255, 0.2);
  color: #00ffff;
  font-family: 'Orbitron', sans-serif;
  border: 1px solid #00ffff;
  border-radius: 5px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px #00ffff;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: rgba(0, 255, 255, 0.4);
}

/* === GX Button Variant === */
.gx-button {
  margin: 10px 0;
  padding: 12px 30px;
  font-size: 1.1em;
  background-color: rgba(255, 255, 255, 0.1);
  color: #f4c430;
  border: 1px solid #f4c430;
  border-radius: 8px;
  box-shadow: 0 0 15px #f4c430;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.gx-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px #f4c430;
}

/* === Inputs & Selects === */
input[type="text"], select {
  width: 80%;
  max-width: 600px;
  padding: 12px;
  font-size: 18px;
  border: 1px solid #00ffff;
  border-radius: 5px;
  outline: none;
  font-family: 'Orbitron', sans-serif;
  background-color: #111;
  color: #00ffff;
  text-align: center;
  margin-bottom: 12px;
}

/* === Icon Preview === */
#iconPreview {
  margin-top: 10px;
  width: 32px;
  height: 32px;
  display: none;
  border-radius: 4px;
  box-shadow: 0 0 8px #00ffff;
}
