/* ATK Mohun Bagan FC — clean, responsive, minimal-JS site */
:root{
  --bg:#0e1013;
  --surface:#13171c;
  --text:#e9edf1;
  --muted:#aeb6bf;
  --green:#198754;    /* club accent */
  --maroon:#7a1f2b;   /* club accent */
  --accent:linear-gradient(90deg,var(--maroon),var(--green));
  --ring:rgba(255,255,255,.12);
  --radius:18px;
  --shadow:0 20px 60px rgba(0,0,0,.35);
}

*{box-sizing:border-box; scroll-behavior: smooth;}
html,body{height:100%}
body{
  margin:0;
  font-family:Manrope,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  line-height:1.5;
  color:var(--text);
  background-color: #111;
}

img{max-width:100%; display:block}
.container{max-width: 1400px; margin-inline:auto; padding: 0 20px;}

/* -------- HERO -------- */
.hero{
  position:relative;
  overflow:hidden;
  /* isolation:isolate; */
  
}
.heroBG{
    position: absolute;
    inset: 0;
    width: 100%;
    object-fit: cover;

}

.hero__overlay{
  position:absolute; inset:0;
  background:
   linear-gradient(90deg, rgba(10,12,16,.90) 0% , rgba(10,12,16,.75) 42%, rgba(10,12,16,.3) 70%, rgba(10,12,16,0) 100%),
   radial-gradient(700px 400px at 20% 30%, rgba(122,31,43,.35), transparent 60%),
   radial-gradient(700px 400px at 45% 60%, rgba(25,135,84,.25), transparent 60%);
}
.hero__inner{
  position:relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(68vh, 72vh, 780px);
  gap: clamp(16px, 4vw, 48px);
}

.tag{
  display:inline-block; font-size:12px; letter-spacing:.12em; font-weight:800;
  color:#fff; padding:.5rem .75rem; border-radius:999px; background:var(--accent);
}
.hero__title{
  margin:12px 0 8px; line-height:1.05; text-wrap:balance;
  font-size: clamp(32px, 6vw, 64px); font-weight: 800;
  text-transform: uppercase; font-weight: 900;
}
.hero__subtitle{color:var(--muted); margin:0 0 18px; max-width:56ch}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap}

