@import url("../main.css");

.homepage-main {
  width: 100%;
  padding: 40px 16px;
}

.homepage-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 514px;
  margin: 0 auto;
}

.slider-top,
.slider-bottom {
  width: 100%;
  max-width: 1200px;
  border-radius: 24px;
}

.slider-bottom {
  position: relative;
  height: 514px;
  overflow: hidden;
  background: #2e2e2e;
}

.slider-bottom::before {
  position: absolute;
  inset: 0;
  background-image: url("../../assets/homepage/slider.png");
  background-position: center;
  background-size: cover;
  opacity: 0.2;
  filter: blur(32px);
  transform: scale(1.03);
  content: "";
}

.slider-top {
  --slider-duration: 4000ms;

  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: 450px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  will-change: transform;
  transition: transform 0.3s ease;
}

.slider-top.is-dragging .slider-track {
  cursor: grabbing;
}

.slider-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-image: url("../../assets/homepage/slider.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.slider-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 36px;
  padding: 10px 12px;
  gap: 12px;
  border-radius: 24px;
  background: rgba(64, 64, 64, 0.5);
  backdrop-filter: blur(10px);
}

.slider-dot {
  flex: none;
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #737373;
  cursor: pointer;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

.slider-dot.active {
  position: relative;
  width: 48px;
  overflow: hidden;
  background: #737373;
}

.slider-dot-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #ffffff;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  animation: slider-dot-progress var(--slider-duration, 4000ms) linear forwards;
}

.slider-top:hover .slider-dot-fill,
.slider-top.is-progress-paused .slider-dot-fill {
  animation-play-state: paused;
}

@keyframes slider-dot-progress {
  to {
    transform: scaleX(1);
  }
}

.homepage-news {
  width: 100%;
  max-width: 1200px;
  margin: 92px auto 0;
}

.news-section {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
  padding: 0;
  gap: 24px;
}

.news-section-left {
  width: auto;
  min-width: 0;
  flex: 1 1 0;
}

.news-section-right {
  width: 486px;
  min-width: 0;
  flex: 0 0 486px;
}

.news-section-right .small-news-card {
  width: 100%;
}

.news-section-left .featured-news-card {
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
}

.featured-news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
  background: #242424;
}

.featured-news-image {
  flex: none;
  order: 0;
  align-self: stretch;
  width: 100%;
  max-width: 417px;
  height: 277px;
  max-height: 278px;
  border-radius: 16px;
  object-fit: cover;
}

