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

body {
  background: linear-gradient(160deg, #fbcfe8, #fdf2f8);
  background-attachment: fixed;
  font-family: 'Nunito', sans-serif;
  color: #4a4a4a;
  line-height: 1.65;
  font-size: 15px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
}

h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.4rem; margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }

p { margin-bottom: 14px; color: #4a4a4a; }

a { color: #db2777; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
header.site-header {
  background: transparent;
  padding: 16px 0;
}
.site-logo {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.site-logo a { color: #1a1a1a; text-decoration: none; }
nav.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: #4a4a4a;
  font-weight: 600;
}
nav.main-nav a:hover { color: #db2777; text-decoration: none; }

/* Sections */
section { padding: 56px 0; }

/* Hero */
.hero-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-text { flex: 0 0 60%; }
.hero-image { flex: 0 0 40%; text-align: center; }
.hero-image img { max-width: 100%; height: auto; border-radius: 12px; }

/* About */
.about-block { max-width: 800px; }

/* Cards */
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(219,39,119,0.12); }

/* Game catalog */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.game-card { display: flex; flex-direction: column; }
.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-title-block h3 { margin-bottom: 4px; }
.developer { color: #808080; font-size: 13px; }
.badge {
  display: inline-block;
  background: #fce7f3;
  color: #db2777;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.game-desc { margin-bottom: 14px; }
.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.screenshots img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.btn {
  display: inline-block;
  background: #db2777;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.2s;
  text-align: center;
  font-family: 'Nunito', sans-serif;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-store { margin-top: auto; }

/* Form */
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-card { padding: 32px; }
.form-card h2 { text-align: center; }
.form-sub { text-align: center; color: #808080; margin-bottom: 22px; }
.form-group { margin-bottom: 14px; }
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #4a4a4a;
}
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
input:focus {
  border-color: #db2777;
  box-shadow: 0 0 0 2px rgba(219,39,119,0.13);
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 12px;
  background: #fce7f3;
  color: #9d174d;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}
.form-success.visible { display: block; }

/* Legal pages */
.legal-content { max-width: 800px; }
.legal-content h2 { margin-top: 28px; }
.legal-content ul { margin: 10px 0 14px 22px; }
.legal-content li { margin-bottom: 6px; }

/* Footer */
footer.site-footer {
  text-align: center;
  color: #808080;
  padding: 32px 0;
}
footer.site-footer a { color: #808080; margin: 0 10px; }
footer.site-footer a:hover { color: #db2777; }
.footer-links { margin-bottom: 10px; }

/* Cookie banner */
.cookie-banner {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 16px auto;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; }
.cookie-banner.hidden { display: none; }
.cookie-btn {
  background: #db2777;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
}
.cookie-btn:hover { opacity: 0.85; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.25rem; }
  .hero-grid { flex-direction: column; }
  .hero-text, .hero-image { flex: 1 1 100%; }
  nav.main-nav ul { gap: 18px; }
  .form-card { padding: 24px; }
  section { padding: 40px 0; }
}
