/* Container styles */
.highlight-single-wrapper {
    max-width: 1330px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Breadcrumb styles */
.highlight-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #fff;
}

.highlight-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.highlight-breadcrumb a:hover {
    color: #ff0000;
}

.highlight-breadcrumb .separator {
    margin: 0 8px;
    color: #666;
}

.highlight-breadcrumb .current {
    color: #ff0000;
}

/* Content Grid */
.highlight-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 24px;
    position: relative;
    min-height: 600px;
}

/* Primary Content */
.primary-content {
    min-width: 0;
    background: rgba(33, 33, 33, 0.98);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Video Player */
.highlight-player-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    transition: opacity 0.3s ease;
}

.highlight-player-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.highlight-player-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff0000;
    border-radius: 50%;
    z-index: 11;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#dplayer,
#youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#youtube-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Info */
.video-info {
    background: transparent;
    padding: 20px;
}

.video-title {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-date {
    font-size: 14px;
    color: #aaa;
    font-weight: normal;
}

/* Video Meta */
.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

.publish-info {
    color: #aaa;
    font-size: 13px;
    margin-top: 4px;
}

/* Share Button */
.share-wrapper {
    position: relative;
    z-index: 9999;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 18px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Share Dropdown */
.share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 99999;
}

.share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.share-header span {
    font-size: 16px;
    font-weight: 500;
    color: #0f0f0f;
}

.close-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: background-color 0.2s;
}

.close-share:hover {
    background: rgba(0, 0, 0, 0.05);
}

.share-content {
    padding: 8px;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.share-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: #0f0f0f;
    text-decoration: none;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

.share-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.share-icon.facebook {
    background: rgba(24, 119, 242, 0.1);
}

.share-icon.twitter {
    background: rgba(29, 161, 242, 0.1);
}

.share-icon.telegram {
    background: rgba(0, 136, 204, 0.1);
}

.share-icon.zalo {
    background: rgba(0, 104, 255, 0.1);
}

.share-icon.copy {
    background: rgba(0, 0, 0, 0.05);
}

/* Video Description */
.video-description {
    color: #fff;
}

.match-time-info {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
}

.info-item svg {
    opacity: 0.7;
}

/* Sidebar Styles */
.secondary-content {
    background: rgba(33, 33, 33, 0.98);
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    min-height: 400px;
}

.sidebar-title {
    color: #fff;
    font-size: 16px;
    margin: 0 0 20px;
    font-weight: 500;
}

.related-highlight {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #fff;
}

.related-thumbnail {
    position: relative;
    width: 160px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 12px;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-info h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: normal;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-time {
    font-size: 12px;
    color: #aaa;
}

/* Skeleton Loading */
.video-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.skeleton-loading {
    width: 60px;
    height: 60px;
    border: 3px solid #333;
    border-radius: 50%;
    border-top-color: #ff0000;
    animation: skeleton-spin 1s linear infinite;
}

@keyframes skeleton-spin {
    to {
        transform: rotate(360deg);
    }
}

.video-loaded .video-skeleton {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .highlight-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .secondary-content {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 15px;
    }
    
    .related-highlight {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .highlight-single-wrapper {
        padding: 10px;
    }
    
    .video-title {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .match-time-info {
        flex-direction: column;
        gap: 10px;
    }

    .share-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 12px 12px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .share-dropdown.active {
        transform: translateY(0);
    }

    .share-header {
        padding: 20px 16px;
    }

    .share-content {
        padding: 12px;
        max-height: 60vh;
        overflow-y: auto;
    }

    .share-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .share-item {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .secondary-content {
        grid-template-columns: 1fr;
    }
    
    .related-thumbnail {
        width: 120px;
        height: 68px;
    }
} 
.football-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .highlight-item img {
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .highlight-item:hover img {
    transform: scale(1.05);
  }
  
  .highlight-item h4 {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    text-align: center;
  }
  