/* ==========================================================================
   JoinBit — адаптив (мовою донорів)
   ========================================================================== */

@media (max-width:1180px){
  .nav{gap:14px}
  .nav a{font-size:13.5px}
  .ent-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:991px){
  :root{--header-h:66px}
  .header__inner{height:66px}
  .nav,.header__actions .btn--outline{display:none}
  .burger{display:grid}
  .header__actions{margin-left:auto}
  .logo__text{font-size:19px}

  .hero{grid-template-columns:1fr;gap:22px;padding-top:10px}
  .hero-banner{padding:22px 22px 22px 42%;min-height:200px}

  .promo-grid{grid-template-columns:1fr;gap:10px}
  .promo-card{min-height:180px}
  .promo-card__art{width:44%;max-width:160px}
  .promo-card__body{margin-left:42%;min-height:165px;padding:14px 12px 14px 0}

  .game-panels{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .sports{grid-template-columns:repeat(2,1fr)}

  .cta-banner__main{grid-template-columns:1fr;min-height:0}
  .cta-banner__left{padding:24px}
  .cta-banner__right{min-height:170px}
  .cta-banner__bottom{padding:14px 24px;justify-content:center}

  .review{grid-template-columns:1fr}
  .score{position:static}
  .phones{grid-template-columns:repeat(2,1fr)}
  .phones .phone-frame:last-child{display:none}

  .footer__top{grid-template-columns:1fr;gap:22px;text-align:left}
  .footer__col{display:grid;grid-template-columns:1fr 1fr;gap:2px 14px}
  .footer__col h3{grid-column:1/-1}
  .footer__bottom{flex-direction:column;align-items:flex-start;gap:6px}
}

@media (max-width:767px){
  body{font-size:15px}

  .toc{height:44px}
  .toc__label{display:none}
  .toc__items a{font-size:12px;padding:3px 9px}

  .hero__lead{font-size:15px}
  .hero__actions .btn{flex:1 1 100%}
  .hero-banner{
    flex-direction:column;text-align:center;
    padding:22px 18px 140px;min-height:0;
  }
  .hero-banner__content{text-align:center}
  .hero-banner__art{left:50%;transform:translateX(-50%);bottom:0;width:130px;font-size:58px}
  .hero-banner .btn{width:100%}

  .stats{grid-template-columns:1fr 1fr}
  .stats li:nth-child(1),.stats li:nth-child(2){border-bottom:1px solid var(--c-border)}

  .game-grid{grid-template-columns:repeat(3,1fr)}
  .ent-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .data-table{grid-template-columns:1fr}

  .content{padding:20px 16px}
  .content table{font-size:12.5px}
  .content th,.content td{padding:8px 9px}

  .cookie{flex-direction:column;align-items:stretch;gap:10px;bottom:66px}
  .cookie__actions{justify-content:flex-end}
  .sticky-cta{display:flex}
  .to-top{bottom:74px}
  .footer{padding-bottom:80px}
}

@media (max-width:575px){
  .logo__text{font-size:17px}
  .hero h1{font-size:clamp(1.5rem,7vw,1.9rem)}
  .hero__sub{font-size:15px}
  .hero-banner__value{font-size:1.9rem}

  .promo-card__art{width:100%;max-width:180px;opacity:.35}
  .promo-card__body{margin-left:0;padding:16px;min-height:170px}

  .game-grid{grid-template-columns:repeat(2,1fr)}
  .sports{grid-template-columns:1fr}
  .phones{grid-template-columns:1fr}
  .phones .phone-frame:last-child{display:block}

  .cta-banner__left h2{font-size:1.35rem}
  .cta-banner__bottom span{font-size:11px}
  .footer__col{grid-template-columns:1fr}
}

@media (max-height:520px) and (orientation:landscape){
  .hero-banner__art{display:none}
  .hero-banner{padding:18px}
}

@media print{
  .header,.toc,.cookie,.sticky-cta,.to-top,.hero-banner{display:none !important}
  body{background:#fff;color:#000}
  .content,.promo-card,.faq__item,.game-panel,.cta-banner{box-shadow:none;border:1px solid #ccc;background:#fff;color:#000}
}
