:root {
  --page-text: #1f2937;
  --sub-text: #4b5563;
  --line: #e5e7eb;
  --dark: #111827;
  --white: #ffffff;
  --blue: #2563eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--white);
  color: var(--page-text);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: #111827;
  color: var(--white);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}

.logo-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #374151, #1f2937);
  font-size: 24px;
}

.brand-name {
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-inner a {
  color: var(--white);
  text-decoration: none;
}

.site-nav a:hover,
.footer-inner a:hover,
.about-link:hover,
.contact-inner a:hover {
  text-decoration: underline;
}

.hero-section {
  min-height: 400px;
  background-position: center;
  background-size: cover;
}

.hero-mask {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.42);
}

.hero-text-wrap {
  text-align: center;
  color: var(--white);
  padding: 24px;
}

.hero-text-wrap h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
}

.hero-text-wrap p {
  margin: 10px 0 0;
  font-size: clamp(20px, 3vw, 24px);
}

.about-section {
  padding: 48px 0 56px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 32px;
  align-items: center;
}

.about-copy h2,
.games-title h3,
.contact-inner h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: #111827;
}

.about-copy p,
.games-title p,
.game-card p,
.contact-inner p,
.footer-inner p {
  line-height: 1.8;
  color: var(--sub-text);
}

.about-link,
.contact-inner a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.about-image img {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
}

.games-section {
  padding: 0 0 56px;
}

.games-title {
  margin-bottom: 24px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.game-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
}

.game-card h4 {
  margin: 14px 0 10px;
  font-size: 20px;
}

.game-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.contact-section {
  padding: 48px 0;
  background: #f3f4f6;
}

.contact-inner {
  text-align: center;
}

.site-footer {
  padding: 18px 0;
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--blue);
}

@media (max-width: 900px) {
  .header-inner,
  .about-grid,
  .games-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .about-image img {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .site-nav {
    gap: 12px;
  }

  .hero-section,
  .hero-mask {
    min-height: 320px;
  }

  .about-copy h2,
  .games-title h3,
  .contact-inner h3 {
    font-size: 24px;
  }
}










.contact-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #1f2937;
}

.contact-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex: 0 0 24px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
