/* ========================================
   欧交易所App下载站 - 深色科技风格
   ======================================== */

/* CSS Variables */
:root {
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --accent: #06B6D4;
    --accent-light: #22D3EE;
    --bg-dark: #0F0F1A;
    --bg-card: #1A1A2E;
    --bg-card-hover: #252542;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B8;
    --text-muted: #6B6B80;
    --border: #2D2D4A;
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
    --gradient-dark: linear-gradient(180deg, #1A1A2E 0%, #0F0F1A 100%);
    --shadow: 0 4px 30px rgba(124, 58, 237, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -2;
}

.particle {
    position: fixed;
    width: 2px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-100px) translateX(50px); opacity: 0.6; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-light);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

/* Hero Image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(180deg, #2D2D4A 0%, #1A1A2E 100%);
    border-radius: 40px;
    border: 3px solid var(--border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #0F0F1A;
    border-radius: 20px;
}

.phone-screen {
    padding: 50px 15px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.phone-logo {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.phone-chart {
    flex: 1;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    gap: 8px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 5px 5px 0 0;
    min-height: 20px;
}

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Alert Banner */
.alert-banner {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-banner.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #F59E0B;
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.15);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-light);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Ecosystem Section */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ecosystem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.3s;
}

.ecosystem-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.2);
}

.ecosystem-icon {
    width: 70px;
    height: 70px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.ecosystem-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.ecosystem-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    gap: 20px;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.benefit-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 22px 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-light);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding: 0 25px 22px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Download Section */
.download-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 80px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.download-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.download-info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.download-btn:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.download-btn-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.download-btn-text {
    flex: 1;
}

.download-btn-title {
    font-size: 16px;
    font-weight: 600;
}

.download-btn-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.download-qr {
    display: flex;
    justify-content: center;
}

.qr-box {
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.qr-placeholder span {
    color: #333;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 0;
}

/* Footer Main */
.footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-light);
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary-light);
}

.footer-legal span {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-text a {
    color: var(--primary-light);
    text-decoration: none;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    border: none;
    color: white;
    font-size: 20px;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .features-grid,
    .ecosystem-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .download-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-buttons {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 26, 0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 30px;
    }

    .features-grid,
    .ecosystem-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 1;
        max-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-section {
        padding: 50px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 26, 0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 30px;
    }

    .features-grid,
    .ecosystem-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

/* ========================================
   新闻列表页 & 新闻内容页 样式
   ======================================== */

/* Page Header Banner */
.page-banner {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.page-banner-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.page-banner h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    font-size: 14px;
}

.breadcrumb-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-list a:hover {
    color: var(--primary-light);
}

.breadcrumb-list span {
    color: var(--text-muted);
}

.breadcrumb-list .current {
    color: var(--text-secondary);
}

/* News Filter Tabs */
.news-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-card-image .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.news-card-body {
    padding: 25px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.news-card-meta svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.news-card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.news-card-tag {
    font-size: 12px;
    color: var(--primary-light);
    background: rgba(124, 58, 237, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
}

.news-card-readmore {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.news-card:hover .news-card-readmore {
    color: var(--primary-light);
}

.news-card-readmore svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.3s;
}

.news-card:hover .news-card-readmore svg {
    transform: translateX(3px);
}

/* Featured News */
.news-featured {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    transition: all 0.3s;
}

.news-featured:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.news-featured-image {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    position: relative;
}

.news-featured-image .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.news-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-featured-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.news-featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-primary);
}

.news-featured-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.news-featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.news-featured-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-featured-meta-item svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-family: inherit;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary);
    color: var(--text-primary);
}

.pagination-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* Article Page */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 40px 0 100px;
}

.article-main {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}

.article-header {
    padding: 40px;
    border-bottom: 1px solid var(--border);
}

.article-category-tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.15);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.article-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.article-meta-divider {
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
}

.article-cover {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-cover .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
}

.article-body {
    padding: 40px;
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 15px;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    background: rgba(124, 58, 237, 0.1);
    border-left: 4px solid var(--primary);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 25px 0;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.article-tag {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.article-tag:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    margin-top: 30px;
}

.article-share-label {
    font-size: 14px;
    color: var(--text-muted);
}

.article-share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.article-share-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.article-share-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Article Navigation */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.article-nav-item {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.article-nav-item:hover {
    border-color: var(--primary);
}

.article-nav-item.next {
    text-align: right;
}

.article-nav-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.article-nav-label svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.article-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget-title svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-light);
}

.sidebar-news-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.sidebar-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-news-item:hover .sidebar-news-title {
    color: var(--primary-light);
}

.sidebar-news-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.sidebar-news-thumb .placeholder-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
}

.sidebar-news-content {
    flex: 1;
}

.sidebar-news-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.sidebar-news-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

/* Hot Tags */
.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hot-tag {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.hot-tag:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Responsive for News Pages */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-image {
        min-height: 250px;
    }

    .page-banner h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .article-header,
    .article-body {
        padding: 25px;
    }

    .article-title {
        font-size: 26px;
    }

    .article-cover {
        height: 250px;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .page-banner {
        padding: 120px 0 40px;
    }

    .page-banner h1 {
        font-size: 30px;
    }

    .news-filter {
        gap: 8px;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 22px;
    }

    .article-meta {
        gap: 15px;
    }

    .article-featured-badge {
        font-size: 12px;
        padding: 4px 12px;
    }

    .page-banner h1 {
        font-size: 26px;
    }

    .page-banner p {
        font-size: 16px;
    }
}
