:root {
  --nav-active: #d60000;
  --nav-color: #6b7280;
  --nav-bg: #ffffff;
  --app-primary-color: #d60000;
  --bg:#f3f5f7;
--card:#ffffff;
--text:#161616;
--muted:#7e848e;
--line:#e9ecef;
--shadow:0 10px 24px rgba(0, 0, 0, .07);
--soft-shadow:0 6px 16px rgba(0, 0, 0, .05);
--radius-xl:24px;
--radius-lg:18px;
--radius-md:14px;
}

html {
  scroll-behavior: smooth;
  user-select: none;
}
@font-face {
  font-family: 'MontserratEB';
  src: url("/assets/fonts/Montserrat-ExtraBold.woff2");
}
@font-face {
  font-family: 'MontserratM';
  src: url("/assets/fonts/Montserrat-Medium.woff2");
}
@font-face {
  font-family: 'MontserratR';
  src: url("/assets/fonts/Montserrat-Regular.woff2");
}

@font-face {
  font-family: 'NotoSansR';
  src: url("/assets/fonts/NotoSans-Regular.woff2");
}

@font-face {
  font-family: 'BykerR';
  src: url("/assets/fonts/Byker-Regular.woff2");
}

@font-face {
  font-family: 'BykerM';
  src: url("/assets/fonts/Byker-Medium.woff2");
}




/**** app loader ******/


.loader {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

.loader div {
  width: 8%;
  height: 24%;
  background: rgb(128, 128, 128);
  position: absolute;
  left: 50%;
  top: 30%;
  opacity: 0;
  border-radius: 50px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  animation: fade458 1s linear infinite;
}

@keyframes fade458 {
  from {
    opacity: 1;
  }
  
  to {
    opacity: 0.25;
  }
}

.loader .bar1 {
  transform: rotate(0deg) translate(0, -130%);
  animation-delay: 0s;
}

.loader .bar2 {
  transform: rotate(30deg) translate(0, -130%);
  animation-delay: -1.1s;
}

.loader .bar3 {
  transform: rotate(60deg) translate(0, -130%);
  animation-delay: -1s;
}

.loader .bar4 {
  transform: rotate(90deg) translate(0, -130%);
  animation-delay: -0.9s;
}

.loader .bar5 {
  transform: rotate(120deg) translate(0, -130%);
  animation-delay: -0.8s;
}

.loader .bar6 {
  transform: rotate(150deg) translate(0, -130%);
  animation-delay: -0.7s;
}

.loader .bar7 {
  transform: rotate(180deg) translate(0, -130%);
  animation-delay: -0.6s;
}

.loader .bar8 {
  transform: rotate(210deg) translate(0, -130%);
  animation-delay: -0.5s;
}

.loader .bar9 {
  transform: rotate(240deg) translate(0, -130%);
  animation-delay: -0.4s;
}

.loader .bar10 {
  transform: rotate(270deg) translate(0, -130%);
  animation-delay: -0.3s;
}

.loader .bar11 {
  transform: rotate(300deg) translate(0, -130%);
  animation-delay: -0.2s;
}

.loader .bar12 {
  transform: rotate(330deg) translate(0, -130%);
  animation-delay: -0.1s;
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  
  display: flex;
  justify-content: center;
  align-items: center;
  
  background: #fff;
  /* Full-screen white background */
  
  z-index: 999999;
  
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility .3s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}





.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: var(--nav-bg);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #e5e7eb;
  z-index: 999;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  flex: 1;
  text-decoration: none;
  color: var(--nav-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: .25s ease;
  user-select: none;
  cursor: help;
}

.nav-item svg {
  width: 25px;
  height: 25px;
  transition: .25s ease;
  fill: #000;
}

.nav-item span {
  font-size: 14px;
  font-weight: 500;
  font-family: BykerM;
}

.nav-item.active {
  color: var(--nav-active);
}

.nav-item.active svg {
  transform: translateY(-2px);
}

.nav-item:active {
  transform: scale(.99);
}


/*** skeleton loader ****/

.skeleton-card{
    pointer-events:none;
}

.skeleton-card .league-link{
    display:flex;
    align-items:center;
    gap:14px;
}

.skeleton{
    position:relative;
    overflow:hidden;
    background:#ececec;
    border-radius:8px;
}

.skeleton::after{
    content:"";
    position:absolute;
    inset:0;
    transform:translateX(-100%);
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.7),
        transparent
    );
    animation:skeleton-loading 1.2s infinite;
}

.skeleton-icon{
    width:38px;
    height:38px;
    border-radius:50%;
    flex-shrink:0;
}

.skeleton-text{
    height:16px;
    width:170px;
    border-radius:4px;
    flex:1;
}

.skeleton-star{
    width:26px;
    height:26px;
    border-radius:50%;
    flex-shrink:0;
}

@keyframes skeleton-loading{
    100%{
        transform:translateX(100%);
    }
}

/******** app season date selector  ******/


/********* Dark mode */

.dark .skeleton{
    background:#2b2b2b;
}

.dark .skeleton::after{
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.08),
        transparent
    );
}

@media (max-width: 480px) {
  .nav-item svg {
    width: 28px;
    height: 28px;
  }
  
  .nav-item span {
    font-size: 13px;
  }
}


/******** app global search el *********/

.app-search {
  position: relative;
  width: 100%;
}

.app-search-input {
  width: 100%;
  height: 54px;
  padding: 0 18px 0 52px;
  border: 1px solid #ececec;
  border-radius: 16px;
  outline: none;
  background: #fff;
  font: 0.95rem NotoSansR;
  color: #111;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.app-search-input::placeholder {
  color: #9b9b9b;
}

.app-search-input:focus {
  border-color: var(--app-primary-color);
}

.app-search::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%238b8b8b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m21 21l-4.343-4.343m0 0A8 8 0 1 0 5.343 5.343a8 8 0 0 0 11.314 11.314Z'/%3E%3C/svg%3E");
}

.search-filter-carousel {
  font-family: NotoSansR;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 16px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.search-filter-carousel::-webkit-scrollbar {
  display: none;
}

.search-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  
  height: 38px;
  padding: 0 14px;
  
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  
  background: #fff;
  color: #444;
  
  font-size: 13px;
  font-weight: 600;
  
  white-space: nowrap;
  flex-shrink: 0;
  
  transition: .2s ease;
}

.search-filter-chip:active {
  transform: scale(.96);
}

.search-filter-chip.active {
  background: var(--app-primary-color);
  border-color: var(--app-primary-color);
  color: #fff;
}

.search-filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  
  width: 18px;
  height: 18px;
  
  font-size: 15px;
  line-height: 1;
}

.search-filter-chip.active .search-filter-icon {
  filter: brightness(2);
}

