/* === ATMOSPHERIC 2D GAME SITE THEME === */
:root {
  --bg1: #18122b;
  --bg2: #2d1e4a;
  --accent: #a66cff;
  --accent2: #6c47b6;
  --text: #e0d6f7;
  --text2: #b8a6e0;
  --card: #231a36;
  --card2: #2e2342;
  --shadow: 0 4px 32px #0008;
  --radius: 16px;
  --radius-sm: 8px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg1);
  color: var(--text);
  font-family: 'Segoe UI', 'Arial', sans-serif;
  min-height: 100vh;
}

.bg-anim {
  position: fixed;
  z-index: -1;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: radial-gradient(ellipse at 60% 20%, #a66cff22 0%, #18122b 80%),
              linear-gradient(120deg, #2d1e4a 0%, #18122b 100%);
  animation: bgmove 12s ease-in-out infinite alternate;
}
@keyframes bgmove {
  0% { background-position: 60% 20%, 0% 0%; }
  100% { background-position: 40% 80%, 100% 100%; }
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.main-header {
  background: var(--bg2);
  border-bottom: 2px solid var(--accent2);
  box-shadow: 0 2px 16px #0005;
  padding: 0.5rem 0 0.5rem 0;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 2px;
  text-shadow: 0 0 18px #a66cff55, 0 0 2px #fff2;
  margin: 0;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
}
nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}
nav a:hover {
  color: #fff;
}

/* HERO */
.hero {
  background: none;
  padding: 3.5rem 0 2.5rem 0;
  min-height: 420px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-flex {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.hero-text {
  flex: 2;
  min-width: 320px;
}
.hero-text h2 {
  font-size: 2.3rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}
.hero-text p {
  font-size: 1.18rem;
  color: var(--text2);
  margin-bottom: 2.2rem;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 32px;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 2px 16px #a66cff33;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  letter-spacing: 1px;
}
.cta-btn:hover {
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  color: #fff;
  transform: scale(1.05);
}
.cta-btn.big {
  font-size: 1.3rem;
  padding: 1.2rem 3.2rem;
}
.hero-art {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-gif {
  width: 340px;
  height: 340px;
  border-radius: var(--radius);
  box-shadow: 0 4px 32px #a66cff33, 0 0 0 4px #a66cff33;
  border: 2.5px solid var(--accent);
  object-fit: cover;
  background: #000;
  animation: giffloat 3.5s ease-in-out infinite alternate;
}
@keyframes giffloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-18px); }
}
.scroll-down {
  text-align: center;
  color: var(--accent2);
  font-size: 2.2rem;
  margin-top: 1.2rem;
  animation: scrolldown 1.5s infinite alternate;
}
@keyframes scrolldown {
  0% { opacity: 0.5; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(12px); }
}

/* GALLERY */
.gallery-section {
  background: none;
  padding: 2.5rem 0 2.5rem 0;
}
.gallery-section h2 {
  color: var(--accent);
  text-align: center;
  margin-bottom: 2.2rem;
  font-size: 2rem;
}
.gallery-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.gallery-arrow {
  background: var(--card2);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #0003;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.gallery-arrow:hover {
  background: var(--accent2);
  color: #fff;
  transform: scale(1.1);
}
.gallery-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  max-width: 700px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-img {
  width: 220px;
  height: 124px;
  border-radius: var(--radius-sm);
  border: 2.5px solid var(--accent2);
  object-fit: cover;
  background: #000;
  box-shadow: 0 2px 16px #a66cff22;
  opacity: 0.7;
  transition: border 0.2s, opacity 0.2s, transform 0.2s;
  cursor: pointer;
}
.gallery-img.active, .gallery-img:hover {
  border: 2.5px solid var(--accent);
  opacity: 1;
  transform: scale(1.08);
  z-index: 2;
}

/* FEATURES */
.features-section {
  background: none;
  padding: 2.5rem 0 2.5rem 0;
}
.features-flex {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-card {
  background: var(--card2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--accent2);
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  text-align: center;
  transition: transform 0.2s, border 0.2s;
}
.feature-card:hover {
  transform: translateY(-8px) scale(1.04);
  border-color: var(--accent);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.7rem;
  color: var(--accent);
}
.feature-card h3 {
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}
.feature-card p {
  color: var(--text2);
  font-size: 1.05rem;
}

/* STORY */
.story-section {
  background: none;
  padding: 2.5rem 0 2.5rem 0;
}
.story-flex {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.story-art {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-gif {
  width: 260px;
  height: 260px;
  border-radius: var(--radius);
  box-shadow: 0 4px 32px #a66cff33, 0 0 0 4px #a66cff33;
  border: 2.5px solid var(--accent2);
  object-fit: cover;
  background: #000;
}
.story-text {
  flex: 2;
  min-width: 320px;
}
.story-text h2 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1.1rem;
}
.story-text p {
  color: var(--text2);
  font-size: 1.13rem;
  margin-bottom: 1.2rem;
}
.story-points {
  color: var(--accent);
  font-size: 1.08rem;
  margin: 0;
  padding-left: 1.2rem;
}
.story-points li {
  margin-bottom: 0.5rem;
  color: var(--text2);
}

/* DOWNLOAD & SYSTEM REQS */
.download-section {
  background: none;
  padding: 2.5rem 0 2.5rem 0;
}
.download-flex {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}
.download-info {
  flex: 1.2;
  min-width: 320px;
}
.download-info h2 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1.1rem;
}
.download-info p {
  color: var(--text2);
  font-size: 1.13rem;
  margin-bottom: 1.2rem;
}
.sysreq-box.modern {
  background: var(--card2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--accent2);
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
}
.sysreq-box.modern h3 {
  color: var(--accent);
  margin-bottom: 1.1rem;
  font-size: 1.2rem;
}
.sysreq-cols {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.sysreq-title {
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
}
.sysreq-box.modern ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text2);
  font-size: 1.01rem;
}
.sysreq-box.modern li {
  margin-bottom: 0.3rem;
  line-height: 1.5;
}
.sysreq-box.modern b {
  color: var(--accent);
  font-weight: 500;
}

/* FOOTER */
.main-footer {
  background: var(--bg2);
  border-top: 2px solid var(--accent2);
  padding: 1.5rem 0 1.2rem 0;
  color: var(--text2);
  font-size: 1rem;
  margin-top: 2.5rem;
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.footer-brand {
  font-weight: 500;
  color: var(--accent);
}
.footer-links a {
  color: var(--accent);
  margin-left: 1.2rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-flex, .features-flex, .story-flex, .download-flex, .sysreq-cols {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
  }
  .main-gif, .story-gif {
    width: 98vw;
    max-width: 98vw;
    height: 38vw;
    min-height: 120px;
  }
  .gallery-track {
    max-width: 98vw;
  }
}
@media (max-width: 700px) {
  .container {
    width: 99%;
  }
  .logo {
    font-size: 1.3rem;
  }
  .main-gif, .story-gif {
    width: 98vw;
    max-width: 98vw;
    height: 28vw;
    min-height: 80px;
  }
  .cta-btn, .cta-btn.big {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
} 