/* Portrait Video Affiliate - Frontend Styles */

.pva-container {
    max-width: 350px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.pva-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pva-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pva-no-video {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #666;
}

.pva-no-video .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: #444;
    margin-bottom: 15px;
}

.pva-no-video p {
    margin: 0;
    font-size: 14px;
}

/* Affiliate Button */
.pva-affiliate-button {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pva-affiliate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    color: #fff !important;
    text-decoration: none !important;
}

.pva-affiliate-button:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 480px) {
    .pva-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .pva-video-wrapper {
        border-radius: 12px;
    }
    
    .pva-affiliate-button {
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 10px;
    }
}

/* Video Controls Styling */
.pva-video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* Play button overlay (optional enhancement) */
.pva-video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        transparent 20%,
        transparent 80%,
        rgba(0,0,0,0.2) 100%
    );
    z-index: 1;
}
