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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a2e;
  background: #f7f8fc;
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
}

.logo span { color: #4361ee; }

nav a { font-weight: 500; }
nav a:hover { color: #4361ee; }

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

.hero h1 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.game-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.15s ease;
}

.game-card:hover { transform: translateY(-4px); }

.game-card h2 { color: #4361ee; margin-bottom: 8px; }

.site-footer {
  background: #1a1a2e;
  color: #cfd2e3;
  text-align: center;
  padding: 24px 0;
}

.site-footer .credit {
  font-size: 0.85rem;
  color: #8890b5;
  margin-top: 4px;
}

/* Contact form */
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 16px;
}

.contact-form label:first-child { margin-top: 0; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdfea;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea { resize: vertical; min-height: 160px; }

.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.contact-form button {
  margin-top: 20px;
  background: #4361ee;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.contact-form button:hover { background: #3348c4; }

.form-message {
  max-width: 480px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 500;
}

.form-message.success {
  background: #e3fcef;
  color: #1a7f4b;
}

.form-message.error {
  background: #fde8e8;
  color: #c0392b;
}
