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

body {
  background: linear-gradient(170deg, #fae8ff, #fdf4ff);
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Source Sans 3', sans-serif;
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.75;
}

h1, h2, h3, .site-logo {
  font-family: 'Libre Baskerville', serif;
  color: #222;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

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

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

/* Cookie Banner */
.cookie-banner {
  padding: 14px 20px;
  text-align: center;
  font-size: 15px;
}
.cookie-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; }
.cookie-banner .btn { font-size: 14px; padding: 8px 20px; }
.cookie-banner.hidden { display: none; }

/* Navbar */
.navbar {
  padding: 16px 0;
  text-align: center;
}
.site-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #222;
  display: block;
  margin-bottom: 8px;
}
.site-logo a { color: #222; }
.site-logo a:hover { text-decoration: none; }
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-links li a {
  font-size: 15px;
  font-weight: 600;
}

/* Sections */
.section { padding: 48px 0; }

/* Hero */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-content h1 { margin-bottom: 16px; }
.hero-content p { font-size: 18px; }

/* Buttons */
.btn {
  background: #a21caf;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  transition: opacity 0.2s;
  display: inline-block;
  text-align: center;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }

/* Game Catalog Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* 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(0,0,0,0.08);
}

/* Game Card specifics */
.game-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-card-header-text { flex: 1; }
.game-card-header-text h3 { margin-bottom: 4px; }
.genre-badge {
  display: inline-block;
  background: #f3e8ff;
  color: #a21caf;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
}
.game-developer {
  font-size: 13px;
  color: #808080;
  margin-top: 2px;
}
.game-description {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.65;
}
.game-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.game-screenshots img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}
.game-card .btn { width: 100%; }

/* About */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-content p { margin-bottom: 14px; }

/* Subscribe / Contact Form */
.subscribe-section {
  max-width: 560px;
  margin: 0 auto;
}
.subscribe-section .card {
  padding: 32px;
}
.subscribe-section h2 { margin-bottom: 6px; }
.subscribe-section .form-subtitle {
  color: #808080;
  margin-bottom: 20px;
  font-size: 15px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #444;
}
.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Source Sans 3', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus {
  border-color: #a21caf;
  box-shadow: 0 0 0 2px rgba(162,28,175,0.12);
}
.btn-submit {
  width: 100%;
  padding: 10px;
  font-weight: 500;
  margin-top: 4px;
}
.form-success {
  display: none;
  color: #16a34a;
  font-size: 15px;
  margin-top: 12px;
  text-align: center;
}
.form-success.visible { display: block; }
.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  cursor: pointer;
  line-height: 1.4;
}
.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}
.form-consent a {
  color: #a21caf;
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  color: #808080;
  padding: 32px 0;
  font-size: 14px;
}
.footer-links {
  margin-bottom: 8px;
}
.footer-links a {
  color: #808080;
  margin: 0 6px;
}
.footer-links a:hover { color: #a21caf; }

/* Legal / Extra pages */
.page-content {
  max-width: 800px;
  margin: 0 auto;
}
.page-content h1 { margin-bottom: 20px; }
.page-content h2 { margin-top: 32px; margin-bottom: 12px; }
.page-content h3 { margin-top: 24px; margin-bottom: 8px; }
.page-content p { margin-bottom: 14px; }
.page-content ul, .page-content ol {
  margin-bottom: 14px;
  padding-left: 24px;
}
.page-content li { margin-bottom: 6px; }

/* KB articles */
.kb-list { list-style: none; padding-left: 0; }
.kb-list li { margin-bottom: 24px; }
.kb-list h3 { margin-bottom: 4px; }
.kb-category { margin-bottom: 32px; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.25rem; }
  .site-logo { font-size: 1.4rem; }
  .nav-links { gap: 14px; }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .subscribe-section .card {
    padding: 24px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    gap: 10px;
  }
}
