.inner-page,.login-page { min-height:100vh; background:#070811; }
.nav .is-current { color:#a970ff; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.blog-hero { min-height:570px; padding-top:150px; display:grid; grid-template-columns:1fr .9fr; align-items:center; overflow:hidden; }
.blog-hero h1 { margin:0; font-size:clamp(60px,6.4vw,96px); line-height:.92; letter-spacing:-.065em; text-transform:uppercase; }
.blog-hero h1 em { color:#9d5cff; font-style:normal; }
.blog-hero > div:first-child > p:last-child { max-width:570px; color:#aeb2c6; font-size:18px; line-height:1.6; }
.blog-hero__art { align-self:end; position:relative; height:470px; overflow:hidden; }
.blog-hero__art::before { content:""; position:absolute; inset:15% 5% 0; border-radius:50%; background:#6f28ff; filter:blur(100px); opacity:.3; }
.blog-hero__art img { position:absolute; z-index:1; width:92%; right:-4%; bottom:-18%; filter:drop-shadow(0 30px 50px #000); }
.blog-hero__art span { position:absolute; z-index:2; right:2%; top:22%; padding:14px 18px; border:1px solid rgba(200,190,240,.25); border-radius:14px; background:rgba(12,13,24,.75); color:#d8daea; font-size:12px; line-height:1.5; backdrop-filter:blur(14px); }
.blog-content { padding-block:55px 90px; }
.blog-filter { display:flex; gap:8px; margin-bottom:28px; }
.blog-filter::-webkit-scrollbar { display:none; }
.blog-filter button { cursor:pointer; padding:11px 17px; border:1px solid var(--line); border-radius:999px; color:#b8bbce; background:#10121e; }
.blog-filter button.is-active { color:#fff; border-color:#8b4cff; background:#6e34e8; box-shadow:0 8px 24px rgba(111,47,238,.3); }
.featured-post { display:grid; grid-template-columns:1.25fr .75fr; min-height:440px; overflow:hidden; border:1px solid var(--line); border-radius:26px; background:#10121d; }
.featured-post__image { position:relative; overflow:hidden; }
.featured-post__image::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent 55%,#10121d); }
.featured-post__image img { width:100%;height:100%;object-fit:cover; }
.featured-post__copy { align-self:center; padding:45px; }
.post-tag { display:inline-block; padding:6px 10px; border-radius:7px; color:#bd91ff; background:rgba(128,64,255,.15); font-size:11px; font-weight:700; }
.post-meta { color:#787d94!important; font-size:11px!important; }
.featured-post h2 { margin:14px 0; font-size:35px; line-height:1.08; letter-spacing:-.04em; }
.featured-post__copy > p:not(.post-meta) { color:#a9adbf; line-height:1.6; }
.post-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:22px; }
.post-card { overflow:hidden; border:1px solid var(--line); border-radius:22px; background:#10121d; }
.post-card__visual { height:225px; overflow:hidden; position:relative; }
.post-card__visual img { width:100%;height:100%;object-fit:cover; }
.purple-card { padding:28px; background:radial-gradient(circle at 80% 20%,#a861ff,#3b137f 42%,#111322 75%); }
.purple-card span { color:rgba(255,255,255,.28); font-size:70px; font-weight:800; }
.purple-card b { position:absolute; left:30px; bottom:28px; font-size:26px; line-height:1; }
.globe-card img { mix-blend-mode:screen; transform:scale(1.18); }
.post-card__body { padding:23px; }
.post-card__body h2 { min-height:54px; margin:12px 0; font-size:21px; line-height:1.25; }
.post-card__body > p:not(.post-meta) { min-height:44px; color:#9296aa; font-size:13px; line-height:1.55; }
.post-card__body > a { color:#c49aff; font-size:13px; font-weight:700; }
.blog-subscribe { margin-top:55px; padding:42px; display:flex; justify-content:space-between; align-items:center; border:1px solid rgba(165,112,255,.28); border-radius:25px; background:radial-gradient(circle at 85% 50%,rgba(112,42,245,.2),transparent 35%),#10111e; }
.blog-subscribe h2 { margin:0; font-size:32px; }.blog-subscribe p:not(.eyebrow){color:#9ca0b4;}
.blog-subscribe form { width:min(470px,45%); display:flex; gap:8px; }
.blog-subscribe input { min-width:0; flex:1; padding:0 18px; border:1px solid var(--line); border-radius:15px; color:#fff; background:#090a12; outline:0; }.blog-subscribe input:focus{border-color:#8c51ff;}
.login-page { background:linear-gradient(90deg,rgba(5,6,13,.9),rgba(5,6,13,.5)),url("images/ChatGPT Image 23 сент. 2026 г., 15_19_44.61c3af18fbde.png") center/cover fixed; }
.login-page .site-header { width:min(1180px,calc(100% - 48px)); }.login-back{color:#c7cadb;font-size:13px;}
.login-main { width:min(1180px,calc(100% - 48px)); min-height:100vh; margin:auto; padding:120px 0 55px; display:grid; grid-template-columns:1fr 480px; align-items:center; gap:60px; }
.login-scene { align-self:stretch; position:relative; overflow:hidden; }.login-scene__copy{position:relative;z-index:2;padding-top:90px;}
.login-scene h1 { margin:0; font-size:62px;line-height:.98;letter-spacing:-.055em;}.login-scene h1 em{color:#9d5cff;font-style:normal}.login-scene__copy>p:last-child{max-width:430px;color:#aeb2c6;font-size:17px;line-height:1.55}.login-scene img{position:absolute;width:68%;right:-2%;bottom:-12%;opacity:.75;filter:drop-shadow(0 20px 45px #000)}
.login-panel { position:relative;padding:42px;border:1px solid rgba(192,180,230,.28);border-radius:28px;background:linear-gradient(145deg,rgba(36,34,57,.88),rgba(10,11,20,.94));box-shadow:0 30px 80px rgba(0,0,0,.48);backdrop-filter:blur(24px); }
.login-panel__head{text-align:center;margin-bottom:28px}.login-mark{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 17px;border-radius:17px;color:#d5b4ff;background:linear-gradient(145deg,#7432f3,#381174);box-shadow:0 0 30px rgba(125,51,255,.45);font-size:27px;font-weight:800}.login-panel__head .eyebrow{margin-bottom:12px}.login-panel h2{margin:0;font-size:34px}.login-panel__head>p:last-child{margin:9px 0;color:#aeb1c4}
.auth-button{width:100%;height:66px;margin-top:12px;padding:0 18px;display:grid;grid-template-columns:44px 1fr 24px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:17px;color:#fff;background:#121422;cursor:pointer;transition:.2s}.auth-button:hover{transform:translateY(-2px);border-color:#9459ff}.auth-button--telegram{border:0;background:linear-gradient(110deg,#5441f5,#9b43ff);box-shadow:0 13px 30px rgba(107,52,245,.3)}.auth-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.13);font-size:20px}.auth-divider{height:45px;display:flex;align-items:center;gap:12px;color:#757a91;font-size:11px}.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:var(--line)}.auth-register{margin:0;padding:17px;text-align:center;border-radius:13px;background:rgba(255,255,255,.035);color:#9ea2b6;font-size:13px}.auth-register a{color:#ad71ff}.auth-benefits{display:flex;justify-content:space-between;margin-top:28px;color:#9ca0b4;font-size:11px}.auth-benefits span::first-letter{color:#9c5cff}
@media(max-width:1080px){.blog-hero{grid-template-columns:1fr;min-height:700px}.blog-hero__art{position:absolute;right:0;top:140px;width:55%;opacity:.48}.blog-hero>div:first-child{position:relative;z-index:2}.featured-post{grid-template-columns:1fr}.featured-post__image{height:300px}.featured-post__image::after{background:linear-gradient(0deg,#10121d,transparent 60%)}.post-grid{grid-template-columns:1fr 1fr}.blog-subscribe{display:block}.blog-subscribe form{width:100%;margin-top:25px}.login-main{grid-template-columns:1fr 440px}.login-scene h1{font-size:50px}}
@media(max-width:650px){.blog-hero{min-height:570px;padding-top:120px;align-items:start}.blog-hero h1{font-size:47px}.blog-hero>div:first-child>p:last-child{max-width:330px;font-size:14px}.blog-hero__art{width:85%;height:300px;top:285px;right:-18%}.blog-hero__art span{display:none}.blog-content{padding-top:30px}.blog-filter{max-width:100%;overflow:auto;padding-bottom:5px;scrollbar-width:none}.blog-filter button{white-space:nowrap;font-size:11px}.featured-post{display:block}.featured-post__image{height:220px}.featured-post__copy{padding:25px}.featured-post h2{font-size:27px}.post-grid{grid-template-columns:1fr}.post-card__body h2,.post-card__body>p:not(.post-meta){min-height:0}.blog-subscribe{padding:28px 22px}.blog-subscribe h2{font-size:26px}.blog-subscribe form{display:block}.blog-subscribe input,.blog-subscribe .button{width:100%;height:54px}.blog-subscribe .button{margin-top:9px}.login-page .site-header{width:calc(100% - 28px)}.login-back{font-size:11px}.login-main{width:calc(100% - 28px);display:block;padding-top:100px}.login-scene{display:none}.login-panel{padding:27px 18px;border-radius:23px}.login-panel h2{font-size:29px}.auth-benefits{gap:8px;font-size:9px}}

/* Django/API integration */
.auth-button[disabled]{opacity:.55;cursor:not-allowed;transform:none}.auth-button small{margin-left:auto;padding:4px 8px;border:1px solid rgba(255,255,255,.12);border-radius:20px;color:#9992a5;font-size:10px}.auth-state{min-height:24px;margin:12px 0;color:#aaa3b2;font-size:12px;line-height:1.5;text-align:center}.auth-state.is-error{color:#ff8c9b}.auth-state.is-success{color:#b7ef37}.auth-confirm[hidden]{display:none}
