.wpvp-video-container {
    max-width: 100%;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wpvp-video-wrapper {
    position: relative;
}

.wpvp-video-player {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    background: #000;
    border-radius: 8px 8px 0 0;
}

.wpvp-video-player.wpvp-loading {
    opacity: 0.7;
}

.wpvp-video-player.wpvp-error {
    border: 2px solid #dc3232;
}

.wpvp-video-thumbnail-preview {
    margin-bottom: 15px;
}

.wpvp-thumbnail-img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    display: block;
}

.wpvp-video-info {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.wpvp-video-title {
    margin: 0 0 10px 0;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.wpvp-video-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 8px 0 0 0;
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: none;
    flex-wrap: wrap;
    width: 100%;
}

.wpvp-views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.wpvp-views strong {
    color: #b29775;
    font-weight: 600;
    font-size: 1.1em;
}

.wpvp-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    color: #666;
    font-weight: 500;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.wpvp-rating-label {
    color: #666;
    font-weight: 500;
}

.wpvp-rating-stars-inline {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 1.1em;
    line-height: 1;
}

.wpvp-rating-stars-inline .wpvp-star {
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpvp-rating-stars-inline .wpvp-star.filled {
    color: #b29775;
}

.wpvp-rating-stars-inline .wpvp-star.empty {
    color: #ddd;
}

.wpvp-rating-stars-inline .wpvp-star:hover {
    transform: scale(1.1);
    color: #b29775;
}

.wpvp-rating-inline .wpvp-rating-average {
    font-size: 1em;
    font-weight: 600;
    color: #b29775;
}

.wpvp-rating-inline .wpvp-rating-count {
    color: #888;
    font-size: 0.9em;
}

.wpvp-video-description {
    margin-top: 10px;
    line-height: 1.6;
    color: #555;
    font-size: 0.9em;
}


/* Share Section */
.wpvp-share-section {
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.wpvp-share-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.wpvp-share-header-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.wpvp-share-header h4 {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
    color: #333;
}

.wpvp-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpvp-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    justify-content: center;
}

.wpvp-share-btn:hover {
    background: #b29775;
    color: #fff;
    border-color: #b29775;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(178, 151, 117, 0.2);
}

.wpvp-share-icon-img {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.wpvp-share-btn.wpvp-icon-only {
    padding: 10px;
    justify-content: center;
}

.wpvp-share-btn.wpvp-icon-only .wpvp-share-icon-img {
    width: 20px;
    height: 20px;
}

.wpvp-copy-link {
    background: #b29775;
    color: #fff;
    border-color: #b29775;
}

.wpvp-copy-link:hover {
    background: #9d8263;
    border-color: #9d8263;
}

.wpvp-share-label {
    font-size: 0.9em;
    color: #666;
    font-weight: 500;
    margin-top: 5px;
}

.wpvp-social-share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.wpvp-share-message {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 0.9em;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wpvp-share-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wpvp-share-message::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

/* Rating Form (hidden by default, shown when user wants to rate) */

.wpvp-rating-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.wpvp-rating-form p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 0.95em;
}

.wpvp-rating-input {
    display: flex;
    gap: 5px;
}

.wpvp-rating-btn {
    background: none;
    border: none;
    font-size: 1.8em;
    color: #ddd;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.wpvp-rating-btn:hover {
    color: #b29775;
    transform: scale(1.15);
}

.wpvp-rating-btn:hover ~ .wpvp-rating-btn {
    color: #ddd;
}

/* Comments Section */
.wpvp-comments-section {
    padding: 12px 20px;
    background: #fff;
}

.wpvp-comments-section h4 {
    margin: 0 0 12px 0;
    font-size: 1em;
    font-weight: 600;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 2px solid #b29775;
}

.wpvp-comments-list {
    margin-bottom: 15px;
}

.wpvp-comments-list > p {
    color: #888;
    font-style: italic;
    padding: 12px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 6px;
    font-size: 0.9em;
    margin: 0;
}

.wpvp-comment {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wpvp-comment:last-child {
    border-bottom: none;
}

.wpvp-comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.wpvp-comment-author strong {
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
}

.wpvp-social-profile {
    color: #b29775;
    font-size: 0.9em;
    font-weight: 500;
}

.wpvp-comment-date {
    font-size: 0.8em;
    color: #999;
    margin-bottom: 6px;
}

.wpvp-comment-content {
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Comment Form */
.wpvp-comment-form {
    margin-top: 15px;
    padding: 15px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.wpvp-comment-form h5 {
    margin: 0 0 12px 0;
    font-size: 1em;
    font-weight: 600;
    color: #333;
}

.wpvp-form-group {
    margin-bottom: 15px;
}

.wpvp-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
    font-size: 0.9em;
}

.wpvp-form-group input[type="text"],
.wpvp-form-group input[type="email"],
.wpvp-form-group input[type="url"],
.wpvp-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95em;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.wpvp-form-group input:focus,
.wpvp-form-group textarea:focus {
    outline: none;
    border-color: #b29775;
    box-shadow: 0 0 0 2px rgba(178, 151, 117, 0.1);
}

.wpvp-form-group .description {
    margin-top: 5px;
    font-size: 0.85em;
    color: #888;
    font-style: italic;
}

.wpvp-comment-form .button {
    background: #b29775;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wpvp-comment-form .button:hover {
    background: #9d8263;
}

.wpvp-comment-form .button:active {
    transform: translateY(1px);
}

/* Video Carousel */
.wpvp-carousel-container {
    margin: 30px 0;
    width: 100%;
}

.wpvp-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.wpvp-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.wpvp-carousel-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.wpvp-carousel-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    max-width: 100%;
}

.wpvp-carousel-video-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpvp-carousel-video-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.wpvp-carousel-video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

.wpvp-carousel-video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpvp-carousel-video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    opacity: 0.5;
}

.wpvp-carousel-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wpvp-carousel-video-link:hover .wpvp-carousel-video-overlay {
    opacity: 1;
}

.wpvp-carousel-play-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.wpvp-carousel-video-link:hover .wpvp-carousel-play-icon {
    transform: scale(1.1);
}

.wpvp-carousel-video-info {
    padding: 15px;
}

.wpvp-carousel-video-title {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wpvp-carousel-video-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9em;
    color: #666;
}

.wpvp-carousel-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wpvp-carousel-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #b29775;
    font-weight: 500;
}

.wpvp-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #333;
}

.wpvp-carousel-nav:hover {
    background: #b29775;
    border-color: #b29775;
    color: #fff;
}

.wpvp-carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.wpvp-carousel-prev {
    left: 0;
}

.wpvp-carousel-next {
    right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .wpvp-carousel-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 200px;
    }
    
    .wpvp-carousel-wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 480px) {
    .wpvp-carousel-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .wpvp-carousel-wrapper {
        padding: 0 35px;
    }
}

