/* Xoilac365 – video match listing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.video-match-page {
  --video-match-bg: #0d0f12;
  --video-match-bg-elevated: #161a20;
  --video-match-bg-card: #1c2129;
  --video-match-border: #2a313c;
  --video-match-text: #ffffff;
  --video-match-text-muted: #9aa3af;
  --video-match-accent: #22c55e;
  --video-match-accent-hover: #16a34a;
  --video-match-accent-glow: rgba(34, 197, 94, 0.35);
  --video-match-max: 1280px;
  --video-match-radius: 8px;
  --video-match-radius-lg: 12px;

  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--video-match-text);
}

.video-match-page img {
  max-width: 100%;
  display: block;
}

.video-match-page a {
  color: inherit;
  text-decoration: none;
}

.video-match-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.video-match-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 18, 0.95);
  border-bottom: 1px solid var(--video-match-border);
  backdrop-filter: blur(8px);
}

.video-match-header__inner {
  max-width: var(--video-match-max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.video-match-logo {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.video-match-logo__brand {
  color: var(--video-match-text);
}

.video-match-logo__tv {
  color: var(--video-match-accent);
}

.video-match-nav {
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.video-match-nav::-webkit-scrollbar {
  display: none;
}

.video-match-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.video-match-nav__link {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--video-match-text-muted);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.video-match-nav__link:hover,
.video-match-nav__link--active {
  color: var(--video-match-text);
  background: var(--video-match-bg-card);
}

.video-match-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: var(--video-match-radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.video-match-btn--accent {
  background: var(--video-match-accent);
  color: #041008;
}

.video-match-btn--accent:hover {
  background: var(--video-match-accent-hover);
}

.video-match-btn--lg {
    /* padding: 14px 28px; */
    /* font-size: 14px; */
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 100px;
    border: 1px solid #00FF5E;
    background: #000;
    box-shadow: 0 0 14px 0 rgba(0, 255, 94, 0.40);
    display: inline-flex;
    height: 46px;
    padding: 10px 20px;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #00FF5E !important;
    text-align: right;
    font-family: Barlow;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

.video-match-btn__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Hero */
.video-match-hero {
  position: relative;
  min-height: 380px;
  background: #0a0c0e center / cover no-repeat;
  background-image: linear-gradient(
      105deg,
      rgba(13, 15, 18, 0.92) 0%,
      rgba(13, 15, 18, 0.75) 45%,
      rgba(13, 15, 18, 0.5) 100%
    ),
    url("https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1600&q=80");
  overflow: hidden;
}

.video-match-hero__inner {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: var(--video-match-max);
  margin: 0 auto;
  padding: 40px 90px 56px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 32px;
  align-items: center;
  opacity: 0;
  /* pointer-events: none; */
  transform: translateX(18px);
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
  will-change: opacity, transform;
  z-index: 0;
}

.video-match-hero__inner--active {
  position: relative;
  opacity: 1;
  /* pointer-events: none; */
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
  z-index: 1;
}

.video-match-hero__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--video-match-accent);
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 4px;
  display: none;
}

.video-match-hero__title {
    margin: 0 0 14px;
    /* font-size: clamp(22px, 4vw, 32px); */
    /* font-weight: 800; */
    /* line-height: 1.2; */
    /* text-transform: uppercase; */
    letter-spacing: 0.02em;
    color: #FFF;
    font-family: Barlow;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.video-match-hero__desc {
    margin: 0 0 20px;
    max-width: 520px;
    /* color: var(--video-match-text-muted); */
    /* font-size: 14px; */
    color: #FFF;
    font-family: Barlow;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
}

.video-match-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--video-match-text-muted);
}

.video-match-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video-match-hero__meta-item strong {
    color: var(--video-match-text);
    font-weight: 600;
    color: #FFF;
    font-family: Barlow;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
}
a.video-match-league {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #FFF;
    font-family: Barlow;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    text-transform: uppercase;
}

