
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 15px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    margin: 5vh auto;
}

.modal-header {
    background: linear-gradient(135deg, #87CEFA, #6495ED);
    padding: 15px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    color: white;
    font-size: 1.5em;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 10px;
}

.modal-body {
    padding: 20px;
    text-align: left;
    color: #333;
}

.modal-body ol {
    padding-left: 20px;
    color: #333;
}

.modal-body li {
    margin-bottom: 10px;
    color: #333;
}

.modal-body a {
    color: #4169E1;
    text-decoration: underline;
}

.modal-body a:hover {
    color: #1E90FF;
}

.modal-footer {
    text-align: right;
    padding: 10px 0;
}

.modal-description {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.modal-body video {
    width: 100%;
    max-width: 700px;
    margin: 20px auto 0;
    border-radius: 8px;
}

/* 响应式设计补充 */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header h2 {
        font-size: 1.2em;
    }

    .modal-description {
        font-size: 1em;
    }
}


/* Air3 Modal styles */
.air3-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.air3-modal-content {
    background: white;
    margin: 5vh auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.air3-modal-header {
    background: linear-gradient(135deg, #87CEFA, #6495ED);
    padding: 15px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.air3-modal-header h2 {
    margin: 0;
    color: white;
    font-size: 1.5em;
}

.air3-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.air3-modal-body {
    padding: 20px;
    text-align: left;
    background: white;
}

.air3-description {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.air3-button {
    display: inline-block;
    background: linear-gradient(135deg, #87CEFA, #6495ED);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.air3-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.air3-video {
    width: 100%;
    max-width: 500px;
    margin: 20px auto 0;
    border-radius: 8px;
}

/* Notification Modal styles */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.notification-modal {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: left;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.notification-modal h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.notification-modal p {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.notification-modal .modal-footer {
    text-align: right;
    padding-top: 15px;
}

.notification-modal button {
    background: linear-gradient(135deg, #87CEFA, #6495ED);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.notification-modal button:hover {
    transform: translateY(-2px);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .air3-modal-content,
    .notification-modal {
        width: 95%;
        margin: 10% auto;
    }
}

/* 视频容器样式 */
.video-container {
    text-align: center;
    margin: 20px 0;
}

.modal-body video {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
}


/* 修改模态框内的按钮样式 */
.modal-body a.button {
    display: inline-block;
    background: linear-gradient(135deg, #87CEFA, #6495ED);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
    margin: 2px 5px;
    transition: all 0.3s ease;
    width: auto;
    font-size: 0.9em;
}

.modal-body a.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


