:root {
  --bg: #0b0d14;
  --surface: #141826;
  --text: #eef2ff;
  --muted: #9aa5c4;
  --accent: #00f0ff;
  --accent-2: #ff2a85;
  --border: #28304d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.site-header {
  background: #080a10;
  border-bottom: 2px solid var(--accent);
  padding: 16px 0;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

.brand {
  font-family: "Courier New", monospace;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--accent);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.main-nav { display: flex; gap: 18px; align-items: center; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--accent); }

.theme-btn {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}

.hero {
  margin-top: 32px;
  padding: 36px;
  background: linear-gradient(135deg, #141826 0%, #1d1430 100%);
  border: 2px solid var(--accent-2);
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(255, 42, 133, 0.2);
}

.badge {
  display: inline-block;
  background: var(--accent-2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.hero h1 { font-size: 2.1rem; margin: 12px 0; }
.hero p { color: var(--muted); max-width: 600px; margin-bottom: 22px; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #05080f;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.guide-item ul {
  padding-left: 1.5rem;
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  list-style-type: disc;
}

.guide-item li {
  margin-bottom: 0.45rem;
}

/* Generous margin keeps ads policy-safe from clickable cards */
.ad-slot {
  margin: 36px 0;
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.section-block { margin: 44px 0; }
.section-title {
  font-family: "Courier New", monospace;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent-2);
  padding-left: 12px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-card:hover { border-color: var(--accent); }

.card-thumb {
  height: 140px;
  background: #0d111d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Courier New", monospace;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.tag { font-size: 0.72rem; color: var(--accent-2); font-weight: 800; letter-spacing: 1px; }
.card-body h3 { margin: 6px 0 8px; }
.card-body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; flex: 1; }

.btn-secondary {
  display: inline-block;
  text-align: center;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
}

.btn-secondary:hover { background: var(--accent); color: #05080f; }

.editorial-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.guide-item + .guide-item { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.guide-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.guide-item p { color: var(--muted); font-size: 0.95rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 60px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }