:root {
  --bg: #0b111c;
  --bg2: #111a2a;
  --panel: #142033;
  --panel2: #0f1828;
  --line: #24324a;
  --gold: #d6a85c;
  --gold2: #f0cf8a;
  --gold-d: #8a6a32;
  --text: #e4e8f0;
  --muted: #8d9ab0;
  --red: #c85a5a;
  --green: #6fbf73;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 Rubik, "Segoe UI", Arial, sans-serif;
  background-image: radial-gradient(1200px 500px at 50% -200px, #1a2944 0%, transparent 70%);
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; padding-bottom: 40px; }
a { color: var(--gold2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: "Russo One", Rubik, sans-serif; font-weight: 400; color: var(--gold2); line-height: 1.25; }
h1 { font-size: 28px; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 22px 0 10px; }
h3 { font-size: 17px; margin: 18px 0 8px; }
code { background: #0a1220; border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.inline { display: inline; }

/* buttons */
.btn {
  display: inline-block; border: 1px solid var(--gold-d); background: #1a263b; color: var(--gold2);
  padding: 9px 18px; border-radius: 8px; font: 500 15px Rubik, sans-serif; cursor: pointer; transition: .15s;
}
.btn:hover { border-color: var(--gold); color: #fff; background: #22314c; }
.btn-gold { background: linear-gradient(#e2bb72, #b8893f); color: #1b1408; border-color: #e7c27c; }
.btn-gold:hover { background: linear-gradient(#f0cd88, #c99a4c); color: #000; }
.btn.lg { padding: 13px 28px; font-size: 17px; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn.danger, .link.danger { color: #ff9b9b; }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
.link:hover { color: #fff; }

/* header */
.demo-bar { background: #5a3a12; color: #ffe2b0; text-align: center; font-size: 13px; padding: 6px 16px; }
.top { position: sticky; top: 0; z-index: 10; background: rgba(9, 14, 24, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand img { width: 38px; height: auto; }
.brand b { display: block; font: 18px "Russo One", sans-serif; color: var(--gold2); line-height: 1; }
.brand small { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a, .nav .link { padding: 8px 12px; border-radius: 6px; color: var(--text); }
.nav > a:hover, .nav .link:hover { background: #1a263b; color: #fff; }
.nav > a.on { color: var(--gold2); background: #18233a; }
.nav > a.btn { color: #1b1408; margin-left: 6px; }
.nav .acc em { font-style: normal; font-size: 11px; color: var(--gold); border: 1px solid var(--gold-d); border-radius: 4px; padding: 0 4px; }
.nav-sp { flex: 1; }
.navt, .burger { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: #0c1626 url(/static/img/hero.jpg) center top / cover no-repeat; aspect-ratio: 1920 / 768; max-height: 620px; min-height: 340px; width: 100%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(11,17,28,.9)); }
.hero-in { position: absolute; left: 0; right: 0; bottom: 7%; z-index: 1; text-align: center; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stats { background: var(--panel2); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 16px 8px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 26px "Russo One", sans-serif; color: var(--gold2); }
.stat span { color: var(--muted); font-size: 13px; }

.rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0; }
.rate { background: linear-gradient(160deg, #19263d, #111a2a); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.rate span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.rate b { display: block; font: 30px "Russo One", sans-serif; color: var(--gold2); margin: 2px 0; }
.rate small { color: var(--muted); }

/* panels */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.panel h2:first-child, .panel h1:first-child { margin-top: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel-h h2 { margin: 0 0 10px; }
.grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.page-t { margin: 24px 0 14px; }
.page-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.crumbs { margin-top: 22px; color: var(--muted); font-size: 14px; }

.news { padding: 12px 0; border-bottom: 1px solid var(--line); }
.news:last-child { border-bottom: 0; }
.news-t { font-weight: 700; font-size: 17px; }
.news p { margin: 6px 0 0; color: #c3cad8; }
.meta { color: var(--muted); font-size: 13px; }
.glist { list-style: none; margin: 0; padding: 0; }
.glist li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.glist li:last-child { border-bottom: 0; }
.glist a::before { content: "⚓ "; color: var(--gold-d); }

.sec-t { text-align: center; margin: 34px 0 16px; font-size: 24px; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; border-top: 3px solid var(--gold-d); }
.feat h3 { margin: 0 0 6px; }
.feat p { margin: 0; color: #c3cad8; }

/* forms */
.auth { max-width: 460px; padding-top: 28px; }
.form label { display: block; margin: 0 0 14px; font-weight: 500; }
.form label small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: 3px; }
.form input:not([type=checkbox]), .form textarea {
  display: block; width: 100%; margin-top: 6px; background: #0b1322; border: 1px solid #2c3c58; border-radius: 8px;
  color: var(--text); padding: 10px 12px; font: 15px Rubik, sans-serif;
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,168,92,.15); }
.form textarea { resize: vertical; min-height: 120px; }
.form .check { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.flash { border-radius: 8px; padding: 10px 14px; margin: 14px 0; border: 1px solid; }
.flash.ok { background: #13301e; border-color: #2f6b40; color: #b9f0c4; }
.flash.err { background: #3a1717; border-color: #7a2f2f; color: #ffc4c4; }
.flash.warn { background: #3a2c12; border-color: #7a5a22; color: #ffe2a8; }
.bbhelp { font-size: 12px; margin: 4px 0 6px; font-weight: 400; }

/* tables */
.gtable { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 14px; }
.gtable th { text-align: left; color: var(--gold); font-weight: 500; border-bottom: 1px solid var(--gold-d); padding: 8px 10px; }
.gtable td { border-bottom: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.gtable tr:hover td { background: rgba(255,255,255,.02); }
.gtable.small td, .gtable.small th { font-size: 13px; padding: 6px 8px; }
.rating tr.top1 td:first-child { color: #ffd76a; font-weight: 700; }
.rating tr.top2 td:first-child { color: #d9e0ea; font-weight: 700; }
.rating tr.top3 td:first-child { color: #e2a36b; font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* forum */
.flist, .tlist { padding: 0; overflow: hidden; }
.frow, .trow { display: grid; grid-template-columns: 52px 1fr 90px 90px 220px; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.trow { grid-template-columns: 1fr 90px 90px 160px; }
.frow:last-child, .trow:last-child { border-bottom: 0; }
.frow:hover, .trow:hover { background: #172439; }
.fico { width: 44px; height: 44px; border-radius: 10px; background: #0d1626; border: 1px solid var(--gold-d); display: grid; place-items: center; }
.ic { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ft, .tt { font-weight: 700; font-size: 16px; }
.fnum { text-align: center; }
.fnum b { display: block; color: var(--gold2); }
.fnum span { font-size: 12px; color: var(--muted); }
.flast { font-size: 13px; }
.tag { display: inline-block; font-size: 11px; border: 1px solid #44536e; border-radius: 4px; padding: 0 6px; margin-right: 6px; color: var(--muted); vertical-align: middle; font-family: Rubik, sans-serif; }
.tag.gold { border-color: var(--gold-d); color: var(--gold2); }
.pages { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 18px; }
.pages a { padding: 4px 11px; border: 1px solid var(--line); border-radius: 6px; }
.pages a.on { background: var(--gold); color: #1b1408; border-color: var(--gold); }
.mod { display: flex; gap: 6px; }

.post { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 0; overflow: hidden; }
.pauth { background: var(--panel2); padding: 18px 12px; text-align: center; border-right: 1px solid var(--line); word-break: break-all; }
.ava { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; background: linear-gradient(#2a3b5c, #18233a); border: 2px solid var(--gold-d); display: grid; place-items: center; font: 24px "Russo One", sans-serif; color: var(--gold2); }
.pauth b { display: block; }
.pbody { padding: 14px 18px 18px 0; min-width: 0; }
.pmeta { font-size: 12px; margin-bottom: 8px; display: flex; gap: 10px; }
.content { overflow-wrap: anywhere; }
.content blockquote { margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--gold-d); background: #0f1828; }
.content cite { display: block; font-style: normal; color: var(--gold); font-size: 13px; }
.content pre { background: #0a1220; border: 1px solid var(--line); padding: 10px; border-radius: 6px; overflow-x: auto; }
.content ul, .content ol { padding-left: 22px; }
.content .it { color: #9fd4ff; }
.content .xy { font-family: "Russo One", sans-serif; color: var(--gold2); white-space: nowrap; }
.content details { background: #0f1828; border: 1px solid var(--line); border-radius: 8px; margin: 8px 0; padding: 0 12px; }
.content summary { cursor: pointer; padding: 10px 0; color: var(--gold2); font-weight: 500; }
.content .ilist { columns: 3 200px; column-gap: 18px; padding-bottom: 10px; font-size: 13px; }
.content .ilist span { display: block; break-inside: avoid; padding: 2px 0; color: #c3cad8; }
.content .cols2 { columns: 2 180px; }
.content .gtable { display: block; overflow-x: auto; }
.callout { background: #1d2a19; border: 1px solid #3f5e33; border-left: 4px solid #6fbf73; color: #d4ecd0; border-radius: 8px; padding: 10px 14px; margin: 12px 0; }
.reply h2 { margin-top: 0; }
.steps li { margin-bottom: 8px; }

/* footer */
.foot { border-top: 1px solid var(--line); background: #080d16; padding: 22px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot b { color: var(--gold2); }
.soc { display: flex; gap: 16px; align-items: center; }

/* mobile */
@media (max-width: 900px) {
  .grid2, .fgrid { grid-template-columns: 1fr; }
  .rates, .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .frow { grid-template-columns: 44px 1fr; }
  .frow .fnum, .frow .flast, .trow .fnum { display: none; }
  .trow { grid-template-columns: 1fr 110px; }
  .burger { display: flex; flex-direction: column; gap: 5px; margin-left: auto; cursor: pointer; padding: 8px; }
  .burger i { display: block; width: 24px; height: 2px; background: var(--gold2); }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #0b111c; border-bottom: 1px solid var(--line); padding: 8px 16px 14px; }
  .navt:checked ~ .nav { display: flex; }
  .nav-sp { display: none; }
  .post { grid-template-columns: 1fr; }
  .pauth { display: flex; align-items: center; gap: 10px; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .ava { width: 36px; height: 36px; font-size: 16px; margin: 0; }
  .pbody { padding: 12px 14px 16px; }
  h1 { font-size: 24px; }
  .hero { aspect-ratio: auto; height: 400px; background-size: auto 330px; background-position: center top; }
  .hero-in { bottom: 18px; }
  .hero .btn.lg { padding: 10px 16px; font-size: 15px; }
}

/* роли */
.tag.r-admin, .nav .acc em.r-admin { border-color: #b85454; color: #ff9d9d; }
.tag.r-moder, .nav .acc em.r-moder { border-color: #4f8cc9; color: #9fd0ff; }
.form select { display: block; width: 100%; margin-top: 6px; background: #0b1322; border: 1px solid #2c3c58; border-radius: 8px; color: var(--text); padding: 10px 12px; font: 15px Rubik, sans-serif; }

/* редактор */
.lbl { font-weight: 500; margin-bottom: 6px; }
.editor { border: 1px solid #2c3c58; border-radius: 10px; background: #0b1322; margin-bottom: 14px; }
.ed-tools { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid #2c3c58; background: #101b2e; border-radius: 10px 10px 0 0; }
.ed-tools button { min-width: 34px; height: 32px; border: 1px solid #2c3c58; background: #17233a; color: var(--text); border-radius: 6px; cursor: pointer; font: 14px Rubik, sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 8px; }
.ed-tools button:hover { border-color: var(--gold); color: #fff; }
.ed-sep { width: 1px; background: #2c3c58; margin: 2px 4px; }
.ed-smiles { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border-bottom: 1px solid #2c3c58; background: #0f1828; }
.ed-smiles[hidden] { display: none; }
.ed-smiles img { cursor: pointer; border-radius: 6px; padding: 3px; transition: .1s; }
.ed-smiles img:hover { background: #22314c; transform: scale(1.15); }
.ed-area { min-height: 170px; max-height: 520px; overflow-y: auto; padding: 12px 14px; outline: none; }
.ed-area:empty::before { content: attr(data-placeholder); color: var(--muted); }
.ed-status { padding: 0 14px 8px; font-size: 13px; color: var(--muted); min-height: 8px; }
.ed-status.err { color: #ff9b9b; }
.ed-submit { display: flex; gap: 8px; align-items: center; }
.ed-submit button:disabled { opacity: .55; cursor: not-allowed; }
.content img.smile { width: 28px; height: 28px; vertical-align: middle; }
.content img.photo { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); display: block; margin: 6px 0; }
.content h3 { margin: 10px 0 6px; }
.pmeta { justify-content: space-between; }
.pacts { display: flex; gap: 12px; }
.pacts a, .pacts .link { font-size: 12px; }
.umod { display: block; margin-top: 8px; font-size: 12px; }
.danger-t { color: #ff9b9b; }
.atabs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: -4px 0 16px; }
.atabs > a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
.atabs > a.on { border-color: var(--gold); color: var(--gold2); background: #18233a; }
.asearch { display: flex; gap: 6px; margin-left: auto; }
.asearch input { background: #0b1322; border: 1px solid #2c3c58; border-radius: 8px; color: var(--text); padding: 6px 10px; font: 14px Rubik, sans-serif; }
.form input[type=file] { padding: 8px; }
.editor [hidden] { display: none !important; }

/* рейтинг: вкладки и администрация в игре */
.rtabs { display: flex; gap: 8px; margin: 0 0 14px; flex-wrap: wrap; }
.rtabs a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.rtabs a.on, .rtabs a:hover { color: var(--gold2); border-color: var(--gold-d); background: rgba(214,168,92,.08); }
.rating-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 900px) { .rating-grid { grid-template-columns: 1fr; } }
.rating td.gold { color: var(--gold2); font-weight: 600; }
.staff-l { list-style: none; margin: 0; padding: 0; }
.staff-l li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.staff-l li:last-child { border-bottom: 0; }
.staff .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4cd964; box-shadow: 0 0 6px #4cd964; margin-right: 6px; }
.staff .role { font-size: 12px; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line); }
.staff .role.adm { color: #ff8a7a; border-color: #7a3a32; }
.staff .role.mod { color: #8fc8ff; border-color: #2f5577; }
.staff .muted { display: block; font-size: 13px; margin-left: 14px; }
.home-staff { margin-top: 18px; }

/* ===================== главная v2: анимации и статус ===================== */
.hero2 { isolation: isolate; }
.hero-fx { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-fx i { position: absolute; display: block; }
.stars { inset: 0 0 35% 0; background-repeat: repeat; opacity: .8; animation: twinkle 5s ease-in-out infinite alternate; }
.stars.s1 { background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent 60%), radial-gradient(1.2px 1.2px at 33% 8%, #fff, transparent 60%), radial-gradient(1.6px 1.6px at 58% 22%, #ffe8b0, transparent 60%), radial-gradient(1.2px 1.2px at 69% 40%, #fff, transparent 60%), radial-gradient(1.4px 1.4px at 88% 12%, #fff, transparent 60%), radial-gradient(1.1px 1.1px at 22% 46%, #fff, transparent 60%); background-size: 520px 300px; }
.stars.s2 { background-image: radial-gradient(1.2px 1.2px at 8% 30%, #cfe3ff, transparent 60%), radial-gradient(1.6px 1.6px at 41% 34%, #fff, transparent 60%), radial-gradient(1.1px 1.1px at 76% 6%, #fff, transparent 60%), radial-gradient(1.3px 1.3px at 93% 44%, #ffe8b0, transparent 60%); background-size: 380px 260px; animation-duration: 7s; animation-delay: -3s; }
@keyframes twinkle { from { opacity: .25; } to { opacity: .95; } }
.moon-glow { left: 77.1%; top: 17%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,240,200,.28) 0%, rgba(255,240,200,.08) 35%, transparent 65%); animation: moon 6s ease-in-out infinite; }
@keyframes moon { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.94); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
.sea { left: 0; right: 0; top: 68%; bottom: 0; opacity: .35; mix-blend-mode: screen;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(150,200,230,.22) 46px 70px, transparent 70px 120px);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 2px, transparent 2px 13px); mask: repeating-linear-gradient(180deg, #000 0 2px, transparent 2px 13px);
  animation: sea 9s linear infinite; }
@keyframes sea { to { background-position: 240px 0; } }
.spark { left: var(--x); bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: #f3d28c; box-shadow: 0 0 8px 2px rgba(243,210,140,.55);
  opacity: 0; animation: spark var(--d) linear infinite; animation-delay: calc(var(--w) * -1); }
@keyframes spark { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 80% { opacity: .5; } 100% { transform: translate(30px, -360px); opacity: 0; } }
.hero2 .hero-in { z-index: 2; }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 16px 14px; animation: rise .8s .1s both; }
.hero2 .hero-cta { animation: rise .8s .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; font-weight: 500; font-size: 15px;
  background: rgba(10,16,28,.72); border: 1px solid var(--gold-d); color: var(--text); backdrop-filter: blur(4px); }
.badge b { color: var(--gold2); font-weight: 700; }
.badge > i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(214,168,92,.7); animation: ping 2s infinite; }
.badge.zbt { border-color: #b8893f; background: linear-gradient(90deg, rgba(58,40,14,.85), rgba(10,16,28,.8)); }
.badge.srv.on > i { background: #4cd964; box-shadow: 0 0 0 0 rgba(76,217,100,.7); animation-name: pingG; }
.badge.srv.off > i { background: #e05555; animation: none; }
.badge.srv.off { border-color: #7a2f2f; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(214,168,92,.7); } 70% { box-shadow: 0 0 0 10px rgba(214,168,92,0); } 100% { box-shadow: 0 0 0 0 rgba(214,168,92,0); } }
@keyframes pingG { 0% { box-shadow: 0 0 0 0 rgba(76,217,100,.7); } 70% { box-shadow: 0 0 0 10px rgba(76,217,100,0); } 100% { box-shadow: 0 0 0 0 rgba(76,217,100,0); } }
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn { transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.35); }

.stats2 { background: var(--panel2); border-bottom: 1px solid var(--line); }
.stats2-in { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; }
.st2 { padding: 16px 8px; border-right: 1px solid var(--line); }
.st2:last-child { border-right: 0; }
.st2 b { display: block; font: 26px "Russo One", sans-serif; color: var(--gold2); }
.st2 span { color: var(--muted); font-size: 13px; }
.srvcard { display: flex; flex-direction: column; align-items: center; }
.srvcard .dot { width: 12px; height: 12px; border-radius: 50%; margin: 4px auto 4px; }
.srvcard b { font-size: 22px; }
.srvcard.on .dot { background: #4cd964; animation: pingG 2s infinite; }
.srvcard.on b { color: #7ee08f; }
.srvcard.off .dot { background: #e05555; }
.srvcard.off b { color: #ff9b9b; }

.zbt-box { display: flex; gap: 18px; align-items: center; margin: 26px 0 0; padding: 18px 22px; border-radius: var(--radius);
  background: linear-gradient(120deg, #3a2a10 0%, #1b2236 55%, #142033 100%); border: 1px solid #8a6a32; position: relative; overflow: hidden; }
.zbt-box::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(240,207,138,.10) 50%, transparent 70%); background-size: 250% 100%; animation: sweep 6s linear infinite; }
@keyframes sweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.zbt-box h2 { margin: 0 0 4px; }
.zbt-box p { margin: 0; color: #d6dbe6; position: relative; }
.zbt-ic { flex: 0 0 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(214,168,92,.15); border: 1px solid var(--gold-d); }
.zbt-ic svg { width: 28px; height: 28px; fill: var(--gold2); animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.rate { transition: transform .2s, border-color .2s, box-shadow .2s; }
.rate:hover { transform: translateY(-4px); border-color: var(--gold-d); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.fgrid2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat2 { background: linear-gradient(165deg, #182640, #121c2e); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s; }
.feat2::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.feat2:hover { transform: translateY(-6px); border-color: var(--gold-d); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.feat2:hover .fic { transform: rotate(-8deg) scale(1.08); }
.feat2 h3 { margin: 10px 0 6px; }
.feat2 p { margin: 0; color: #c3cad8; font-size: 14px; }
.fic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(214,168,92,.12); border: 1px solid var(--gold-d); transition: transform .25s; }
.fic svg { width: 26px; height: 26px; fill: none; stroke: var(--gold2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.steps2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.steps2 li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 72px; position: relative; }
.steps2 li > b { position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 20px "Russo One", sans-serif; color: #1b1408; background: linear-gradient(#e2bb72, #b8893f); }
.steps2 h3 { margin: 0 0 4px; }
.steps2 p { margin: 0; color: #c3cad8; font-size: 14px; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .stats2-in { grid-template-columns: repeat(3, 1fr); }
  .st2:nth-child(3) { border-right: 0; }
  .fgrid2 { grid-template-columns: repeat(2, 1fr); }
  .steps2 { grid-template-columns: 1fr; }
  .zbt-box { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .fgrid2 { grid-template-columns: 1fr; }
  .stats2-in { grid-template-columns: repeat(2, 1fr); }
  .st2 { border-bottom: 1px solid var(--line); }
  .badge { font-size: 13px; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fx, .btn-gold::after { display: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .badge > i, .srvcard .dot, .zbt-ic svg, .zbt-box::before { animation: none; }
}
.hero2 .hero-in { bottom: 2.5%; }
.hero2 .hero-badges { margin-bottom: 10px; }
@media (max-width: 900px) and (min-width: 701px) { .hero2 .btn.lg { padding: 10px 20px; font-size: 15px; } }
@media (max-width: 700px) {
  .hero2 { aspect-ratio: auto; min-height: 0; max-height: none; height: auto; background-size: 100% auto; background-position: center top; padding-top: 40%; }
  .hero2::after { display: none; }
  .hero2 .hero-in { position: relative; bottom: auto; padding: 14px 0 20px; background: linear-gradient(180deg, rgba(11,17,28,.6), var(--bg) 40%); }
  .hero2 .hero-fx { bottom: auto; height: 40vw; }
  .stats2-in .srvcard { grid-column: 1 / -1; border-right: 0; }
}
