html, body{
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #141414;
}

body{
  position: relative;
  z-index: 0;
}

/* FIXED BACKGROUND */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  background: url("images/bg-image.png") center / cover no-repeat;
  z-index: -1;
}



*, *::before, *::after {
    box-sizing: inherit;
}

@font-face {
    font-family: 'Altron';
    src: url(Fonts/altron.ttf);
}

/* ---------- PANEL ---------- */
.panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 60px;
    padding: 0 10px;

    background: linear-gradient(to bottom, #141414 0%, transparent 100%);

    display: flex;
    flex-direction: row;
    align-items: center;

    z-index: 1000;
}

.panel-logo {
    width: 100px;
    height: 60px;
    margin-left: 50px;
    object-fit: contain;
}

.panel-title {
    color: #FFC400;
    margin-left: 10px;

    font-family: 'Altron', Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1;
    user-select: none;
}

.navbar {
    display: flex;
    margin: auto;
    gap: 50px;
    align-items: center;
    white-space: nowrap;
}

.navbar a{
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.navbar a::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background-color: #FFC400;
  transition: width 0.25s ease;
}

.navbar a:hover,
.navbar a.active{
  color: #FFC400;
}

.navbar a:hover::after,
.navbar a.active::after{
  width: 100%;
}

.lang-btn {
    margin-right: 50px;
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;

    padding: 6px 12px;
    background-color: #303030;
    border: 1px solid #2A2A2A;
    border-radius: 8px;

    transition: 0.3s ease;
    white-space: nowrap;
}

.lang-btn:hover {
    background-color: #FFC400;
    color: #000000;
    border-color: #FFC400;
}

.hamburger {
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-left: 5px;
    margin-right: 15px;

    height: 60px;
    cursor: pointer;
    gap: 6px;

    display: none;
}

.hamburger span {
    width: 30px;
    height: 3.3px;
    background-color: white;
    border-radius: 10px;
    display: block;
}

@media (max-width: 1024px) {
    .navbar { gap: 20px; }
    .panel-logo { margin-left: 30px; }
    .lang-btn { margin-right: 30px; }
}

@media (max-width: 768px) {
    .panel-logo {
        margin-left: 0px;
    }

    .navbar {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .lang-btn {
        margin-left: auto;
        margin-right: 30px;
        display: flex;
        align-items: center;
    }
}


@media (max-width: 480px) {
    .panel {
        height: 56px;
    }

    .hamburger {
        height: 56px;
        margin-left: 16px;
        margin-right: 10px;
        gap: 5px;
    }

    .hamburger span {
        width: 26px;
        height: 3px;
    }

    .lang-btn {
        margin-right: 16px;
        font-size: 13px;
        padding: 5px 10px;
    }
}

.menu-line {
    position: absolute;
    width: 100%;
    height: 10px;

    top: 60px;

    background-color: #00000044;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    min-height: -webkit-fill-available;
    background: #1a1a1ae8;
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    border-right: 0.7px solid #3e3e3e;
    z-index: 999;
    padding-top: 80px;
    transition: 0.35s ease;
    display: none;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a.menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 15px;
}

.mobile-menu a.admin-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 15px;
}

.mobile-menu .menu-icon {
    
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex: 0 0 20px;
}


@media (max-width: 768px) {
  .mobile-menu{
    display: flex;
    flex-direction: column;

    height: 100vh;
    box-sizing: border-box;      /* MUHIM: padding height ichida bo‘ladi */
    padding-top: 80px;
    padding-bottom: 16px;        /* pastda joy qolsin */
    overflow-y: auto;
  }

  .mobile-menu a{
    position: relative;
    display: block;
    padding: 15px 40px;
  }

  /* oddiy linklar tagida chiziq */
  .mobile-menu a::after{
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 2px;
    background: rgba(255,255,255,0.12);
  }

  .mobile-menu a.active::after{
    background: rgba(255,196,0,0.8);
  }

  /* Admin eng pastga */
  .mobile-menu .admin-menu{
    margin-top: auto;
  }

  /* Admin: pastdagi chiziq yo‘q */
  .mobile-menu .admin-menu::after{
    display: none;
  }

  /* Admin: tepada chiziq */
  .mobile-menu .admin-menu::before{
    content: "";
    position: absolute;
    left: 15px;
    right: 25px;
    top: 0;
    height: 2px;
    background: rgba(255,255,255,0.12);
  }
}


