/*
Theme Name: MaxHubs Theme
Theme URI: https://example.com/maxhubs-theme
Author: MaxHubs Clone
Description: Темная тема-каталог в стиле maxhubs.ru для мессенджера MAX. Работает в паре с плагином MaxHubs Catalog.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: maxhubs-theme
*/

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	background:#0f1220;
	color:#e8eaf2;
	line-height:1.6;
}
a{color:#8b9bff;text-decoration:none;}
img{max-width:100%;height:auto;}
.mh-container{max-width:1180px;margin:0 auto;padding:0 20px;}

/* Шапка */
.mh-header{position:sticky;top:0;z-index:50;background:rgba(15,18,32,.85);backdrop-filter:blur(10px);border-bottom:1px solid #262a40;}
.mh-header-inner{display:flex;align-items:center;justify-content:space-between;height:64px;}
.mh-logo{font-size:22px;font-weight:800;color:#fff;display:flex;align-items:center;gap:8px;}
.mh-logo span{background:linear-gradient(135deg,#5b6cff,#8b5bff);-webkit-background-clip:text;background-clip:text;color:transparent;}
.mh-nav{display:flex;gap:22px;align-items:center;}
.mh-nav a{color:#c7cbe0;font-weight:500;}
.mh-nav a:hover{color:#fff;}

/* Герой */
.mh-hero{text-align:center;padding:70px 0 40px;}
.mh-hero .mh-tag{display:inline-block;font-size:13px;color:#9aa0bd;border:1px solid #262a40;border-radius:999px;padding:6px 16px;margin-bottom:18px;}
.mh-hero h1{font-size:clamp(30px,5vw,52px);margin:0 0 14px;line-height:1.1;background:linear-gradient(135deg,#fff,#9aa0bd);-webkit-background-clip:text;background-clip:text;color:transparent;}
.mh-hero p{font-size:18px;color:#9aa0bd;max-width:620px;margin:0 auto 26px;}
.mh-search-box{display:flex;max-width:560px;margin:0 auto;gap:8px;}
.mh-search-box input{flex:1;background:#171a2b;border:1px solid #262a40;border-radius:12px;padding:14px 18px;color:#e8eaf2;font-size:16px;}
.mh-search-box input:focus{outline:none;border-color:#5b6cff;}

/* Статистика */
.mh-stats{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;margin:30px 0;}
.mh-stat{background:#171a2b;border:1px solid #262a40;border-radius:14px;padding:18px 28px;text-align:center;min-width:150px;}
.mh-stat b{display:block;font-size:26px;color:#fff;}
.mh-stat span{font-size:13px;color:#9aa0bd;}

/* Категории-разделы */
.mh-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:40px 0;}
.mh-type-card{background:linear-gradient(160deg,#171a2b,#13162400);border:1px solid #262a40;border-radius:18px;padding:24px;}
.mh-type-card h3{margin:0 0 6px;font-size:20px;color:#fff;}
.mh-type-card p{margin:0;color:#9aa0bd;font-size:14px;}

.mh-footer{border-top:1px solid #262a40;margin-top:60px;padding:40px 0;color:#9aa0bd;font-size:14px;}
.mh-footer .mh-container{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;}

@media(max-width:640px){.mh-nav{display:none;}}
