:root{--bg:#140c29;--surface:#1b1640;--primary:#7a3bcf;--primary-2:#a879ff;--text:#e9e6f7;--muted:#b9b3d9;--border:#3a3158;--success:#34d399;--danger:#ef4444;--header-h:72px}
html{scroll-behavior:smooth}
*{box-sizing:border-box}
html,body{min-height:100%}
body{margin:0;background:linear-gradient(180deg,#3E0A5A 0%,#1F0530 45%,#0B0116 100%);background-repeat:no-repeat;background-attachment:fixed;background-size:cover;color:var(--text);font-family:"Rubik",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;padding-top:var(--header-h)}
.content [id],.article [id],section[id],h1[id],h2[id],h3[id]{scroll-margin-top:calc(var(--header-h) + 12px)}
.hidden{display:none}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.admin-tabs{background:rgba(22,17,43,.55);border:1px solid var(--border);border-radius:16px;padding:12px;backdrop-filter:blur(10px) saturate(140%);box-shadow:0 12px 28px rgba(0,0,0,.35),0 0 0 1px rgba(122,59,207,.18) inset}
.admin-tabs .btn{border-radius:14px;border:1px solid rgba(168,121,255,.45);background:linear-gradient(180deg,rgba(122,59,207,.18) 0%,rgba(22,17,43,.45) 100%);color:#fff;box-shadow:0 8px 20px rgba(122,59,207,.25),0 0 0 1px rgba(122,59,207,.25) inset}
.admin-tabs .btn:hover{background:linear-gradient(180deg,rgba(122,59,207,.28) 0%,rgba(22,17,43,.55) 100%);transform:translateY(-1px)}
.admin-tabs .btn.active{background:linear-gradient(180deg,rgba(168,121,255,.35) 0%,rgba(22,17,43,.6) 100%);border-color:#a879ff;box-shadow:0 12px 28px rgba(168,121,255,.35),0 0 0 1px rgba(168,121,255,.35) inset;color:#ffd54f}
.tab{background:rgba(22,17,43,.55);border:1px solid var(--border);border-radius:16px;padding:16px;margin-top:16px;backdrop-filter:blur(8px) saturate(140%);box-shadow:0 10px 24px rgba(0,0,0,.35),0 0 0 1px rgba(122,59,207,.15) inset}
.tab h2{color:#ffd54f;margin-top:0}
.comment-form{background:rgba(22,17,43,.6)}
#pEditor{min-height:420px}
.ql-container{min-height:420px}
.ql-editor{min-height:380px}
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:200}
.modal{width:520px;max-width:90%;background:rgba(27,22,64,.85);border:1px solid var(--border);border-radius:10px;padding:16px;box-shadow:0 24px 48px rgba(0,0,0,.4);backdrop-filter:blur(8px)}
.modal-overlay.hidden{display:none}
.modal-success{display:flex;align-items:center;gap:10px;font-weight:700;color:#fff}
.modal-icon{width:26px;height:26px;border-radius:50%;background:var(--success);display:inline-flex;align-items:center;justify-content:center;color:#fff}
.modal-icon::before{content:"✓";font-size:18px}
.auth-wrapper{min-height:calc(100vh - var(--header-h));display:flex;align-items:center;justify-content:center;padding:24px}
.auth-card{width:520px;max-width:92%;background:rgba(22,17,43,.6);border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:0 20px 44px rgba(0,0,0,.35),0 0 0 1px rgba(122,59,207,.18) inset;backdrop-filter:blur(10px) saturate(140%)}
.auth-card h2{margin:0 0 12px;color:#ffd54f}
.auth-form{display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px}
.auth-form .field{display:flex;flex-direction:column}
.auth-form input{background:#1a1533;border:1px solid var(--border);border-radius:10px;color:var(--text);padding:12px}
.auth-form button{align-self:stretch}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;border-radius:10px;text-decoration:none;font-weight:700;transition:all .2s ease}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:#6c2bc7;transform:translateY(-1px)}
.btn-secondary{background:transparent;color:#fff;border:1px solid var(--primary);backdrop-filter:saturate(140%) blur(6px)}
.btn-secondary:hover{background:rgba(122,59,207,.15);transform:translateY(-1px)}
.site-header{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(18,11,36,.75);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.brand{display:flex;align-items:center;gap:0;color:#fff;text-decoration:none}
.brand img{height:44px;width:auto;border-radius:8px;object-fit:contain;border:1px solid var(--border);background:transparent}
.nav-links{display:flex;gap:20px}
.nav-links a{color:var(--muted);text-decoration:none;font-weight:600}
.nav-links a:hover{color:#fff}
.dropdown{position:relative;display:inline-block}
.dropdown-content{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);background:rgba(122,59,207,0.5);border:2px solid #ffd54f;border-radius:12px;padding:12px;min-width:300px;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,0.4);backdrop-filter:blur(8px);z-index:10;animation:fadeIn 0.3s ease-in-out}
.dropdown-row{display:flex;align-items:center;justify-content:center;gap:10px}
.dropdown-content img{max-width:60px;height:auto}
.dropdown-content p{color:#fff;font-weight:700;font-size:16px;margin:0}
.dropdown-content .btn-primary{background:linear-gradient(to bottom,#cfa36a,#5a3814);color:#fff;border:1px solid rgba(255,255,255,0.2);padding:10px 16px;font-size:14px;border-radius:10px;position:relative;overflow:hidden;box-shadow:0 12px 24px rgba(0,0,0,0.35)}
.dropdown-content .btn-primary:hover{filter:brightness(1.08);transform:translateY(-1px)}
.dropdown:hover .dropdown-content, .dropdown.open .dropdown-content{display:block}
@keyframes fadeIn{from{opacity:0;transform:translate(-50%,-10%)}to{opacity:1;transform:translateX(-50%)}}
.header-actions{display:flex;gap:12px}
.hero{padding:26px 0 6px}
.hero-inner{display:flex;flex-direction:column;gap:20px}
.hero-banner{width:100%;height:420px;object-fit:cover;border-radius:18px;border:1px solid var(--border);box-shadow:0 30px 60px rgba(122,59,207,.15)}
.hero-cta{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;width:100%}
.hero-cta .btn{width:100%;padding:16px 24px;font-size:18px}
.cta-bar{background:rgba(22,17,43,.6);border:1px solid var(--border);border-radius:18px;margin:12px 0;padding:14px;box-shadow:0 16px 32px rgba(0,0,0,.35),0 0 0 1px rgba(122,59,207,.18) inset;backdrop-filter:blur(10px) saturate(160%)}
.cta-bar .cta-inner{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center}
.cta-bar .cta-title{font-weight:800;color:#ffd54f}
.cta-bar .btn{width:100%;padding:14px 18px}
.btn-shimmer{position:relative;overflow:hidden;box-shadow:0 20px 40px rgba(122,59,207,.35),0 2px 8px rgba(122,59,207,.45)}
.btn-shimmer::after{content:"";position:absolute;top:0;left:-140%;width:140%;height:100%;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.6) 50%,rgba(255,255,255,0) 100%);transform:skewX(-20deg);animation:shimmer 2s ease-in-out infinite;mix-blend-mode:screen}
.btn-shimmer::before{content:"";position:absolute;inset:-8px;pointer-events:none;background:radial-gradient(120px 60px at 20% 50%,rgba(168,121,255,.45),rgba(168,121,255,0) 60%),radial-gradient(120px 60px at 80% 50%,rgba(122,59,207,.35),rgba(122,59,207,0) 60%);filter:blur(6px);animation:pulseGlow 3s ease-in-out infinite}
@keyframes shimmer{0%{left:-140%}60%{left:140%}100%{left:140%}}
@keyframes pulseGlow{0%{opacity:.65}50%{opacity:1}100%{opacity:.65}}
.breadcrumb{background:transparent;border:0}
.breadcrumb .container{padding:10px 20px;background:rgba(22,17,43,.6);border:1px solid var(--border);border-radius:18px;margin-top:16px}
.breadcrumb ol{list-style:none;margin:0;padding:0;display:flex;gap:8px;color:#ffd54f;font-weight:700}
.breadcrumb ol li{display:flex;align-items:center}
.breadcrumb ol li+li::before{content:"»";color:#ffd54f;margin:0 6px}
.breadcrumb a{color:#ffd54f;text-decoration:none;font-weight:700}
.breadcrumb a:hover{color:#fff}
.content{display:grid;grid-template-columns:280px 1fr;gap:26px;padding:26px 0}
.toc{position:sticky;top:86px;align-self:start;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px;margin:12px 0 24px}
.toc h3{margin:0 0 10px;font-size:16px}
.toc a{display:block;color:var(--muted);text-decoration:none;padding:8px 10px;border-radius:8px}
.toc a:not(.active):hover{color:#fff;background:#1d1734}
.toc a.active{color:#ffd54f;background:rgba(255,255,255,0.1);font-weight:700}
.toc a.active:hover{color:#ffd54f;background:rgba(255,255,255,0.1)}
.article{display:flex;flex-direction:column;gap:26px}
.article h2{margin:0 0 10px;text-align:center}
.article h3{text-align:center}
h1,h2,h3,h4,h5,h6{text-align:center;color:#ffd54f}
.inline-img{width:100%;border-radius:12px;border:1px solid var(--border)}
.post-content img{max-width:100%;height:auto;display:block;margin:12px auto;border-radius:12px;border:1px solid var(--border)}
.feature-list{margin:0;padding-left:20px}
.table-wrap{width:100%;overflow-x:auto}
.info-table{width:100%;border:2px solid #ffd54f;border-radius:14px;border-collapse:separate;border-spacing:0;background:rgba(22,17,43,.45);backdrop-filter:blur(8px)}
.info-table thead th{background:#1d1734;color:#ffd54f;font-weight:700;text-align:left;padding:12px 14px;border-bottom:1px solid #3a3158}
.info-table tbody td{padding:12px 14px;border-bottom:1px solid #2a2441;color:var(--text)}
.info-table tbody tr:last-child td{border-bottom:0}
.bullet{margin:0;padding-left:22px}
.bullet li{margin:6px 0}
.bullet li::marker{color:#ffd54f}
.numbered{margin:12px 0 0;padding-left:22px}
.numbered li{margin:6px 0}
.numbered li::marker{color:#ffd54f}
.article #faq details{background:rgba(22,17,43,.55);border:1px solid var(--border);border-radius:16px;padding:14px 16px;backdrop-filter:blur(12px) saturate(140%);box-shadow:0 10px 24px rgba(0,0,0,.35),0 0 0 1px rgba(122,59,207,.15) inset;transition:all .25s ease}
.article #faq details+details{margin-top:14px}
.article #faq details[open]{background:linear-gradient(180deg,rgba(122,59,207,.18) 0%,rgba(22,17,43,.55) 100%);border-color:#6c2bc7;box-shadow:0 18px 40px rgba(122,59,207,.28),0 0 0 1px rgba(168,121,255,.25) inset}
.article #faq summary{cursor:pointer;font-weight:700;color:#ffd54f;display:flex;align-items:center;gap:10px;list-style:none}
.article #faq summary::-webkit-details-marker{display:none}
.article #faq summary::after{content:"";margin-left:auto;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#a879ff,#7a3bcf);box-shadow:0 0 0 2px rgba(122,59,207,.35) inset;transform:rotate(0deg);transition:transform .25s ease}
.article #faq details[open] summary::after{transform:rotate(180deg)}
.article #faq .answer{position:relative;margin-top:12px;padding-top:12px}
.comments{padding-bottom:40px}
.comments-header{display:flex;align-items:center;justify-content:space-between}
.comment-form{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px}
.comment-form .field{display:flex;flex-direction:column}
.comment-form .field:nth-child(3){grid-column:1/-1}
.comment-form input,.comment-form textarea{background:#1a1533;border:1px solid var(--border);border-radius:10px;color:var(--text);padding:12px}
.comment-form button{grid-column:1/-1}
.form-status{margin-top:6px;color:var(--muted)}
.comment-list{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.comment-list li{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px}
.site-footer{border-top:1px solid var(--border);background:transparent;margin-top:20px}
.footer-grid a{font-weight:700;color:#fff}
.footer-grid a:hover{color:#fff}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:26px 0}
.subscribe{display:flex;gap:10px}
.subscribe input{flex:1;background:#1a1533;border:1px solid var(--border);border-radius:10px;color:var(--text);padding:12px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-top:1px solid var(--border);color:var(--muted)}
.awards{display:flex;gap:12px;flex-wrap:wrap}
.rolling-cards{position:relative}
.rolling-cards .band{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(22,17,43,.35);backdrop-filter:blur(12px) saturate(160%);box-shadow:0 20px 44px rgba(0,0,0,.35),0 0 0 1px rgba(122,59,207,.18) inset}
.rolling-cards .band::before{content:"";position:absolute;inset:0;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.12) 0%,rgba(255,255,255,0) 35%),linear-gradient(0deg,rgba(255,255,255,0) 70%,rgba(255,255,255,.08) 100%);pointer-events:none}
.rolling-cards .band::after{content:"";position:absolute;inset:0;border-radius:18px;background:radial-gradient(120px 60px at 10% 40%,rgba(168,121,255,.22),rgba(168,121,255,0) 60%),radial-gradient(160px 80px at 85% 20%,rgba(122,59,207,.18),rgba(122,59,207,0) 60%),radial-gradient(180px 90px at 50% 85%,rgba(122,59,207,.16),rgba(122,59,207,0) 60%);opacity:.35;animation:driftStars 36s linear infinite;pointer-events:none}
.rolling-cards .track{display:flex;gap:0;align-items:center;min-width:max-content;width:100%;box-sizing:border-box;padding:18px 22px;animation:marquee 22s linear infinite;perspective:800px}
.rolling-cards .track:hover{animation-play-state:paused}
.rolling-item{position:relative;flex:0 0 auto;width:160px;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;font-weight:800;color:#fff;border:1px solid #ff2aa1;border-radius:0;clip-path:polygon(12% 0,100% 0,88% 100%,0 100%);background:#0d1b3d;box-shadow:0 0 12px rgba(255,42,161,.6),0 0 24px rgba(255,42,161,.35);transform-style:preserve-3d;transition:transform .25s ease,box-shadow .25s ease,filter .25s ease}
.rolling-item+.rolling-item{margin-left:-8px}
.rolling-item::before{display:none}
.rolling-item::after{display:none}
.rolling-item:hover{transform:translateY(-4px) rotateX(4deg) rotateY(-4deg);box-shadow:0 0 16px rgba(255,42,161,.8),0 0 32px rgba(255,42,161,.45)}
.rolling-item:nth-child(2n){background:#0d1b3d}
.rolling-item:nth-child(3n){box-shadow:inherit}
.rolling-cards .fade{position:absolute;top:0;bottom:0;width:120px;pointer-events:none}
.rolling-cards .fade.left{left:0;background:linear-gradient(90deg,rgba(22,17,43,1) 0%,rgba(22,17,43,0) 100%)}
.rolling-cards .fade.right{right:0;background:linear-gradient(90deg,rgba(22,17,43,0) 0%,rgba(22,17,43,1) 100%)}
.rolling-badge{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;padding:2px;background:conic-gradient(from 0deg,#ffd54f,#a879ff,#7a3bcf,#ffd54f);box-shadow:0 0 18px rgba(168,121,255,.28)}
.rolling-badge .inner{display:grid;place-items:center;width:100%;height:100%;border-radius:inherit;background:rgba(22,17,43,.35);backdrop-filter:blur(6px) saturate(160%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.rolling-icon{width:48px;height:48px;stroke:#ffd54f;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px rgba(168,121,255,.35))}
.rolling-text{font-size:14px;line-height:1.2;background:linear-gradient(135deg,#ffffff 0%,var(--primary-2) 50%,var(--primary) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 14px rgba(168,121,255,.12)}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@keyframes driftStars{0%{background-position:0 0}100%{background-position:-600px 0}}
.rolling-icon{width:48px;height:48px;stroke:#ffd54f;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px rgba(168,121,255,.35))}
.rolling-text{font-size:14px;line-height:1.2}
.service-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.service-link{display:inline-flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-weight:700}
.service-link svg{width:14px;height:14px}
@media (max-width:980px){.content{grid-template-columns:1fr}.toc{position:relative;top:auto}}
@media (max-width:980px){.toc{margin:18px 12px 28px}.article{margin:0 12px 26px}}
@media (max-width:640px){.nav-links{display:none}.footer-grid{grid-template-columns:1fr}.hero-banner{height:260px}.comment-form{grid-template-columns:1fr}.container{padding:0 24px}.site-header .container{padding:0 28px}.header-inner{padding:14px 0}.site-header{position:fixed;top:0;left:0;right:0;margin:0;border-radius:0}.hero{padding:24px 0 12px}.content{padding:24px 0;gap:22px;margin-top:12px}.breadcrumb{margin:8px 0 12px}.breadcrumb .container{padding:12px 24px;margin-top:18px}.comment-form{padding:18px}.footer-grid{gap:16px}.toc{padding:16px;margin:24px 16px 30px}.article{gap:24px;margin:0 16px 28px}}
@media (max-width:640px){.rolling-item{width:120px;height:120px}.rolling-cards .fade{width:80px}.rolling-cards .track{gap:0;padding:14px 16px;margin:0}.rolling-icon{width:38px;height:38px}.rolling-badge{width:50px;height:50px}}
