:root {
  color-scheme: dark;
  --bg: #050807;
  --bg-2: #092b20;
  --panel: #0b1310;
  --panel-2: #111d17;
  --line: rgba(66, 255, 172, .18);
  --text: #f5fff8;
  --muted: #bfd6c8;
  --green: #1fd186;
  --green-2: #0f8b58;
  --gold: #f5c65b;
  --gold-2: #ffb240;
  --shadow: 0 30px 90px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 94px 94px,
    radial-gradient(circle at 76% 12%, rgba(31, 209, 134, .26), transparent 34rem),
    linear-gradient(180deg, #03100b, #050807 46%, #061510);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header { background: #07110d; border-bottom: 1px solid rgba(66,255,172,.16); position: sticky; top: 0; z-index: 20; box-shadow: 0 16px 50px rgba(0,0,0,.35); }
.brandbar { max-width: 1180px; margin: 0 auto; min-height: 82px; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: #06110b; background: linear-gradient(135deg, var(--gold), var(--green)); border: 1px solid rgba(245,198,91,.72); box-shadow: 0 0 34px rgba(31,209,134,.28); }
.brand strong { font-size: 30px; line-height: 1; letter-spacing: 0; }
.brand small { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 999px; padding: 0 20px; font-weight: 900; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 12px 34px rgba(0,0,0,.24); }
.btn-gold { background: linear-gradient(180deg, #ffd978, #e69524); color: #141008; border-color: rgba(255,255,255,.24); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; }
.btn-large { min-height: 54px; padding-inline: 26px; }
.main-nav { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; background: linear-gradient(90deg, #0d5a39, #20b577, #0d6f47); overflow-x: auto; }
.main-nav a { padding: 14px 13px; font-size: 14px; font-weight: 900; color: #effff6; white-space: nowrap; border-bottom: 3px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--gold); border-color: var(--gold); }
main { overflow: hidden; }
.hero { max-width: 1180px; min-height: 560px; margin: 0 auto; padding: 64px 22px 44px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(430px, 1fr); gap: 34px; align-items: center; }
.hero h1, .page-hero h1 { margin: 0; max-width: 780px; font-size: clamp(44px, 6.2vw, 72px); line-height: 1.02; letter-spacing: 0; }
.domain-line { margin: 12px 0 0; color: var(--gold); font-size: clamp(28px, 4.4vw, 52px); font-weight: 900; line-height: 1.08; }
.hero-lead, .page-hero p { max-width: 720px; color: var(--muted); font-size: 18px; margin: 22px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; max-width: 560px; }
.mini-stats div, .category-card, .info-card, .post-card, .detail-block, .side-panel { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.028)); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 20px 54px rgba(0,0,0,.2); }
.mini-stats div { padding: 16px; }
.mini-stats strong { display: block; color: var(--gold); font-size: 24px; line-height: 1; }
.mini-stats span { display: block; color: var(--muted); margin-top: 7px; font-size: 13px; }
.hero-panel { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #07110d; }
.hero-panel img { width: 100%; height: 410px; object-fit: cover; object-position: center; }
.category-grid { max-width: 1180px; margin: 0 auto; padding: 0 22px 52px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.category-card { min-height: 164px; padding: 20px 16px; background: linear-gradient(180deg, rgba(22, 199, 132, .28), rgba(6, 21, 16, .84)); }
.category-card span { display: block; color: var(--gold); font-size: 32px; font-weight: 900; line-height: 1; text-shadow: 0 0 22px rgba(245,198,91,.45); }
.category-card strong { display: block; margin-top: 12px; font-size: 17px; }
.category-card em { display: block; margin-top: 8px; color: #d8eee2; font-size: 13px; font-style: normal; }
.content-band, .split-section, .news-section, .detail-layout { max-width: 1180px; margin: 0 auto; padding: 58px 22px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .62fr); gap: 28px; align-items: start; }
.section-label { margin: 0 0 14px; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
h2 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: 0; }
p { color: var(--muted); }
.info-card { padding: 24px; }
.info-card table { width: 100%; border-collapse: collapse; }
.info-card th, .info-card td { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; vertical-align: top; }
.info-card th { color: var(--gold); width: 38%; }
.split-section { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, .78fr); gap: 34px; align-items: center; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.feature-image { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; }
.text-link { display: inline-flex; color: var(--gold); font-weight: 900; margin-top: 8px; border-bottom: 1px solid currentColor; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { padding: 22px; }
.post-card span, .detail-block span { color: var(--gold); font-weight: 900; font-size: 13px; }
.post-card h3 { font-size: 23px; line-height: 1.16; margin: 8px 0 12px; }
.page-hero { max-width: 1180px; margin: 0 auto; padding: 74px 22px 42px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; color: var(--muted); }
.breadcrumb a { color: var(--gold); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.detail-main { display: grid; gap: 16px; }
.detail-block { padding: 28px; }
.detail-block h2 { font-size: 28px; margin-top: 8px; }
.side-panel { position: sticky; top: 154px; padding: 22px; }
.side-panel h2 { font-size: 24px; }
.side-panel a { display: block; padding: 11px 0; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.09); }
.side-panel a:hover { color: var(--gold); }
.responsible-box { margin-top: 18px; padding: 16px; border-radius: 12px; background: rgba(31,209,134,.13); border: 1px solid rgba(31,209,134,.34); color: #d9ffe9; font-size: 14px; }
.site-footer { max-width: 1180px; margin: 34px auto 0; padding: 34px 22px 50px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 24px; color: var(--muted); }
.site-footer strong { color: #fff; }
.site-footer p { margin: 8px 0 0; max-width: 650px; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.site-footer a { color: var(--gold); font-weight: 800; }
@media (max-width: 980px) {
  .brandbar, .site-footer { align-items: flex-start; flex-direction: column; }
  .hero, .two-col, .split-section, .detail-layout { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-panel img { height: 320px; }
  .side-panel { position: static; }
}
@media (max-width: 620px) {
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1; padding-inline: 10px; font-size: 13px; }
  .brand strong { font-size: 24px; }
  .hero { padding-top: 42px; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  .domain-line { font-size: 31px; }
  .hero-lead, .page-hero p { font-size: 16px; }
  .main-nav { justify-content: flex-start; }
  .category-grid, .post-grid, .mini-stats { grid-template-columns: 1fr; }
  .content-band, .split-section, .news-section, .detail-layout { padding-block: 38px; }
}
