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

body {
  background: linear-gradient(135deg, #d1fae5, #ecfdf5);
  background-attachment: fixed;
  font-family: 'Outfit', sans-serif;
  color: #333;
  line-height: 1.75;
  font-size: 17px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Fraunces', serif;
  color: #111;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }

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

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

/* Cookie banner */
.cookie-banner {
  background: rgba(255,255,255,0.85);
  padding: 14px 0;
  font-size: 15px;
}
.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.cookie-banner p { margin: 0; flex: 1 1 300px; }
.cookie-banner button {
  background: #059669; color: #fff; border: none; padding: 8px 20px;
  text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 14px;
  transition: opacity 0.2s;
}
.cookie-banner button:hover { opacity: 0.85; }

/* Navbar */
.navbar { padding: 16px 0; background: transparent; }
.navbar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.site-logo { font-size: 1.5rem; }
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a { color: #1a1a1a; font-weight: 500; }
.nav-links a:hover { color: #059669; text-decoration: none; }

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

/* Hero */
.hero-content { max-width: 60%; }
.hero-content p { color: #444; }

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

/* Card */
.card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.game-card { display: flex; flex-direction: column; }
.game-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.game-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-title-block h3 { margin-bottom: 4px; }
.game-developer { color: #888; font-size: 14px; }
.badge {
  display: inline-block;
  background: rgba(5,150,105,0.12);
  color: #059669;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.game-desc { color: #444; margin-bottom: 16px; flex-grow: 1; }
.game-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.game-screens img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}
.btn {
  background: #059669;
  color: #fff;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s;
  display: inline-block;
  text-align: center;
}
.btn:hover { opacity: 0.85; color: #fff; text-decoration: none; }

/* Subscribe form */
.subscribe-card { max-width: 560px; margin: 0 auto; padding: 32px; }
.subscribe-card h2 { text-align: center; }
.subscribe-card .subtitle { text-align: center; color: #888; margin-bottom: 24px; }
.form-group { margin-bottom: 14px; }
label { display: block; margin-bottom: 6px; font-size: 14px; color: #333; }
input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}
input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(5,150,105,0.12);
}
.btn-full { width: 100%; padding: 12px; font-weight: 500; }
.success-msg {
  margin-top: 16px;
  padding: 12px;
  background: rgba(5,150,105,0.12);
  color: #059669;
  border-radius: 6px;
  display: none;
  text-align: center;
}
.success-msg.visible { display: block; }

/* Footer */
footer { text-align: center; padding: 32px 0; color: #888; font-size: 15px; }
footer a { color: #888; margin: 0 8px; }
footer a:hover { color: #059669; }

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

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero-content { max-width: 100%; }
  .navbar .container { gap: 16px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .subscribe-card { padding: 24px; }
  .game-screens img { height: 120px; }
  section { padding: 40px 0; }
}
