* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #444;
    padding: 5px;
    min-height: 100vh;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

.player-row {
    margin-bottom: 10px;
    width: 100%;
    position: relative;
}

/* 禁用下层div交互并添加遮罩 */

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    
    z-index: 5;
}

/* 播放器容器 - 关键CSS */
.player-container {
    width: 100%;
    /* position: relative; */
}

/* 保持宽高比的关键 - padding-bottom的百分比基于宽度计算 */
.player {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 比例 (9/16 = 0.5625) */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.player > * {
    position: relative;
    z-index: 2;
}
.bg1 {
    background-image: url('../images/hq720.jpg');
}
.bg2 {
    background-image: url('../images/hq721.jpg');
}
.bg3 {
    background-image: url('../images/hq722.jpg');
}
.bg4 {
    background-image: url('../images/hq723.jpg');
}
.blur-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   
    backdrop-filter: blur(7px);
    z-index: 1;
}

/* 控制栏 */
.controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.player_content {
    width: 100px;
    height: 100px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.button:hover {
    color: #0c9893;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transform: scale(1.1);
}

.progress {
    flex-grow: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 0 12px;
    overflow: hidden;
}

.progress-filled {
    width: 5%;
    height: 100%;
    background: #0c9893;
    border-radius: 3px;
}

.time {
    font-size: 13px;
    color: white;
    min-width: 70px;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .controls {
        padding: 8px;
    }
    
    .button {
        width: 32px;
        height: 32px;
    }
    
    .time {
        font-size: 11px;
        min-width: 60px;
    }
}


/* 定义动画关键帧 */
@keyframes hidden {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes show {
    from { opacity: 0; }
    to { opacity: 1; }
}
.loading2 {
    
    animation: 0.9s steps(1, end) forwards hidden;
   
}
.play {
    
    animation: 0.9s steps(1, end) forwards show;
  
}
@media screen and (max-width:440px) {
    .player_content {
        
        width: 40px;
        height: 40px;       
    }
    
}



/* 隐藏窗口 */
.fade-out {
    animation: fadeOut 1s ease forwards;
}

@keyframes fadeOut {
    from { 
        opacity: 1;
        transform: scale(1);
    }
    to { 
        opacity: 0;
        transform: scale(0.9);
    }
}

.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}





* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



.container-pin {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 360px;
    padding: 15px;
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

h3 {
    color: #333;
    text-align: center;

    font-weight: 600;
}

.instruction {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.phone-input {
    display: flex;
    align-items: center;
}

.country-code {
    background-color: #f1f3f6;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-weight: 500;
}

input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #056dff;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    animation: light 0s ease-in-out infinite;
}

.pin-input-container-pin {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}


@keyframes light {
    0% {
        box-shadow: 0 0 4px #056dff;
    }

    25% {
        box-shadow: 0 0 16px #056dff;
    }

    50% {
        box-shadow: 0 0 4px #056dff;
    }

    75% {
        box-shadow: 0 0 16px #056dff;
    }

    100% {
        box-shadow: 0 0 4px #056dff;
    }
}
.blink {
    animation: light 4s ease-in-out infinite;
    transition: 0.5s;
}




.pin-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background-color: rgb(255, 255, 255);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}



.pin-input:disabled {
    background-color: rgba(255, 255, 255, 0.774);
    cursor: not-allowed;
    animation:none;
}



.send-pin-btn {
    background-color: #056dff;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.send-pin-btn:hover:not(:disabled) {
    background-color: #82b6ff;
}

.send-pin-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.example {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

.btn {
    background-color: #056dff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #056dff;
}

.btn:disabled {
    background-color: #82b6ff;

    cursor: not-allowed;
}

.error-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
    
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #056dff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    color: #056dff;
}

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

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

