*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:72px}
body{font-family:Arial,Helvetica,sans-serif;margin:0;background:#0088ff;color:#333;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:#0057b8}

/* Шапка */
.site-header{position:sticky;top:0;z-index:50;background:#0a2a5c;box-shadow:0 2px 10px rgba(0,0,0,.25)}
.header-inner{max-width:1200px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.logo{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:700;font-size:1.15em;white-space:nowrap}
.logo img{width:36px;height:36px;border-radius:8px}
.header-nav{display:flex;gap:18px}
.header-nav a{color:#cfe3ff;text-decoration:none;font-size:.95em}
.header-nav a:hover{color:#fff}
.header-actions{display:flex;gap:8px}
.hbtn{display:inline-block;padding:9px 16px;border-radius:8px;text-decoration:none;font-weight:700;font-size:.95em;white-space:nowrap}
.hbtn-demo{background:transparent;color:#fff;border:2px solid #ff9800}
.hbtn-play{background:#ff9800;color:#fff;border:2px solid #ff9800}
.hbtn:hover{filter:brightness(1.1)}

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

/* Карточки */
.game-card,.game-description,.game-characteristics,.game-strategies,.game-faq{background:#fff;padding:20px;border-radius:10px;box-shadow:0 0 15px rgba(0,0,0,.1);margin-bottom:20px}
.game-card{display:flex;flex-direction:column;align-items:center;text-align:center}
.game-card .image-placeholder{margin-bottom:20px}
.game-card .image-placeholder img{width:300px;max-width:100%;border-radius:6px;margin:0 auto}
.game-card h1{font-size:2em;line-height:1.25;margin:0 0 14px}
.intro-text{margin-top:20px;font-size:1.05em}

h2{font-size:1.5em;line-height:1.3;margin:0 0 12px;color:#222}
h3{font-size:1.2em;margin:16px 0 8px;color:#333}
p{margin:0 0 12px}
ol,ul{padding-left:24px}
li{margin:6px 0}

/* Кнопки */
.buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.game-card .buttons{justify-content:center}
.btn,.platform-btn{display:inline-block;padding:11px 22px;background:#ff9800;color:#fff;text-decoration:none;border-radius:6px;font-weight:700;text-align:center;transition:background-color .2s}
.btn:hover,.platform-btn:hover{background:#f57c00}
.btn.demo{background:#0a2a5c}
.btn.demo:hover{background:#123d80}

/* Таблицы */
table{width:100%;border-collapse:collapse;margin:10px 0 14px}
th,td{border:1px solid #ddd;padding:8px 10px;text-align:left;vertical-align:top}
th{background:#f0f0f0}

/* FAQ */
.faq-item{margin-bottom:10px;border:1px solid #e3e3e3;border-radius:6px;overflow:hidden}
.faq-question{padding:12px 14px;background:#f5f7fa;cursor:pointer;font-weight:700;list-style-position:inside}
.faq-answer{padding:10px 14px}
.faq-answer p{margin:0}

footer{background:#fff;padding:20px;border-radius:10px;margin-bottom:20px;text-align:center}
footer .buttons{justify-content:center}

@media (max-width:860px){.header-nav{display:none}}
@media (max-width:600px){
  .header-inner{padding:8px 12px}
  .logo span{display:none}
  .hbtn{padding:8px 12px;font-size:.9em}
  .container{padding:12px}
  .game-card h1{font-size:1.6em}
  .game-card .image-placeholder{margin-bottom:12px}
  .game-card .image-placeholder img{width:180px}
  .buttons{flex-direction:column;align-items:stretch}
  .btn,.platform-btn{width:100%}
}
