/* ============================================================
   Responsive rules — tuned for Bengali text length
   ============================================================ */

@media(min-width:701px) and (max-width:980px){
  :root{font-size:13px}
  .header-inner{height:64px;gap:10px;justify-content:space-between}
  .brand{font-size:17px;gap:4px}
  .brand img{width:25px;height:25px}
  .brand b{font-size:11px;padding:1px 4px}
  .desktop-nav{display:none}
  .header-actions{gap:12px}
  .header-actions .small{font-size:9px;padding:8px 9px;border-radius:9px;min-height:30px}
  .icon-button i{width:18px;height:18px}
  .mobile-nav{display:flex;justify-content:space-around;height:62px;border-bottom:1px solid #293940}
  .mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;position:relative;width:19%}
  .mobile-nav a i{width:19px;height:19px}
  .mobile-nav a.active{color:var(--green)}
  .mobile-nav a.active:after{content:'';position:absolute;bottom:0;height:3px;width:100%;background:var(--green);border-radius:3px}
  .top-grid{grid-template-columns:1fr}
  .top-grid aside{display:block;margin-top:1rem}
  .table-panel{margin-top:0}
  .table-panel table{font-size:.8rem}
  .table-panel table{width:min(100%,36rem);margin-inline:auto}
  .table-panel th{font-size:.66rem}
  .table-team{font-size:.76rem}
  .table-team img{width:1.9rem;height:2.1rem}
  .news-item{grid-template-columns:8rem 1fr}
  .news-item>img{height:5.2rem}
  .matches{grid-template-columns:repeat(4,1fr)}
  .schedule-row{grid-template-columns:7.6rem 8rem minmax(0,1fr) 6.4rem 7rem}
  .domestic .league-card{min-height:7.6rem}
  .teams{grid-template-columns:repeat(7,1fr)}
  .app-promo>.phone{width:11.2rem;min-width:11.2rem;height:19.8rem}
  .app-copy h2{font-size:1.65rem}
  .app-features span{font-size:.7rem}
}

