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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Georgia', serif;
    line-height: 1.8;
    color: #d4c5b9;
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 50%, #0a0a0a 100%);
    min-height: 100vh;
    position: relative;
}

.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.01) 2px,
            rgba(212, 175, 55, 0.01) 4px
        ),
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5c2 30%, #d4af37 60%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    animation: goldShimmer 4s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 100% { filter: brightness(1) saturate(1); }
    50% { filter: brightness(1.15) saturate(1.2); }
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #a89f91;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    transition: width 0.4s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #d4af37;
    letter-spacing: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 120%;
}

.main {
    min-height: calc(100vh - 160px);
    padding: 3.5rem 0;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%);
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 80px rgba(212, 175, 55, 0.05);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.3) 20%,
        rgba(244, 229, 194, 0.5) 50%,
        rgba(212, 175, 55, 0.3) 80%,
        transparent 100%
    );
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.08);
    color: #d4af37;
    padding: 7px 20px;
    border-radius: 2px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.35;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f4e5c2 0%, #d4af37 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.luxury-title {
    background: linear-gradient(135deg, #d4af37, #f4e5c2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: #8a8279;
    line-height: 1.9;
    margin-bottom: 2.25rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.tag-luxury {
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 0.86rem;
    font-weight: 500;
    background: rgba(212, 175, 55, 0.06);
    color: #c9a96e;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    letter-spacing: 0.5px;
}

.tag-luxury:hover {
    transform: translateY(-2px);
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
    color: #d4af37;
}

.hero-decoration {
    flex: 0 0 280px;
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deco-line {
    position: absolute;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.line-1 {
    width: 1px;
    height: 200px;
    animation: linePulse 3s ease-in-out infinite;
}

.line-2 {
    width: 200px;
    height: 1px;
    animation: linePulse 3s ease-in-out infinite 0.75s;
}

.deco-diamond {
    width: 48px;
    height: 48px;
    transform: rotate(45deg);
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: diamondRotate 8s linear infinite;
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.15),
        inset 0 0 15px rgba(212, 175, 55, 0.1);
}

@keyframes linePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes diamondRotate {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

.articles-section {
    margin-top: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.section-desc {
    font-size: 1rem;
    color: #6d6560;
    font-weight: 300;
    letter-spacing: 1px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
}

.article-card {
    background: linear-gradient(145deg, rgba(16, 16, 16, 0.98) 0%, rgba(22, 22, 22, 0.95) 100%);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #d4af37, #b8860b);
    transition: height 0.4s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 175, 55, 0.08);
}

.article-card:hover::before {
    height: 100%;
}

.article-card-header {
    padding: 2rem 2rem 1.25rem;
    position: relative;
    z-index: 1;
}

.article-card-category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 1rem;
    background: rgba(212, 175, 55, 0.08);
    color: #c9a96e;
    border: 1px solid rgba(212, 175, 55, 0.15);
    letter-spacing: 1px;
}

.article-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    color: #e8dcc8;
    margin-bottom: 0.875rem;
    transition: all 0.4s ease;
    letter-spacing: 0.3px;
}

.article-card:hover .article-card-title {
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.article-card-body {
    padding: 0 2rem 2rem;
    position: relative;
    z-index: 1;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.84rem;
    color: #6d6560;
}

.article-card-excerpt {
    font-size: 0.94rem;
    color: #8a8279;
    line-height: 1.75;
    font-weight: 300;
}

.blog-detail {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: rgba(16, 16, 16, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 2px;
    font-size: 0.93rem;
    font-weight: 500;
    color: #c9a96e;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.back-btn:hover {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #0a0a0a;
    border-color: transparent;
    transform: translateX(-4px);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.25);
}

.article-content {
    background: linear-gradient(145deg, rgba(16, 16, 16, 0.98) 0%, rgba(22, 22, 22, 0.95) 100%);
    border-radius: 4px;
    padding: 3.5rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.12);
    line-height: 1.9;
    position: relative;
}

.article-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(212, 175, 55, 0.4),
        rgba(244, 229, 194, 0.6),
        rgba(212, 175, 55, 0.4),
        transparent
    );
}

.article-hero-image {
    width: 100%;
    height: auto;
    border-radius: 2px;
    margin-bottom: 2.5rem;
    object-fit: cover;
    max-height: 450px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #e8dcc8;
    margin: 2.75rem 0 1.35rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    letter-spacing: 0.5px;
}

.article-content h3 {
    font-size: 1.35rem;
    font-weight: 500;
    color: #d4af37;
    margin: 2.25rem 0 1.125rem;
    letter-spacing: 0.3px;
}

.article-content p {
    font-size: 1rem;
    color: #b8afa3;
    margin-bottom: 1.35rem;
    line-height: 1.9;
    font-weight: 300;
}

.article-content ul,
.article-content ol {
    margin: 1.35rem 0 1.35rem 2rem;
    color: #b8afa3;
}

.article-content li {
    margin-bottom: 0.875rem;
    line-height: 1.8;
    font-weight: 300;
}

.article-content strong {
    color: #e8dcc8;
    font-weight: 600;
}

.article-content pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-left: 3px solid #d4af37;
    border-radius: 2px;
    padding: 1.75rem;
    overflow-x: auto;
    margin: 1.75rem 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.87rem;
    line-height: 1.7;
    color: #d4c5b9;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.3);
}

.article-content code {
    background: rgba(212, 175, 55, 0.08);
    padding: 3px 8px;
    border-radius: 2px;
    font-size: 0.87rem;
    color: #c9a96e;
    font-family: 'Consolas', 'Monaco', monospace;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.info-item {
    background: rgba(212, 175, 55, 0.04);
    padding: 1.5rem;
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.92rem;
    line-height: 1.7;
    transition: all 0.4s ease;
}

.info-item:hover {
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.07);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.08);
}

.info-item strong {
    display: block;
    color: #d4af37;
    margin-bottom: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(184, 134, 11, 0.05));
    border-left: 3px solid #d4af37;
    padding: 1.75rem 2rem;
    border-radius: 2px;
    margin: 2.25rem 0;
    font-size: 0.98rem;
    line-height: 1.85;
    color: #e8dcc8;
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.08);
}

.warning-box {
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.1), rgba(139, 0, 0, 0.06));
    border-left: 3px solid #b22222;
    padding: 1.75rem 2rem;
    border-radius: 2px;
    margin: 2.25rem 0;
    font-size: 0.98rem;
    line-height: 1.85;
    color: #f5d0d0;
    box-shadow: 0 4px 24px rgba(178, 34, 34, 0.08);
}

.footer {
    background: rgba(8, 8, 8, 0.98);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 3rem 0;
    margin-top: 5rem;
}

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

.footer-text {
    font-size: 0.94rem;
    color: #6d6560;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.footer-slogan {
    font-size: 0.86rem;
    color: #4d4743;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #6d6560;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
}

.footer-link:hover {
    color: #d4af37;
}

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

@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-decoration {
        display: none;
    }

    .hero-subtitle br {
        display: none;
    }

    .tech-tags {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-content {
        padding: 2rem;
    }

    .footer .container {
        flex-direction: column;
        gap: 1.75rem;
        text-align: center;
    }
}