/* 重置基础样式 */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* 视频背景 */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    background: #4e4e4e;
    object-fit: cover;
}

/* 导航栏样式 */
.mdui-appbar {
    background-color: rgba(0, 0, 0, 0.356) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mdui-toolbar {
    background: transparent !important;
}

/* Logo垂直居中 */
.mdui-toolbar > a:first-child {
    display: flex;
    align-items: center;
}

/* 导航按钮 */
.nav-btn {
    color: rgba(255, 255, 255, 0.85) !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.nav-btn:hover {
    color: #2196F3 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 下拉箭头 */
.dropdown-arrow::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/* 自定义字体 */
.trade-winds {
    font-family: "Trade Winds", serif;
    font-weight: 400;
    font-style: normal;
}

/* 主内容区 - 占满一屏并垂直居中 */
.main-content {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -56px;
    padding-top: 56px;
    box-sizing: border-box;
}

/* 主要按钮样式 - Bootstrap风格 */
.btn-primary-custom {
    display: inline-block;
    background-color: #007bff !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 24px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background-color: #0069d9 !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.5) !important;
    color: #fff !important;
}

/* 次要按钮样式 - Bootstrap风格 */
.btn-secondary-custom {
    display: inline-block;
    background: transparent !important;
    color: #007bff !important;
    border: 1px solid #007bff !important;
    padding: 8px 24px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    cursor: pointer;
}

.btn-secondary-custom:hover {
    background-color: #007bff !important;
    color: #fff !important;
}

/* 视频来源信息 */
.video-source {
    padding: 16px;
}

.video-source p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 14px;
}

.video-source a {
    color: rgba(255, 255, 255, 0.5);
}

.video-source a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* 页脚 */
footer {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 社交链接 */
.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #fff;
    transform: scale(1.2);
}

/* 下拉菜单样式优化 */
.mdui-menu {
    background-color: rgba(33, 33, 33, 0.95) !important;
    backdrop-filter: blur(10px);
}

.mdui-menu-item a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.mdui-menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 版权信息 */
.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.copyright a {
    color: rgba(255, 255, 255, 0.7);
}

.copyright a:hover {
    color: #fff;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    color: rgba(255, 255, 255, 0.85) !important;
}

.mobile-menu-btn:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 响应式 */
@media (max-width: 599px) {
    .copyright {
        text-align: center;
        margin-bottom: 16px;
    }

    .social-links {
        justify-content: center;
    }

    .main-content {
        padding-top: 56px;
        min-height: calc(100vh - 56px);
    }
}

@media (min-width: 600px) {
    .copyright {
        text-align: left;
    }

    .social-links {
        justify-content: flex-end;
    }
}

/* 菜单图标三条横线样式 */
.menu-icon-lines {
    display: inline-block;
    width: 20px;
    height: 16px;
    position: relative;
    vertical-align: middle;
}

.menu-icon-lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 1px;
}

.menu-icon-lines span:nth-child(1) {
    top: 3px;
}

.menu-icon-lines span:nth-child(2) {
    top: 7px;
}

.menu-icon-lines span:nth-child(3) {
    top: 11px;
}