/* Responsive video */
/* Desktop optimizations for two-column layouts */
/* Standard Desktop (1024px - 1365px) */
@media (min-width: 1024px) and (max-width: 1365px) {
    .wpvp-video-container {
        max-width: 100%;
    }
    
    .wpvp-video-info {
        padding: 10px 16px;
    }
    
    .wpvp-share-section,
    .wpvp-comments-section {
        padding: 8px 16px;
    }
    
    .wpvp-video-stats {
        gap: 25px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .wpvp-rating-inline {
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .wpvp-views {
        flex-shrink: 0;
    }
    
    .wpvp-share-header {
        margin-bottom: 6px;
    }
    
    .wpvp-share-header h4 {
        font-size: 0.95em;
    }
    
    .wpvp-share-buttons {
        gap: 8px;
    }
    
    .wpvp-share-label {
        margin: 6px 0 4px 0;
        font-size: 0.8em;
    }
    
    .wpvp-social-share-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .wpvp-rating-stars-inline {
        font-size: 1em;
    }
    
    .wpvp-comments-section h4 {
        margin-bottom: 8px;
        font-size: 0.95em;
        padding-bottom: 6px;
    }
    
    .wpvp-comments-list {
        margin-bottom: 10px;
    }
    
    .wpvp-comment {
        padding: 8px 0;
    }
    
    .wpvp-comment-form {
        margin-top: 10px;
        padding: 12px;
    }
    
    .wpvp-comment-form h5 {
        margin-bottom: 10px;
        font-size: 0.95em;
    }
}

/* HD Desktop (1366px - 1919px) */
@media (min-width: 1366px) and (max-width: 1919px) {
    .wpvp-video-container {
        max-width: 100%;
    }
    
    .wpvp-video-info {
        padding: 10px 18px;
    }
    
    .wpvp-share-section,
    .wpvp-comments-section {
        padding: 8px 18px;
    }
    
    .wpvp-video-stats {
        gap: 30px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .wpvp-rating-inline {
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .wpvp-views {
        flex-shrink: 0;
    }
    
    .wpvp-rating-stars-inline {
        font-size: 1.05em;
    }
    
    .wpvp-rating-inline {
        font-size: 0.97em;
    }
    
    .wpvp-views {
        font-size: 0.97em;
    }
}

/* Full HD and larger (1920px+) */
@media (min-width: 1920px) {
    .wpvp-video-container {
        max-width: 100%;
    }
    
    .wpvp-video-info {
        padding: 12px 20px;
    }
    
    .wpvp-share-section,
    .wpvp-comments-section {
        padding: 10px 20px;
    }
    
    .wpvp-video-stats {
        gap: 40px;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 10px 0;
    }
    
    .wpvp-rating-inline {
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .wpvp-views {
        flex-shrink: 0;
        font-size: 1em;
    }
    
    .wpvp-rating-inline {
        font-size: 1em;
    }
    
    .wpvp-rating-stars-inline {
        font-size: 1.1em;
    }
    
    .wpvp-rating-stars-inline .wpvp-star {
        font-size: 0.95em;
    }
}

/* Tablet */
@media (max-width: 1023px) and (min-width: 769px) {
    .wpvp-video-info,
    .wpvp-share-section,
    .wpvp-comments-section {
        padding: 12px 18px;
    }
    
    .wpvp-social-share-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .wpvp-video-stats {
        gap: 20px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .wpvp-rating-inline {
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .wpvp-views {
        flex-shrink: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .wpvp-video-container {
        margin: 10px 0;
        border-radius: 4px;
    }

    .wpvp-video-info,
    .wpvp-share-section,
    .wpvp-comments-section {
        padding: 12px 15px;
    }

    .wpvp-video-title {
        font-size: 1.3em;
        margin-bottom: 8px;
    }

    .wpvp-video-stats {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        margin: 6px 0 0 0;
        padding: 6px 0;
        flex-wrap: wrap;
    }
    
    .wpvp-rating-inline {
        font-size: 0.9em;
        gap: 6px;
        margin-left: auto;
    }
    
    .wpvp-rating-stars-inline {
        font-size: 0.95em;
        gap: 1px;
    }
    
    .wpvp-rating-stars-inline .wpvp-star {
        font-size: 0.85em;
    }
    
    .wpvp-rating-inline .wpvp-rating-average {
        font-size: 0.95em;
    }
    
    .wpvp-rating-inline .wpvp-rating-count {
        font-size: 0.85em;
    }

    .wpvp-social-share-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .wpvp-share-header {
        margin-bottom: 8px;
    }
    
    .wpvp-comments-section h4 {
        margin-bottom: 10px;
    }
    
}
