/* 奢侈风格全局样式 */
:root {
    --gold: #D4AF37;
    --dark-blue: #0A1A2F;
    --pearl: #F5F5F5;
    --light-gold: #E8D49B;
    --deep-blue: #051225;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

body {
    background-color: var(--dark-blue);
    color: var(--pearl);
    line-height: 1.8;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: var(--light-gold);
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

a:hover {
    color: var(--gold);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 奢侈风格头部 */
header {
    background-color: rgba(10, 26, 47, 0.9);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding-left: 15px;
}

.logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 4px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    padding: 8px 0;
    position: relative;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 奢侈风格主要内容 */
.main-content {
    background-color: var(--deep-blue);
    border-radius: var(--border-radius);
    padding: 50px;
    margin: 40px 0;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
}

/* 奢侈风格文章网格 */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    height: 400px;
    perspective: 1000px;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(5, 18, 37, 0.9), transparent);
    padding: 30px 25px;
    color: white;
}

.gallery-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--light-gold);
}

/* 奢侈风格分类标签 */
.category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--gold);
    color: var(--dark-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* 奢侈风格文章详情 */
.article-luxury {
    max-width: 1000px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.article-title {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.3;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.article-subtitle {
    font-size: 18px;
    color: var(--light-gold);
    margin-bottom: 30px;
    font-style: italic;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--light-gold);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.article-content {
    line-height: 2;
    font-size: 18px;
}

.article-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 30px auto;
    display: block;
    box-shadow: var(--shadow);
}

/* 奢侈风格分页 */
.pagination-luxury {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination-luxury a {
    padding: 12px 30px;
    border-radius: 30px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--light-gold);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.pagination-luxury a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: all 0.6s ease;
}

.pagination-luxury a:hover {
    background-color: rgba(212, 175, 55, 0.2);
}

.pagination-luxury a:hover::before {
    left: 100%;
}

/* 奢侈风格友情链接 */
.luxury-links {
    background-color: var(--deep-blue);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: var(--shadow);
}

.luxury-links h3 {
    margin-bottom: 25px;
    color: var(--gold);
    font-size: 24px;
    letter-spacing: 1px;
}

.luxury-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.luxury-links-container a {
    padding: 10px 20px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
}

.luxury-links-container a:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

/* 奢侈风格页脚 */
footer {
    background-color: var(--deep-blue);
    padding: 50px 0 30px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.copyright {
    font-size: 14px;
    color: var(--light-gold);
    letter-spacing: 1px;
}

/* 奢侈风格装饰元素 */
.decorative-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 40px 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .article-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .main-content {
        padding: 30px;
    }
    
    .article-gallery {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-meta {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .main-content {
        padding: 25px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .pagination-luxury {
        flex-direction: column;
        align-items: center;
    }
}