:root {
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    --primary-blue: #5680fa;
    --accent-pink: #fa7298;
    --text-white: #ffffff;
    --blur-strength: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    overflow: hidden;
    background-color: #1a1a1a;
    color: var(--text-white);
    height: 100vh;
    width: 100vw;
}

/* 视频背景样式 */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 遮罩浓度 */
    z-index: -1;
}

/* 顶部导航栏 */
.top-bar {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 30px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 主要内容布局 */
.container {
    display: grid;
    grid-template-columns: 25% 45% 30%;
    height: 100vh;
    padding: 80px 40px 40px 40px;
    position: relative;
}

/* 左侧面板 */
.left-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    animation: fadeIn 1s ease-out;
}

.welcome-text {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #ff9a9e, #fecfef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.sub-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.contributor-list {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--glass-border);
    max-height: 60vh;
    overflow-y: auto;
    /* 隐藏滚动条但保留功能 */
    scrollbar-width: none; 
}
.contributor-list::-webkit-scrollbar { 
    display: none; 
}

.contributor-title {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.name-tag {
    display: block;
    background: rgba(86, 128, 250, 0.3);
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    border-left: 3px solid var(--accent-pink);
    transition: padding-left 0.2s;
}

.name-tag:hover {
    padding-left: 15px;
    background: rgba(86, 128, 250, 0.5);
}

/* 中间 Logo */
.center-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.big-logo {
    font-size: 7rem;
    font-weight: 900;
    text-align: center;
    line-height: 1;
    color: white;
    text-shadow: 
        0 0 20px rgba(255,255,255,0.5),
        0 10px 30px rgba(0,0,0,0.3);
    transform: rotate(-5deg);
    animation: float 6s ease-in-out infinite;
}

.big-logo span {
    display: block;
    font-size: 4rem;
    letter-spacing: 10px;
}

/* 右侧面板 */
.right-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 20px;
}

.countdown-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    animation: slideInRight 1s ease-out;
}

.countdown-header {
    font-size: 1.2rem;
    color: #333;
    font-weight: 900;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-header .highlight {
    color: #4c3ce7;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.time-box {
    background: #506afe;
    border-radius: 10px;
    padding: 10px 5px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 10px rgba(80, 106, 254, 0.4);
}

.time-val {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.time-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 2px;
}

.info-box {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    color: white;
}

.info-list li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.info-list li::before {
    content: '•';
    color: var(--primary-blue);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* 全屏按钮 */
.fullscreen-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: #333;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    z-index: 100;
}

.fullscreen-control:hover {
    transform: scale(1.1) rotate(90deg);
}

/* 动画定义 */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}