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

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at center, #0f2027, #203a43, #2c5364);
  overflow-x: hidden;
  overflow-y: auto;
}

/* Header */
.static-header {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: #0a0a0a;
  padding: 1rem;
}

.static-header img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  box-shadow: 0 0 20px #00ffe0;
}

/* Gateway sections */
.gateway {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
  position: relative;
}

.section {
  flex: 0 1 45%;
  max-width: 400px;
  min-width: 280px;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.section:hover {
  transform: scale(1.02);
}

.real {
  background: linear-gradient(to right, #00c6ff, #0072ff);
  font-family: 'Impact', sans-serif;
}

.fantasy {
  background: linear-gradient(to right, #1f1c2c, #928dab);
  font-family: 'Cinzel', serif;
}

/* Headings */
h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  background: linear-gradient(to right, #00ffe0, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px #00ffe0;
}

/* Links */
a {
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

/* Divider */
.portal-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  background: linear-gradient(to bottom, #00ffe0, #00ffcc);
  box-shadow: 0 0 30px #00ffe0;
  z-index: 2;
}

@media (max-width: 768px) {
  .gateway {
    flex-direction: column;
    gap: 1rem;
  }

  .portal-divider {
    left: 0;
    width: 100%;
    height: 4px;
  }
}

/* Button wrapper */
.button-wrapper {
  width: 100%;
  text-align: center;
  margin: 2rem auto;
}

/* Fire button (red/orange) */
.fire-button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff6a00, #ff0000);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 85, 0, 0.7), 0 0 20px rgba(255, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  animation: flicker 1.5s infinite;
  margin: 0 auto;
  text-align: center;
}

.fire-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 120, 0, 0.9), 0 0 25px rgba(255, 0, 0, 0.7);
}

@keyframes flicker {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.7), 0 0 20px rgba(255, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 120, 0, 0.9), 0 0 25px rgba(255, 0, 0, 0.6);
  }
}

/* Glow button (green) */
.btn-glow {
  background-color: #0f0;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 8px #0f0, 0 0 16px #0f0;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  margin: 0 auto;
  text-align: center;
}

.btn-glow:hover {
  box-shadow: 0 0 12px #0f0, 0 0 24px #0f0;
  transform: scale(1.05);
}

/* Fantasy game section */
.section.fantasy-game,
.section.lore-trailer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem 1rem;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}

.section.fantasy-game {
  background: radial-gradient(circle at center, #2b0000, #000);
}

/* Footer */
.alchemise-footer {
  background-color: #1a0a0a;
  padding: 20px;
  color: #ffccaa;
  text-align: center;
}

/* Video modal */
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.video-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 600px;
  background: #000;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px #ff6600;
}

.video-content video {
  width: 100%;
  border-radius: 8px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

.store-link {
  display: inline-block;   /* makes margin work cleanly */
  margin-top: 1rem;        /* pushes it down */
  color: #00ffe0;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #00ffe0;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.store-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}




.effect-toggle {
  display: inline-block;
  margin-top: 1rem;
  color: #ffccaa;
  font-weight: bold;
  cursor: pointer;
}

.effect-toggle input {
  margin-right: 8px;
  transform: scale(1.2);
}
.intensity-control {
  margin-top: 1rem;
  color: #ffccaa;
  font-weight: bold;
}

.intensity-control input[type="range"] {
  width: 200px;
  margin-left: 10px;
}
