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

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

:root {
  --midnight: #0a1628;
  --night: #0f2744;
  --twilight: #1e3a5f;
  --moon: #5dade2;
  --star: #ffd700;
  --cloud: #e8f4f8;
  --mist: #85929e;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--midnight);
  color: var(--cloud);
  line-height: 1.8;
  font-weight: 400;
}

.age-screen {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.98);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.age-container {
  background: linear-gradient(180deg, var(--night), var(--midnight));
  border: 2px solid var(--twilight);
  border-radius: 25px;
  padding: 50px 45px;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 20px 80px rgba(93, 173, 226, 0.15);
}

.age-container h2 {
  color: var(--moon);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.age-container p {
  color: var(--mist);
  margin-bottom: 15px;
  font-weight: 400;
}

.age-choices {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.age-choices button {
  padding: 14px 38px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.age-choices .yes-btn {
  background: linear-gradient(135deg, var(--moon), var(--twilight));
  color: #fff;
}

.age-choices .no-btn {
  background: transparent;
  border: 2px solid var(--mist);
  color: var(--mist);
}

.age-choices button:hover {
  transform: scale(1.05);
}

.is-hidden {
  display: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 0;
  background: linear-gradient(180deg, var(--midnight), transparent);
  z-index: 900;
}

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

.logo-link {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--moon);
  text-decoration: none;
  letter-spacing: 1px;
}

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

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

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

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

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

.hero-night {
  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(30, 58, 95, 0.3), transparent 60%);
}

.hero-night h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--cloud);
  margin-bottom: 22px;
  line-height: 1.25;
}

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

.hero-night > p {
  max-width: 780px;
  font-size: 1.15rem;
  color: var(--mist);
  margin-bottom: 45px;
}

.notice-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.notice-item {
  background: rgba(30, 58, 95, 0.4);
  border: 1px solid var(--twilight);
  border-radius: 16px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-item .emoji {
  font-size: 1.6rem;
}

.notice-item .text {
  font-weight: 600;
  font-size: 0.9rem;
}

.gaming-area {
  padding: 90px 25px;
  background: linear-gradient(180deg, transparent, var(--night), transparent);
}

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

.game-embed {
  max-width: 920px;
  margin: 0 auto;
  border: 3px solid var(--twilight);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(93, 173, 226, 0.1);
}

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

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

.features-section h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 300;
  margin-bottom: 55px;
  color: var(--cloud);
}

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

.feature-tile {
  background: linear-gradient(180deg, var(--night), rgba(10, 22, 40, 0.8));
  border: 1px solid rgba(30, 58, 95, 0.5);
  border-radius: 18px;
  padding: 38px 28px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-tile:hover {
  border-color: var(--moon);
  transform: translateY(-6px);
}

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

.feature-tile h3 {
  color: var(--moon);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.feature-tile p {
  color: var(--mist);
  font-size: 0.9rem;
}

.about-night {
  padding: 100px 25px;
  background: var(--night);
}

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

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

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

.site-footer {
  background: var(--midnight);
  padding: 50px 25px;
  text-align: center;
  border-top: 1px solid var(--twilight);
}

.responsible-section {
  margin-bottom: 22px;
}

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

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

.responsible-section a:hover {
  color: var(--moon);
}

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

.page-header-section {
  padding: 155px 25px 55px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(30, 58, 95, 0.25), transparent);
}

.page-header-section h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--moon);
}

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

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

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

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

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

.game-instructions {
  max-width: 680px;
  margin: 30px auto;
  background: rgba(30, 58, 95, 0.3);
  border: 1px solid var(--twilight);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
}

.game-instructions h3 {
  color: var(--star);
  margin-bottom: 14px;
  font-weight: 600;
}

.game-instructions p {
  color: var(--mist);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  
  .nav-links ul {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--midnight);
    flex-direction: column;
    padding: 28px;
    gap: 20px;
    border-bottom: 2px solid var(--twilight);
  }
  
  .nav-links ul.visible {
    display: flex;
  }
  
  .hero-night h1 {
    font-size: 2.1rem;
  }
  
  .notice-row {
    flex-direction: column;
    align-items: center;
  }
  
  .game-embed iframe {
    height: 420px;
  }
  
  .age-container {
    padding: 38px 28px;
  }
}
