@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

:root {
  --body: #f0f2f5;
  --white: #ffffff;
  --whiteTint1: #f4f4f4;
  --green: #25960e;
  --black: #000000;
  --grey: #ededed;
  --yellow: #e8b86d;
  --lightYellow: #fdebd0;
  --redExtralight: #f9ebea;
  --redlight: #bf392b;
  --red: #a43025;
  --text: #d9d9d9;
  --muted: #8a97b0;
  --border: #dddfe2;
  --nunito-font: "Nunito", sans-serif;
  --font-size: 14px;
  --radius: 10px;
  --box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--body);
  font-family: var(--nunito-font);
  font-size: var(--font-size);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
body.scroll {
  overflow: hidden;
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.3;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
p,
li {
  font-size: var(--font-size);
}
a {
  color: var(--black);
  text-decoration: none;
}
a:hover {
  color: var(--red);
}
input,
button,
select,
textarea {
  font-family: var(--nunito-font);
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1350px;
  margin: 0 auto;
  padding-inline: 15px;
}

/*No Bullets*/
.no-bullets ul,
.no-bullets ol {
  padding-left: 0;
  list-style: none;
}

.list-border-none ol li,
.list-border-none ul li {
  border: none;
}

.pb-10 {
  padding-bottom: 10px;
}
.pb-20 {
  padding-bottom: 20px;
}

.relative {
  position: relative;
}

/* Dropdown Button */
.dropbtn {
  background-color: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  min-width: 140px;
  position: absolute;
  right: 0;
  background-color: var(--white);
  padding: 5px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
}
.dropdown-content.show {
  display: block;
}
.dropdown-content a {
  color: var(--black);
  font-size: 13px;
  padding: 5px 0;
  display: block;
  text-decoration: none;
}
.dropdown-content a:hover {
  color: var(--red);
}

/* TOPBAR */
.announcement {
  background-color: var(--redlight);
  overflow: hidden;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  padding: 6px 0;
  flex-wrap: wrap;
  gap: 5px;
}
/* SLIDER */
.headline-slider {
  position: relative;
  flex: 1;
  min-height: 20px;
}
.headline {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.headline a {
  display: block;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.headline.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* WEATHER */
.weather {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 20px;
  white-space: nowrap;
  border-radius: 50px;
}
.weather .icon {
  display: inline-block;
  font-style: normal;
  margin-right: 3px;
  transform: rotate(-45deg);
}
.ajax-loader{
  text-align: center;
}
.ajax-loader img{
  margin: auto;
  text-align: center;
  display: block;
}
/* MOBILE */
@media (min-width: 992px) {
  .wrapper .weather {
    display: none;
  }
  .markets-toggle,
  .players-toggle {
    max-height: 97dvh;
    overflow: hidden;
    overflow-y: auto;
  }
}
@media (max-width: 991px) {
  body.scroll:after {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 999;
    content: "";
    opacity: 0.5;
  }
  .nav-item.players-btn {
    font-size: 16px;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 6px;
  }
  .headline-slider {
    width: 100%;
  }
  .topbar .weather {
    display: none;
  }
  .weather {
    display: flex;
    justify-content: center;
    gap: 5px;
    background: var(--white);
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
  }
  .weather .icon {
    transform: none;
  }
}

/*Logo*/
.logo {
  display: inline-block;
}
.logo a {
  display: inline-block;
}
.logo a img {
  width: auto;
  height: auto;
  max-height: 82px;
  filter: drop-shadow(0px 0px 10px white);
}

.hero .logo {
  position: absolute;
  top: 50%;
  left: 35px;
  z-index: 1;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

/*Header*/
.menu-button {
  width: 22px;
  height: 18px;
  display: none;
  cursor: pointer;
}
.menu-button.active {
  z-index: 101;
}
.menu-button span {
  position: relative;
  background-color: var(--black);
  width: 100%;
  height: 2px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
/* .menu-button.active span:nth-child(1) {
  -moz-transform: rotate(45deg) translate(5px, 5px);
  -o-transform: rotate(45deg) translate(5px, 5px);
  -ms-transform: rotate(45deg) translate(5px, 5px);
  -webkit-transform: rotate(45deg) translate(5px, 5px);
  transform: rotate(45deg) translate(5px, 5px);
} */
.menu-button span:nth-child(2) {
  margin: 5px 0;
}
/* .menu-button.active span:nth-child(2) {
  opacity: 0;
}
.menu-button.active span:nth-child(3) {
  -moz-transform: rotate(-45deg) translate(5px, -5px);
  -o-transform: rotate(-45deg) translate(5px, -5px);
  -ms-transform: rotate(-45deg) translate(5px, -5px);
  -webkit-transform: rotate(-45deg) translate(5px, -5px);
  transform: rotate(-45deg) translate(5px, -5px);
} */
@media (max-width: 991px) {
  .menu-button {
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
  }
}

/* BANNER */
.banner {
  position: relative;
  width: 100%;
  height: 280px;
  border-bottom-right-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  overflow: hidden;
}
.banner img,
.banner video,
.banner iframe {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: top;
  vertical-align: middle;
}

/* GRID */
.wrapper {
  display: grid;
  grid-template-columns: 312px calc(100% - 670px) 312px;
  align-items: start;
  gap: 24px;
  padding: 15px 0;
}

.flex-gap {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.header_outer .header_main {
  position: absolute;
  left: 33px;
  top: 80px;
  z-index: 999;
}
.players-toggle {
  gap: 15px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  header .nav-item.players-btn {
    display: none;
  }
  .close_btn {
    display: none;
  }
  aside.left,
  aside.right {
    position: sticky;
    top: 15px;
    height: fit-content;
  }
}

@media (max-width: 991px) {
  body {
    --body: #fff;
  }
  .header_outer .header_main {
    position: static;
  }
  .header_outer {
    padding-block: 6px;
    background: var(--body);
  }
  .card-style {
    background: var(--white);
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
  }

  .profile-toggle,
  .trending-toggle,
  .markets-toggle,
  .players-toggle {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* max-height: calc(100% - 120px); */
    margin-inline: auto;
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
    overflow: auto;
    transition: all 0.3s ease-in-out;
    /* padding: 40px 15px;
    background-color: var(--body);*/
    border-radius: 0;
    border: 0;
  }
  .profile-toggle {
    width: 270px;
    top: 7.5rem;
    right: 15px;
    left: initial;
    transform: translate(100%, 0);
  }
  .trending-toggle,
  .markets-toggle {
    top: 0;
    transform: translate(-100%, 0);
    /* transform: translate(0, -100%); */
  }
  .players-toggle {
    transform: translate(100%, 0);
    background: #fff;
    padding: 0;
    max-width: 80%;
    margin: 0;
    left: auto;
    top: 0;
  }
  .scroll .profile .profile-toggle,
  .scroll .trending .trending-toggle,
  .scroll .markets .markets-toggle,
  .scroll .players .players-toggle {
    transform: translate(0, 0);
    opacity: 1;
    pointer-events: all;
  }
  .close_btn {
    border: 0;
    background-color: transparent;
    color: red;
    box-shadow: none;
    position: fixed;
    top: 0;
    right: 0;
    font-size: 16px;
    padding: 10px;
  }

  .players-toggle .card {
    border: 0;
    box-shadow: none;
  }
}

/* PROFILE */
.profile {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
}
.profile .avatar-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  display: inline-flex;
  margin: 0 auto 10px;
  border-radius: 50%;
}
.profile .avatar {
  background-color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2.5rem;
  border-radius: 50%;
  border: 4px solid var(--white);
  overflow: hidden;
}
.profile .avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.avatar-wrap .active {
  position: absolute;
  right: 5px;
  bottom: 8px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--white);
  border-radius: 50%;
}
.active.online {
  background-color: var(--green);
}
.active.offline {
  background-color: var(--red);
}
.active.sleep {
  background-color: var(--yellow);
}

.profile h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}
.profile .stars {
  background-color: var(--yellow);
  display: inline-block;
  color: var(--black);
  margin-top: 8px;
  padding: 3px 15px;
  border-radius: 50px;
}

/* CARDS */
.card {
  background: var(--white);
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
}

/* DIVIDER */
.divider {
  background: var(--redExtralight);
  height: 1px;
}

/* HEADER */
.card-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--redExtralight);
  padding-bottom: 10px;
}
.title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.title h3 {
  font-size: 16px;
  color: var(--redlight);
  font-weight: 800;
  margin: 0;
}
.currency {
  font-size: 16px;
  color: var(--redlight);
  font-weight: 600;
}

.card li {
  display: flex;
  gap: 10px;
  font-size: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--redExtralight);
}
.card .strong-list li {
  font-weight: 700;
}
.align-list li {
  align-items: center;
}
.decimal-list {
  counter-reset: count;
}
.decimal-list li::before {
  counter-increment: count;
  content: "" counter(count) ".";
}

