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

body {
  background: linear-gradient(135deg, #fae8ff, #fdf4ff);
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: #3a3a3a;
  line-height: 1.75;
}

h1, h2, h3, .site-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #1f1f1f;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.5rem; }

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

/* Cookie Banner */
.cookie-banner {
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
}

.cookie-banner p {
  display: inline;
}

.cookie-banner a {
  color: #a21caf;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-banner .btn {
  margin-left: 12px;
  padding: 6px 18px;
  font-size: 13px;
  vertical-align: middle;
}

.cookie-hidden {
  display: none !important;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #3a3a3a;
  text-align: left;
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #a21caf;
}

.form-consent label {
  cursor: pointer;
}

.form-consent a {
  color: #a21caf;
}

/* Navbar */
.navbar {
  padding: 16px 0;
  text-align: center;
}

.site-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f1f1f;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #a21caf;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero p {
  color: #3a3a3a;
}

/* Section */
.section {
  padding: 56px 0;
}

/* About */
.about-inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-inner h2 {
  margin-bottom: 16px;
}

.about-inner p {
  margin-bottom: 14px;
}

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

.card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.game-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.game-header-info h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.genre-badge {
  display: inline-block;
  background: #a21caf;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-developer {
  font-size: 13px;
  color: #7a7a7a;
  margin-top: 4px;
}

.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;
}

/* Buttons */
.btn {
  background: #a21caf;
  color: #fff;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  opacity: 0.85;
}

.btn-full {
  width: 100%;
}

/* Links */
a {
  color: #a21caf;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Subscribe / Contact Form */
.subscribe-inner {
  max-width: 560px;
  margin: 0 auto;
}

.subscribe-card {
  padding: 32px;
}

.subscribe-card h2 {
  margin-bottom: 6px;
}

.subscribe-card .form-subtitle {
  color: #7a7a7a;
  margin-bottom: 20px;
  font-size: 15px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Poppins', 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.125);
}

.form-success {
  display: none;
  color: #16a34a;
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
}

.form-success.visible {
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  color: #7a7a7a;
  padding: 32px 0;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-links a {
  color: #7a7a7a;
  font-size: 13px;
}

.footer-links a:hover {
  color: #a21caf;
}

.footer-address {
  color: #7a7a7a;
  font-size: 13px;
  font-style: normal;
  margin-bottom: 8px;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 56px;
}

.legal-content h1 {
  margin-bottom: 24px;
  font-size: 2rem;
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 12px;
}

.legal-content ul, .legal-content ol {
  margin-left: 24px;
  margin-bottom: 14px;
}

.legal-content li {
  margin-bottom: 6px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 8px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1f1f1f;
  cursor: pointer;
  transition: box-shadow 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.faq-question .faq-toggle {
  font-size: 20px;
  color: #a21caf;
  transition: transform 0.2s;
}

.faq-question.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-answer-inner {
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #3a3a3a;
}

/* Section title center */
.section-title {
  text-align: center;
  margin-bottom: 32px;
}

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.25rem; }

  .hero { padding: 48px 0; }

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

  .subscribe-card {
    padding: 24px;
  }

  .nav-links {
    gap: 14px;
  }

  .footer-links {
    gap: 12px;
  }
}
