/**
 * Kingoz Protector v5 - Clean Styles
 */

/* Main Player Container */
.kp-player {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Loading State */
.kp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #1a1a2e;
    border-radius: 8px;
    color: #fff;
}

.kp-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #e94560;
    border-radius: 50%;
    animation: kp-spin 0.8s linear infinite;
    margin-bottom: 15px;
}

@keyframes kp-spin {
    to { transform: rotate(360deg); }
}

/* Embed Container */
.kp-embed {
    margin-bottom: 15px;
}

/* Title Styling - from user's HTML */
.kp-embed h2 {
    color: #0000ff;
    margin: 0 0 5px 0;
    font-size: 1.4em;
}

.kp-embed h3 {
    color: #ff0000;
    margin: 0 0 15px 0;
    font-size: 1.1em;
}

/* Iframe Wrapper - Responsive */
.kp-embed p {
    margin: 0;
    padding: 0;
}

.kp-embed iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto;
    min-height: 360px;
    aspect-ratio: 16/9;
    border: none !important;
    border-radius: 8px;
    background: #000;
}

/* Button Styling */
.kp-embed a#button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #e94560, #c73659);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.kp-embed a#button:hover {
    background: linear-gradient(135deg, #c73659, #e94560);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

/* Error State */
.kp-error {
    padding: 30px;
    text-align: center;
    color: #e94560;
    background: #1a1a2e;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .kp-embed iframe {
        min-height: 220px;
    }
    
    .kp-embed h2 {
        font-size: 1.2em;
    }
    
    .kp-embed h3 {
        font-size: 1em;
    }
    
    .kp-embed a#button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Disable selection */
.kp-player {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