.video-match-hero__preview {
  position: relative;
  border-radius: var(--video-match-radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 10;
  background: var(--video-match-bg-card);
}

.video-match-hero__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-match-hero__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.2s;
}

.video-match-hero__preview:hover .video-match-hero__play {
  background: rgba(0, 0, 0, 0.2);
}

.video-match-hero__play-btn {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: #0d0f12;
}
a.video-match-commentator {
    display: flex;
    padding: 7px 19px;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: #000;
    color: #00FF5E;
    text-align: right;
    font-family: Barlow;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}
.video-match-hero__play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: currentColor;
}

.video-match-hero__thumb-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 12px;
  font-weight: 700;
}
span.video-match-hero__thumb-bar span {
    border-radius: 5.739px;
    background: rgba(0, 0, 0, 0.80);
    display: inline-flex;
    height: 33px;
    padding: 14.348px 8.609px;
    justify-content: center;
    align-items: center;
    gap: 14.348px;
}

.video-match-hero__arrow, .video-match-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 11;
    border: none;
    outline: none;
    background: transparent;
}
.video-match-hero__arrow:focus,
.video-match-hero__arrow:active {
    outline: none !important;
    box-shadow: none !important;
}
.video-match-slider__arrow:focus,
.video-match-slider__arrow:active {
    outline: none !important;
    box-shadow: none !important;
}

.video-match-hero__arrow--prev, .video-match-slider__arrow--prev {
  left: -6px;
}

.video-match-hero__arrow--next, .video-match-slider__arrow--next {
  right: -6px;
}

.video-match-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 111;
}

.video-match-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
}

.video-match-hero__dot--active {
    background: white;
    width: 8px;
    border-radius: 4px;
}

/* League filter */
.video-match-filter__inner {
    max-width: var(--video-match-max);
    margin-top: 20px;
    /* padding: 14px 20px; */
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 20px;
}

.video-match-filter__inner::-webkit-scrollbar {
  display: none;
}
.video-match-filter__item {
    display: flex;
    padding: 9px 16px;
    align-items: center;
    gap: 6px;
    border-radius: 100px;
    background: #323738 !important;
    color: #FFF !important;
    font-family: Barlow;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    text-transform: capitalize;
}
.video-match-section__title {
    margin: 0;
    /* font-size: 15px; */
    /* font-weight: 800; */
    /* text-transform: uppercase; */
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #FFF;
    font-family: Barlow;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}
.video-match-filter__item:hover,
.video-match-filter__item--active {
  color: var(--video-match-text);
  border-color: var(--video-match-accent);
  background: rgba(34, 197, 94, 0.1);
}

.video-match-filter__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--video-match-border);
  object-fit: cover;
}


/* Main sections */
.video-match-main {
  flex: 1;
  padding-bottom: 48px;
}

.video-match-section {
 margin-bottom: 20px;
     margin-top: 20px;
}

.video-match-section__header {
    justify-content: space-between;
    display: flex;
    width: 100%;
    height: 42px;
    padding: 10px;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid #3B4041;
    background: linear-gradient(270deg, #292F32 70.8%, #3C3C3C 100%);
    color: #FFF;
    font-family: Barlow;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    min-height: unset !important;
    margin-bottom: 20px;
}

.video-match-section__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.video-match-section__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--video-match-accent);
}

.video-match-section__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.video-match-section__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-match-section__more {
    /* flex-shrink: 0; */
    /* font-size: 13px; */
    /* font-weight: 600; */
    /* color: var(--video-match-accent); */
    transition: opacity 0.2s;
    color: #00FF5D !important;
    text-align: right;
    font-family: Barlow;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    text-transform: uppercase;
    width: 140px;
}

.video-match-section__more:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.video-match-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    flex-wrap: wrap;
}