.top10players li {
  font-size: var(--font-size);
  padding-block: 6px;
}
.top10players li span {
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}
.top10players li span img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.top10players li span .icon {
  background-color: var(--whiteTint1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 12px;
  font-style: normal;
  border: 1px solid var(--redExtralight);
  border-radius: 50%;
  overflow: hidden;
}
.top10players li span::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--white);
  border-radius: 50%;
}
.top10players li span.online::before {
  background-color: var(--green);
}
.top10players li span.offline::before {
  background-color: var(--red);
}
.top10players li span.sleep::before {
  background-color: var(--yellow);
}

/* Card ROW */
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.card-row:last-of-type {
  padding-bottom: 0;
}
.card-row-title.width {
  width: 80px;
}
.card-row-title h4 {
  font-size: 12px;
  text-transform: uppercase;
  margin: 0;
}
.card-row-title span {
  font-size: 10px;
}

/* CHART */
.chart {
  width: 20px;
  text-align: center;
}

/* RIGHT */
.card-row .right {
  text-align: right;
}
.green-text {
  display: block;
  font-size: 11px;
  color: var(--green);
}
.red-text {
  display: block;
  font-size: 11px;
  color: var(--red);
}
.card-row strong {
  font-size: 10px;
  font-weight: 600;
}
.card-row .red {
  color: var(--redlight);
}

