* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://file.whohh.cn/img/12345/3.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.address-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.address-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.address-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #4fc3f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.protocol-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(79, 195, 247, 0.3);
}

.address-url {
    word-break: break-all;
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.monitor-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.status-indicators {
    display: flex;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-ok {
    background-color: #4caf50;
}

.status-warning {
    background-color: #ff9800;
}

.status-error {
    background-color: #f44336;
}

.latency {
    color: #4fc3f7;
}

.card-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.refresh-btn,
.copy-btn {
    background: rgba(79, 195, 247, 0.2);
    border: 1px solid rgba(79, 195, 247, 0.5);
    color: #4fc3f7;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.refresh-btn:hover,
.copy-btn:hover {
    background: rgba(79, 195, 247, 0.3);
}

.refresh-btn:active,
.copy-btn:active {
    transform: scale(0.98);
}

/* APP下载区块样式 */
.app-downloads {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.app-title {
    font-size: 1.5rem;
    color: #4fc3f7;
}

.app-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.app-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.app-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.app-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background: rgba(79, 195, 247, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.app-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #4fc3f7;
}

.app-desc {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 15px;
    min-height: 40px;
}

.download-btn {
    background: rgba(76, 175, 80, 0.3);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    width: 100%;
}

.download-btn:hover {
    background: rgba(76, 175, 80, 0.4);
}

/* 文档区块样式 */
.documentation {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.doc-title {
    font-size: 1.5rem;
    color: #4fc3f7;
}

.doc-search {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    width: 150px;
}

.doc-search::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.faq-item {
    margin-bottom: 15px;
    border-left: 3px solid rgba(79, 195, 247, 0.5);
    padding-left: 10px;
}

.faq-question {
    font-weight: bold;
    margin-bottom: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.faq-answer.show {
    display: block;
}

.expand-icon {
    transition: transform 0.3s;
}

.faq-item.active .expand-icon {
    transform: rotate(180deg);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
    width: 100%;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 统一 DPlayer 视频教程区块样式（与其它区块一致） */
.video-tutorials {
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 内部布局保持一致 */
.tutorial-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.tutorial-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tutorial-btn {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.tutorial-btn:hover {
    border-color: rgba(79, 195, 247, 0.6);
    color: #4fc3f7;
}

.tutorial-btn.active {
    background: rgba(79, 195, 247, 0.15);
    color: #4fc3f7;
    border-color: rgba(79, 195, 247, 0.35);
}

/* 播放器容器尺寸，与页面其他区块视觉一致 */
.player-wrapper {
    width: 100%;
    max-width: 720px;
    height: 405px;
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dplayer {
    width: 100%;
    height: 100%;
    background: #000;
}

/* 描述与其它区块样式一致 */
.tutorial-desc {
    width: 100%;
    max-width: 720px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    color: #ddd;
    line-height: 1.6;
    border: 1px solid rgba(255,255,255,0.04);
}

/* 响应式调整 */
@media (max-width: 760px) {
    .player-wrapper {
        height: 320px;
    }
    .tutorial-desc {
        padding: 10px;
    }
}

/* 响应式设计 */
@media (max-width: 900px) {
    .address-list {
        grid-template-columns: 1fr;
    }

    .app-list {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    .card-buttons {
        flex-direction: column;
    }

    .doc-header,
    .app-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .doc-search {
        width: 100%;
    }
}