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

body {
  background: linear-gradient(135deg, #ede9fe, #f5f3ff);
  background-attachment: fixed;
  font-family: 'Lato', sans-serif;
  color: #555;
  line-height: 1.65;
  font-size: 15px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Lora', serif;
  color: #0a0a0a;
  font-weight: 700;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.35rem; }

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

a {
  color: #6d28d9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner .btn-small {
  background: #6d28d9;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 20px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  transition: opacity 0.2s;
}

.cookie-banner .btn-small:hover {
  opacity: 0.85;
}

.cookie-hidden {
  display: none;
}

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0a0a0a;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: #555;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #6d28d9;
  text-decoration: underline;
}

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

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

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

.hero p {
  font-size: 16px;
  color: #555;
}

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

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

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

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

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

.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: #999;
  margin-bottom: 24px;
}

/* Cards */
.card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(109,40,217,0.1);
}

/* Game Card */
.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;
}

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

.game-badge {
  display: inline-block;
  background: rgba(109,40,217,0.1);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  font-family: 'Lato', sans-serif;
}

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

.game-description {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
}

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

.btn {
  display: inline-block;
  background: #6d28d9;
  color: #fff;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  transition: opacity 0.2s;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  opacity: 0.85;
  text-decoration: none;
  color: #fff;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Subscribe / Contact Form */
.subscribe-section {
  padding: 72px 0;
}

.form-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}

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

.form-card .form-subtitle {
  color: #999;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #555;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: transparent;
}

.form-input:focus {
  border-color: #6d28d9;
  box-shadow: 0 0 0 2px rgba(109,40,217,0.125);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 14px;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #6d28d9;
  cursor: pointer;
}

.form-consent label {
  font-size: 13px;
  color: #555;
  line-height: 1.45;
  cursor: pointer;
}

.form-consent a {
  color: #6d28d9;
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 10px;
  background: #6d28d9;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 4px;
}

.btn-submit:hover {
  opacity: 0.85;
}

.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: #999;
  padding: 32px 0;
  font-size: 14px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #999;
  margin: 0 6px;
}

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

.footer-separator {
  color: #ccc;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 20px;
}

.legal-content h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

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

.legal-content ul {
  margin: 10px 0 16px 24px;
}

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

/* Mission page */
.mission-content {
  max-width: 800px;
  margin: 0 auto;
}

.mission-content h1 {
  margin-bottom: 20px;
}

.mission-content p {
  margin-bottom: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 48px 0;
  }

  h1 {
    font-size: 1.6rem;
  }

  .section {
    padding: 48px 0;
  }

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

  .form-card {
    padding: 24px;
  }

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

  .subscribe-section {
    padding: 48px 0;
  }
}