@media(max-width:700px){
  :root{font-size:14px}
  .container,.header-inner{width:calc(100% - 28px)}
  .header-inner{height:64px;gap:7px;justify-content:space-between}
  .brand{font-size:16px;gap:3px}
  .brand img{width:24px;height:24px}
  .brand b{font-size:11px;padding:1px 4px}
  .desktop-nav{display:none}
  .header-actions{gap:9px}
  .header-actions .small{font-size:8.5px;padding:8px 7px;border-radius:9px;min-height:29px}
  .icon-button i{width:17px;height:17px}
  .mobile-nav{display:flex;justify-content:space-around;height:64px;border-bottom:1px solid #293940}
  .mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;position:relative;width:19%}
  .mobile-nav a i{width:19px;height:19px}
  .mobile-nav a.active{color:var(--green)}
  .mobile-nav a.active:after{content:'';position:absolute;bottom:0;height:3px;width:100%;background:var(--green);border-radius:3px}

  .hero{background:linear-gradient(90deg,#030c12f5,#030c12b8 55%,#030c1200 92%),linear-gradient(0deg,#050d11 5%,transparent 42%),url('../images/hero.webp') 66% top/auto 340px no-repeat}
  .hero-inner{min-height:410px;padding-top:30px;padding-bottom:16px;justify-content:flex-start}
  .eyebrow{font-size:12px;margin-bottom:8px}
  h1{font-size:26px;line-height:1.32;max-width:330px}
  h1 br{display:none}
  h1 em{display:block}
  h1 em{color:var(--green)}
  .intro{font-size:12px;line-height:1.55;max-width:280px;margin:10px 0 15px}
  .desktop-break{display:none}
  .hero-buttons{display:flex;flex-direction:column;gap:8px;width:300px;max-width:100%}
  .hero-buttons .button{min-height:42px;font-size:11.5px;padding:8px;border-radius:10px}
  .hero-buttons .outline{font-size:11px;min-height:38px}
  .benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
  .benefits span{display:flex;flex-direction:column;gap:6px;text-align:center;font-size:11px;line-height:1.25}
  .benefits i{width:42px;height:42px;padding:9px;border-radius:12px}

  .content{padding-top:0}
  .top-grid{display:block}
  .top-grid aside{display:block;margin-top:24px}
  .section-heading{margin-bottom:12px;align-items:center}
  .section-heading h2{font-size:20px}
  .section-heading p{display:none}
  .live-dot{width:15px;height:15px}
  .mobile-more{display:block;white-space:nowrap;font-size:11px}
  .matches{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-right:-14px;padding-right:14px;gap:12px;scrollbar-width:none}
  .matches::-webkit-scrollbar{display:none}
  .match{flex:0 0 72%;padding:0 12px 12px;scroll-snap-align:start;border-radius:10px}
  .match-league{font-size:12px;padding:7px;margin:0 -12px 10px}
  .score-row{min-height:96px}
  .team img{width:35px;height:39px;margin-bottom:4px}
  .team span{font-size:11.5px;line-height:1.25}
  .score b{font-size:23px;margin-top:10px}
  .live-tag{font-size:9px;padding:2px 4px}
  .match-time{font-size:10.5px;margin:4px 0 8px}
  .match .button{font-size:10.5px;min-height:31px}
  .primary>section+section{margin-top:26px}

  .schedule-heading{display:block}
  .tabs{margin-top:12px;gap:7px;overflow-x:auto;scrollbar-width:none}
  .tabs button{font-size:11px;padding:5px 14px}
  .tabs button:last-child{display:block}
  .schedule{border:0;border-radius:0;display:grid;gap:10px}
  .schedule-row{display:grid;grid-template-columns:1fr 1.1fr;border:1px solid #35454e!important;border-radius:9px;padding:10px;gap:7px;font-size:12px}
  .schedule-date{grid-column:1/-1;font-size:11px;display:block;line-height:1.5}
  .schedule-date br{display:block}
  .schedule-league{grid-column:1/-1;font-size:11px;margin-top:-3px}
  .fixture{grid-column:1/-1;border-top:1px solid #34444c;padding-top:7px}
  .fixture span{font-size:11.5px;gap:6px}
  .fixture img{width:28px;height:31px}
  .fixture b{font-size:10px}
  .remind,.schedule-row .button{min-height:32px;font-size:10.5px;border-radius:8px}
  .remind i{width:18px;height:18px}

  .domestic{display:flex;overflow-x:auto;gap:10px;padding-bottom:6px;scrollbar-width:none;margin-right:-14px;padding-right:14px}
  .domestic::-webkit-scrollbar{display:none}
  .domestic .league-card{min-width:140px;min-height:112px}
  .league-card strong{font-size:13px}
  .league-card small{font-size:10.5px}
  .league-mark{width:30px;height:32px}

  .table-panel{padding:12px 10px}
  .table-panel h2{font-size:18px}
  .league-caption{font-size:11px}
  .table-panel table{font-size:11px}
  .table-panel th{font-size:9.5px}
  .table-team{font-size:10.5px}
  .table-team img{width:22px;height:25px}
  .rank{width:20px;height:20px;font-size:9px}
  .news h2{font-size:18px}
  .news-item{grid-template-columns:100px 1fr}
  .news-item>img{height:68px}
  .news-item button{font-size:12px}
  .category{font-size:9px}
  .news-item small{font-size:9.5px}

  .international{margin-top:24px}
  .international-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
  .international-grid .league-card{min-height:92px;padding:6px 3px}
  .international-grid .league-card strong{font-size:10.5px}
  .international-grid .league-mark{width:26px;height:28px}
  #equipos{margin-top:22px}
  .teams{display:flex;overflow-x:auto;gap:10px;padding-bottom:6px;scrollbar-width:none;margin-right:-14px;padding-right:14px}
  .teams::-webkit-scrollbar{display:none}
  .team-item{flex:0 0 64px}
  .team-item img{width:48px;height:52px;border-radius:10px}
  .team-item span{font-size:9.5px}

  .bottom-grid{display:block;margin-top:20px}
  .app-promo{min-height:252px;padding:24px 12px 0;gap:10px}
  .phone{width:100px;min-width:100px;height:205px;padding:13px 5px 5px;border-radius:21px 21px 5px 5px;margin-top:9px}
  .mini-brand{font-size:5px}
  .mini-brand b{font-size:4px}
  .phone-photo{height:70px}
  .phone-league{font-size:6.5px;padding:5px 0}
  .phone-rows>div{font-size:5.5px;padding:3px 0}
  .phone-rows img{width:12px;height:13px}
  .play-button{width:34px;height:34px;font-size:15px}
  .app-copy h2{font-size:18px}
  .app-copy h2 br{display:none}
  .app-copy p{font-size:10.5px;line-height:1.45}
  .app-features{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:9px 0}
  .app-features span{font-size:8.5px;line-height:1.25}
  .app-features i{width:23px;height:23px;padding:5px}
  .app-copy>.button{font-size:10px;padding:7px 4px;min-height:34px;width:100%}
  .app-copy>.button i{width:16px;height:16px}
  .app-copy>small{font-size:7px}

  .highlights{margin-top:18px;padding:12px}
  .highlights h2{font-size:18px}
  .highlight-grid{gap:10px}
  .highlight-grid h3{font-size:11px;line-height:1.35}
  .highlight-grid p{font-size:8.5px}
  .video-cover .play-button{width:32px;height:32px;font-size:15px}

  .faq{margin-top:22px}
  .faq h2{font-size:18px;margin-bottom:9px}
  .faq-grid{display:block}
  .faq details{font-size:11px;margin-bottom:6px}
  .faq summary{padding:8px}
  .faq details p{font-size:11.5px}

  .footer-top{display:block;padding-top:8px}
  .footer-top nav{margin-top:14px;gap:12px}
  .footer-top nav button{font-size:9.5px}
  .footer-top .brand{font-size:16px}
  .footer-top p{font-size:9.5px;margin-left:2.2rem}
  .copyright{font-size:8.5px;padding:8px;line-height:1.55}
  .footer-social{margin-top:10px;gap:10px}

  .download-dialog{width:calc(100% - 14px);max-width:390px;padding:0 20px 20px;border-radius:17px;max-height:92dvh;top:auto;bottom:0;margin:auto auto 10px}
  .download-dialog::backdrop{background:#02080c15;backdrop-filter:none}
  .modal-visual{height:170px}
  .modal-phone{top:33px;left:50%;width:116px;min-width:116px;height:192px;transform:translateX(-30%) rotate(10deg)}
  .modal-phone .phone-photo{height:80px}
  .android-tile{left:32px;bottom:4px;border-radius:11px;padding:10px}
  .android-tile i{width:36px;height:36px}
  .download-dialog h2{font-size:22px;line-height:1.3}
  .download-dialog>p{font-size:12.5px;margin:9px 0 13px;line-height:1.5}
  .download-dialog>.button{min-height:43px;font-size:12px;padding:8px 6px;border-radius:10px}
  .download-dialog #download-status{font-size:9px;margin:6px 0}
  .close{font-size:30px;right:13px;top:8px}
  .info-dialog{width:calc(100% - 24px);padding:22px}
  .info-dialog h2{font-size:20px}
  .info-dialog p{font-size:12.5px;line-height:1.6}
}

@media(max-width:360px){
  .header-inner{width:calc(100% - 18px);gap:4px}
  .brand{font-size:14px}
  .brand img{width:21px;height:21px}
  .brand b{font-size:9px;padding:1px 3px}
  .header-actions{gap:6px}
  .header-actions .small{font-size:7.5px;padding:6px 5px}
  .icon-button i{width:15px;height:15px}
  h1{font-size:23px}
  .hero-inner{min-height:400px}
  .hero-buttons{width:100%}
  .match{flex-basis:78%}
  .app-promo{gap:8px;padding-left:9px}
  .app-copy h2{font-size:17px}
  .app-features span{font-size:7px}
  .team-item{flex-basis:60px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