.news-section-left .featured-news-image {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.news-section-left .featured-news-detail {
  display: flex;
  flex: none;
  padding: 20px;
  gap: 0;
  background: transparent;
}

.news-section-left .featured-news-title {
  display: -webkit-box;
  order: 0;
  height: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin-top: 0;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 36px;
}

.news-section-left .featured-news-description {
  display: -webkit-box;
  order: 1;
  height: 48px;
  margin-top: 20px;
  overflow: hidden;
  color: #e5e5e5;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 24px;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.featured-news-published {
  order: 2;
  margin-top: 24px;
  color: #a3a3a3;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 20px;
}

.featured-news-detail {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-self: stretch;
  padding: 20px;
  gap: 16px;
}

.featured-news-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.news-tag {
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  order: 0;
  width: fit-content;
  height: 24px;
  padding: 4px 8px;
  gap: 2px;
  border-radius: 24px;
  background: #ff9d00;
  color: #171717;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
}

.news-tags {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-tag--sanguosha {
  background: #ea580c;
  color: #ffffff;
}

.featured-news-title {
  flex: none;
  order: 1;
  align-self: stretch;
  height: 84px;
  margin-top: 8px;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.featured-news-description {
  display: -webkit-box;
  flex: none;
  order: 2;
  align-self: stretch;
  height: 100px;
  margin-top: 12px;
  overflow: hidden;
  color: #e5e5e5;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.featured-news-divider {
  width: 100%;
  height: 0;
  border-top: 1px solid #2e2e2e;
}

.featured-news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 34px;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.featured-news-date {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.featured-news-date i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  font-size: 16px;
}

.news-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.small-news-card {
  display: flex;
  flex: none;
  flex-direction: row;
  align-items: flex-start;
  height: 124px;
  padding: 0;
  gap: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #171717;
  order: 1;
}

.small-news-content {
  display: flex;
  min-width: 0;
  height: 124px;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0 20px 20px;
  gap: 8px;
}

.small-news-title {
  box-sizing: border-box;
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 0 4px;
  gap: 12px;
  border-radius: 0;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.small-news-title-text {
  display: -webkit-box;
  flex: none;
  align-self: stretch;
  height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.small-news-date {
  color: #a3a3a3;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 20px;
}

.small-news-image {
  display: block;
  width: 214px;
  height: 124px;
  flex: 0 0 214px;
  border-radius: 16px;
  object-fit: cover;
}

.homepage-competitions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 266px;
  width: 100%;
  max-width: 1200px;
  margin: 92px auto 0;
  gap: 40px;
}

.competition-schedule {
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0;
  gap: 96px;
}

.competition-section-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.competition-section-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.competition-period-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 128px;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  background: #242424;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
}

.competition-period-filter i {
  color: #525252;
  font-size: 12px;
}

.competition-pagination {
  box-sizing: border-box;
  display: flex;
  flex: none;
  align-items: center;
  width: 140px;
  height: 40px;
  padding: 8px;
  gap: 6px;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  background: #242424;
  color: #a3a3a3;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.competition-pagination button {
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.competition-pagination button:disabled {
  color: #737373;
  cursor: default;
}

.competition-pagination button i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  font-size: 16px;
  line-height: 16px;
}

.competition-pagination-divider {
  flex: none;
  width: 0;
  height: 24px;
  border-left: 1px solid #404040;
}

.competition-pagination-status {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 20px;
  padding: 0;
  gap: 2px;
  white-space: nowrap;
}

.competition-pagination-status span {
  flex: none;
  height: 20px;
}

.competition-pagination-status .current-page {
  min-width: 6px;
  color: #ffffff;
}

.competition-pagination-status .page-separator {
  width: 8px;
  color: #a3a3a3;
}

.competition-pagination-status .total-pages {
  min-width: 10px;
  color: #a3a3a3;
}

.upcoming-competition-cards,
.active-finished-competition-cards {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
  gap: 12px;
}

.competition-card {
  position: relative;
  flex: none;
  width: 290px;
  overflow: hidden;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
  background: #242424;
  transition: border-color 0.2s ease;
}

.competition-card:hover {
  border-color: #525252;
}

.competition-status {
  position: absolute;
  top: 16px;
  right: 15.5px;
  z-index: 3;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 104px;
  height: 28px;
  padding: 6px 8px;
  gap: 4px;
  border-radius: 8px;
  background: rgba(44, 44, 44, 0.75);
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.competition-status-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: #ff9d00;
  box-shadow: 0 0 4px #d98106;
}

.competition-status--live .competition-status-dot {
  background: #dc2626;
  box-shadow: 0 0 4px rgba(220, 38, 38, 0.8);
}

.competition-status--finished .competition-status-dot {
  background: #737373;
  box-shadow: none;
}

.competition-card-image {
  display: block;
  width: 100%;
  height: 224px;
  object-fit: cover;
}

.competition-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 80px;
  margin-top: -80px;
  padding: 20px;
  background: linear-gradient(
    180deg,
    rgba(36, 36, 36, 0) 0,
    rgba(36, 36, 36, 0.68) 48px,
    #242424 80px
  );
}

.competition-card-content::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: 80px;
  background: rgba(36, 36, 36, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000000 100%);
  pointer-events: none;
  content: "";
}

.competition-card-content > * {
  position: relative;
  z-index: 1;
}

.competition-card-title {
  min-height: 64px;
  margin-top: 8px;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0;
}

.competition-prize {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 52px;
  margin-top: 12px;
  padding: 10px 12px;
  gap: 8px;
  border-radius: 8px;
  background: #2e2e2e;
}

.competition-prize i {
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 19px;
  color: #fba924;
  font-size: 20px;
  line-height: 19px;
}

.competition-prize-value {
  background: radial-gradient(
    62.31% 251.23% at 50% 0%,
    #ff4f33 0%,
    #f9791f 48.71%,
    #fba924 100%
  );
  background-clip: text;
  color: #fba924;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.competition-details {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
  gap: 12px;
}

.competition-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e5e5e5;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.competition-detail-row i {
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  color: #ffffff;
  font-size: 16px;
}

.competition-card-footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 16px 20px;
  gap: 16px;
  border: 0;
  border-top: 1px solid #2e2e2e;
  border-radius: 0 0 16px 16px;
  background: #242424;
}

.registration-deadline,
.registration-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.registration-deadline {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 20px;
}

.registration-deadline time {
  color: #ffffff;
}

