/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #0a0a0a;
  color: #f5f5f5;
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.overlay {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Starfield */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #0a0a0a;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #62d1f3;
  letter-spacing: 1px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #f5f5f5;
  font-weight: bold;
  transition: all 0.3s;
}

nav a:hover {
  color: #62d1f3;
  text-shadow: 0 0 8px #62d1f3;
}

/* Hero */
.hero {
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #62d1f3, #9b6bff, #f3e662);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 3s infinite alternate, float 6s ease-in-out infinite;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #ccc;
}

/* Hero Buttons */
.hero-buttons .btn,
.cta-center .btn { /* added .cta-center for Founder Statement button */
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 0 5px #62d1f3;
}

.btn {
  display: inline-block;
  background: linear-gradient(45deg, #5ec9ff, #a855f7);
  color: #fff;
  padding: 12px 24px;
  margin: 15px 0;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(94, 201, 255, 0.6);
}

.btn.secondary {
  background: transparent;
  border: 2px solid #62d1f3;
  color: #62d1f3;
}

.hero-buttons .btn:hover,
.cta-center .btn:hover {
  transform: scale(1.05);
  background: #9b6bff;
  color: #fff;
  border-color: #9b6bff;
  box-shadow: 0 0 15px #9b6bff, 0 0 30px #62d1f3;
}

/* Scroll Down */
.scroll-down {
  margin-top: 50px;
  font-size: 1.5rem;
  color: #62d1f3;
  animation: bounce 2s infinite;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #62d1f3; }
  to { text-shadow: 0 0 25px #9b6bff; }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}

/* About Section */
.about-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
}

.about-part {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  margin: 20px 0;
  text-align: center;
  color: #f5f5f5;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.5s, opacity 0.8s;
}

.about-part.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-part h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #62d1f3;
  background: linear-gradient(90deg, #62d1f3, #7a6bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 4px #62d1f3;
}

.about-part p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
  color: #ddd;
  text-shadow: 0 0 6px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

.about-part:hover {
  transform: translateY(-10px);
}

/* Center CTA for Founder Statement button */
.cta-center {
  text-align: center;
  margin: 20px 0 60px 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(15, 15, 15, 0.7);
  font-size: 0.9rem;
  color: #999;
  width: 100%;
}

/* Games List */
.our-games {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  flex-grow: 1;
}

.game-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.game-item {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(98, 209, 243, 0.3);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  max-width: 100%;
}

.game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(98, 209, 243, 0.4);
  border-color: rgba(98, 209, 243, 0.6);
}

.game-item h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #62d1f3;
}

.game-item p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}

.center-message {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  flex-direction: column;
}

/* ========================= */
/* MOBILE RESPONSIVE MEDIA QUERIES */
@media (max-width: 900px) {
  header {
    padding: 15px 30px; /* slightly smaller padding */
  }
  nav a {
    margin-left: 15px; /* shrink spacing between links */
    font-size: 0.95rem; /* smaller text */
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .hero-buttons .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  .about-part h2 {
    font-size: 2rem;
  }
  .about-part p {
    font-size: 1rem;
    max-width: 90%;
  }
  .game-item h3 {
    font-size: 1.5rem;
  }
  .game-item p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  header {
    padding: 10px 20px;
  }
  nav a {
    margin-left: 10px; /* shrink spacing even more */
    font-size: 0.85rem; /* small but readable */
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .hero-buttons .btn {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
  .about-part h2 {
    font-size: 1.5rem;
  }
  .about-part p {
    font-size: 0.9rem;
  }
  .game-item h3 {
    font-size: 1.2rem;
  }
  .game-item p {
    font-size: 0.9rem;
  }
}