.btn{
  --pad-x:18px; --pad-y:12px;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:var(--pad-y) var(--pad-x); border-radius:14px; font-weight:800; text-decoration:none;
  box-shadow:0 12px 28px rgba(0,0,0,.25);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  will-change:transform;
}
.btn--primary{ background:var(--accent); color:#fff }
.btn--primary:hover{ transform: translateY(-2px) }
.btn--ghost{ background:transparent; color:#fff; border-color:var(--ring) }
.btn--ghost:hover{ border-color:#fff; transform: translateY(-2px) }
.btn--tiny{ --pad-x:14px; --pad-y:8px; font-weight:700; border-radius:10px; background:var(--surface); color:#fff; border:1px solid var(--ring) }
.btn--tiny:hover{ transform: translateY(-2px); border-color:#fff }

.hero__statpanel{
  margin-right: clamp(16px, 4vw, 40px);
  
}

.hero_rigth_img{
    width: 1200px;
    transform: translateY(50px);
    -webkit-transform: translateY(50px);
    -moz-transform: translateY(50px);
    -ms-transform: translateY(50px);
    -o-transform: translateY(50px);
}
.stat{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border:1px solid var(--ring);
  border-left:6px solid transparent;
  border-image: var(--accent) 1;
  padding:16px 16px 14px;
  border-radius:14px;
  backdrop-filter: blur(2px);
}
.stat__num{font-size: clamp(22px, 4.6vw, 32px); font-weight:800}
.stat__label{display:block; color:var(--muted); font-weight:600}

.hero__shape{ position:absolute; inset:auto 0 0 0; width:100%; height:48px; fill:var(--bg); }

/* -------- SECTION HEAD -------- */
.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin: 42px 0 18px}
.section-head h2{ font-size: clamp(22px, 4vw, 34px); margin:0 }
.link{ color:#fff; text-decoration:none; font-weight:700; border-bottom:2px solid transparent }
.link:hover{ border-color:#fff }

/* -------- NEWS CARDS -------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px }
.card{ background:var(--surface); border:1px solid var(--ring); border-radius:16px; overflow:hidden; box-shadow:var(--shadow) }
.card__media{ overflow:hidden }
.ratio-16x9{ aspect-ratio:16/9 } .ratio-3x4{ aspect-ratio:3/4 }
.card__media img{ width:100%; height:100%; object-fit:cover; transform: scale(1.02); transition: transform .35s ease }
.card:hover .card__media img{ transform: scale(1.07) }
.card__body{ padding:16px 16px 18px }
.eyebrow{ display:inline-block; padding:6px 10px; font-size:12px; font-weight:800; border-radius:999px; background:#222831; color:#cfd6dd; border:1px solid var(--ring) }
.eyebrow--green{ background: rgba(25,135,84,.15); color:#cfe7db; border-color: rgba(25,135,84,.35) }
.eyebrow--maroon{ background: rgba(122,31,43,.18); color:#f2d5da; border-color: rgba(122,31,43,.4) }
.card__title{ margin:10px 0 6px; font-size: clamp(16px, 2.4vw, 20px) }
.card__text{ color:var(--muted); margin:0 0 8px }

/* -------- FIXTURES -------- */
.fixtures{ padding: 8px 0 34px }
.fixture-list{ background:var(--surface); border:1px solid var(--ring); border-radius:16px; overflow:hidden }
.fixture{
  display:grid; grid-template-columns: 120px 1fr 1fr auto; align-items:center; gap:16px;
  padding:14px 16px;
}
.fixture time{ font-weight:800; font-size:18px }
.fixture .muted{ color:var(--muted); font-weight:600; font-size:13px }
.fixture__teams{ display:flex; align-items:center; gap:10px; font-weight:800 }
.team--home{ background:linear-gradient(90deg, rgba(122,31,43,.2), rgba(25,135,84,.2)); padding:.35rem .5rem; border-radius:8px; }
.vs{ color:var(--muted); font-weight:800; letter-spacing:.06em }
.fixture__meta{ color:var(--muted) }
.divider{ height:1px; background:var(--ring) }

/* -------- PLAYERS -------- */
.players{ padding: 10px 0 46px }
.grid-players{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px }
.player{ background:var(--surface); border:1px solid var(--ring); border-radius:16px; padding:12px; text-align:center; box-shadow:var(--shadow) }
.player__img img{ width:100%; height:100%; object-fit:cover; border-radius:12px }
.player__name{ margin:10px 0 2px; font-size: clamp(16px, 2.4vw, 20px) }
.player__role{ color:var(--muted); margin:0 }

/* -------- CTA -------- */
.cta{ padding: 36px 0 56px }
.cta__wrap{
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  background: linear-gradient(90deg, rgba(122,31,43,.35), rgba(25,135,84,.35));
  border:1px solid var(--ring); border-radius:18px; padding:22px;
}
.cta__text h2{ margin:0 0 6px; font-size: clamp(22px, 4vw, 30px) }
.cta__text p{ margin:0; color:var(--muted) }
.cta__actions{ display:flex; gap:12px; flex-wrap:wrap }



/* -------- Reveal on scroll -------- */
.reveal{ opacity:0; transform: translateY(16px); }
.reveal.is-visible{ opacity:1; transform:none; transition: opacity .6s ease, transform .6s ease }

/* -------- RESPONSIVE -------- */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns:1fr; align-items:end; min-height: clamp(60vh, 66vh, 680px) }
  .hero__statpanel{ margin: 0 16px 0 16px; width: 100%; grid-template-columns:repeat(3,1fr) }
  .pulse__grid{ grid-template-columns:1fr; }
  .cards{ grid-template-columns:1fr 1fr; }
  .grid-players{ grid-template-columns:repeat(2,1fr); }
  .fixture{ grid-template-columns: 100px 1fr auto; }
  .fixture__meta{ display:none }
  .gallery__grid{ grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 600px){
  .cards{ grid-template-columns:1fr; }
  .gallery__grid{ grid-template-columns: repeat(2,1fr); }
  .site-footer__inner{ flex-direction:column; align-items:flex-start }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .card__media img, .gallery__item img { transition:none }
  .reveal{ opacity:1; transform:none }
}


/* ---- Standings Snapshot ---- */
.standings{ padding: 12px 0 52px }
.standings__wrap{
  background: var(--surface);
  border:1px solid var(--ring);
  border-radius:16px;
  overflow:hidden;
}
.standings__legend{
  display:flex; gap:8px; align-items:center;
  padding:10px 12px; border-bottom:1px solid var(--ring);
  background: linear-gradient(90deg, rgba(122,31,43,.18), rgba(25,135,84,.18));
}
.legend{ display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:6px; font-weight:800; border:1px solid var(--ring) }
.legend--win{ background: rgba(25,135,84,.22) }
.legend--draw{ background: rgba(255,255,255,.06) }
.legend--loss{ background: rgba(122,31,43,.22) }

.table{ display:grid }
.row{
  display:grid; grid-template-columns: 40px 1fr repeat(5,64px) 70px;
  gap:10px; align-items:center;
  padding:12px 14px; border-bottom:1px solid var(--ring);
}
.row:last-child{ border-bottom:none }
.row--head{ background:#0f1419; font-weight:800; color:#cfd6dd }
.row .club{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.row .pts{ font-weight:900 }
@media (max-width: 760px){
  .row{ grid-template-columns: 30px 1fr 50px 50px 50px 50px 50px 56px; font-size: 14px }
}

/* ---- Tactics Board (fixed reveal) ---- */
.tactics{ padding: 10px 0 56px }
.tactics__grid{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:22px;
  background: var(--surface); border:1px solid var(--ring);
  border-radius:16px; padding:16px; overflow:hidden;  /* overflow чтобы не резался тень/скейл */
  will-change: transform, opacity;                    /* плавнее анимация */
}
.tactics__media{ border-radius:12px; overflow:hidden }
.tactics__media img{ width:100%; height:100%; object-fit:cover; transform:translateZ(0) }
.tactics__content{ padding:8px 6px }
.tactics__content h2{ margin:0 0 6px; font-size: clamp(22px, 4vw, 32px) }
.tactics__lead{ color:var(--muted); margin:0 0 10px }
.bullets{ list-style:none; padding:0; margin:12px 0 18px; display:grid; gap:10px }
.bullets li{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border:1px solid var(--ring); border-left:6px solid transparent; border-image: var(--accent) 1;
  padding:10px 12px; border-radius:12px;
}
.bullets li span{ font-weight:800; color:#fff }
.tactics__cta{ display:flex; gap:12px; flex-wrap:wrap }

@media (max-width: 980px){
  .tactics__grid{ grid-template-columns: 1fr }
}

/* ---- Top Scorers ---- */
.scorers{ padding: 8px 0 60px }
.scorers__list{
  list-style:none; margin:0; padding:0;
  display:grid; gap:12px;
}
.scorer{
  --pct: 0%;
  display:grid;
  grid-template-columns: 56px 1.3fr 1fr 110px;
  align-items:center; gap:14px;
  background: var(--surface);
  border:1px solid var(--ring);
  border-radius:14px;
  padding:12px;
}
.scorer__rank{
  width:44px; height:44px; display:grid; place-items:center;
  font-weight:900; font-size:18px; color:#fff;
  border-radius:10px;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.scorer__meta{ min-width:0 }
.scorer__name{ display:block; font-size:16px }
.scorer__role{ display:block; color:var(--muted); font-size:13px }

.scorer__bar{
  position:relative; height:12px; border-radius:999px; overflow:hidden;
  background: #0f1317; border:1px solid var(--ring);
}
.scorer__fill{
  position:absolute; inset:0 auto 0 0; width:var(--pct); height:100%;
  background: linear-gradient(90deg, rgba(122,31,43,.9), rgba(25,135,84,.9));
  box-shadow: inset 0 0 10px rgba(0,0,0,.35);
  border-right: 1px solid rgba(255,255,255,.35);
  transform: translateZ(0);
}
.scorer__stats{ text-align:right }
.scorer__goals{ font-weight:900; font-size:18px }

/* Responsive */
@media (max-width: 880px){
  .scorer{ grid-template-columns: 44px 1fr; align-items:start }
  .scorer__bar{ grid-column:1 / -1 }
  .scorer__stats{ grid-column:1 / -1; text-align:left }
}





.header{
    position: absolute;
    left: 0;right: 0;
    z-index: 1000;
}
.headerWrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.nav{

}
.ham{
    display: none;
}

.nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-left: 0;
    margin: 0;
}

.nav li{
    list-style: none;
}

.nav a{
    color: inherit;
    text-decoration: none;
    transition: .3s all linear;
    -webkit-transition: .3s all linear;
    -moz-transition: .3s all linear;
    -ms-transition: .3s all linear;
    -o-transition: .3s all linear;
}

.nav a:hover{
    color: #198754;
}

.stopScroll{
    overflow: hidden;
}
.logo{
    position: relative;
    z-index: 1000;
    width: 60px;
}
@media screen and (max-width: 800px) {
    .nav{
        position: fixed;
        inset: 0;
        background-color: #111;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;
        height: 100vh;
        z-index: 999;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transition: .3s all cubic-bezier(0.23, 1, 0.320, 1);
        -webkit-transition: .3s all cubic-bezier(0.23, 1, 0.320, 1);
        -moz-transition: .3s all cubic-bezier(0.23, 1, 0.320, 1);
        -ms-transition: .3s all cubic-bezier(0.23, 1, 0.320, 1);
        -o-transition: .3s all cubic-bezier(0.23, 1, 0.320, 1);
}
    .nav.active{
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
}

    .nav ul{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .ham {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: transform 400ms;
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
        display: flex;
        z-index: 1000;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.line {
  fill:none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke:#fff;
  stroke-width:5.5;
  stroke-linecap:round;
}
.ham7 .top {
  stroke-dasharray: 40 82;
}
.ham7 .middle {
  stroke-dasharray: 40 111;
}
.ham7 .bottom {
  stroke-dasharray: 40 161;
}
.ham7.active .top {
  stroke-dasharray: 17 82;
  stroke-dashoffset: -62px;
}
.ham7.active .middle {
  stroke-dashoffset: 23px;
}
.ham7.active .bottom {
  stroke-dashoffset: -83px;
}
.ham8 .top {
  stroke-dasharray: 40 160;
}
}


/*   НАСТРОЙКА SCROLL-BAR   */
::-webkit-scrollbar {
    width: 0.5em;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #257A4F;
}


::-webkit-scrollbar-thumb:active {
    background-color: #257A4F;
}


.footer{
    padding: 20px 0;
    border-top: 2px solid rgba(25, 135, 84, .3);
}

.footer-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    p{
        max-width: 700px;
        text-align: center;
        margin: 0;
    }
}

.socialLinks{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    i{
        color: #198754;
        font-size: 28px;
    }
}

.intoLinks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    span {
        width: 8px;
        height: 8px;
        background-color: #fff;
        border-radius: 50%;
    }
    a {
        transition: 0.3s all linear;
        transform-origin: left;
        color: #fff;
        text-decoration: none;
    }
    a:hover {
        text-decoration: underline;
        color: #198754;
    }
    }
    @media screen and (max-width: 750px) {
    .intoLinks {
        flex-direction: column;
        span {
        display: none;
        }
    }
}

.copy{
    text-align: center;
    opacity: .5;
}
.section-head{
    margin: 0;
}

@media screen and (max-width: 800px) {
    .hero__statpanel{
        display: none;
    }
    .hero__inner{
        align-items: center;
        min-height: 60vh;
        padding-top: 60px;
    }
    .heroBG{
        height: 100%;
    }
    .grid-players{
        grid-template-columns: repeat(1, 1fr);
    }
    .cta__wrap{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: 0;
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
    }
    .cta__text{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        p{
            text-align: center;
        }
    }
    .fixture-list{
        overflow-x: scroll;
    }
    .fixture-list::-webkit-scrollbar{
        height: 4px;
    }

    .standings__wrap{
        overflow-x: scroll;
    }
    .standings__wrap::-webkit-scrollbar{
        height: 4px;
    }
    .standings__legend{
        border-bottom: 0;
        background: transparent;
    }
}

.intosWrap{
    padding-top: 120px;
}