.registration-actions {
  gap: 12px;
}

.slot-counter,
.competition-action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
}

.slot-counter {
  position: relative;
  flex: 1;
  isolation: isolate;
  width: 119px;
  height: 40px;
  min-height: 40px;
  padding: 2px;
  gap: 4px;
  overflow: hidden;
  border-radius: 8px;
  background: #2e2e2e;
  color: #a3a3a3;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}

.slot-counter::before,
.slot-counter::after {
  position: absolute;
  content: "";
}

.slot-counter::before {
  inset: 0;
  z-index: 0;
  border-radius: 8px;
  background: conic-gradient(
    from 0deg,
    #2e2e2e 0 50%,
    #b46709 50% 100%
  );
}

.slot-counter::after {
  inset: 2px;
  z-index: 1;
  border-radius: 6px;
  background: #171717;
}

.slot-counter span,
.slot-counter strong {
  position: relative;
  z-index: 2;
}

.slot-counter-value {
  color: #fba924;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 16px;
}

.competition-action-button {
  flex: 1;
  order: 1;
  min-width: 80px;
  height: 40px;
  min-height: 40px;
  padding: 6px 12px;
  gap: 6px;
  background: #fba924;
  color: #0a0a0a;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

.competition-card-footer--full {
  align-items: stretch;
}

.competition-card-footer--view-only {
  align-items: stretch;
}

.registration-closed {
  color: #a3a3a3;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}

.competition-action-button--secondary {
  width: 100%;
  background: #2e2e2e;
  color: #ffffff;
}

.competition-card-tags {
  display: flex;
  align-items: center;
  gap: 4px;
}

.competition-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 24px;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
  white-space: nowrap;
}

.competition-tag--tft {
  background: #059669;
}

.competition-tag--sanguosha {
  background: #ea580c;
}

.competition-tag--offline {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(44, 44, 44, 0.6), rgba(44, 44, 44, 0.6)) padding-box,
    linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.08) 42%,
        rgba(255, 255, 255, 0.18) 100%
      )
      border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.competition-sidebar {
  min-width: 0;
}

.ranking-header {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.ranking-header h2 {
  flex: none;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 900;
  line-height: 48px;
}

.ranking-widget {
  width: 100%;
  margin-top: 20px;
  padding: 4px;
  border-radius: 16px;
  background: #171717;
}

.ranking-game-list {
  display: flex;
  width: 100%;
  padding: 8px;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.ranking-game-list::-webkit-scrollbar {
  display: none;
}

.ranking-game-list.is-dragging {
  cursor: grabbing;
}

.ranking-game-list button {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.ranking-game-list button[aria-selected="true"] {
  border-color: #FF9D00;
}

.ranking-game-list img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ranking-panel {
  width: 100%;
  padding: 8px;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
  background: #242424;
}


.ranking-list {
  width: 100%;
  padding: 0px 8px 0;
  list-style: none;
}

.ranking-item {
  display: flex;
  align-items: center;
  width: 100%;
  height: 73px;
  gap: 20px;
  border-bottom: 1px solid #2e2e2e;
}

.ranking-item:last-child {
  border-bottom: 0;
}

.ranking-position-avatar {
  display: flex;
  flex: none;
  justify-content: space-between;
  align-items: center;
  width: 76px;
}

.ranking-position {
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 32px;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 32px;
}

.ranking-position-avatar img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.ranking-player {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.ranking-name {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-username {
  overflow: hidden;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.competition-ad {
  position: relative;
  width: 100%;
  height: 434px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
}

.competition-ad img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.competition-ad-caption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid #2e2e2e;
  border-radius: 12px;
  background: rgba(31, 31, 31, 0.5);
  color: #ffffff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}

@media (max-width: 1279px) {
  .homepage-slider {
    height: auto;
    aspect-ratio: 1200 / 514;
  }

  .slider-bottom {
    height: 100%;
  }

  .slider-top {
    height: 87.55%;
  }

  .upcoming-competition-cards,
  .active-finished-competition-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }

  .upcoming-competition-cards > .competition-card,
  .active-finished-competition-cards > .competition-card {
    width: 100%;
  }

  .upcoming-competition-cards > .competition-card:nth-child(n + 3),
  .active-finished-competition-cards > .competition-card:nth-child(n + 3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slider-track,
  .slider-dot {
    transition: none;
  }

  .slider-dot.active {
    background: #ffffff;
  }

  .slider-dot-fill {
    display: none;
    animation: none;
  }
}
