:root {
    --blue-rgb: 13, 202, 240;
    --yellow-rgb: 255, 193, 7;
    --red-rgb: 220, 53, 69;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-light: #ffffff;
    --text-dark: #333333;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
}

/* 动态背景粒子效果 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2.5s; }
.particle:nth-child(10) { left: 95%; animation-delay: 3.5s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* 头部英雄区域 */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

/* 头像样式 */
.avatar-container {
    position: relative;
    margin-bottom: 2rem;
}

.avatar-glow {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.1) rotate(5deg);
}

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

/* 标题样式 */
.hello-text {
    font-weight: 800;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.typewriter {
    border-right: 3px solid rgba(255, 255, 255, 0.8);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: rgba(255, 255, 255, 0.8); }
    51%, 100% { border-color: transparent; }
}

.subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* 主要内容区域 */
.main-content {
    background: var(--dark-bg);
    position: relative;
    z-index: 1;
}

.section-container {
    margin: 4rem auto;
    max-width: 1200px;
}

/* 滚动动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 卡片样式 */
.bd-callout {
    padding: 2rem;
    margin: 2rem 0;
    background: var(--card-bg);
    border-left: 6px solid var(--bd-callout-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bd-callout:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.bd-callout-blue {
    --bd-callout-bg: rgba(var(--blue-rgb), .1);
    --bd-callout-border: rgba(var(--blue-rgb), .8);
    font-weight: bold;
    font-size: 1.2rem;
}

.bd-callout-yellow {
    --bd-callout-bg: rgba(var(--yellow-rgb), .1);
    --bd-callout-border: rgba(var(--yellow-rgb), .8);
    font-weight: bold;
    font-size: 1.2rem;
}

.bd-callout-red {
    --bd-callout-bg: rgba(var(--red-rgb), .1);
    --bd-callout-border: rgba(var(--red-rgb), .8);
    font-weight: bold;
    font-size: 1.2rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 表格样式 */
.table-container {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modern-table {
    background: transparent;
    color: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
}

.modern-table thead th {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 1.5rem 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.table-row-hover {
    transition: all 0.3s ease;
    border: none;
}

.table-row-hover:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.table-row-hover td {
    border: none;
    padding: 1.5rem 1rem;
    vertical-align: middle;
}

.time-cell {
    font-weight: 600;
    color: #4ecdc4;
    font-size: 1.1rem;
}

.prize-cell {
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.prize-image {
    display: none;
    position: absolute;
    bottom: 10px;
    right: 230px;
    width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 100;
    transition: all 0.3s ease;
}

.prize-cell:hover .prize-image {
    display: block;
    animation: imageSlideIn 0.3s ease;
}

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

/* 按钮样式 */
.button-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.modern-btn {
    position: relative;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modern-btn:hover::before {
    left: 100%;
}

.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-blog {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-wechat {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.btn-qq {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hello-text {
        font-size: 3rem; /* 从2.5rem增大到3rem */
    }
    
    .subtitle {
        font-size: 1.4rem; /* 从1.2rem增大到1.4rem */
    }
    
    .avatar {
        width: 140px; /* 从120px增大到140px */
        height: 140px; /* 从120px增大到140px */
    }
    
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .modern-btn {
        min-width: 280px; /* 从250px增大到280px */
        font-size: 1.3rem; /* 增大按钮字体 */
        padding: 1.2rem 2.2rem; /* 增大按钮内边距 */
    }
    
    .prize-image {
        right: 10px;
        width: 250px;
    }
    
    .section-container {
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .bd-callout {
        font-size: 1.4rem; /* 增大标题字体 */
    }
    
    .intro-text {
        font-size: 1.3rem; /* 从1.1rem增大到1.3rem */
        line-height: 1.9; /* 增大行高 */
        padding: 2.5rem; /* 增大内边距 */
    }
    
    .time-cell {
        font-size: 1.3rem; /* 从1.1rem增大到1.3rem */
    }
    
    .prize-cell {
        font-size: 1.2rem; /* 从1rem增大到1.2rem */
    }
    
    .prize-title {
        font-size: 1.1rem; /* 从0.9rem增大到1.1rem */
    }
    
    .prize-title-cn {
        font-size: 1rem; /* 从0.8rem增大到1rem */
    }
}

@media (max-width: 480px) {
    .hello-text {
        font-size: 2.5rem; /* 从2rem增大到2.5rem */
    }
    
    .bd-callout {
        padding: 1.8rem; /* 从1.5rem增大到1.8rem */
        margin: 1.2rem 0; /* 从1rem增大到1.2rem */
        font-size: 1.3rem; /* 增大字体 */
    }
    
    .table-container {
        padding: 1.2rem; /* 从1rem增大到1.2rem */
    }
    
    .modern-table thead th,
    .table-row-hover td {
        padding: 1.2rem 0.6rem; /* 从1rem 0.5rem增大 */
        font-size: 1.1rem; /* 从0.9rem增大到1.1rem */
    }
    
    .intro-text {
        font-size: 1.2rem; /* 增大字体 */
        padding: 1.8rem; /* 增大内边距 */
    }
    
    .subtitle {
        font-size: 1.3rem; /* 增大字体 */
    }
    
    /* 确保图片在小屏幕上正确显示 */
    .prize-image {
        width: 200px;
        right: 5px;
        bottom: 5px;
    }
}

/* 添加额外的超小屏幕适配 */
@media (max-width: 360px) {
    .hello-text {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    .modern-btn {
        min-width: 240px;
        font-size: 1.2rem;
        padding: 1rem 1.8rem;
    }
    
    .bd-callout {
        padding: 1.5rem;
        font-size: 1.2rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    /* 调整表格在超小屏幕上的显示 */
    .table-container {
        padding: 1rem 0.5rem;
    }
    
    .modern-table thead th,
    .table-row-hover td {
        padding: 1rem 0.4rem;
        font-size: 1rem;
    }
    
    /* 确保奖项图片在超小屏幕上正确显示 */
    .prize-image {
        width: 180px;
    }
}

/* 在现有CSS文件末尾添加以下样式 */

/* 奖项标题样式 */
.prize-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.prize-title-cn {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-style: italic;
    margin-bottom: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .prize-title {
        font-size: 0.9rem;
    }
    
    .prize-title-cn {
        font-size: 0.8rem;
    }
}