.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding-left: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

.mobile-menu a:hover {
    color:#FFC400;
}

.mobile-menu.active {
    left: 0;
}



.page{
  display: none;
  padding-top: 90px;
}

.page.active{
  display: block;
}

/*HOME - PAGE*/
#home{
  padding-top: 110px;
}

@media (max-width:768px) {
    #home {
        padding-top: 80px;
    }
}

.home-hero{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 100;
}

.home-badge{
  margin-bottom: 5px;
  color: #fff;
  font-family: 'Geosans', serif;
  letter-spacing: 2px;
  font-size: 16px;
  text-align: center;
  z-index: 100;
}

@font-face {
    font-family: 'TrajanPro';
    src: url('fonts/trajanpro_bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('fonts/FuturaBT-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Geosans';
    src: url('fonts/GeosansLight.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.home-title{
    margin: 0 0 5px 0;
    color: #E6D28A;
    font-family: 'Futura', serif;
    font-size: 50px;
    font-weight: 300;
    text-align: center;
    z-index: 100;
}

.home-text{
  margin: 0;
  color: #e0e0e0;
  font-family: 'Geosans', serif;
  font-size: 24.5px;
  font-weight: 300;
  text-align: center;
  line-height: 1.6;
  z-index: 100;
}

.home-buttons{
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.home-btn-ratings {
  text-decoration:none;
  padding:20px 20px;
  border-radius:14px;
  color: #E6D28A;
  font-family: 'Futura', serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 15px;
  letter-spacing:1px;
  z-index: 100;

  background: linear-gradient(
    135deg,
    rgba(65, 65, 65, 0.1),
    rgba(26, 26, 26, 0.02)
  );

  backdrop-filter: blur(3px) saturate(120%);
  -webkit-backdrop-filter: blur(3px) saturate(120%);

  border: 0.4px solid rgba(255,255,255,0.25);

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.15),
    inset 0 -1px 1px rgba(255,255,255,0.04),
    0 8px 30px rgba(0,0,0,0.35);

  transition: 0.35s ease;
}

.home-ratings-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;

    margin-top: 10px;
}

.player-ratings-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-ratings-image {
    width: 60px;
    height: 60px;
    background-color: #da8e005b;
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.home-ratings-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.home-ratings-number {
    position: absolute;
    margin-top: -10px;
    margin-left: -40px;
    background-color: #ffb25bcd;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 13px;
    padding: 3px 12px;
    border-radius: 20px;
}

.home-ratings-name {
    position: relative;
    margin-top: 5px;
    margin-left: 0;

    text-align: center;
    font-size: 13px;
}

.home-ratings-ball {
    position: relative;
    margin: 0;

    text-align: center;
    font-size: 13px;
}

.ratings-view-more {
    margin-top: 15px;
    padding: 10px 30px;

    background-color: #da8e00;


    display: flex;
    justify-content: center;
    align-items: center;

    color: #fff;
    text-decoration: none;
    font-family: 'Futura', Helvetica, sans-serif;
}


.home-btn{
  text-decoration:none;
  padding:20px 20px;
  border-radius:14px;
  color: #E6D28A;
  font-family: 'Futura', serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 15px;
  letter-spacing:1px;
  z-index: 100;

  background: linear-gradient(
    135deg,
    rgba(65, 65, 65, 0.1),
    rgba(26, 26, 26, 0.02)
  );

  backdrop-filter: blur(3px) saturate(120%);
  -webkit-backdrop-filter: blur(3px) saturate(120%);

  border: 0.4px solid rgba(255,255,255,0.25);

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.15),
    inset 0 -1px 1px rgba(255,255,255,0.04),
    0 8px 30px rgba(0,0,0,0.35);

  transition: 0.35s ease;
}

.home-btn-sub {
    font-size: 10px;
    font-weight: bolder;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}

.home-btn:hover{
  background: linear-gradient(
    135deg,
    rgba(50, 50, 50, 0.32),
    rgba(255,255,255,0.12)
  );
}

.home-btn.primary{
  background:#FFC400;
  color:#000;
  border-color:#FFC400;
}

.home-btn.primary:hover{
  filter:brightness(0.95);
}

@media(max-width:600px){
  .home-title{font-size: 50px;}
}

.join-group {
    width: 80%;
    height: 50px;

    background-color: #da8e00;
    border-radius: 15px;

    margin: 15px auto;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #242424;
    text-decoration: none;
    font-family: 'Futura', serif;
    font-weight: bold;

    transition: transform 0.35s ease, box-shadow 0.5s ease;
}

.join-group:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow:
    inset 0 -1px 0 rgba(255, 170, 0, 0.35),
    0 10px 28px rgba(255, 179, 0, 0.45);
}

