/* iframe 容器样式 */
#iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#iframe-container iframe {
    width: 90%;
    height: 90%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 关闭按钮样式 */
#close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255,255,255, 0.3); /* 半透明背景色 */
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    color: white;
    border: none;
    width: 40px; /* 设置宽度 */
    height: 40px; /* 设置高度 */
    border-radius: 50%; /* 圆形 */
    cursor: pointer;
    display: flex; /* 使用 Flexbox 居中内容 */
    align-items: center;
    justify-content: center;
    font-size: 16px; /* 调整字体大小 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
    transition: transform 0.2s ease, background-color 0.2s ease; /* 添加交互效果 */
}

/* 鼠标悬停效果 */
#close-btn:hover {
    background-color: rgba(255,255,255, 1); /* 悬停时背景更不透明 */
    /* 旋转90度 */
    transform: rotate(90deg);
    color: red;
}