/* CENTER */
.filters-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
}
.filter-btn {
  background-color: var(--grey);
  display: inline-block;
  color: var(--black);
  font-size: 13px;
  padding: 4px 15px;
  border: 1px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.filter-btn.active {
  background: var(--redlight);
  border-color: var(--red);
  color: var(--white);
}

.d-none {
  display: none;
}

.news-card {
  background: var(--white);
  width: 100%;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--box-shadow);
}

/* HEADER */
.news-header {
  display: flex;
  justify-content: space-between;
}
.news-header .avatar-bio {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-header .avatar {
  background: var(--lightYellow);
  width: 40px;
  height: 40px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}
.news-header .avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.news-header .source {
  font-weight: 700;
}
.news-header .time {
  font-size: 12px;
}
.news-header .menu {
  font-size: 18px;
  color: var(--text);
  cursor: pointer;
}

/* TITLE */
.news-card .title {
  font-size: var(--font-size);
  font-weight: 700;
  margin: var(--font-size) 0 8px;
}

/* DESCRIPTION */
.desc {
  color: var(--black);
  line-height: 1.5;
}

/* IMAGE */
.news-image {
  margin-top: 20px;
}
.news-image img {
  width: 100%;
  border-radius: var(--radius);
}

/* TAGS */
.tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.tags span {
  background: var(--redExtralight);
  display: inline-block;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

/* ACTIONS */
.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--black);
  font-weight: 600;
  margin-top: 10px;
}
.share {
  cursor: pointer;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 0;
  z-index: 100;
  transition: transform 0.4s ease;
}
.nav-inner {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  gap: 15px;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
}
.nav-inner .nav-item {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  font-size: 12px;
  color: var(--black);
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
}
.nav-inner img {
  width: 20px;
}

/* Show animation */
.mobile-bottom-nav.show {
  /* transform: translateX(-50%) translateY(0); */
}
.mobile-bottom-nav .nav-item .icon {
  font-size: 16px;
  font-style: normal;
}
.scroll .mobile-bottom-nav .nav-item {
  opacity: 0.5;
  pointer-events: none;
}
.mobile-bottom-nav .nav-item.active {
  background-color: var(--redlight);
  color: var(--white);
  opacity: 1;
  pointer-events: all;
}
button.profile_back {
  position: absolute;
  top: 26px;
  left: 26px;
  background: transparent;
  border: solid #000;
  border-width: 0 0 3px 3px;
  transform: rotate(45deg);
  padding: 5px;
}
/* Hide on desktop */
@media (min-width: 992px) {
  .profile_back {
    display: none;
  }
  .mobile-bottom-nav {
    display: none;
  }
  .filter-btn:hover {
    background: var(--redlight);
    border-color: var(--red);
    color: var(--white);
  }
}

/* RESPONSIVE */
@media (max-width: 1299px) {
  .wrapper {
    grid-template-columns: 260px calc(100% - 550px) 260px;
    gap: 15px;
  }
}
@media (max-width: 991px) {
  .hero .logo {
    position: relative;
    top: 0;
    left: 0;
    padding-block: 10px;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
  }
  .logo a img {
    max-height: 60px;
  }
  .banner {
    border-radius: var(--radius);
  }

  .profile {
    border-radius: 0;
    box-shadow: var(--box-shadow);
    margin: -10px;
  }

  .wrapper {
    display: block;
    /* grid-template-columns: 1fr; */
  }
  .filters {
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 9;
    margin-inline: -15px;
  }
  .filters-inner {
    border: 0;
    box-shadow: none;
    border-radius: 0;
    justify-content: flex-start;
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow: auto;
    padding-inline: 15px;
  }
  .header_main {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header {
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 15px;
  }
}
@media (max-width: 479px) {
  .nav-inner .nav-item {
    --radius: 1.5vw;
    width: 12vw;
    height: 10vw;
    font-size: 2.5vw;
  }
  .mobile-bottom-nav .nav-item .icon {
    font-size: 3vw;
  }
  .banner {
    height: 180px;
  }
  .headline a {
    font-size: 12px;
    text-align: left;
  }
}