.social-btns {
    width: 37%;
    height: auto;
    margin: 32px auto 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.telegram img {
    width: 35px;
    height: 35px;

    border-radius: 10px;
}

.instagram img {
    width: 35px;
    height: 35px;

    border-radius: 10px;
}

.youtube img {
    width: 35px;
    height: 35px;

    border-radius: 10px;
    background-color: #fff;
}

.end-text {
    margin: 0 auto 50px;
    color: #ffffff60;
    font-family: 'TrajanPro';
    text-align: center;
}

@media (min-width:768px) {
    .social-btns {
        width: 17%;
    }

    .end-text {
        color: #ffffffaa;
    }
}

/*--TOURNAMENTS PAGE--*/

.tournaments-content {
    position: relative;
    width: auto;
    height: auto;
    padding: 5px;
    margin-left: 25px;
    margin-right: 25px;
    background-color: #22222290;
    border-radius: 15px;
    border: 0.5px solid gray;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

@media (max-width: 768px) {
    .tournaments-content {
        margin-left: 15px;
        margin-right: 15px;
    }
}

.tournaments-title {
  font-size: 32px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #e1e1e1;
  margin: 0 0 0 15px;
}

.tournaments-line {
  margin-top: 5px;
  margin-bottom: 15px;
  margin-left: 15px;
  width: 140px;
  height: 4px;
  background: linear-gradient(90deg, #ff9900, transparent);
}

.tournaments-liga {
    margin: 0 25px 10px;
    display: flex;
    border-radius: 10px;
    border: 0.33px solid gray;
}

/* tab */
.liga-tab{
    /* layoutga TEGILMADI */
    flex: 1;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* visual */
    background: linear-gradient(180deg, #14141480, #0f0f0f80);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-right: 0.3px solid rgba(255,255,255,0.15);
    border-left: 0.3px solid rgba(255,255,255,0.15);
    border-radius: 10px;

    color: #cfcfcf;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;

    transition: background 0.25s ease, color 0.25s ease;
}

.liga-tab-text{
    font-size: 17px;
    margin-top: 14px;
    transition: color 0.25s ease;
}

/* line */
.liga-line{
    width: 94%;
    height: 4px;
    margin-top: auto;
    margin-bottom: 3px;

    background: #ffffff40;
    border-radius: 999px;

    transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* hover */
.liga-tab:hover{
    background: linear-gradient(180deg, #191919, #121212);
}
.liga-tab:hover .liga-tab-text{
    color: #ffffff;
}
.liga-tab:hover .liga-line{
    background: #ff8c00;
    box-shadow: 0 6px 16px rgba(255,140,0,0.45);
}

/* active */
.liga-tab.active{
    background: linear-gradient(180deg, #1d1d1d80, #14141480);
}
.liga-tab.active .liga-tab-text{
    color: #ffb25b;
}
.liga-tab.active .liga-line{
    background: #ff8c00;
    box-shadow: 0 6px 18px rgba(255,140,0,0.55);
}


@media (max-width:768px) {
    .tournaments-liga {
        margin-left: 15px;
        margin-right: 15px;
    }
}


.tournaments-list {
    width: 100%;
    height: 40px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

@media (max-width: 768px) {
    .tournaments-list {
        justify-content: space-between;
    }
}

.pos {
    width: 40px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    text-align: center;
}

.divx {
    width: 30px;
    height: 30px;
}

.team {
    width: 100px;
    margin-left: 20px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: start;
}

.pld {
    width: 40px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.gd {
    width: 40px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.pts {
    width: 40px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}



.tour-players {
    width: 100%;
    height: 50px;
    margin-bottom: 5px;

    background-color: #ffffff1c;
    border-radius: 10px;
    border: 0.7px solid #55555569;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

@media (max-width: 768px) {
    .tour-players {
        justify-content: space-between;
    }
}

.player-pos {
    width: 40px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 16px;
}

.club-logo {
    width: 30px;
}

.club-name {
    width: 100px;
    margin-left: 20px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: start;
    font-size: 16px;
}

.pld-value {
    width: 40px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 16px;
}

.gd-value {
    width: 40px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 16px;
}

.pts-value {
    width: 40px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 16px;
}

/*CHAMPIONS - PAGE*/
.champions-header {
    margin-bottom: 0;
    margin-left: 25px;
    margin-right: 25px;
}

.champions-title {
  font-size: 32px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #e1e1e1;
  margin: 0;
}

.champions-line {
  margin-top: 5px;
  width: 160px;
  height: 3px;
  background: linear-gradient(90deg, #ff9900, transparent);
}

@media (max-width:768px) {
    .champions-header {
        margin-left: 15px;
    }
}

.champions-list {
    width: auto;
    height: 500px;

    margin-top: 25px;
    margin-left: 25px;
    margin-right: 25px;
    border-radius: 20px;
}

@media (max-width:768px) {
    .champions-list {
        margin-left: 15px;
        margin-right: 15px;
    }
}

.champion-card {
    width: auto;
    height: auto;

    padding: 8px;
    margin-bottom: 20px;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    background: linear-gradient(135deg, #1b1b1b80, #0e0e0e80);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 14px;
}

.champion-poster {
    position: relative;
    width: 130px;
    height: 170px;
    margin-left: 5px;
    border-radius: 14px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .champion-poster {
        width: 260px;
        height: 340px;
        margin-left: 5px;
    }
}

/* IMG */
.champion-poster img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    transition: transform 0.3s ease;
    z-index: 10;
}

/* MASK */
.champion-poster-mask {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background-color: #00000061;

    display: flex;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 20;
}

/* HOVER */
.champion-poster:hover .champion-poster-mask {
    opacity: 1;
}

.champion-poster:hover img {
    transform: scale(1.04);
}

.champion-content {
    width: auto;
    height: 170px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.champion-content h2 {
    color: white;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 23px;
}

.champion-content a {
    padding: 10px 17px;

    background-color: #FFC400;
    color: #1e1e1e;
    border-radius: 10px;

    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 15px;
    text-decoration: none;

    transition: transform 0.25s ease, box-shadow 0.5s ease;
}

.champion-content a:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow:
        0 7px 14px rgba(255, 140, 0, 0.45),
        0 3px 6px rgba(255, 140, 0, 0.35);
}

@media (min-width: 768px) {
    .champion-content {
        height: 340px;
        gap: 120px;
    }

    .champion-content a {
        font-size: 20px;
    }

    .champion-content h2 {
        font-size: 48px;
        margin: 25px 0 0 0;
    }
}

/* === MODAL ROOT === */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  pointer-events: none;
}

/* === BACKDROP === */
.modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* === MODAL BOX === */
.modal-box {
  position: relative;
  margin: 30px auto 0;

  width: min(600px, 92vw);
  min-height: 120px;

  background: #141414;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);

  transform: translateY(20px) scale(0.97);
  opacity: 0;

  transition:
    transform 0.35s cubic-bezier(.2,.8,.2,1),
    opacity 0.25s ease;

  box-shadow:
    0 30px 80px rgba(0,0,0,0.6);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 36px;
    height: 36px;
    border-radius: 10px;

    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;

    font-size: 22px;
    line-height: 1;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.18);
    transform: scale(1.05);
}

/* === ACTIVE STATE === */
.modal.active {
  pointer-events: auto;
}

.modal.active .modal-backdrop {
  opacity: 1;
}

.modal.active .modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* === BODY LOCK === */
body.modal-open {
  overflow: hidden;
}

.champion-year {
    margin: 25px 0 20px 25px;
    color: #FFC400;
    font-size: 32px;
    font-family: Arial, Helvetica, sans-serif;
}

.liga-container {
    width: auto;
    /* height: 50px;  ← olib tashlanadi */
    margin: 0 25px 10px;

    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 50px;
    gap: 30px;

    overflow-x: auto;
    white-space: nowrap;
}

.champions-liga {
    display: flex;
    flex-direction: column;
}

.champions-liga img {
    width: 60px;
    height: 60px;
}

.champions-liga h2 {
    width: 60px;
    color: white;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;

    text-align: center;
}

.liga-content { display: none; }
.liga-content.active { display: block; }


/*RATINGS - PAGE*/

/* ===== RATINGS ===== */
.ratings{
  padding: 60px 0;
}

/* header – TOURNAMENTS ga o‘xshash */
.ratings-header {
    margin-top: 30px;
    margin-bottom: 15px;
    margin-left: 25px;
    margin-right: 25px;
}

.ratings-title{
  font-size: 32px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #e1e1e1;
  margin: 0;
}

.ratings-line{
  margin-top: 5px;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff9900, transparent);
}

@media (max-width:768px) {
    .ratings-header {
        margin-left: 15px;
    }
}

/* list */
.rating-list{
  display: flex;
  flex-direction: column;
  margin-left: 25px;
  margin-right: 57px;
  gap: 8px;
}

@media (max-width:768px){
    .rating-list {
        margin-left: 10px;
        margin-right: 45px;
    }
}

/* Panel */
.rating-panel {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  height: 50px;
  padding: 0 16px;

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  border-radius: 10px;
  background: #12121280;
  border: 1px solid rgba(255,255,255,0.08);
}

/* position */
.r-pos{
  width: 50px;
  font-size: 13px;
  font-weight: 600;
  font-weight: 700;
  font-family: Arial;
  color: #fff;
}

/* avatar */
.r-avatar{
  width: 44px;
  height: 44px;

  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.r-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* name */
.r-name {
  flex: 0.8;
  font-size: 15px;
  font-weight: 600;
  font-family: Arial;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* games */
.r-games {
  width: 48px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  font-family: Arial;
  color: #eaeaea;
}

/* nation */
.r-nation {
  width: 48px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  font-family: Arial;
  color: #eaeaea;
}

/* points */
.r-points {
  width: 60px;
  text-align: center;
  font-size: 13px;
  
  font-weight: 600;
  font-family: Arial;
  color: #ffffff;
}

@media (max-width:768px) {
    /* position */
    .r-pos{
        width: 32px;
        font-size: 13px;
        font-weight: 600;
        font-weight: 700;
        font-family: Arial;
        color: #fff;
    }
    
    /* avatar */
    .r-avatar{
        width: 44px;
        height: 44px;
        margin-right: 14px;
        
        border-radius: 12px;
        overflow: hidden;
        background: transparent;
    }
    
    .r-avatar img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* name */
    .r-name{
        flex: 1;
        font-size: 13px;
        font-weight: 600;
        font-family: Arial;
        color: #ffffff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* games */
    .r-games {
        width: 48px;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        font-family: Arial;
        color: #eaeaea;
    }
    
    /* nation */
    .r-nation {
        width: 48px;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        font-family: Arial;
        color: #eaeaea;
    }
    
    /* points */
    .r-points {
        width: 60px;
        text-align: center;
        font-size: 13px;
        
        font-weight: 600;
        font-family: Arial;
        color: #ffffff;
    }
}

/* row */
.rating-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  height: 62px;
  padding: 0 16px;

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  border-radius: 14px;
  background: #3434344e;
  border: 1px solid rgba(255,255,255,0.08);

  transition: background-color .2s ease;
}

.rating-row:hover {
  background-color: rgba(255,255,255,0.07);
}

/* position */
.rating-pos {
  width: 15px;
  max-width: 35px;
  margin-left: 5px;
  margin-right: 15px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

/* avatar */
.rating-avatar  {
  width: 44px;
  height: 44px;
  margin-right: 16px;

  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.rating-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* name */
.rating-name {
  flex: 0.8;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* age */
.rating-games {
  width: 48px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #eaeaea;
}

/* nation */
.rating-nation {
  width: 48px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #eaeaea;
}

/* points */
.rating-points {
  width: 60px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

@media (max-width:768px) {
    .rating-avatar {
        margin-right: 10px;
    }

    .rating-pos {
        margin-right: 12px;
    }

    .rating-name {
        flex: 1;
        font-size: 14px;

        font-weight: 500;
        min-width: 0;

        white-space: normal;       /* nowrap ni o‘chir */
        overflow: hidden;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;     /* 2 qator */
        line-height: 1.25;
    }
}