/* 首页和文章页专用样式 */

/* 浅色主题（默认） */
.home-page,
.article-page {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    background: var(--bg-primary);
}

/* 深色主题 */
[data-theme="dark"] .home-page,
[data-theme="dark"] .article-page,
.home-page[data-theme="dark"],
.article-page[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: #475569;
    background: var(--bg-primary);
}

/* 导航栏 */
.home-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

[data-theme="dark"] .home-nav {
    background: rgba(15, 23, 42, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-logo .logo-text {
    white-space: nowrap;
}

.nav-logo .logo-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.nav-logo .logo-icon.pixel-arrow {
    display: inline-block;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: url('/static/images/logo.svg') no-repeat center/contain;
    image-rendering: pixelated;
    -webkit-font-smoothing: none;
    position: relative;
    z-index: 1;
}

.nav-logo .logo-icon.pixel-arrow::before,
.nav-logo .logo-icon.pixel-arrow::after {
    display: none;
}

.footer-logo .logo-icon.pixel-arrow {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url('/static/images/logo.svg') no-repeat center/contain;
    image-rendering: pixelated;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
}

.btn-login {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.btn-logout {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
}

.btn-logout:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-login-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 8px;
}

.nav-about-btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.nav-about-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 股票页面导航适配 */
.stock-page-nav {
    position: relative;
    background: #ffffff;
}

.stock-page-nav + .app-container {
    padding-top: 0;
}

.stock-page-nav + .app-container .header {
    margin-top: 0;
    border-top: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Hero 区域 */
.hero-section {
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 10px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #475569;
    color: #ffffff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #3b82f6;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* 通用区块样式 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* 市场概览 */
.market-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
}

.market-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.market-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.market-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.market-name {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.market-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.market-change {
    font-size: 14px;
    font-weight: 600;
}

.market-change.up {
    color: #10b981;
}

.market-change.down {
    color: #ef4444;
}

/* 市场数据更新信息 */
.market-update-info {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.market-update-info .update-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.market-update-info .update-time::before {
    content: '🔄';
}

.market-card.loading .market-value,
.market-card.loading .market-change {
    opacity: 0.5;
}

/* 分析区块 */
.analysis-section {
    padding: 80px 24px;
}

.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.analysis-chart {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.analysis-chart h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.chart-placeholder {
    background: var(--bg-secondary);
    border-radius: 8px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}

.chart-placeholder img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.legend-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-item .dot.blue {
    background: #3b82f6;
}

.legend-item .dot.green {
    background: #10b981;
}

.legend-item .dot.orange {
    background: #f59e0b;
}

/* 投资见解文章 */
.insights-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.article-card .article-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* AI生成文章标识 */
.ai-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #ffffff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.article-card.ai-generated {
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.article-sentiment {
    font-size: 12px;
    margin-left: 8px;
}

.sentiment-bullish { color: #10b981; }
.sentiment-bearish { color: #ef4444; }
.sentiment-neutral { color: #64748b; }

/* 生成按钮样式 */
.generate-article-btn {
    margin-top: 16px;
    gap: 8px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* 生成的文章网格 */
.generated-articles {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.generated-articles:empty {
    display: none;
}

.article-card .article-content {
    padding: 20px;
}

.article-meta {
    margin-bottom: 12px;
}

.article-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.article-card .article-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 14px;
    color: #3b82f6;
    font-weight: 500;
}

.view-more-wrapper {
    text-align: center;
    margin-top: 48px;
}

/* 关于我 */
.about-section {
    padding: 80px 24px;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 关于本站 */
.site-about-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
    text-align: center;
}

.site-about-text {
    max-width: 700px;
    margin: 0 auto 16px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 页脚 */
.home-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    font-size: 20px;
    text-decoration: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* 文章详情页 */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 60px;
}

.article-header {
    margin-bottom: 32px;
}

.back-link {
    display: inline-block;
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
}

.back-link:hover {
    text-decoration: underline;
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.article-page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    font-size: 14px;
    color: var(--text-secondary);
}

.article-cover {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-primary);
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 20px;
}

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

.article-body li {
    margin-bottom: 12px;
}

.article-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}

.article-body .highlight-box {
    padding: 20px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    margin: 24px 0;
}

.article-body .highlight-box h4 {
    color: #1e40af;
    margin-bottom: 12px;
}

.article-body .chart-section {
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.article-body .chart-section h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

/* AI 生成文章特有样式 */
.article-body .article-summary {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border-left: 4px solid #3b82f6;
}

.article-body .core-view {
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 16px;
}

.article-body .highlights {
    margin-left: 20px;
}

.article-body .highlights li {
    margin-bottom: 8px;
}

.article-body .indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.article-body .indicator-card {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    text-align: center;
}

.article-body .indicator-card.positive {
    border-left: 3px solid #10b981;
}

.article-body .indicator-card.negative {
    border-left: 3px solid #ef4444;
}

.article-body .indicator-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.article-body .indicator-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.article-body .logic-chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.article-body .chain-point {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border-radius: 20px;
    font-size: 14px;
}

.article-body .chain-arrow {
    color: var(--text-secondary);
    font-size: 18px;
}

.article-body .scenarios-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.article-body .scenario {
    padding: 20px;
    border-radius: 12px;
}

.article-body .scenario.optimistic {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.article-body .scenario.pessimistic {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.article-body .scenario strong {
    display: block;
    margin-bottom: 8px;
}

.article-body .heat-map-table {
    overflow-x: auto;
    margin: 16px 0;
}

.article-body .sector-heat-map {
    width: 100%;
    border-collapse: collapse;
}

.article-body .sector-heat-map th,
.article-body .sector-heat-map td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.article-body .sector-heat-map th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.article-body .sector-heat-map tr.up td:last-child {
    color: #10b981;
}

.article-body .sector-heat-map tr.down td:last-child {
    color: #ef4444;
}

.article-body .highlight-box.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
}

.article-body .highlight-box.warning h4 {
    color: #92400e;
}

/* 免责声明 */
.article-disclaimer {
    margin: 48px 0 32px;
    padding: 24px;
    background: #fef3c7;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.article-disclaimer h4 {
    color: #92400e;
    margin-bottom: 12px;
    font-size: 16px;
}

.article-disclaimer p {
    color: #78350f;
    font-size: 14px;
    line-height: 1.7;
}

/* 分享按钮 */
.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.article-share span {
    color: var(--text-secondary);
    font-size: 14px;
}

.share-btn {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.share-btn:hover {
    background: var(--border-color);
}

/* 相关文章 */
.related-articles {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    display: block;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 140px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 16px;
}

.related-category {
    display: inline-block;
    padding: 2px 8px;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
}

.related-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .market-cards {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .about-text .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .market-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-logo {
        font-size: 16px;
    }
    
    .nav-logo .logo-icon.pixel-arrow {
        width: 28px;
        height: 28px;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .article-page-title {
        font-size: 28px;
    }

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

@media (max-width: 480px) {
    .market-cards {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 120px 16px 60px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
