
:root{
  --bg:#0e1017;
  --panel:#161925;
  --panel2:#1b1f2e;
  --card:#1d2130;
  --card2:#232838;
  --line:#252a3a;
  --txt:#ffffff;
  --muted:#8b90a6;
  --muted2:#6d7288;
  --yellow:#f1a92b;
  --yellow-d:#e69a1c;
  --green:#39a85a;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  background:var(--bg);
  color:var(--txt);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
.wrap{display:flex;min-height:100vh}

/* ===== LEFT ICON RAIL ===== */
.rail{
  width:70px;flex:0 0 70px;background:var(--bg);
  border-right:1px solid var(--line);
  display:flex;flex-direction:column;align-items:center;
  padding:14px 0;gap:26px;position:sticky;top:0;height:100vh;
}
.rail .top-icon{margin-bottom:6px}
.rail .ico{width:26px;height:26px;color:#6f7590;cursor:pointer;position:relative;transition:.15s}
.rail .ico:hover{color:#c9cee4}
.rail .ico svg{width:100%;height:100%;display:block;fill:currentColor}
.rail .ico.active{color:#e7ebff}
.rail .badge{position:absolute;right:-6px;bottom:-4px;background:var(--yellow);color:#20130a;font-size:10px;font-weight:800;border-radius:50%;width:15px;height:15px;display:flex;align-items:center;justify-content:center}
.rail .dot{position:absolute;right:-3px;top:-2px;width:8px;height:8px;background:var(--yellow);border-radius:50%}
.rail .spacer{flex:1}
.rail .ico.bulb{color:var(--yellow)}

/* ===== CENTER + RIGHT ===== */
.stage{flex:1;display:flex;min-width:0}
.content{flex:1;min-width:0;padding:0 26px}
.chat{width:390px;flex:0 0 390px;background:var(--panel);border-left:1px solid var(--line);position:sticky;top:0;height:100vh;display:flex;flex-direction:column}

/* ===== HEADER ===== */
.header{display:flex;align-items:center;gap:20px;height:92px;padding:0 4px}
.logo-wrap{display:flex;align-items:center;gap:18px}
.logo-mark{width:64px;height:64px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 64px}
.logo-mark svg{width:44px;height:44px}
.burger{display:flex;flex-direction:column;gap:5px;cursor:pointer;padding:4px}
.burger span{width:30px;height:3px;background:#e9ecf7;border-radius:2px}
.logo-txt{font-weight:800;font-size:22px;line-height:.98;letter-spacing:.5px}
.logo-txt small{display:block;font-size:22px}
.header .grow{flex:1}
.medallion{width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#3f7a3a,#245a22 55%,#123a12);display:flex;align-items:center;justify-content:center;font-size:26px;border:2px solid #d8b24a;flex:0 0 52px;box-shadow:inset 0 0 0 3px rgba(216,178,74,.25)}
.btn{display:inline-flex;align-items:center;justify-content:center;font-weight:800;cursor:pointer;border:none;font-family:inherit}
.btn-login{background:transparent;border:2px solid var(--yellow);color:var(--yellow);border-radius:12px;padding:14px 30px;font-size:17px}
.btn-login:hover{background:rgba(241,169,43,.1)}
.btn-reg{background:var(--yellow);color:#241606;border-radius:12px;padding:16px 30px;font-size:17px}
.btn-reg:hover{background:var(--yellow-d)}
.flag{width:60px;height:44px;border-radius:10px;overflow:hidden;position:relative;cursor:pointer;flex:0 0 60px;border:1px solid #2b3145}
.flag .stripe{height:33.33%}
.flag .w{background:#fff}.flag .b{background:#2b5fd0}.flag .r{background:#d52b1e}
.flag .refresh{position:absolute;right:3px;bottom:3px;width:16px;height:16px;color:#fff;opacity:.9}

/* ===== HERO ===== */
.hero-title{font-size:46px;font-weight:800;letter-spacing:.5px;display:flex;align-items:center;gap:14px;margin:14px 0 26px}
.hero-title .dragon{font-size:44px;filter:hue-rotate(0)}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:26px}
.stat{background:var(--card);border-radius:16px;padding:26px 30px;display:flex;flex-direction:column;gap:14px}
.stat .row{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:19px}
.stat .circle{width:44px;height:44px;border-radius:50%;background:#2b3042;display:flex;align-items:center;justify-content:center}
.stat .circle svg{width:24px;height:24px;fill:#aeb4cc}
.stat.pay .circle{background:var(--green)}
.stat.pay .circle svg{fill:#fff}
.stat .val{font-size:40px;font-weight:800;letter-spacing:.5px}
.desc{font-size:20px;line-height:1.5;color:#e7eaf3;margin-bottom:26px;max-width:820px}
.reg-big{background:var(--yellow);color:#241606;border-radius:14px;padding:22px 40px;font-size:20px;font-weight:800;display:inline-flex;align-items:center;gap:14px;margin-bottom:34px}
.reg-big:hover{background:var(--yellow-d)}
.reg-big .arr{font-size:22px}

/* ===== CAROUSEL ===== */
.carousel{position:relative;border-radius:18px;overflow:hidden;height:330px;background:#120c06}
.carousel .slides{position:absolute;inset:0}
.carousel .slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;pointer-events:none}
.carousel .slide.on{opacity:1;pointer-events:auto}
.carousel .slide img,.carousel .slide video{width:100%;height:100%;object-fit:cover;display:block}
.carousel .go{position:absolute;right:44px;bottom:56px;background:var(--yellow);color:#241606;border-radius:12px;padding:16px 30px;font-weight:800;font-size:18px;display:inline-flex;gap:12px;align-items:center;z-index:3}
.carousel .go:hover{background:var(--yellow-d)}
.carousel .arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;color:#dfe3f0;cursor:pointer;z-index:3;opacity:.85}
.carousel .arrow.l{left:14px}.carousel .arrow.r{right:14px}
.carousel .dots{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:3}
.carousel .dots i{width:34px;height:5px;border-radius:3px;background:rgba(255,255,255,.3);cursor:pointer}
.carousel .dots i.on{background:#fff}
.spacer-b{height:40px}

/* ===== FOOTER ===== */
.footer{margin-top:34px;padding:28px 4px 54px}
.footer .fnav{display:flex;flex-wrap:wrap;gap:14px 30px;font-size:17px;color:#c7ccdd}
.footer .fnav a:hover{color:#fff}
.footer .fdiv{height:1px;background:var(--line);margin:22px 0 26px}
.footer .frow{display:flex;gap:40px;align-items:flex-start;flex-wrap:wrap;margin-bottom:34px}
.footer .warn{display:flex;gap:16px;max-width:620px;flex:1;min-width:280px}
.footer .warn .age{width:46px;height:46px;border-radius:50%;background:#e0322b;color:#fff;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center;flex:0 0 46px}
.footer .warn p{color:#8b90a6;font-size:15px;line-height:1.5}
.footer .collab{display:flex;align-items:center;gap:22px;color:#c7ccdd;font-size:16px}
.footer .collab .jmi{border:2px solid var(--yellow);color:var(--yellow);border-radius:10px;padding:11px 24px;font-weight:800;white-space:nowrap}
.footer .collab .jmi:hover{background:rgba(241,169,43,.1)}
.footer .legal{display:flex;gap:18px;align-items:flex-start}
.footer .legal .mk{width:46px;height:46px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 46px}
.footer .legal .mk svg{width:30px;height:30px}
.footer .legal p{color:#8b90a6;font-size:15px;line-height:1.55;max-width:660px}
.footer .legal a{color:#a9b0c8}
.footer .sigma{margin-left:auto;border:1px solid #4a4a4a;padding:9px 14px;text-align:center;color:#fff;line-height:1.05;flex:0 0 auto;align-self:flex-start}
.footer .sigma b{font-size:19px;letter-spacing:1px;display:block;font-weight:800}
.footer .sigma i{font-size:9px;letter-spacing:2px;font-style:normal;color:#cfd4e6}

/* ===== CHAT PANEL ===== */
.chat-head{padding:22px 22px 16px}
.chat-head h2{font-size:24px;font-weight:800;line-height:1.15}
.chat-meta{display:flex;align-items:center;gap:26px;padding:6px 22px 16px;color:#cfd4e6;font-size:18px;border-bottom:1px solid var(--line)}
.chat-meta .g{display:flex;align-items:center;gap:8px}
.chat-meta .i{width:20px;height:20px;border-radius:50%;background:#2b3042;color:#aeb4cc;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-style:italic;font-weight:700}
.chat-meta .bars{display:flex;align-items:flex-end;gap:2px;height:16px}
.chat-meta .bars b{width:4px;background:var(--yellow);border-radius:1px}
.chat-meta .bars b:nth-child(1){height:6px}
.chat-meta .bars b:nth-child(2){height:10px}
.chat-meta .bars b:nth-child(3){height:15px}
.chat-meta .right{margin-left:auto;display:flex;align-items:center;gap:8px}
.chat-meta .right svg{width:20px;height:20px;fill:#aeb4cc}

.pin{display:flex;align-items:center;gap:10px;padding:16px 22px;border-left:3px solid var(--yellow);background:#191d2b;font-size:17px}
.pin b{color:var(--yellow)}
.pin .p{color:#e92b2b}

.promo{margin:14px 16px;background:#202536;border-radius:12px;padding:14px;display:flex;align-items:center;gap:12px;position:relative}
.promo .av{width:44px;height:44px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#f6d365,#a9741f);flex:0 0 44px;display:flex;align-items:center;justify-content:center;font-size:22px}
.promo .info{flex:1;min-width:0}
.promo .info .t{font-weight:800;font-size:18px}
.promo .info .s{color:var(--muted);font-size:14px;margin-top:3px}
.promo .info .s b{color:var(--green);font-weight:700}
.promo .prize{background:var(--yellow);color:#241606;font-weight:800;font-size:14px;border-radius:8px;padding:8px 12px;white-space:nowrap}
.promo .hide{position:absolute;left:14px;bottom:-10px;background:var(--yellow);color:#241606;font-weight:700;font-size:13px;border-radius:6px;padding:3px 12px}

.side-tab{position:relative}
.side-tab .arrow{position:absolute;left:-2px;top:8px;width:26px;height:44px;background:var(--yellow);border-radius:0 8px 8px 0;display:flex;align-items:center;justify-content:center;color:#241606;font-weight:900}

.msgs{padding:14px 16px 20px;display:flex;flex-direction:column;gap:16px;flex:1;overflow-y:auto;scroll-behavior:smooth}
.msgs::-webkit-scrollbar{width:6px}
.msgs::-webkit-scrollbar-thumb{background:#333a4e;border-radius:3px}
.msg{display:flex;gap:12px;animation:msgIn .35s ease}
@keyframes msgIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.typing{display:flex;gap:12px;align-items:center}
.typing .ava{width:38px;height:38px;border-radius:50%;flex:0 0 38px;background:#2b3042;display:flex;align-items:center;justify-content:center;font-size:18px}
.typing .bub{background:#2b3042;border-radius:14px;padding:12px 16px;display:flex;gap:5px}
.typing .bub b{width:7px;height:7px;border-radius:50%;background:#8b90a6;animation:blink 1.2s infinite}
.typing .bub b:nth-child(2){animation-delay:.2s}
.typing .bub b:nth-child(3){animation-delay:.4s}
@keyframes blink{0%,60%,100%{opacity:.3}30%{opacity:1}}
.msg .ava{width:38px;height:38px;border-radius:50%;flex:0 0 38px;background:#2b3042;display:flex;align-items:center;justify-content:center;font-size:18px;overflow:hidden}
.msg .b{flex:1;min-width:0}
.msg .nm{font-size:15px;font-weight:700}
.msg .nm.mod{color:#e9a11f}
.msg .nm .modtag{color:#e9a11f}
.msg .nm .id{color:var(--muted2);font-weight:500;margin-left:6px;font-size:13px}
.msg .tx{font-size:17px;color:#e7eaf3;margin-top:3px;line-height:1.35}
.msg.plain .tx{margin-top:0}

@media(max-width:1200px){
  .chat{display:none}
  .stats{grid-template-columns:1fr}
}
@media(max-width:760px){
  .rail{display:none}
  .header{flex-wrap:wrap;height:auto;padding:14px 0;gap:12px}
  .btn-login,.btn-reg{padding:12px 20px;font-size:15px}
  .hero-title{font-size:32px}
  .stat .val{font-size:30px}
  .desc{font-size:17px}
  .carousel{height:220px}
  .carousel .cap .l1{font-size:28px}
  .carousel .cap{left:20px;top:30px}
}

/* ===== SEO BLOCK (trap-текст) ===== */
.seo-block{max-width:900px;margin:24px 4px 0;color:#c7ccdd;line-height:1.6}
.seo-block h1{font-size:30px;font-weight:800;color:#fff;margin:8px 0 18px}
.seo-block h2{font-size:23px;font-weight:800;color:#fff;margin:26px 0 12px}
.seo-block h3{font-size:19px;font-weight:700;color:#eef;margin:20px 0 10px}
.seo-block p{font-size:16px;margin:0 0 14px}
.seo-block ul,.seo-block ol{margin:0 0 14px 22px}
.seo-block li{margin:6px 0}
.seo-block strong,.seo-block b{color:#eef}
.seo-block table{width:100%;border-collapse:collapse;margin:18px 0;font-size:15px;border-radius:10px;overflow:hidden}
.seo-block th{background:#1d2130;color:#f1a92b;text-align:left;padding:12px 14px;border-bottom:1px solid #2b3145}
.seo-block td{padding:12px 14px;border-bottom:1px solid #20263a}
.seo-block tr:nth-child(even) td{background:#151824}
