@font-face {
  font-family: 'Agrandir';
  src: url('/fonts/Agrandir-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Agrandir';
  src: url('/fonts/AgrandirText-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Agrandir';
  src: url('/fonts/Agrandir-GrandHeavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}
.detail-banner {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('/images/banner-detail.webp') no-repeat center center;
  background-size: cover;
  padding: 60px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  min-height: 180px;
  box-sizing: border-box;
}
.detail-banner .banner-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-banner .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', 'Roboto', sans-serif;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-bottom: 4px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.detail-banner .back-link:hover {
  opacity: 1;
  transform: translateX(-2px);
}
.detail-banner .back-link i {
  font-size: 12px;
}
.detail-banner .back-link.desktop-back {
  display: inline-flex;
}
.detail-banner .back-link.mobile-back {
  display: none;
}
.detail-banner .match-title-banner {
  font-family: 'Agrandir', sans-serif;
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.detail-recording-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 20px 80px;
  font-family: 'Inter', 'Roboto', sans-serif;
  box-sizing: border-box;
}
.detail-recording-wrapper .hint {
  text-align: center;
  font-size: 12px;
  margin: 0 0 15px 0;
  color: #888888;
  font-weight: 500;
}
.detail-recording-wrapper .hint a {
  color: #E60000;
  text-decoration: underline;
  font-weight: 600;
}
.detail-recording-wrapper .detail-card {
  background: #ffffff;
  border: 1.5px solid #E60000;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}
.detail-recording-wrapper .detail-card .video-player-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  overflow: hidden;
  background-color: #000;
  margin-bottom: 25px;
  position: relative;
}
.detail-recording-wrapper .detail-card .details-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.detail-recording-wrapper .detail-card .details-row .info-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 280px;
}
.detail-recording-wrapper .detail-card .details-row .action-side {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.detail-recording-wrapper .privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-family: 'Inter', 'Roboto', sans-serif;
}
.detail-recording-wrapper .privacy-badge.private {
  background-color: #ffe5e5;
  color: #ff3b3b;
}
.detail-recording-wrapper .privacy-badge.public {
  background-color: #e5ffe5;
  color: #00cc66;
}
.detail-recording-wrapper .privacy-badge i {
  font-size: 11px;
}
.detail-recording-wrapper .match-title {
  font-family: 'Agrandir', sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: #191919;
  margin: 4px 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.detail-recording-wrapper .meta-row {
  font-size: 15px;
  color: #191919;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-recording-wrapper .meta-row .meta-separator {
  color: #bbbbbb;
  font-weight: 300;
}
.detail-recording-wrapper .date-row {
  font-size: 14px;
  color: #888888;
  font-weight: 500;
}
.detail-recording-wrapper .match-meta-row {
  font-size: 15px;
  color: #888888;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.detail-recording-wrapper .match-meta-row .meta-separator {
  color: #dddddd;
  font-weight: 300;
}
.detail-recording-wrapper .players-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-recording-wrapper .players-list .player-team {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #191919;
  font-weight: 500;
}
.detail-recording-wrapper .players-list .player-team i {
  color: #191919;
  font-size: 16px;
  width: 20px;
  text-align: center;
}
.detail-recording-wrapper .download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #191919;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', 'Roboto', sans-serif;
}
.detail-recording-wrapper .download-btn:hover {
  background-color: #3f3f3f;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.detail-recording-wrapper .download-btn:active {
  transform: translateY(0);
}
.detail-recording-wrapper .download-btn i {
  font-size: 14px;
}
.video-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 15px;
  padding: 60px 20px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.video-empty-state i {
  font-size: 64px;
  color: #ccc;
  margin-bottom: 20px;
}
.video-empty-state h3 {
  color: #666;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}
.video-empty-state p {
  color: #888;
  font-family: 'Poppins', sans-serif;
}
.liveBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffebeb;
  color: #c10000;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.liveBadge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2d2d;
  box-shadow: 0 0 0 4px rgba(255, 45, 45, 0.2);
}
.section-video {
  margin-bottom: 0px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #1a1a1a;
  width: 100%;
  height: 100%;
}
.section-video video {
  background-color: #1a1a1a;
  border-radius: 15px;
  width: 100%;
  min-width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.section-video .video-loading {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.section-video .video-loading.active {
  opacity: 1;
  pointer-events: auto;
}
.section-video .video-loading .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #df0000;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
          animation: spin 0.8s linear infinite;
}
.section-video .video-loading .loading-text {
  margin-top: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  -webkit-animation: pulse-text 1.5s ease-in-out infinite;
          animation: pulse-text 1.5s ease-in-out infinite;
}
.section-video .video-error {
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  position: absolute;
  inset: 0;
  z-index: 21;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.section-video .video-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.section-video.is-static-source .video-controls {
  align-items: center;
  gap: 12px;
}
.section-video .video-controls-left,
.section-video .video-controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-video.is-static-source .video-controls-left,
.section-video.is-static-source .video-controls-right {
  flex-shrink: 0;
}
.section-video .video-controls-middle {
  display: none;
}
.section-video.is-static-source .video-controls-middle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.section-video .time-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  min-width: 38px;
  text-align: center;
}
.section-video .seek-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  min-width: 0;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}
.section-video .seek-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 0;
  background: #df0000;
}
.section-video .seek-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 0;
  background: #df0000;
}
.section-video .control-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(25, 25, 25, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.section-video .control-btn:hover {
  background: rgba(25, 25, 25, 0.9);
}
.section-video .control-btn i {
  font-size: 16px;
}
.section-video .play-pause-btn .icon-play,
.section-video .fullscreen-btn .icon-collapse,
.section-video .volume-btn .icon-volume-mute,
.section-video .volume-btn .icon-volume-low {
  display: none;
}
.section-video .volume-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 110px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.section-video .volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 0;
  background: #fff;
}
.section-video .volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 0;
  background: #fff;
}
.section-video:hover .video-controls,
.section-video:focus-within .video-controls,
.section-video.is-fullscreen .video-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.section-video:not(.is-playing) .play-pause-btn .icon-play {
  display: block;
}
.section-video:not(.is-playing) .play-pause-btn .icon-pause {
  display: none;
}
.section-video.is-fullscreen .fullscreen-btn .icon-expand {
  display: none;
}
.section-video.is-fullscreen .fullscreen-btn .icon-collapse {
  display: block;
}
.section-video.is-muted .volume-btn .icon-volume-high,
.section-video.is-muted .volume-btn .icon-volume-low {
  display: none;
}
.section-video.is-muted .volume-btn .icon-volume-mute {
  display: block;
}
.section-video:not(.is-muted).is-volume-low .volume-btn .icon-volume-high {
  display: none;
}
.section-video:not(.is-muted).is-volume-low .volume-btn .icon-volume-low {
  display: block;
}
.section-video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
  margin-bottom: 0;
  background-color: #000;
}
.section-video:fullscreen,
.section-video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
  margin-bottom: 0;
  background-color: #000;
}
.section-video:-webkit-full-screen video, .section-video:-webkit-full-screen .video-loading, .section-video:-webkit-full-screen .video-error {
  border-radius: 0;
}
.section-video:fullscreen video,
.section-video:fullscreen .video-loading,
.section-video:fullscreen .video-error,
.section-video:-webkit-full-screen video,
.section-video:-webkit-full-screen .video-loading,
.section-video:-webkit-full-screen .video-error {
  border-radius: 0;
}
.section-video .quality-selector-wrap {
  position: relative;
}
.section-video .quality-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.section-video .quality-btn:hover {
  opacity: 1;
}
.section-video .quality-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 6px;
  padding: 6px 0;
  min-width: 90px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.section-video .quality-menu .quality-option {
  display: block;
  width: 100%;
  padding: 8px 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}
