
/* 基础样式与响应式设计 */
body {
    margin: 0;
    font-family: 'VintageSerif', serif, Arial, sans-serif;
    background-color: #3c2f1e;
    color: #d4a88c;
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
}
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'ModernSans', Arial, sans-serif;
    color: #fff;
    text-align: center;
}
h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
}
/* 网格布局与不对称设计 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-item {
    background-color: #f4e9d8;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
}
.grid-item:hover {
    transform: scale(1.05);
}
.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.grid-item-content {
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
}
/* 微交互设计 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4b0082;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.button:hover {
    background-color: #6a0dad;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
.details-wrapper {
    margin-top: 20px;
}
details {
    background-color: #f4e9d8;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}
summary {
    font-weight: bold;
    cursor: pointer;
    outline: none;
}
details[open] {
    background-color: #eae0d5;
}
/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}
.loading-animation {
    border-right: 2px solid #ff9900;
    white-space: nowrap;
    overflow: hidden;
    animation: typewriter 2s steps(30, end);
}
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}
/* 特殊区域样式 */
.intro-section {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
    position: relative;
}
.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.intro-content {
    position: relative;
    z-index: 1;
}
.info-box {
    background-color: #fff3e0;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.info-box h3 {
    color: #333;
    margin-bottom: 10px;
}
.info-box p {
    font-size: 1rem;
    line-height: 1.6;
}
/* 脚注样式 */
.footer {
    background-color: #2c1f10;
    color: #ccc;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}
.footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}
.footer a:hover {
    text-decoration: underline;
}

