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

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

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

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

p { margin-bottom: 14px; }

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

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

/* Cookie banner */
.cookie-banner {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 14px 20px;
  margin: 16px auto;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}
.cookie-banner button {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Karla', sans-serif;
  transition: opacity 0.2s;
}
.cookie-banner button:hover { opacity: 0.85; }
.hidden { display: none; }

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #111;
}
.site-logo a { color: inherit; text-decoration: none; }
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  text-transform: uppercase;
  font-size: 13px;
  color: #333;
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: #2563eb; text-decoration: none; }

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

/* Hero */
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-text { flex: 0 0 60%; }
.hero-image { flex: 0 0 40%; text-align: center; }
.hero-image img { max-width: 280px; width: 100%; border-radius: 16px; }

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

/* 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 18px rgba(37, 99, 235, 0.08); }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.game-card { display: flex; flex-direction: column; }
.game-head {
  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-title-group { flex: 1; min-width: 0; }
.game-title-group h3 { margin-bottom: 4px; }
.game-dev { font-size: 13px; color: #888; }
.badge {
  display: inline-block;
  background: #dbeafe;
  color: #2563eb;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-weight: 700;
}
.game-desc { font-size: 15px; margin-bottom: 14px; flex-grow: 1; }
.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.game-shots img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}
.btn {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border-radius: 2px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Karla', sans-serif;
  text-align: center;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.btn-block { width: 100%; display: block; padding: 12px; font-weight: 500; }

/* Subscribe */
.subscribe-inner { max-width: 560px; margin: 0 auto; }
.subscribe-card { padding: 32px; }
.subscribe-card h2 { text-align: center; }
.subscribe-sub { text-align: center; color: #666; margin-bottom: 22px; }

label { display: block; font-size: 14px; margin-bottom: 6px; color: #444; }
.field { margin-bottom: 14px; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  font-family: 'Karla', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus { border-color: #2563eb; box-shadow: 0 0 0 2px #2563eb20; }

.success-msg {
  margin-top: 14px;
  padding: 12px;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

/* Articles list */
.articles-list { display: grid; gap: 20px; margin-top: 24px; }
.article-card h3 { color: #111; }
.article-meta { font-size: 13px; color: #888; margin-bottom: 10px; }

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

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

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.3rem; }
  body { font-size: 16px; }
  .hero-inner { flex-direction: column; }
  .hero-text, .hero-image { flex: 1 1 100%; }
  .nav-links { gap: 14px; }
  .subscribe-card { padding: 24px; }
  section { padding: 48px 0; }
  .game-shots img { height: 130px; }
}
