/* === Local Montserrat (self-hosted) === */

/* === Base Reset === */
*{font-family:'Montserrat',sans-serif;margin:0;padding:0;box-sizing:border-box}
html{width:100%;height:100%}
a{text-decoration:none;color:inherit;cursor:pointer}

/* === Grid === */
.grid{width:1280px;margin:0 auto}
@media(min-width:576px){.grid{width:540px}}
@media(min-width:768px){.grid{width:720px}}
@media(min-width:992px){.grid{width:960px}}
@media(min-width:1200px){.grid{width:1140px}}
@media(max-width:575px){.grid{width:94%}}

/* === Wrap (alt container) === */
.wrap{max-width:800px;margin:0 auto;padding:0 16px}


/* ============================================================
   TEMPLATE 9 (t9) — Dark green, card-grid, bordered sections
   ============================================================ */
body.t9{background:#0a1a10;color:#c4ddd0}

body.t9 header{background:linear-gradient(90deg,#0c2414,#143d22);padding:0;position:sticky;top:0;z-index:10}
body.t9 .header_wrap{display:flex;justify-content:space-between;align-items:center;height:58px}
body.t9 .header_logo{font-size:20px;font-weight:900;color:#6ee7b7;letter-spacing:1px;text-transform:uppercase}
body.t9 .header_btns{display:flex;gap:8px}
body.t9 .header_btns a{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 22px;border-radius:10px;font-size:13px;font-weight:700;transition:.2s ease}
body.t9 .btn-login{background:transparent;border:2px solid #10b981;color:#6ee7b7}
body.t9 .btn-login:hover{background:#10b981;color:#fff}
body.t9 .btn-reg{background:transparent;border:2px solid #6ee7b7;color:#6ee7b7}
body.t9 .btn-reg:hover{background:#6ee7b7;color:#0a1a10}

body.t9 .promo{margin:32px 0;text-align:center}
body.t9 .promo_inner{display:inline-flex;align-items:center;gap:16px;padding:16px 32px;border:2px solid rgba(16,185,129,.3);border-radius:40px;background:rgba(16,185,129,.04)}
body.t9 .promo_label{font-size:12px;color:#6ee7b7;font-weight:600;text-transform:uppercase}
body.t9 .promo_value{font-size:36px;font-weight:900;color:#10b981}
body.t9 .promo_cta{display:inline-block;padding:10px 24px;font-size:13px;font-weight:700;color:#fff;background:transparent;border:2px solid #10b981;border-radius:10px;transition:.2s ease}
body.t9 .promo_cta:hover{background:#10b981}

body.t9 .info-block{margin:0 0 32px}
body.t9 .info-block h1{font-size:20px;color:#6ee7b7;margin-bottom:20px;line-height:1.3;text-align:center}
body.t9 .info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
body.t9 .info-cell{display:flex;align-items:flex-start;gap:10px;border:1px solid rgba(16,185,129,.15);border-radius:12px;padding:14px;transition:.2s ease}
body.t9 .info-cell:hover{border-color:rgba(16,185,129,.3)}
body.t9 .info-icon{font-size:18px;flex-shrink:0}
body.t9 .info-label{font-size:11px;color:#10b981;font-weight:600;text-transform:uppercase;margin-bottom:3px;line-height:1.3}
body.t9 .info-value{font-size:13px;color:#c4ddd0;line-height:1.4}

body.t9 .content{margin-bottom:36px}
body.t9 .content section{margin-bottom:18px;padding:24px;border-radius:12px;border:1px solid rgba(16,185,129,.12);background:transparent}
body.t9 .content h1{font-size:25px;line-height:1.3;color:#6ee7b7;margin-bottom:18px}
body.t9 .content h2{font-size:21px;line-height:1.3;color:#6ee7b7;margin-bottom:14px}
body.t9 .content h3{font-size:17px;line-height:1.3;color:#10b981;margin-bottom:10px}
body.t9 .content p{line-height:1.65;margin-bottom:13px;color:#c4ddd0;font-size:15px}
body.t9 .content p:last-child{margin-bottom:0}
body.t9 .content ul,body.t9 .content ol{margin-bottom:16px;padding-left:26px}
body.t9 .content ul li,body.t9 .content ol li{margin-bottom:7px;line-height:1.5;color:#c4ddd0;font-size:15px}
body.t9 .content ul li::marker{color:#10b981}
body.t9 .content ol li::marker{color:#6ee7b7}
body.t9 .content strong,body.t9 .content b{color:#e8fce8;font-weight:700}
body.t9 .content table{width:100%;border-collapse:collapse;margin:14px 0;font-size:14px}
body.t9 .content td{border:1px solid rgba(16,185,129,.1);padding:8px 12px;line-height:1.4;color:#c4ddd0}
body.t9 .content th{font-weight:600;color:#6ee7b7;padding:9px 12px;text-align:left;border-bottom:2px solid rgba(16,185,129,.2)}
body.t9 .content .summary-box{overflow-x:auto;margin:14px 0}
body.t9 .content ol.steps,body.t9 .content ul.auth-methods{border:1px solid rgba(16,185,129,.1);border-radius:10px;padding:14px 14px 14px 32px;margin:14px 0}

body.t9 .cta-strip{text-align:center;margin:24px 0;padding:20px;border:1px solid rgba(16,185,129,.15);border-radius:12px}
body.t9 .cta-strip a{display:inline-flex;padding:10px 26px;font-size:13px;font-weight:700;color:#6ee7b7;border:2px solid #10b981;border-radius:10px;transition:.2s ease}
body.t9 .cta-strip a:hover{background:#10b981;color:#fff}

body.t9 time{display:block;text-align:center;font-size:12px;color:#5a7a66;padding:16px 0}

/* Футер — ОБЪЕДИНЁННЫЙ (убран дубль) */
body.t9 footer{text-align:center;padding:24px 0 16px;border-top:1px solid rgba(16,185,129,.15);margin-top:32px}
body.t9 footer small{font-size:12px;color:#5a7a66}


/* ============================================================
   E-E-A-T БЛОКИ (дополнительная стилистика)
   ============================================================ */

/* TOC - оглавление */
.toc-block{margin:24px 0;padding:20px;border:1px solid rgba(16,185,129,.2);border-radius:12px;background:rgba(16,185,129,.04)}
.toc-block h2{font-size:18px;color:#6ee7b7;margin-bottom:14px}
.toc-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.toc-list li{margin:0}
.toc-list a{display:block;padding:8px 12px;color:#c4ddd0;font-size:13px;border-radius:6px;transition:.2s;border-left:2px solid transparent}
.toc-list a:hover{background:rgba(16,185,129,.1);color:#6ee7b7;border-left-color:#10b981}

/* Блок эксперта (внизу) */
.expert-verification{background:linear-gradient(90deg,rgba(16,185,129,.08),rgba(110,231,183,.04));border-top:1px solid rgba(16,185,129,.2);padding:24px 0;margin:32px 0 0}
.expert-badge{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.expert-photo{width:64px;height:64px;border-radius:50%;border:2px solid #10b981;object-fit:cover;flex-shrink:0}
.expert-info strong{color:#6ee7b7;font-size:14px;display:block;margin-bottom:4px}
.expert-info p{font-size:12px;color:#c4ddd0;line-height:1.5;margin:0 0 2px}
.expert-date{color:#5a7a66 !important;font-size:11px !important}

/* Блок автора */
.author-bio{margin:24px 0 0;padding:24px;border:1px solid rgba(16,185,129,.2);border-radius:12px;background:rgba(16,185,129,.03)}
.author-bio-header{display:flex;align-items:center;gap:16px;margin-bottom:16px;flex-wrap:wrap}
.author-bio-photo{width:80px;height:80px;border-radius:50%;border:3px solid #10b981;object-fit:cover}
.author-bio-name{font-size:20px;font-weight:700;color:#6ee7b7;margin-bottom:4px}
.author-bio-title{font-size:13px;color:#10b981;font-weight:600}
.author-bio-text{font-size:14px;line-height:1.7;color:#c4ddd0;margin-bottom:16px}
.author-credentials{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.author-credential{padding:12px;border:1px solid rgba(16,185,129,.15);border-radius:8px;background:rgba(16,185,129,.02)}
.author-credential-title{font-size:11px;color:#5a7a66;text-transform:uppercase;font-weight:600;margin-bottom:4px}
.author-credential-value{font-size:13px;color:#6ee7b7;font-weight:700}
.author-credential-number{font-size:11px;color:#5a7a66;margin-top:2px;font-family:monospace}

/* Промокод блок */
.promo-code-block{display:flex;flex-direction:column;align-items:center;gap:12px;margin:24px 0;padding:24px;border:2px dashed rgba(16,185,129,.4);border-radius:16px;background:rgba(16,185,129,.05);text-align:center}
.promo-code-block .promo-title{font-size:16px;color:#6ee7b7;font-weight:700;text-transform:uppercase;letter-spacing:1px}
.promo-code-block .promo-code{font-size:32px;font-weight:900;letter-spacing:4px;color:#10b981;user-select:all;font-family:monospace}
.promo-code-block .promo-desc{font-size:13px;color:#c4ddd0;max-width:400px}
.copy-promo-btn{padding:10px 28px;font-size:14px;font-weight:700;background:#10b981;border:none;border-radius:10px;cursor:pointer;color:#0a1a10;transition:.2s}
.copy-promo-btn:hover{background:#6ee7b7}

/* Блок безопасности */
.security-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:20px 0}
.security-badge{border:1px solid rgba(16,185,129,.2);border-radius:12px;padding:16px;background:rgba(16,185,129,.03);text-align:center}
.security-badge .badge-icon{font-size:28px;margin-bottom:8px}
.security-badge .badge-title{color:#6ee7b7;font-weight:700;font-size:13px;margin-bottom:4px}
.security-badge .badge-desc{font-size:11px;color:#c4ddd0;line-height:1.4}
.security-badge .badge-number{font-size:10px;color:#5a7a66;margin-top:4px;font-family:monospace}

/* Блок членства */
.memberships-list{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.membership-item{flex:1;min-width:240px;border:1px solid rgba(16,185,129,.15);border-radius:10px;padding:14px;background:rgba(16,185,129,.02)}
.membership-item strong{color:#6ee7b7;font-size:13px;display:block;margin-bottom:4px}
.membership-item p{font-size:12px;color:#c4ddd0;line-height:1.4;margin:0}

/* Ответственная игра */
.responsible-gaming-logos{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;margin:16px 0}
.rg-logo{padding:8px 16px;border:1px solid rgba(16,185,129,.2);border-radius:8px;font-size:12px;font-weight:600;color:#6ee7b7;background:rgba(16,185,129,.04)}

/* Отзывы */
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin:20px 0}
.review-card{border:1px solid rgba(16,185,129,.15);border-radius:12px;padding:16px;background:rgba(16,185,129,.02)}
.review-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;flex-wrap:wrap;gap:4px}
.review-author{color:#6ee7b7;font-weight:700;font-size:13px}
.review-stars{color:#10b981;font-size:13px}
.review-text{font-size:13px;color:#c4ddd0;line-height:1.5;margin-bottom:6px}
.review-date{font-size:11px;color:#5a7a66}

/* Футер с бейджами */
.footer-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:16px}
.footer-badge{padding:6px 12px;border:1px solid rgba(16,185,129,.2);border-radius:6px;font-size:11px;color:#6ee7b7;background:rgba(16,185,129,.04);font-weight:600}
.footer-compliance{text-align:center;font-size:11px;color:#5a7a66;line-height:1.6;margin-bottom:12px}
.footer-compliance strong{color:#c4ddd0}

/* Ссылка на лицензию */
.license-link{color:#10b981;text-decoration:underline;font-weight:600}
.license-link:hover{color:#6ee7b7}

/* Hero бонус блок */
.hero-bonus{margin:32px 0;padding:40px 24px;background:linear-gradient(135deg,#0c2414 0%,#143d22 50%,#0a1a10 100%);border:2px solid rgba(16,185,129,.3);border-radius:20px;text-align:center;position:relative;overflow:hidden}
.hero-bonus::before{content:"";position:absolute;top:-50%;left:50%;transform:translateX(-50%);width:600px;height:600px;background:radial-gradient(circle,rgba(16,185,129,.15) 0%,transparent 70%);pointer-events:none;animation:pulse-glow 4s ease-in-out infinite}
@keyframes pulse-glow{0%,100%{opacity:.6;transform:translateX(-50%) scale(1)}50%{opacity:1;transform:translateX(-50%) scale(1.1)}}
.hero-bonus-inner{position:relative;z-index:1;max-width:600px;margin:0 auto}
.hero-bonus-badge{display:inline-block;padding:6px 16px;background:rgba(16,185,129,.2);border:1px solid rgba(16,185,129,.4);border-radius:20px;font-size:12px;font-weight:700;color:#6ee7b7;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:16px}
.hero-bonus-title{font-size:48px;font-weight:900;color:#fff;line-height:1.1;margin:0 0 8px;letter-spacing:-1px}
.hero-accent{color:#10b981;font-size:64px;text-shadow:0 0 30px rgba(16,185,129,.5)}
.hero-bonus-subtitle{font-size:18px;color:#c4ddd0;margin:0 0 24px;font-weight:500}
.hero-bonus-features{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:28px}
.hero-feature{padding:8px 14px;background:rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.2);border-radius:8px;font-size:13px;color:#c4ddd0;font-weight:500}
.hero-bonus-cta{display:inline-flex;align-items:center;gap:12px;padding:18px 48px;background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;font-size:18px;font-weight:800;text-transform:uppercase;letter-spacing:1px;border:none;border-radius:14px;cursor:pointer;transition:all .3s ease;box-shadow:0 8px 24px rgba(16,185,129,.4),inset 0 1px 0 rgba(255,255,255,.2);position:relative;overflow:hidden}
.hero-bonus-cta::before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .6s ease}
.hero-bonus-cta:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(16,185,129,.5),inset 0 1px 0 rgba(255,255,255,.3);background:linear-gradient(135deg,#14c98f 0%,#10b981 100%)}
.hero-bonus-cta:hover::before{left:100%}
.hero-bonus-cta:hover .cta-arrow{transform:translateX(4px)}
.hero-bonus-cta:active{transform:translateY(-1px)}
.cta-text{position:relative;z-index:1}
.cta-arrow{font-size:22px;transition:transform .3s ease;position:relative;z-index:1}
.hero-bonus-note{margin:16px 0 0;font-size:13px;color:#5a7a66}
.hero-bonus-note strong{color:#6ee7b7;font-weight:700}


/* ============================================================
   АДАПТИВНОСТЬ (объединённая)
   ============================================================ */
@media(max-width:768px){
    .hero-bonus{padding:32px 16px;margin:24px 0;border-radius:16px}
    .hero-bonus-title{font-size:36px}
    .hero-accent{font-size:48px}
    .hero-bonus-subtitle{font-size:16px}
    .hero-bonus-features{flex-direction:column;gap:8px;align-items:center}
    .hero-feature{width:100%;max-width:240px}
    .hero-bonus-cta{padding:16px 36px;font-size:16px;width:100%;max-width:320px;justify-content:center}
}

@media(max-width:480px){
    body.t9 .content section{padding:18px 12px}
    body.t9 .content h1{font-size:21px}
    body.t9 .content h2{font-size:18px}
    body.t9 .promo_value{font-size:28px}
    body.t9 .promo_inner{flex-direction:column;border-radius:16px;padding:20px}
    body.t9 .info-grid{grid-template-columns:1fr}
    body.t9 .header_btns a{padding:0 14px;font-size:12px}
    
    .hero-bonus-title{font-size:28px}
    .hero-accent{font-size:40px}
    .hero-bonus-badge{font-size:11px;padding:5px 12px}
    .expert-badge{flex-direction:column;text-align:center}
    .author-bio-header{flex-direction:column;text-align:center}
    .security-badges{grid-template-columns:1fr}
    .promo-code-block .promo-code{font-size:24px;letter-spacing:2px}
}

@media(max-width:370px){
    body.t9 .btn-reg{display:none}
}