
:root {
  --bg: #2020FA;
  --bg-dark: #101B66;
  --orange: #FFA600;
  --coral: #FF4500;
  --white: #FFFFFF;
  --text-blue: #101B66;
  --soft: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
}

header {
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1050px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--white);
  font-size: 1.05rem;
}

nav a {
  margin-left: 14px;
  color: var(--white);
  opacity: 0.92;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 750;
}

nav a:hover {
  color: var(--orange);
  opacity: 1;
}

main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 44px 20px 58px;
}

.hero {
  padding: 62px 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255,166,0,0.25), transparent 30%),
    linear-gradient(145deg, #2020FA 0%, #1717d8 55%, #101B66 100%);
  text-align: center;
  box-shadow: 0 22px 44px var(--shadow);
  border: 1px solid rgba(255,255,255,0.16);
}

.game-title {
  margin: 0 auto 22px;
  width: min(520px, 100%);
  min-height: 185px;
  position: relative;
}

.title-word {
  position: absolute;
  font-weight: 950;
  line-height: 0.82;
  color: var(--orange);
  text-shadow: 5px 6px 0 var(--text-blue);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.title-akou {
  font-size: clamp(4rem, 11vw, 7.2rem);
  left: 5%;
  top: 0;
  transform: rotate(-5deg);
}

.title-na {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  right: 14%;
  top: 44%;
  transform: rotate(6deg);
}

.title-deis {
  font-size: clamp(4.2rem, 12vw, 7.8rem);
  left: 18%;
  top: 67%;
  transform: rotate(2deg);
}

.hero .slogan {
  font-size: clamp(1.18rem, 3vw, 1.75rem);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 18px;
  text-shadow: 3px 4px 0 var(--text-blue);
}

.hero p {
  max-width: 720px;
  margin: 0 auto 26px;
  color: rgba(255,255,255,0.92);
  font-size: 1.06rem;
  font-weight: 560;
}

.buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-width: 210px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 6px 10px rgba(0,0,0,0.24);
}

.button.secondary {
  background: var(--orange);
  color: var(--text-blue);
}

section {
  margin-top: 44px;
}

h1, h2, h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  color: var(--white);
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 3px 4px 0 var(--text-blue);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.card {
  background: var(--orange);
  color: var(--text-blue);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

.card h3 {
  margin-top: 0;
  color: var(--text-blue);
  font-weight: 900;
}

.card p {
  margin-bottom: 0;
  color: var(--text-blue);
  font-weight: 600;
}

.panel, .page {
  background: var(--orange);
  color: var(--text-blue);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 9px 18px rgba(0,0,0,0.22);
}

.panel p, .page p, .page li {
  color: var(--text-blue);
  font-weight: 600;
}

.page h1 {
  color: var(--white);
  text-align: center;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-shadow: 4px 5px 0 var(--text-blue);
}

.page h2 {
  color: var(--text-blue);
  text-align: left;
  text-shadow: none;
  font-size: 1.35rem;
  margin-top: 32px;
}

.page a, .panel a {
  color: var(--text-blue);
  font-weight: 900;
}

.notice {
  padding: 16px 18px;
  background: var(--white);
  border-radius: 18px;
  color: var(--text-blue);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 7px 15px rgba(0,0,0,0.18);
}

footer {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 26px 20px;
  color: rgba(255,255,255,0.86);
  text-align: center;
}

footer a {
  color: var(--white);
  margin: 0 8px;
  font-weight: 750;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  nav a {
    margin-left: 0;
    margin-right: 12px;
    display: inline-block;
    margin-bottom: 8px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 46px 18px;
  }

  .game-title {
    min-height: 155px;
  }

  .title-akou {
    left: 8%;
  }

  .title-na {
    right: 12%;
  }

  .title-deis {
    left: 19%;
  }
}
