@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

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

:root {
  --stellar: #c9b037;
  --nebula: #6b5b95;
  --void: #0a0a1f;
  --deep: #12122a;
  --light: #e8e6f0;
  --dim: #8a85a0;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--void);
  color: var(--light);
  line-height: 1.8;
}

.gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 31, 0.98);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.gate-dialog {
  background: linear-gradient(180deg, var(--deep), var(--void));
  border: 2px solid var(--stellar);
  border-radius: 24px;
  padding: 50px 45px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 80px rgba(201, 176, 55, 0.15);
}

.gate-dialog h2 {
  color: var(--stellar);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.gate-dialog p {
  color: var(--dim);
  margin-bottom: 15px;
}

.gate-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 32px;
}

.gate-actions button {
  padding: 14px 38px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gate-actions .proceed {
  background: linear-gradient(135deg, var(--stellar), #e0c547);
  color: var(--void);
}

.gate-actions .retreat {
  background: transparent;
  border: 2px solid var(--dim);
  color: var(--dim);
}

.gate-actions button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 176, 55, 0.25);
}

.dismissed {
  display: none !important;
}

.star-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: linear-gradient(180deg, var(--void), transparent);
  z-index: 900;
}

.star-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.star-logo {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--stellar);
  text-decoration: none;
  letter-spacing: 2px;
}

.star-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--stellar);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.star-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--stellar);
  margin: 5px 0;
}

.star-nav ul {
  display: flex;
  list-style: none;
  gap: 42px;
}

.star-nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.star-nav a:hover {
  color: var(--stellar);
}

.stellar-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 130px 25px 70px;
  background: radial-gradient(ellipse at top, rgba(107, 91, 149, 0.15), transparent 60%);
}

.stellar-hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.2;
}

.stellar-hero h1 span {
  color: var(--stellar);
}

.stellar-hero > p {
  max-width: 780px;
  font-size: 1.1rem;
  color: var(--dim);
  margin-bottom: 45px;
}

.star-notices {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.star-notice {
  background: rgba(201, 176, 55, 0.1);
  border: 1px solid var(--stellar);
  border-radius: 16px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.star-notice .ico {
  font-size: 1.6rem;
}

.star-notice .lbl {
  font-weight: 600;
  font-size: 0.9rem;
}

.stellar-game {
  padding: 90px 25px;
  background: linear-gradient(180deg, transparent, var(--deep), transparent);
}

.stellar-game h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 300;
  margin-bottom: 45px;
  color: var(--stellar);
}

.game-stellar-frame {
  max-width: 920px;
  margin: 0 auto;
  border: 3px solid var(--nebula);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 60px rgba(107, 91, 149, 0.2);
}

.game-stellar-frame iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
  background: #000;
}

.constellation-section {
  padding: 95px 25px;
  max-width: 1300px;
  margin: 0 auto;
}

.constellation-section h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 300;
  margin-bottom: 55px;
}

.constellation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.constellation-item {
  background: linear-gradient(180deg, var(--deep), rgba(10, 10, 31, 0.8));
  border: 1px solid rgba(201, 176, 55, 0.3);
  border-radius: 18px;
  padding: 38px 28px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.constellation-item:hover {
  border-color: var(--stellar);
  transform: translateY(-6px);
}

.const-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.constellation-item h3 {
  color: var(--stellar);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.constellation-item p {
  color: var(--dim);
  font-size: 0.92rem;
}

.about-stellar {
  padding: 95px 25px;
  background: var(--deep);
}

.stellar-about-inner {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.stellar-about-inner h2 {
  font-size: 1.9rem;
  font-weight: 300;
  margin-bottom: 30px;
  color: var(--stellar);
}

.stellar-about-inner p {
  color: var(--dim);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.stellar-footer {
  background: var(--void);
  padding: 50px 25px;
  text-align: center;
  border-top: 1px solid rgba(201, 176, 55, 0.2);
}

.stellar-resources {
  margin-bottom: 22px;
}

.stellar-resources h4 {
  color: var(--stellar);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.stellar-resources a {
  color: var(--dim);
  text-decoration: none;
  margin: 0 16px;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.stellar-resources a:hover {
  color: var(--light);
}

.stellar-footer > p {
  color: var(--dim);
  opacity: 0.6;
  font-size: 0.85rem;
}

.stellar-page-top {
  padding: 155px 25px 55px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(107, 91, 149, 0.1), transparent);
}

.stellar-page-top h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--stellar);
}

.stellar-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 55px 25px;
}

.stellar-content h2 {
  color: var(--stellar);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 45px 0 18px;
}

.stellar-content p {
  color: var(--dim);
  margin-bottom: 15px;
}

.stellar-content ul {
  color: var(--dim);
  margin: 0 0 18px 26px;
}

.stellar-content ul li {
  margin-bottom: 9px;
}

.stellar-play-guide {
  max-width: 680px;
  margin: 30px auto;
  background: rgba(107, 91, 149, 0.15);
  border: 1px solid var(--nebula);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
}

.stellar-play-guide h3 {
  color: var(--stellar);
  margin-bottom: 14px;
  font-weight: 600;
}

.stellar-play-guide p {
  color: var(--dim);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .star-menu-btn {
    display: block;
  }
  
  .star-nav ul {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--void);
    flex-direction: column;
    padding: 28px;
    gap: 20px;
    border-bottom: 2px solid var(--stellar);
  }
  
  .star-nav ul.revealed {
    display: flex;
  }
  
  .stellar-hero h1 {
    font-size: 2.2rem;
  }
  
  .star-notices {
    flex-direction: column;
    align-items: center;
  }
  
  .game-stellar-frame iframe {
    height: 420px;
  }
  
  .gate-dialog {
    padding: 38px 28px;
  }
}
