/* Ziaoba Auth Modal Styles */

.ziaoba-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.ziaoba-modal-content {
    background-color: #000;
    margin: 10% auto;
    padding: 60px 68px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 450px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ziaoba-modal-close {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.ziaoba-modal-close:hover {
    opacity: 1;
}

.ziaoba-modal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.ziaoba-modal-subtitle {
    color: #8c8c8c;
    font-size: 16px;
    margin-bottom: 28px;
}

.ziaoba-input-group {
    position: relative;
    margin-bottom: 16px;
}

.ziaoba-input-group input {
    width: 100%;
    padding: 16px 20px;
    background: #333;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: background 0.2s;
}

.ziaoba-input-group input:focus {
    background: #454545;
}

.ziaoba-input-group label {
    position: absolute;
    left: 20px;
    top: 16px;
    color: #8c8c8c;
    pointer-events: none;
    transition: all 0.2s ease;
}

.ziaoba-input-group input:focus + label,
.ziaoba-input-group input:not(:placeholder-shown) + label {
    top: 4px;
    font-size: 11px;
    font-weight: 700;
}

.ziaoba-input-group input:focus + label {
    color: #e50914;
}

.ziaoba-btn {
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    display: inline-block;
    width: 100%;
}

.ziaoba-btn-primary {
    background-color: #e50914;
    color: #fff;
}

.ziaoba-btn-primary:hover {
    background-color: #f6121d;
}

.ziaoba-btn-block {
    display: block;
    width: 100%;
    margin-top: 24px;
}

.ziaoba-form-error {
    color: #e87c03;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

.ziaoba-form-footer {
    margin-top: 30px;
    color: #737373;
    font-size: 16px;
}

.ziaoba-form-footer a {
    color: #fff;
    text-decoration: none;
    margin-left: 5px;
}

.ziaoba-form-footer a:hover {
    text-decoration: underline;
}

/* Watch Now Button / Placeholder */
.ziaoba-watch-now-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #141414;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ziaoba-watch-now-placeholder:hover {
    background: #1a1a1a;
}

.ziaoba-watch-now-placeholder .play-icon {
    width: 80px;
    height: 80px;
    background: rgba(229, 9, 20, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.ziaoba-watch-now-placeholder:hover .play-icon {
    transform: scale(1.1);
    background: #e50914;
}

.ziaoba-watch-now-placeholder .play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #fff;
    margin-left: 5px;
}

.ziaoba-watch-now-placeholder .cta-text {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ziaoba-watch-now-placeholder .sub-cta {
    color: #8c8c8c;
    font-size: 14px;
    margin-top: 8px;
}

/* Loader Styles */
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

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

.loading .btn-text { display: none; }
.loading .btn-loader { display: block; }

body.ziaoba-modal-open {
    overflow: hidden;
}
