/* ===== 深圳品茶网 - 黑金风格主题 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

/* === CSS Variables === */
:root {
    --gold: #D4AF37;
    --gold-light: #F5D77A;
    --gold-dark: #B8960C;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D77A 50%, #B8960C 100%);
    --gold-text-gradient: linear-gradient(135deg, #F5D77A 0%, #D4AF37 30%, #FFF8DC 50%, #D4AF37 70%, #B8960C 100%);
    --black: #0A0A0A;
    --black-light: #1A1A1A;
    --black-card: #141414;
    --black-border: #2A2A2A;
    --gray-dark: #333333;
    --gray: #888888;
    --gray-light: #CCCCCC;
    --white: #F5F5F5;
    --font-main: 'Noto Serif SC', 'SimSun', 'STSong', serif;
    --font-body: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--gray-light);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--black);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* === Selection === */
::selection {
    background: var(--gold);
    color: var(--black);
}

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

/* === Header === */
.header {
    background: linear-gradient(180deg, #0D0D0D 0%, #0A0A0A 100%);
    border-bottom: 1px solid var(--black-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid var(--gold);
}

.logo-text {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav a {
    color: var(--gray-light);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.hero h1 {
    font-family: var(--font-main);
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-shadow: none;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    padding: 16px 48px;
    background: var(--gold-gradient);
    color: var(--black);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    letter-spacing: 2px;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
    color: var(--black);
}

/* === Section === */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--black-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1rem;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* === Cards Grid === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-gold);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--black-border);
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-family: var(--font-main);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 12px;
    line-height: 1.5;
}

.card-body p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* === Article Page === */
.article-header {
    background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--black-border);
}

.article-header h1 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--gray);
    font-size: 0.9rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-content h2 {
    font-family: var(--font-main);
    font-size: 1.6rem;
    color: var(--gold);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--black-border);
}

.article-content h3 {
    font-family: var(--font-main);
    font-size: 1.3rem;
    color: var(--gold-light);
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 2;
}

.article-content img {
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid var(--black-border);
}

.article-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 15px 25px;
    margin: 25px 0;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 8px 8px 0;
    color: var(--gold-light);
    font-style: italic;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* === Breadcrumb === */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--gold);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--gray-dark);
}

/* === Contact Page === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-gold);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.contact-card h3 {
    font-family: var(--font-main);
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gold-gradient);
    color: var(--black);
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
    color: var(--black);
}

/* === About Page === */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.about-content h2 {
    font-family: var(--font-main);
    font-size: 1.8rem;
    color: var(--gold);
    margin: 40px 0 20px;
}

.about-content p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 2;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.about-feature {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--gold-dark);
}

.about-feature .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-feature h3 {
    font-family: var(--font-main);
    color: var(--gold);
    margin-bottom: 10px;
}

/* === Floating Buttons === */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--gold);
    font-size: 1.3rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.float-btn:hover {
    transform: scale(1.15);
}

.float-btn.phone {
    background: linear-gradient(135deg, #27AE60, #2ECC71);
    color: white;
    animation: pulse-green 2s infinite;
}

.float-btn.qq {
    background: linear-gradient(135deg, #2980B9, #3498DB);
    color: white;
}

.float-btn.wechat {
    background: linear-gradient(135deg, #27AE60, #2ECC71);
    color: white;
}

.float-btn.addqq {
    background: linear-gradient(135deg, #8E44AD, #9B59B6);
    color: white;
}

.float-btn .tooltip {
    position: absolute;
    right: 65px;
    background: var(--black-card);
    color: var(--gold);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid var(--gold-dark);
}

.float-btn:hover .tooltip {
    opacity: 1;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(39, 174, 96, 0); }
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background: var(--gold-gradient);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 9999;
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* === Footer === */
.footer {
    background: linear-gradient(180deg, var(--black) 0%, #050505 100%);
    border-top: 1px solid var(--black-border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: block;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer h4 {
    font-family: var(--font-main);
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--black-border);
    padding-top: 25px;
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
}

/* === Toast Notification === */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--black-card);
    color: var(--gold);
    padding: 15px 30px;
    border-radius: 8px;
    border: 1px solid var(--gold-dark);
    z-index: 99999;
    transition: transform 0.3s ease;
    font-size: 0.95rem;
    box-shadow: var(--shadow-gold);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* === Responsive === */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 15px 0;
        border-top: 1px solid var(--black-border);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 12px 20px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-buttons {
        right: 10px;
        bottom: 80px;
    }
    
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    .article-header h1 {
        font-size: 1.6rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* === Particle Background === */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s infinite;
}

@keyframes float-particle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* === Stats Section === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === Service Cards === */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-gold);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-main);
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* === List Page === */
.list-header {
    background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
    padding: 100px 0 50px;
    text-align: center;
    border-bottom: 1px solid var(--black-border);
}

.list-header h1 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.list-header p {
    color: var(--gray);
    font-size: 1rem;
}

.article-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

.article-list-item {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.article-list-item:hover {
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-gold);
    transform: translateX(5px);
}

.article-list-item h3 {
    font-family: var(--font-main);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.article-list-item h3 a {
    color: var(--gold);
}

.article-list-item h3 a:hover {
    color: var(--gold-light);
}

.article-list-item .excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-list-item .meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--gray);
}

/* === Banner Image Placeholder === */
.banner-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-bottom: 1px solid var(--black-border);
}

/* === Rich Text Content === */
.rich-text {
    line-height: 2;
}

.rich-text strong {
    color: var(--gold);
}

.rich-text em {
    color: var(--gold-light);
    font-style: italic;
}
