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

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

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

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

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

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

a:hover {
  text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
  background: rgba(255,255,255,0.95);
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
}

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

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

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

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}

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

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  margin: 5px 0;
  transition: transform 0.2s;
}

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

/* Hero */
.hero-content {
  max-width: 60%;
}

.hero-content h1 {
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content p {
  color: #4a4a4a;
}

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

/* Card */
.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 Card */
.game-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

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

.game-genre {
  display: inline-block;
  background: #f3e8ff;
  color: #a21caf;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
}

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

.game-description {
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.65;
}

.game-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 16px;
}

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

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

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

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

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

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

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

/* Subscribe / Contact */
.subscribe-section {
  display: flex;
  justify-content: center;
}

.subscribe-card {
  max-width: 560px;
  width: 100%;
  padding: 32px;
}

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

.subscribe-card .subtitle {
  color: #808080;
  margin-bottom: 24px;
  font-size: 15px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #4a4a4a;
}

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

.form-input:focus {
  border-color: #a21caf;
  box-shadow: 0 0 0 2px rgba(162, 28, 175, 0.125);
}

.btn-submit {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
}

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

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

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

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

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

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

/* Legal pages */
.legal-content {
  max-width: 800px;
  padding-bottom: 32px;
}

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

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

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

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

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

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

  .hero-content {
    max-width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    right: 20px;
    background: rgba(255,255,255,0.97);
    border-radius: 8px;
    padding: 16px 24px;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .navbar .container {
    position: relative;
  }

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

  .subscribe-card {
    padding: 24px;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 12px 20px;
  }
}
