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

html, body {
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #050924;
  color: #050924;
  font-family: 'Patrick Hand SC', cursive;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  background: #10184d;
  border-bottom: 3px solid #a6a6a6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: nowrap;
  width: 100%;
  gap: 16px;
}

.logo {
  font-size: 2.2rem;
  font-weight: normal;
  color: #f5f5f5;
  text-decoration: none;
  text-shadow: 1px 1px 4px rgba(245, 245, 245, 0.75);
  font-family: 'Patrick Hand SC', cursive;
  transition: opacity 0.2s ease, text-shadow 0.2s ease;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.85;
  text-shadow: 1px 1px 8px rgba(99, 208, 255, 0.9);
}

.nav-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-btn {
  text-decoration: none;
  background: #f5f5f5;
  color: #222;
  padding: 5px 14px;
  border-radius: 12px;
  border: 3px solid #a6a6a6;
  font-size: 1.1rem;
  font-family: 'Patrick Hand', cursive;
  line-height: 1.4;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.nav-btn:hover {
  background: #63d0ff;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(99, 208, 255, 0.4);
}

.nav-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 22px 60px;
}

.hero {
  display: flex;
  justify-content: center;
  margin: 10px 0 40px;
}

.title-box {
  background: #63d0ff;
  border: 3px solid #a6a6a6;
  border-radius: 16px;
  padding: 16px 30px;
  text-align: center;
  max-width: 100%;
}

.title-box h1 {
  color: #050924;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-transform: uppercase;
  font-family: 'Patrick Hand SC', cursive;
  font-weight: normal;
  text-shadow: 1px 1px 4px rgba(5, 9, 36, 0.75);
}

/* SECTIONS */
.intro-card, .section-card {
  background: #63d0ff;
  border: 3px solid #a6a6a6;
  border-radius: 16px;
  padding: 22px 28px;
  margin-bottom: 28px;
  color: #050924;
  scroll-margin-top: 100px;
}

.section-title {
  font-family: 'Patrick Hand SC', cursive;
  font-size: 2rem;
  font-weight: normal;
  text-transform: uppercase;
  color: #050924;
  text-shadow: 1px 1px 4px rgba(5, 9, 36, 0.4);
  margin-bottom: 14px;
}

p {
  font-family: 'Patrick Hand', cursive;
  font-size: 1.15rem;
  line-height: 2;
  color: #050924;
  margin-bottom: 10px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 28px;
  font-family: 'Patrick Hand', cursive;
  font-size: 1.15rem;
  line-height: 1.9;
  color: #050924;
  margin-bottom: 12px;
}

li {
  margin-bottom: 4px;
}

/* FOOTER */
.footer {
  background: #10184d;
  border-top: 3px solid #a6a6a6;
  padding: 40px 50px 30px;
  color: #f5f5f5;
  font-family: 'Patrick Hand', cursive;
  text-align: center;
}

.footer p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d5d8f1;
  margin-bottom: 0;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .nav-btn {
      font-size: 1rem;
      padding: 5px 12px;
  }

  .nav-buttons {
      gap: 8px;
  }
}

@media (max-width: 1050px) {
  .navbar {
      padding: 0 16px;
      height: 70px;
      gap: 12px;
  }

  .logo {
      font-size: 1.7rem;
  }

  .nav-buttons {
      flex-wrap: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      gap: 8px;
      padding-bottom: 2px;
  }

  .nav-buttons::-webkit-scrollbar {
      display: none;
  }

  .nav-btn {
      font-size: 0.95rem;
      padding: 5px 12px;
  }

  .page {
      padding: 24px 20px 50px;
      max-width: 100%;
  }

  .section-title {
      font-size: 1.7rem;
  }

  p,
  ul {
      font-size: 1.05rem;
  }

  .intro-card,
  .section-card {
      scroll-margin-top: 90px;
      padding: 20px 24px;
  }
}

@media (max-width: 700px) {
  .navbar {
      padding: 0 14px;
      height: 64px;
      gap: 10px;
  }

  .logo {
      font-size: 1.55rem;
  }

  .nav-buttons {
      gap: 6px;
  }

  .nav-btn {
      font-size: 0.85rem;
      padding: 4px 10px;
  }

  .page {
      padding: 20px 16px 40px;
  }

  .hero {
      margin: 8px 0 28px;
  }

  .title-box {
      padding: 12px 16px;
      width: 100%;
  }

  .intro-card, .section-card {
      margin-bottom: 22px;
      padding: 18px 20px;
      scroll-margin-top: 84px;
  }

  .section-title {
      font-size: 1.5rem;
  }

  p {
      font-size: 1rem;
      line-height: 1.9;
  }

  ul {
      font-size: 1rem;
      line-height: 1.85;
      padding-left: 22px;
  }

  .footer {
      padding: 28px 18px 22px;
  }
}

@media (max-width: 480px) {
  .navbar {
      height: 58px;
      padding: 0 12px;
      gap: 8px;
  }

  .logo {
      font-size: 1.4rem;
  }

  .nav-btn {
      font-size: 0.78rem;
      padding: 4px 8px;
  }

  .nav-buttons {
      gap: 5px;
  }

  .page {
      padding: 18px 12px 34px;
  }

  .title-box {
      border-radius: 12px;
      padding: 10px 12px;
  }

  .intro-card, .section-card {
      border-radius: 12px;
      padding: 16px 16px;
      scroll-margin-top: 76px;
  }

  .section-title {
      font-size: 1.35rem;
  }

  p {
      font-size: 0.95rem;
      line-height: 1.85;
  }

  ul {
      font-size: 0.95rem;
      padding-left: 20px;
  }

  .footer p {
      font-size: 0.95rem;
  }
}