* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20202a;
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ececf2;
}

.nav-wrap {
  max-width: 1120px;
  margin: auto;
  min-height: 72px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.brand span {
  font-size: 20px;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 650;
  color: #5f6070;
}

nav a:hover {
  color: #6d3df5;
}

.hero {
  background: #faf9ff;
  padding-bottom: 70px;
}

.hero-banner {
  width: 100%;
  max-height: 440px;
  overflow: hidden;
  background: #6d3df5;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.hero-content {
  max-width: 900px;
  margin: -8px auto 0;
  padding: 55px 24px 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: #6d3df5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  margin: 0 auto 16px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 68px);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  margin: 0;
  font-size: 25px;
}

.hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto 26px;
  color: #656675;
  font-size: 18px;
}

.section {
  max-width: 1120px;
  margin: auto;
  padding: 90px 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading > p:last-child {
  color: #737482;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 750;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: #6d3df5;
  box-shadow: 0 8px 24px rgba(109, 61, 245, 0.2);
}

.game-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  padding: 30px;
  margin-bottom: 28px;
  border: 1px solid #e9e9ef;
  border-radius: 24px;
  background: white;
  box-shadow: 0 10px 35px rgba(25, 25, 40, 0.05);
}

.game-title-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.game-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 29px;
  font-weight: 900;
  background: linear-gradient(135deg, #6d3df5, #8e62ff);
}

.puzzle-icon {
  background: linear-gradient(135deg, #ffb300, #ff7a00);
}

.tag {
  color: #747583;
  font-size: 12px;
  font-weight: 650;
}

.game-info > p {
  color: #656675;
  margin: 0 0 24px;
}

.screenshots {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}

.screenshots img {
  width: 132px;
  height: 278px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid #e4e4ea;
  box-shadow: 0 6px 18px rgba(20, 20, 30, 0.08);
}

.about {
  background: #faf9ff;
  max-width: none;
  padding-left: max(24px, calc((100% - 1120px) / 2));
  padding-right: max(24px, calc((100% - 1120px) / 2));
}

.about-card {
  max-width: 800px;
  margin: auto;
  padding: 32px;
  background: white;
  border: 1px solid #e9e9ef;
  border-radius: 20px;
  color: #5f6070;
  text-align: center;
}

.about-card p:first-child {
  margin-top: 0;
  font-size: 18px;
  color: #333440;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.contact {
  text-align: center;
}

.email-card {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 22px 30px;
  border: 1px solid #e7e4f4;
  border-radius: 18px;
  background: #faf9ff;
}

.email-card:hover {
  border-color: #6d3df5;
}

.email-label {
  font-size: 12px;
  color: #767786;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.email-card strong {
  color: #6d3df5;
}

footer {
  border-top: 1px solid #ececf2;
  background: #fafafa;
}

.footer-wrap {
  max-width: 1120px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #777887;
  font-size: 13px;
}

.footer-wrap a {
  color: #6d3df5;
  font-weight: 700;
}

@media (max-width: 800px) {
  .nav-wrap {
    flex-direction: column;
    padding: 12px 18px;
  }

  nav {
    width: 100%;
    justify-content: space-around;
    gap: 10px;
  }

  .hero-banner,
  .hero-banner img {
    max-height: 300px;
  }

  .section {
    padding: 65px 18px;
  }

  .game-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .screenshots img {
    width: 120px;
    height: 252px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: center;
  }
}
