:root {
    --color-primary: #6d5cff;
    --color-secondary: #0d1326;
    --color-primary-dark: #4f46e5;
    --color-primary-deep: #a18fff;
    --color-bg-light: #070b18;
    --color-sidebar-dark: #161a36;
    --color-footer-dark: #090d1d;
    --color-cyan: #22d3ee;
    --grad-main: linear-gradient(120deg, #6d5cff 0%, #4f46e5 60%, #22d3ee 145%);
    --grad-btn: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
}

html {
    min-height: 100vh;
}

body {
    font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #dfe4f5;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.3px;
    font-size: 14px;
}

body > .header,
body > .banner,
body > .footer {
    flex-shrink: 0;
}

body > .container,
body > main {
    flex: 1;
}

a {
    color: var(--color-primary-deep);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-cyan);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #0a0f22;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
    position: relative;
    z-index: 50;
}

.header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #6d5cff, #22d3ee, rgba(34, 211, 238, 0));
}

.top-bar {
    background-color: #080c1c;
    border-bottom: 1px solid #1a2142;
    padding: 8px 0;
    font-size: 13px;
    color: #8f98bf;
}

.top-bar a {
    color: #c3cae6;
}

.top-bar a:hover {
    color: var(--color-cyan);
}

.nav-bar {
    padding: 12px 0;
    background: transparent;
}

.nav-link {
    color: #c3cae6;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.2s;
    font-size: 14px;
}

.nav-link:hover {
    color: #fff;
    background: rgba(109, 92, 255, 0.18);
}

/* 纯 CSS 文字 Logo */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    margin-right: 42px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 55%, #22d3ee 135%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    position: relative;
    box-shadow: 0 8px 22px rgba(109, 92, 255, 0.45);
}

.brand-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 13px;
    border: 1.5px solid rgba(34, 211, 238, 0.55);
    animation: brandPulse 2.4s ease-out infinite;
}

@keyframes brandPulse {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.5); opacity: 0; }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: #f4f6ff;
    letter-spacing: 0.5px;
}

.brand-name em {
    font-style: normal;
    background: linear-gradient(90deg, #a18fff, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-sub {
    font-size: 10px;
    letter-spacing: 3px;
    color: #6a729e;
    font-weight: 600;
    margin-top: 3px;
}

.banner {
    background: var(--color-secondary);
    padding: 80px 0;
    color: #fff;
}

.footer {
    background: var(--color-footer-dark);
    color: #8f98bf;
    padding: 30px 0;
    font-size: 14px;
}

.footer a {
    color: #a9b1d4;
}

.footer a:hover {
    color: var(--color-cyan);
}

.breadcrumb {
    padding: 14px 0;
    font-size: 14px;
    color: #8f98bf;
    border-bottom: 1px solid #1a2142;
    background: #080c1c;
}

.video-card {
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    border-radius: 14px;
    overflow: hidden;
    background: #0d1326;
    border: 1px solid #1c2344;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(109, 92, 255, 0.22);
    border-color: rgba(109, 92, 255, 0.6);
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    padding: 18px 0;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #6d5cff, #22d3ee) 1;
    color: #fff;
}

.btn-primary {
    background: var(--grad-btn);
    color: #fff;
    padding: 10px 22px;
    border: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s;
    box-shadow: 0 6px 18px rgba(109, 92, 255, 0.32);
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6d5cff 0%, #4338ca 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(109, 92, 255, 0.45);
}

.form-control {
    border: 1px solid #2a3358;
    padding: 10px 15px;
    font-size: 14px;
    width: 100%;
    border-radius: 10px;
    background: #0d1326;
    color: #eef1fb;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: #5d6690;
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(109, 92, 255, 0.2);
    background: #101736;
}

.sidebar {
    background-color: #0d1326;
    padding: 20px;
    min-height: 400px;
    border-radius: 12px;
    border: 1px solid #1c2344;
}

.chatroom {
    background-color: #0b1024;
    border: 1px solid #232b52;
    border-radius: 14px;
}

.chat-message {
    padding: 10px;
    border-bottom: 1px solid #1a2142;
    font-size: 14px;
    color: #c9cff2;
}

.notice {
    background-color: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.35);
    padding: 14px 16px;
    font-size: 13px;
    color: #7dd3fc;
    border-radius: 10px;
}

#footerWenhua2{
    display: flex;
    justify-content: center;
    align-items: center;
}
