/* 基础样式和重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-gold: #FFD700;
    --secondary-gold: #DAA520;
    --dark-black: #0a0a0a;
    --medium-black: #121212;
    --light-black: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #00BFFF;
    --gradient-start: #000000;
    --gradient-end: #1a1a1a;
}

body {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 头部样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(to right, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav li {
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

nav li:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
}

nav li.active {
    color: var(--primary-gold);
}

nav li.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-gold), transparent);
}

/* 英雄区域样式 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 0;
    padding: 30px;
    background: rgba(10, 10, 10, 0.7);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(5px);
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-black);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn.secondary:hover {
    background: rgba(255, 215, 0, 0.1);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cup-holder-image {
    position: relative;
    width: 200px;
    height: 200px;
}

.cup-holder-circle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), inset 0 0 10px rgba(255, 215, 0, 0.3);
}

.cup-holder-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 20px;
    background: linear-gradient(to right, var(--primary-gold), var(--secondary-gold));
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 文档内容区域样式 */
.doc-content {
    background: rgba(10, 10, 10, 0.7);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.1);
    min-height: 400px;
}

.doc-section {
    display: none;
}

.doc-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.doc-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.doc-text {
    line-height: 1.8;
}

.doc-text p {
    margin-bottom: 15px;
}

/* 页脚样式 */
footer {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.authors {
    color: var(--primary-gold);
    font-weight: 500;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
}