.section-video .quality-menu .quality-option:hover {
  background: rgba(255, 255, 255, 0.15);
}
.section-video .quality-menu .quality-option.active {
  color: #df0000;
  font-weight: 600;
}
@media (max-width: 768px) {
  .detail-banner {
    padding: 40px 15px;
    min-height: 140px;
  }
  .detail-recording-wrapper {
    padding: 25px 15px 50px;
  }
  .detail-recording-wrapper .detail-card {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .detail-recording-wrapper .detail-card .video-player-container {
    margin-bottom: 20px;
    border-radius: 12px;
  }
  .detail-recording-wrapper .detail-card .video-player-container .section-video {
    border-radius: 12px;
  }
  .detail-recording-wrapper .detail-card .video-player-container .section-video video {
    border-radius: 12px;
  }
  .detail-recording-wrapper .detail-card .details-row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .detail-recording-wrapper .detail-card .details-row .info-side {
    min-width: 100%;
    gap: 12px;
  }
  .detail-recording-wrapper .detail-card .details-row .action-side {
    width: 100%;
    margin-top: 30px;
  }
  .detail-recording-wrapper .detail-card .details-row .action-side .download-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
  .section-video .video-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .section-video.is-static-source .video-controls {
    gap: 6px;
  }
  .section-video .video-controls-left,
  .section-video .video-controls-right {
    gap: 8px;
  }
  .section-video.is-static-source .video-controls-left,
  .section-video.is-static-source .video-controls-right {
    gap: 6px;
  }
  .section-video.is-static-source .video-controls-middle {
    gap: 6px;
  }
  .section-video .control-btn {
    width: 38px;
    height: 38px;
  }
  .section-video .control-btn i {
    font-size: 14px;
  }
  .section-video .volume-slider {
    width: 86px;
  }
  .section-video .time-label {
    min-width: 32px;
    font-size: 11px;
  }
}
@media (max-width: 604px) {
  .detail-banner .back-link.desktop-back {
    display: none !important;
  }
  .detail-recording-wrapper .back-link.mobile-back {
    display: inline-flex !important;
    color: #191919 !important;
    font-weight: 700;
    margin-bottom: 20px;
  }
  .detail-recording-wrapper .back-link.mobile-back i {
    color: #E60000;
  }
}
@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes pulse-text {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
@keyframes pulse-text {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