.video-match-grid--scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--video-match-border) transparent;
}
.video-match-slider {
    position: relative;
    width: 100%;
}
.video-match-slider-inner {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 260px;
    gap: 20px;
    padding-top: 10px;
    padding-bottom: 17px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: start;
    scroll-behavior: smooth;
}
/* Card */
.video-match-row .video-match-card-wrapper {
    margin-bottom: 20px;
}
.video-match-card {
    display: flex;
    flex-direction: column;
    /* border-radius: var(--video-match-radius); */
    overflow: hidden;
    /* background: var(--video-match-bg-card); */
    border: 1px solid transparent;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

/* .video-match-card:hover {
  border-color: var(--video-match-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
} */

.video-match-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #252b34;
  height: 235px;
}

.video-match-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.video-match-card:hover .video-match-card__thumb img {
  transform: scale(1.05);
}

.video-match-card__overlay {
  display: flex;
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s;
}

.video-match-card:hover .video-match-card__overlay {
  background: rgba(0, 0, 0, 0.35);
}

.video-match-card__play {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #0d0f12;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s, transform 0.25s;
}

.video-match-card:hover .video-match-card__play {
  opacity: 1;
  transform: scale(1);
}

.video-match-card__play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  fill: currentColor;
}

.video-match-card__badges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 8px;
  /* pointer-events: none; */
}

.video-match-card__badge {
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  font-family: Barlow;
}


.video-match-card__body {
  padding: 12px;
}

.video-match-card__title {
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #FFF;
    font-family: Barlow;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-match-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--video-match-text-muted);
  justify-content: space-between;
  color: #FFF;
  font-family: Barlow;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 150% */
}

.video-match-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Footer */
.video-match-footer {
  margin-top: auto;
  background: var(--video-match-bg-elevated);
  border-top: 1px solid var(--video-match-border);
  padding: 40px 20px 24px;
}

.video-match-footer__inner {
  max-width: var(--video-match-max);
  margin: 0 auto;
  text-align: center;
}

.video-match-footer__about {
  margin: 0 auto 24px;
  max-width: 900px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--video-match-text-muted);
  text-align: justify;
}

.video-match-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.video-match-footer__links a {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--video-match-text-muted);
  transition: color 0.2s;
}

.video-match-footer__links a:hover {
  color: var(--video-match-accent);
}

.video-match-footer__contact {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--video-match-text-muted);
  line-height: 1.8;
}

.video-match-footer__social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.video-match-footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s, opacity 0.2s;
}

.video-match-footer__social a:hover {
  transform: scale(1.08);
  opacity: 0.9;
}

.video-match-footer__social--fb {
  background: #1877f2;
}
.video-match-footer__social--tg {
  background: #229ed9;
}
.video-match-footer__social--yt {
  background: #ff0000;
}
.video-match-footer__social--tw {
  background: #1da1f2;
}

.video-match-footer__dmca {
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--video-match-text-muted);
}

.video-match-footer__copy {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}
a.video-match-card__commentator {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00FF5E;
    text-align: right;
    font-family: Barlow;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
    gap: 4px;
}
/* Responsive */
@media (max-width: 1199px) {
  .video-match-hero__inner {
    padding: 60px;
  }
  .video-match-hero__title {
    font-size: 20px;
  }
  .video-match-filter__item {
    width: max-content;
    min-width: max-content;
  }
  .video-match-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 10px;
}
}
@media (max-width: 1024px) {
  .video-match-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-match-grid--scroll .video-match-card {
    flex: 0 0 calc(33.333% - 11px);
  }
}

@media (max-width: 991px) {
  .video-match-hero__inner {
      flex-direction: column !important;
      display: flex;
  }
}
@media (max-width: 768px) {
  .video-match-header__inner {
    flex-wrap: wrap;
  }

  .video-match-nav {
    order: 3;
    flex: 1 1 100%;
  }

  .video-match-hero__inner {
    grid-template-columns: 1fr;
  }

  .video-match-hero__preview {
    max-width: 420px;
    margin: 0 auto;
  }

  .video-match-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-match-grid--scroll .video-match-card {
    flex: 0 0 calc(50% - 8px);
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .video-match-grid {
    grid-template-columns: 1fr;
  }

  .video-match-header__cta {
    display: none;
  }
}
