:root {
  --bg: #26272c;
  --text: #ebedf1;
  --accent: #ebeff1;
  --accent-light: #ebeff1;
  --mono: 'Share Tech Mono', monospace;
  --sans: 'Inter', sans-serif;
  --radius: 10px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  background: #212226;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #1e1f22;
  box-shadow: var(--shadow);
}

header h1 {
  font-family: var(--mono);
  font-size: 1.8rem;
  color: var(--accent);
  letter-spacing: 1px;
}

nav a {
  text-decoration: none;
  color: #ebeff1;
  margin-left: 24px;
  font-weight: 600;
  font-family: var(--mono);
  transition: color 0.3s ease;
}

nav a:hover {
  color: #9ddeff;
}

.hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(to bottom, #fff, #f6f6f6);
}

.hero h2 {
  font-family: var(--mono);
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.hero p {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
}

.cta-button {
  background-color: var(--accent);
  border: none;
  color: #fff;
  font-family: var(--mono);
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
}

.icon {
  width: 10vw;
  height: 10vw;
  vertical-align: middle;
  display: inline-block;
}

.biglogo {
  max-height: 80%;
}

.gameinfo {
  padding: 2rem 1rem;
  max-width: 90vw;
  margin: auto;
  text-align: left;
}

.gameinfo h1 {
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section {
  padding: 4rem 2rem;
  max-width: 960px;
  margin: auto;
  text-align: center;
}

.section h2 {
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

video {
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  box-shadow: var(--shadow);
}

footer {
  background-color: #1e1f22;
  padding: 1.5rem;
  font-size: 0.9rem;
  font-family: var(--mono);
  color: #aaa;
  border-top: 1px solid #1e1f22;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

footer .footer-link {
  position: absolute;
  left: 20px;
  color: #323337;
  text-decoration: none;
  font-size: 0.85rem;
}

footer .footer-link:hover {
  color: var(--accent-light);
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.link-button {
  width: 150px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.2s ease;
  border-radius: var(--radius);
}

.link-button:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  nav a {
    margin-left: 12px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .cta-button {
    width: 100%;
    padding: 1rem;
  }

  .button-container {
    flex-direction: column;
    gap: 1rem;
  }
  .screenshot-gallery {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.screenshot-gallery h2 {
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid; /* must come before grid-template-columns */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  object-fit: cover;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

}