/*
Theme Name: MyGame Pro
Author: You
Description: Темная атмосферная тема под игровой проект (в стиле Tarkov)
Version: 1.0
Text Domain: mygame
*/

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  background: #0b0b0d url('assets/img/bg.jpg') center/cover fixed no-repeat;
  color: #e9e9ea;
}

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 64px 0; }
.section.dark { background: rgba(10,10,12,0.72); backdrop-filter: blur(2px); }
.section.light { background: rgba(18,18,20,0.85); }
.center { text-align: center; }

.site-header {
  position: sticky; top:0; z-index: 50;
  background: rgba(8,8,10,0.88);
  border-bottom: 1px solid #1f1f25;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.brand { display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.6px; }
.brand__logo { width:28px; height:28px; border:2px solid #f2d059; border-radius:4px; display:inline-block; }
.brand__name { color:#f2d059; text-transform:uppercase; }

.nav-wrap { display:flex; align-items:center; gap:22px; }
.nav-wrap a { color:#d7d7db; text-decoration:none; font-weight:600; opacity:.9; padding:6px 2px; }
.nav-wrap a:hover { color:#fff; }

.header-inner { display:flex; align-items:center; justify-content:space-between; padding:14px 0; }

.btn {
  display:inline-block; padding:12px 20px; font-weight:800; text-transform:uppercase;
  background:#f2d059; color:#121212; border:none; border-radius:6px; cursor:pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); background:#fff; }
.btn.outline { background:transparent; color:#f2d059; border:2px solid #f2d059; }
.btn.outline:hover { background:#f2d059; color:#121212; }

.hero {
  padding: 120px 0 80px;
  background: radial-gradient(1200px 600px at 70% 30%, rgba(242,208,89,0.08), rgba(0,0,0,0));
}
.hero h1 { font-size: clamp(36px, 4vw, 64px); margin:0 0 16px; line-height:1.1; }
.hero p.lead { font-size: clamp(16px, 2.1vw, 20px); opacity:.9; max-width: 780px; margin: 0 auto 28px; }
.hero-ctas { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

.posts { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap:22px; }
.card {
  background:#121215; border:1px solid #23232a; border-radius:12px; padding:18px;
  transition: transform .08s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); border-color:#3a3a44; }
.card h3 a { color:#fff; text-decoration:none; }
.card .meta { font-size:12px; color:#999; margin-bottom:8px; }

.site-footer {
  background: rgba(8,8,10,0.88);
  border-top: 1px solid #1f1f25;
  padding: 24px 0;
  text-align: center;
  color: #bdbdc2;
}

.hidden { display:none; }
hr.soft { border:0; height:1px; background: linear-gradient(90deg, transparent, #2c2c33, transparent); margin: 28px 0; }

@media (max-width: 800px) {
  .nav-wrap { display:none; }
}
.brand__link {
  display:flex;
  align-items:center;  /* центрируем по середине */
  gap:10px;
}
.brand .custom-logo {
  height:28px; 
  width:28px; 
}


