html {
    height: 100%;
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes gradientBG {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

/* 背景 */

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    line-height: 1.6;
}

.controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    z-index: 20;
}

.control-btn {
    background: rgba(30, 144, 255, 0.7);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
}

.control-btn:hover {
    background: rgba(0, 191, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 200, 255, 0.7);
}

#mainCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* 背景层放最低下 */
}

.footer {
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.605);
    z-index: 5;
}

.footer {
    z-index: 10;
}

/* 内容区 */
.content-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: transparent;
    z-index: 11;
    padding: 40px;
    margin-top: 100vh;
}

/* 固定背景和页脚 :) */
body {
    overflow-x: hidden;
}

.container, .controls, .footer {
    position: fixed;
}

.glass-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 20px;
}

.main-panel {
    grid-column: 1;
    grid-row: 1 / span 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 0 16px rgba(0, 200, 255, 0.326);
    min-height: calc(100% - 25px);
}

.sub-panel:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    margin-top: 25px;
    box-shadow: 0 0 16px rgba(0, 200, 255, 0.326);
    height: auto;
}
.sub-panel:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    height: auto;
}

.sub-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 0 16px rgba(0, 200, 255, 0.326);
    padding: 30px;
    min-height: 300px;
}

/* 内容区域 */
.content-panel {
    color: rgb(176, 215, 249);
}

.content-panel {
    color: rgb(176, 215, 249);
}

.content-text {
    color: aliceblue;
}

.highlight-text {
    color: rgb(233, 191, 25);
}

/* SRT联盟布局 */
.srt-members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.srt-member-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.srt-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.srt-member-name {
    margin-top: 12px;
    color: aliceblue;
}

/* 子面板样式 */
.sub-panel-title {
    color: rgb(176, 215, 249);
}

.sub-panel-subtitle {
    color: rgb(242, 249, 255);
}

.sub-panel-text {
    color: aliceblue;
}

/* 隐藏了滚动条，但是还能滚动哦 -_^ */
html {
    scroll-behavior: smooth;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
    width: 0 !important;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* 响应式设计 - 平板设备 (768px及以下) */
@media screen and (max-width: 768px) {
    .glass-panels {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .main-panel {
        grid-column: 1;
        grid-row: auto;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .controls {
        position: fixed;
        bottom: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 90%;
        padding: 12px;
        gap: 15px;
    }
    
    .control-btn {
        padding: 8px 16px;
        font-size: 0.95rem;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .srt-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* 响应式设计 - 手机设备 (480px及以下) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .controls {
        gap: 10px;
        padding: 10px;
    }
    
    .srt-members-grid {
        grid-template-columns: 1fr;
    }
    
    .srt-logo {
        width: 80px;
        height: 80px;
    }
}