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

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

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

h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; color: #111; }
h2 { font-size: 1.35rem; margin-bottom: 16px; color: #111; }
h3 { font-size: 1.1rem; margin-bottom: 10px; color: #111; }

p { margin-bottom: 12px; color: #333; }
.muted { color: #888; font-size: 14px; }

a { color: #6d28d9; 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.7);
  padding: 14px 0;
}
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 14px; }
.cookie-banner button {
  background: #6d28d9; color: #fff; border-radius: 0;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 8px 18px; border: none; cursor: pointer;
  font-size: 13px; font-family: 'Nunito', sans-serif;
  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;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-size: 1.3rem;
  color: #1a1a1a;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: #333; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: #6d28d9; text-decoration: none; }

/* Section */
section { padding: 48px 0; }

/* Hero */
.hero .container {
  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: 260px; width: 100%; border-radius: 16px; }

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

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

/* Card */
.card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  -webkit-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 6px 18px rgba(109,40,217,0.08); }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.game-card { display: flex; flex-direction: column; }
.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.game-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.game-meta h3 { margin-bottom: 4px; }
.badge {
  display: inline-block;
  background: rgba(109,40,217,0.12);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.developer { font-size: 13px; color: #888; margin-top: 4px; }
.game-desc { font-size: 14px; margin: 6px 0 14px; }
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.shots img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}
.game-card .btn { margin-top: auto; text-align: center; }

/* Gallery (auto-fill) - used by extra layouts */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Form */
.form-wrap { max-width: 560px; margin: 0 auto; }
.form-wrap .card { padding: 32px; }
.form-wrap h2 { text-align: center; }
.form-wrap .subtitle { text-align: center; color: #888; margin-bottom: 22px; }
.form-group { margin-bottom: 14px; }
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
input, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  font-family: 'Nunito', sans-serif;
  background: #fff;
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  border-color: #6d28d9;
  box-shadow: 0 0 0 2px rgba(109,40,217,0.125);
}
.btn-full { width: 100%; font-weight: 700; }
.form-consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 18px; font-size: 13px; line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px;
  accent-color: #6d28d9; cursor: pointer;
}
.form-consent label {
  margin-bottom: 0; font-weight: 400; color: #555; cursor: pointer; font-size: 13px;
}
.form-consent a { color: #6d28d9; }
.success-msg {
  display: none;
  margin-top: 14px;
  padding: 12px;
  background: rgba(109,40,217,0.08);
  color: #4c1d95;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}
.success-msg.visible { display: block; }

/* Legal pages */
.legal-content { max-width: 800px; }
.legal-content h2 { margin-top: 24px; }
.legal-content ul { margin: 10px 0 14px 22px; }
.legal-content li { margin-bottom: 6px; color: #333; }

/* Footer */
footer { padding: 32px 0; text-align: center; color: #888; }
footer p { color: #888; font-size: 14px; margin-bottom: 8px; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-links a { color: #6d28d9; font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-text, .hero-image { flex: 1 1 100%; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
  .form-wrap .card { padding: 24px; }
  section { padding: 36px 0; }
  .shots img { height: 110px; }
  .games-grid { grid-template-columns: 1fr; }
}
