@import url('style-extended.css');
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Tahoma, 'Segoe UI', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.7;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 80px;
    text-align: center;
}
.hero h1 { font-size: 2.5em; margin-bottom: 10px; }
.hero .subtitle { font-size: 1.2em; opacity: 0.95; margin-bottom: 30px; }

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto 20px;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.search-form input {
    flex: 1;
    border: none;
    padding: 18px 25px;
    font-size: 1.1em;
    outline: none;
    font-family: inherit;
}
.search-form button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0 30px;
    font-size: 1em;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
}
.search-form button:hover { background: #ee5a52; }

.quick-links { margin-top: 20px; }
.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    margin: 0 5px;
    transition: all 0.3s;
}
.btn-outline:hover { background: white; color: #667eea; }

/* Sections */
.section { margin: 50px 0; }
.section h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #2d3748;
}
.section-desc { color: #718096; margin-bottom: 25px; }

/* Trends Grid */
.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}
.trend-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border-right: 4px solid #667eea;
}
.trend-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.trend-rank {
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea;
    min-width: 40px;
}
.trend-content h3 { font-size: 1.1em; margin-bottom: 5px; }
.trend-meta { font-size: 0.9em; color: #718096; margin-bottom: 8px; }
.traffic { color: #38a169; font-weight: bold; }
.news { font-size: 0.85em; color: #4a5568; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: #4a5568;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.tag:hover { background: #667eea; color: white; }
.tag small { opacity: 0.7; }

/* Nav */
.top-nav {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.top-nav .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.top-nav a { color: #667eea; text-decoration: none; font-weight: bold; }
.nav-search { display: flex; flex: 1; max-width: 400px; }
.nav-search input {
    flex: 1;
    padding: 8px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 20px 0 0 20px;
    outline: none;
    font-family: inherit;
}
.nav-search button {
    background: #667eea;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

/* Result */
.result-header { margin-bottom: 30px; }
.result-header h1 { font-size: 2em; color: #2d3748; margin-bottom: 10px; }

.chart-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.trends-iframe {
    width: 100%;
    height: 500px;
    border-radius: 8px;
}
.trends-iframe.large { height: 600px; }
.chart-actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
}
.btn:hover { background: #5568d3; }
.btn.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

/* Wiki */
.wiki-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

/* News */
.news-list { display: grid; gap: 15px; }
.news-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.news-item a { text-decoration: none; color: inherit; display: block; }
.news-item h3 { font-size: 1.1em; margin-bottom: 8px; color: #2d3748; }
.news-item:hover h3 { color: #667eea; }
.news-meta { font-size: 0.85em; color: #718096; display: flex; gap: 15px; }

/* Compare */
.compare-box {
    background: white;
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 30px 0;
}
.compare-box h1 { margin-bottom: 15px; }
.compare-form.big { max-width: 700px; margin: 30px auto 0; }
.compare-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.compare-inputs input {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.1em;
    outline: none;
    font-family: inherit;
}
.compare-inputs input:focus { border-color: #667eea; }
.vs {
    background: #ff6b6b;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}
.compare-form button {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
}

.back-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.back-links a {
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #667eea;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Full trends list */
.trends-list-full { display: grid; gap: 15px; }
.trend-full-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.trend-rank-big {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    min-width: 60px;
}
.trend-details h2 { margin-bottom: 8px; }
.trend-details h2 a { color: #2d3748; text-decoration: none; }
.trend-details h2 a:hover { color: #667eea; }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}
.cta-section h2 { color: white; }
.compare-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto 0;
    flex-wrap: wrap;
}
.compare-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-family: inherit;
    outline: none;
}
.compare-form button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
}

footer {
    background: #2d3748;
    color: white;
    padding: 25px 0;
    text-align: center;
    margin-top: 50px;
}
footer a { color: #90cdf4; }

@media (max-width: 600px) {
    .hero h1 { font-size: 1.8em; }
    .trends-grid { grid-template-columns: 1fr; }
    .trends-iframe { height: 400px; }
}
/* Chart Loading & Error States */
.trends-chart-wrapper {
    position: relative;
    min-height: 500px;
    background: #f7fafc;
    border-radius: 8px;
    overflow: hidden;
}

.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #edf2f7;
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.chart-loading p {
    color: #4a5568;
    font-size: 0.95em;
}

.chart-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff5f5;
    padding: 30px;
    text-align: center;
    z-index: 10;
}

.chart-error p {
    color: #c53030;
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: bold;
}

.trends-iframe {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    .trends-chart-wrapper {
        min-height: 400px;
    }
    .trends-iframe {
        height: 400px;
    }
}
/* Trends External Box */
.trends-external-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.trends-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: white;
}

.trends-info p {
    opacity: 0.95;
    margin-bottom: 25px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 25px;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.5);
}

.trends-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
}

.feature .icon {
    font-size: 1.3em;
}

/* Wiki Section */
.wiki-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.wiki-thumb {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.wiki-text {
    flex: 1;
}

@media (max-width: 768px) {
    .wiki-content {
        flex-direction: column;
    }
    .wiki-thumb {
        max-width: 100%;
        width: 100%;
    }
    .trends-features {
        flex-direction: column;
        align-items: center;
    }
}
/* Chart Container */
.chart-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    position: relative;
    height: 400px;
}

.chart-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
}

/* Related Trends */
.related-trends {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trend-tag {
    background: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: #4a5568;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trend-tag:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.trend-tag small {
    background: rgba(0,0,0,0.1);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.85em;
}

@media (max-width: 600px) {
    .chart-container {
        height: 300px;
        padding: 20px;
    }
    .stat-value {
        font-size: 1.4em;
    }
}
:root { --p: #6366f1; --s: #ef4444; --bg: #f8fafc; --card: #ffffff; --txt: #0f172a; --muted: #64748b; --border: #e2e8f0; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Tahoma, 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--txt); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: var(--p); }
.hero { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; padding: 60px 0 80px; text-align: center; }
.hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.search-box { max-width: 600px; margin: 30px auto 0; display: flex; background: #fff; border-radius: 50px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.search-box input { flex: 1; border: none; padding: 16px 24px; font-size: 1rem; outline: none; font-family: inherit; }
.search-box button { background: var(--s); color: #fff; border: none; padding: 0 28px; cursor: pointer; font-family: inherit; font-weight: bold; }
.quick-actions { margin-top: 20px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.quick-actions a { background: rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 20px; color: #fff; font-size: 0.9rem; }
.section { margin: 50px 0; }
.section h2 { font-size: 1.5rem; margin-bottom: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; }
.card { background: var(--card); padding: 20px; border-radius: 12px; display: flex; gap: 15px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: 0.2s; border-right: 4px solid var(--p); }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.rank { font-size: 1.4rem; font-weight: bold; color: var(--p); min-width: 40px; }
.meta { font-size: 0.85rem; color: var(--muted); display: block; margin: 5px 0; }
.news { font-size: 0.85rem; color: #475569; margin-top: 5px; }
.tags, .flex-gap { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--card); padding: 8px 14px; border-radius: 20px; font-size: 0.9rem; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.tag:hover { background: var(--p); color: #fff; }
.topnav { background: #fff; padding: 12px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 20px; }
.topnav .container { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.nav-form { display: flex; flex: 1; max-width: 400px; }
.nav-form input { flex: 1; padding: 8px 12px; border: 2px solid var(--border); border-radius: 8px 0 0 8px; outline: none; font-family: inherit; }
.nav-form button { background: var(--p); color: #fff; border: none; padding: 0 16px; border-radius: 0 8px 8px 0; cursor: pointer; }
.page-title { font-size: 1.8rem; margin-bottom: 20px; text-align: center; }
.chart-wrap { background: var(--card); padding: 25px; border-radius: 16px; box-shadow: 0 5px 15px rgba(0,0,0,0.06); margin-bottom: 25px; }
.chart-box { height: 400px; position: relative; }
.stats { display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.stat { background: #f1f5f9; padding: 12px 20px; border-radius: 10px; text-align: center; }
.stat span { display: block; font-size: 0.8rem; color: var(--muted); }
.stat strong { font-size: 1.1rem; color: var(--p); }
.panel { background: var(--card); padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); margin-bottom: 25px; }
.wiki-flex { display: flex; gap: 20px; align-items: start; }
.thumb { max-width: 180px; border-radius: 10px; }
.link { display: inline-block; margin-top: 10px; font-weight: bold; }
.news-list { list-style: none; }
.news-list li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.news-list a { font-weight: 500; display: block; margin-bottom: 4px; }
.news-meta { font-size: 0.8rem; color: var(--muted); }
.cta-box { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; padding: 30px; border-radius: 14px; text-align: center; margin-bottom: 40px; }
.cmp-form { display: flex; gap: 10px; max-width: 500px; margin: 20px auto 0; flex-wrap: wrap; }
.cmp-form input { flex: 1; padding: 12px; border: none; border-radius: 25px; font-family: inherit; }
.cmp-form button { background: var(--s); color: #fff; border: none; padding: 12px 24px; border-radius: 25px; cursor: pointer; font-family: inherit; font-weight: bold; }
.btn { display: inline-block; padding: 10px 20px; background: var(--p); color: #fff; border-radius: 8px; font-weight: 500; }
.btn.outline { background: transparent; color: var(--p); border: 2px solid var(--p); }
footer { background: #0f172a; color: #cbd5e1; padding: 20px 0; text-align: center; margin-top: 40px; }
@media (max-width: 600px) {
    .hero h1 { font-size: 1.6rem; }
    .chart-box { height: 300px; }
    .wiki-flex { flex-direction: column; }
    .thumb { max-width: 100%; }
}
.alert {
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}
.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}
/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}
.stat-card {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(99,102,241,0.3);
    transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card.highlight {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.stat-icon { font-size: 2.5rem; }
.stat-info { display: flex; flex-direction: column; }
.stat-number { font-size: 1.8rem; font-weight: bold; }
.stat-text { font-size: 1.2rem; font-weight: bold; }
.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* Hot Section */
.hot-section {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    padding: 30px;
    border-radius: 16px;
    margin: 30px 0;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.live-badge {
    background: #ef4444;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.hot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.hot-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-right: 4px solid #ef4444;
    animation: slideIn 0.5s ease-out;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
.hot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.hot-rank { font-size: 1.5rem; font-weight: bold; color: #ef4444; }
.hot-growth {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 5px;
}

/* Trending List */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.trend-item {
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.trend-item:hover {
    background: #f8fafc;
    transform: translateX(-5px);
}
.trend-rank { font-weight: bold; color: #6366f1; min-width: 40px; }
.trend-name { flex: 1; font-weight: 500; }
.trend-volume { color: #64748b; }
.trend-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}
.trend-up { background: #dcfce7; color: #16a34a; }
.trend-down { background: #fee2e2; color: #dc2626; }

/* Category Tabs */
.category-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.category-tab { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.tab-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.tab-btn:hover { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.tab-content { padding: 15px; background: #f8fafc; }
.category-trends { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-trend {
    background: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    color: #475569;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.cat-trend:hover {
    background: #6366f1;
    color: #fff;
    transform: translateY(-2px);
}
.cat-trend small { opacity: 0.7; margin-right: 5px; }

/* Word Cloud */
.word-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    min-height: 300px;
    align-items: center;
}
.word-cloud-item {
    color: #6366f1;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 8px;
}
.word-cloud-item:hover {
    color: #ef4444;
    transform: scale(1.1);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Yesterday List */
.yesterday-list {
    display: grid;
    gap: 10px;
}
.yesterday-item {
    background: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    opacity: 0.8;
}
.y-rank { font-weight: bold; color: #94a3b8; }
.y-keyword { flex: 1; }
.y-traffic { font-size: 0.9rem; color: #64748b; }

/* Newsletter */
.newsletter-section { margin: 50px 0; }
.newsletter-box {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}
.newsletter-box h2 { margin-bottom: 10px; }
.newsletter-box p { margin-bottom: 25px; opacity: 0.95; }
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    min-width: 250px;
}
.newsletter-form button {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.3s;
}
.newsletter-form button:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Category Badge */
.category-badge {
    display: inline-block;
    background: #e0e7ff;
    color: #4f46e5;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 5px;
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 600px) {
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 15px; }
    .stat-number { font-size: 1.4rem; }
    .hot-grid { grid-template-columns: 1fr; }
    .word-cloud { padding: 20px; }
    .newsletter-box { padding: 25px; }
}
/* دسته‌بندی‌های همیشه باز */
.categories-always-open {
    display: grid;
    gap: 25px;
}

.category-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid #e0e7ff;
    transition: all 0.3s;
}

.category-box:hover {
    box-shadow: 0 8px 25px rgba(99,102,241,0.15);
    border-color: #6366f1;
}

.category-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-header h3 {
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trend-count {
    background: rgba(255,255,255,0.25);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.category-content {
    padding: 20px;
    background: #f8fafc;
}

.cat-trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.cat-trend-card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-right: 4px solid #6366f1;
}

.cat-trend-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(99,102,241,0.2);
    border-right-color: #4f46e5;
}

.cat-trend-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cat-trend-name {
    font-weight: bold;
    font-size: 1rem;
    color: #1e293b;
}

.cat-trend-traffic {
    font-size: 0.85rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 12px;
}

.cat-trend-news {
    font-size: 0.85rem;
    color: #64748b;
    margin: 5px 0 0 0;
    line-height: 1.5;
}

.no-data {
    text-align: center;
    color: #94a3b8;
    padding: 30px;
    font-style: italic;
}

/* Responsive برای دسته‌بندی‌ها */
@media (max-width: 768px) {
    .cat-trends-grid {
        grid-template-columns: 1fr;
    }
    .category-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .category-header h3 {
        justify-content: center;
    }
}
/* گرید دسته‌بندی‌ها - مثل تصویر */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-card-header {
    padding: 18px 15px;
    text-align: center;
    color: #fff;
}

.category-card-header h3 {
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trend-count-badge {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: bold;
}

.category-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    background: #f8fafc;
}

.cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s;
    border-right: 3px solid transparent;
}

.cat-item:hover {
    border-right-color: #6366f1;
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.15);
}

.cat-item-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
}

.cat-item-traffic {
    font-size: 0.8rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.no-data {
    text-align: center;
    color: #94a3b8;
    padding: 20px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    .category-card-header h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}
:root {
    --primary: #6366f1;
    --secondary: #ef4444;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: rgba(0,0,0,0.08);
}

/* Dark Mode Variables */
body.dark-mode {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --shadow: rgba(0,0,0,0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Tahoma, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: var(--primary); }

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s;
}

.theme-toggle:hover { transform: scale(1.1); }
.sun-icon { display: none; }
.moon-icon { display: inline; }
body.dark-mode .sun-icon { display: inline; }
body.dark-mode .moon-icon { display: none; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 80px 0 100px;
    text-align: center;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.search-wrapper { position: relative; max-width: 700px; margin: 30px auto 0; }

.search-box {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 18px 25px;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.search-box button {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: background 0.3s;
}

.search-box button:hover { background: #dc2626; }

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    overflow: hidden;
    display: none;
    z-index: 100;
}

.search-suggestions a {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.search-suggestions a:hover { background: var(--bg); }
.search-suggestions a:last-child { border-bottom: none; }

.quick-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-actions a, .btn-export {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.quick-actions a:hover, .btn-export:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: -50px auto 40px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--card);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s;
}

.stat-card:hover { transform: translateY(-5px); }
.stat-card.highlight {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
}

.stat-icon { font-size: 2.5rem; }
.stat-info { display: flex; flex-direction: column; }
.stat-number { font-size: 1.8rem; font-weight: bold; }
.stat-text { font-size: 1.2rem; font-weight: bold; }
.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* Sections */
.section { margin: 50px 0; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 { font-size: 1.8rem; }
.last-update { color: var(--text-muted); font-size: 0.9rem; }
.btn-refresh {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-refresh:hover { background: #4f46e5; }

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s;
    border-right: 4px solid var(--primary);
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.rank {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    min-width: 45px;
}

.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.meta { font-size: 0.9rem; color: var(--text-muted); display: block; margin: 5px 0; }
.category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 5px 5px 0 0;
    font-weight: bold;
}

.news { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }

.card-actions {
    position: absolute;
    top: 15px;
    left: 15px;
}

.share-btn {
    background: var(--bg);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.share-btn:hover { background: var(--primary); color: #fff; }

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.category-card-header {
    padding: 18px 15px;
    text-align: center;
    color: #fff;
}

.category-card-header h3 {
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trend-count-badge {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: bold;
}

.category-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    background: var(--bg);
}

.cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--card);
    border-radius: 10px;
    transition: all 0.2s;
    border-right: 3px solid transparent;
}

.cat-item:hover {
    border-right-color: var(--primary);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px var(--shadow);
}

.cat-item-name { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.cat-item-traffic {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg);
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    font-style: italic;
}

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
    background: var(--card);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.tag small { opacity: 0.7; margin-right: 5px; }

/* Chart */
.chart-wrap {
    background: var(--card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 30px;
}

.chart-box { height: 400px; position: relative; margin-bottom: 25px; }

.stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.stat {
    background: var(--bg);
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
}

.stat span { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 5px; }
.stat strong { font-size: 1.2rem; color: var(--primary); }

/* Panel */
.panel {
    background: var(--card);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 25px;
}

.panel h2 { margin-bottom: 20px; font-size: 1.4rem; }

.wiki-flex {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.thumb { max-width: 200px; border-radius: 12px; box-shadow: 0 4px 15px var(--shadow); }
.wiki-text { flex: 1; }
.link { display: inline-block; margin-top: 12px; font-weight: bold; }

/* News */
.news-list { list-style: none; }
.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.news-list li:last-child { border-bottom: none; }
.news-list a {
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

.news-list a:hover { color: var(--primary); }
.news-meta { font-size: 0.85rem; color: var(--text-muted); }

/* CTA */
.cta-box {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: #fff;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 { margin-bottom: 20px; font-size: 1.4rem; }
.cmp-form {
    display: flex;
    gap: 12px;
    max-width: 550px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cmp-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    min-width: 250px;
}

.cmp-form button {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.3s;
}

.cmp-form button:hover { background: #dc2626; transform: scale(1.05); }

/* Newsletter */
.newsletter-section { margin: 50px 0; }
.newsletter-box {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: #fff;
    padding: 45px;
    border-radius: 18px;
    text-align: center;
}

.newsletter-box h2 { margin-bottom: 12px; }
.newsletter-box p { margin-bottom: 25px; opacity: 0.95; }
.newsletter-form {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 22px;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    min-width: 280px;
}

.newsletter-form button {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 16px 35px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.3s;
}

.newsletter-form button:hover { background: #dc2626; transform: scale(1.05); }

/* Footer */
footer {
    background: var(--card);
    border-top: 2px solid var(--border);
    padding: 40px 0 25px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 { margin-bottom: 15px; color: var(--primary); }
.footer-section p, .footer-section a { color: var(--text-muted); display: block; margin: 8px 0; }
.footer-section a:hover { color: var(--primary); }

.social-links { display: flex; gap: 15px; }
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid var(--border); color: var(--text-muted); }

/* Nav */
.topnav {
    background: var(--card);
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--shadow);
    margin-bottom: 25px;
}

.topnav .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.nav-form { display: flex; flex: 1; max-width: 450px; }
.nav-form input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border);
    border-radius: 10px 0 0 10px;
    outline: none;
    font-family: inherit;
}

.nav-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

/* Result Header */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.result-header h1 { font-size: 2rem; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-share, .btn-compare {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-share:hover, .btn-compare:hover { background: #4f46e5; transform: translateY(-2px); }
.btn-compare { background: var(--secondary); }

/* Comparison */
.comparison-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.comp-stat {
    background: var(--card);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: center;
}

.comp-stat h3 { margin-bottom: 15px; color: var(--primary); }
.comp-stat p { margin: 10px 0; color: var(--text-muted); }
.comp-stat strong { color: var(--text); font-size: 1.2rem; }

.flex-gap { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin: 30px 0; }
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover { background: #4f46e5; transform: translateY(-2px); }
.btn.outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn.outline:hover { background: var(--primary); color: #fff; }

.page-title { font-size: 2rem; text-align: center; margin: 30px 0; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .stats-bar { grid-template-columns: 1fr 1fr; margin-top: 20px; }
    .grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .chart-box { height: 300px; }
    .wiki-flex { flex-direction: column; }
    .thumb { max-width: 100%; width: 100%; }
    .result-header { flex-direction: column; align-items: flex-start; }
    .result-actions { width: 100%; }
    .newsletter-box { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 1.4rem; }
    .search-box { flex-direction: column; border-radius: 20px; }
    .search-box button { padding: 15px; border-radius: 0 0 20px 20px; }
}
/* Export Page */
.export-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.export-card {
    background: var(--card);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.export-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.export-icon { font-size: 3rem; margin-bottom: 15px; }
.export-card h3 { margin-bottom: 10px; color: var(--text); }
.export-card p { color: var(--text-muted); margin-bottom: 15px; font-size: 0.95rem; }
.file-size {
    display: inline-block;
    background: var(--bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: bold;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: var(--bg);
    font-weight: bold;
    color: var(--primary);
}

.data-table tr:hover { background: var(--bg); }
.data-table a { color: var(--primary); }

@media (max-width: 600px) {
    .data-table { font-size: 0.9rem; }
    .data-table th, .data-table td { padding: 8px 10px; }
}
/* Result Header */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: var(--card);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.result-header h1 {
    font-size: 2rem;
    margin: 0 0 10px 0;
}

.result-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.result-meta span {
    margin: 0 5px;
}

.result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-share, .btn-download, .btn-compare {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-share {
    background: var(--primary);
    color: #fff;
}

.btn-share:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

.btn-download {
    background: var(--secondary);
    color: #fff;
}

.btn-download:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-compare {
    background: #10b981;
    color: #fff;
    text-decoration: none;
}

.btn-compare:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Region List */
.region-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.region-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    gap: 15px;
}

.region-item:last-child {
    border-bottom: none;
}

.region-rank {
    width: 30px;
    font-weight: bold;
    color: var(--text-muted);
}

.region-name {
    flex: 1;
    font-weight: 500;
}

.region-bar {
    width: 100px;
    height: 8px;
    background: var(--bg);
    border-radius: 4px;
    overflow: hidden;
}

.region-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.region-value {
    width: 40px;
    text-align: left;
    color: var(--text-muted);
    font-weight: 500;
}

/* Map Placeholder */
.map-placeholder {
    background: var(--bg);
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Related List */
.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    gap: 15px;
}

.related-item:last-child {
    border-bottom: none;
}

.related-rank {
    width: 30px;
    font-weight: bold;
    color: var(--text-muted);
}

.related-content {
    flex: 1;
}

.related-title {
    display: block;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 3px;
}

.related-title:hover {
    color: var(--primary);
}

.related-source {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breakout-badge {
    background: var(--secondary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .result-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .result-actions {
        width: 100%;
    }
    .grid[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}
/* Result Header بهبود یافته */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px;
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 4px 15px var(--shadow);
}

.result-header-content { flex: 1; min-width: 280px; }
.result-header h1 { font-size: 2rem; margin: 0 0 12px 0; }

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    padding: 5px 12px;
    border-radius: 20px;
}

.meta-item i { color: var(--primary); }

.result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-share { background: var(--primary); color: #fff; }
.btn-share:hover { background: #4f46e5; transform: translateY(-2px); }

.btn-download { background: var(--secondary); color: #fff; }
.btn-download:hover { background: #dc2626; transform: translateY(-2px); }

.btn-compare { background: #10b981; color: #fff; }
.btn-compare:hover { background: #059669; transform: translateY(-2px); }

/* Section Title */
.section-title {
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i { color: var(--primary); }

/* Region Grid */
.region-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.region-list-box, .region-map-box {
    background: var(--bg);
    border-radius: 12px;
    padding: 20px;
}

.region-list-box h3, .region-map-box h3 {
    font-size: 1rem;
    margin: 0 0 15px 0;
    color: var(--text-muted);
    font-weight: 500;
}

.region-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.region-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.region-item:last-child { border-bottom: none; }

.region-rank {
    width: 28px;
    font-weight: bold;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.region-name {
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.region-bar {
    width: 100px;
    height: 8px;
    background: var(--card);
    border-radius: 4px;
    overflow: hidden;
}

.region-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #8b5cf6);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.region-value {
    width: 35px;
    text-align: left;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Map Visual */
.map-visual {
    background: var(--card);
    border-radius: 10px;
    padding: 20px;
    min-height: 300px;
    position: relative;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
}

.map-iran {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 10px;
    overflow: hidden;
}

body.dark-mode .map-iran {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.province-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.province-dot:hover {
    opacity: 1;
    transform: scale(1.2);
    z-index: 10;
}

/* Related Grid */
.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.related-queries-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-query-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.related-query-item:last-child { border-bottom: none; }

.rq-rank {
    width: 28px;
    font-weight: bold;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.rq-content { flex: 1; min-width: 0; }

.rq-title {
    display: block;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.rq-title:hover { color: var(--primary); }

.rq-bar {
    width: 100%;
    height: 6px;
    background: var(--bg);
    border-radius: 3px;
    overflow: hidden;
}

.rq-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #8b5cf6);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.rq-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rq-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
}

.rq-badge.breakout {
    background: var(--secondary);
    color: #fff;
}

.rq-badge.percentage {
    background: var(--bg);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.rq-type-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.rq-type-badge.wiki { background: #dbeafe; }
.rq-type-badge.news { background: #fef3c7; }

.no-data {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .result-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .result-actions {
        width: 100%;
    }
    .region-grid, .related-grid {
        grid-template-columns: 1fr;
    }
    .result-header h1 {
        font-size: 1.5rem;
    }
}
/* Google Search Box */
.google-search-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    color: white;
}

.search-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.search-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.search-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.search-link.primary {
    background: white;
    color: #667eea;
    grid-column: 1 / -1;
    font-size: 1.1rem;
    font-weight: bold;
}

.search-link i {
    font-size: 1.2rem;
}

/* Google Results */
.google-results {
    margin-top: 25px;
}

.google-results h3 {
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-results h3 i {
    color: var(--primary);
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result-item {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.search-result-item:hover {
    background: var(--bg);
    border-radius: 8px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a0dab;
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.4;
}

.result-title:hover {
    color: var(--primary);
    text-decoration: underline;
}

body.dark-mode .result-title {
    color: #8ab4f8;
}

.result-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.result-source {
    color: #006621;
    font-weight: 500;
}

body.dark-mode .result-source {
    color: #34a853;
}

.result-snippet {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* More Links */
.more-links {
    margin-top: 25px;
    text-align: center;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-more:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

.btn-more i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    .search-links {
        grid-template-columns: 1fr;
    }
    .search-link.primary {
        grid-column: 1;
    }
    .result-meta {
        flex-direction: column;
        gap: 5px;
    }
}
/* Quick Links Box */
.search-quick-links {
    margin-bottom: 30px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.quick-link.google {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 100%);
}

.quick-link i {
    font-size: 2rem;
}

.quick-link strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.quick-link span {
    opacity: 0.9;
    font-size: 0.95rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.quick-links-grid .quick-link {
    padding: 14px;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    border: 2px solid var(--border);
    justify-content: center;
}

.quick-links-grid .quick-link:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.quick-links-grid .quick-link i {
    font-size: 1.5rem;
}

/* Results List */
.search-results-section {
    margin-top: 30px;
}

.search-results-section h3 {
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-card {
    padding: 25px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.result-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px var(--shadow);
    transform: translateY(-2px);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.result-domain {
    color: #202124;
    font-weight: 500;
}

body.dark-mode .result-domain {
    color: #bdc1c6;
}

.result-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.result-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a0dab;
    text-decoration: none;
    margin-bottom: 12px;
    line-height: 1.4;
}

.result-title:hover {
    color: var(--primary);
    text-decoration: underline;
}

body.dark-mode .result-title {
    color: #8ab4f8;
}

.result-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.result-footer {
    display: flex;
    gap: 10px;
    align-items: center;
}

.result-source-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    background: var(--primary);
    color: white;
}

.result-source-badge.news {
    background: #dc2626;
}

.result-source-badge.wiki {
    background: #006621;
}

.result-source-badge.video {
    background: #dc2626;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg);
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .quick-links-grid {
        grid-template-columns: 1fr 1fr;
    }
    .result-title {
        font-size: 1.1rem;
    }
}
/* Google Style Results */
.google-style-results {
    margin-top: 20px;
}

.g-result-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}

.g-result-item:hover {
    background: var(--bg);
    margin: 0 -20px;
    padding: 20px;
    border-radius: 8px;
}

.g-result-item:last-child {
    border-bottom: none;
}

.g-result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.g-favicon {
    width: 16px;
    height: 16px;
}

.g-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.g-domain {
    color: #202124;
    font-weight: 500;
}

body.dark-mode .g-domain {
    color: #bdc1c6;
}

.g-date {
    color: var(--text-muted);
}

.g-result-title {
    display: block;
    font-size: 1.3rem;
    color: #1a0dab;
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 400;
}

.g-result-title:hover {
    text-decoration: underline;
    color: var(--primary);
}

body.dark-mode .g-result-title {
    color: #8ab4f8;
}

.g-result-source {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* More Search Links */
.more-search-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.g-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.g-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.g-link i {
    font-size: 1rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px 20px;
}

.no-results p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-results .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .g-result-title {
        font-size: 1.15rem;
    }
    .more-search-links {
        flex-direction: column;
    }
    .g-link {
        width: 100%;
        justify-content: center;
    }
}
/* لینک جستجوی اصلی */
.search-link-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: white;
    color: #667eea;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.search-link-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.search-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.search-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.search-tab:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* نتایج به سبک گوگل */
.google-style-results {
    margin-top: 25px;
}

.g-result-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}

.g-result-item:hover {
    background: var(--bg);
    margin: 0 -20px;
    padding: 20px;
    border-radius: 8px;
}

.g-result-item:last-child {
    border-bottom: none;
}

.g-result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.g-favicon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.g-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.g-domain {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.g-source {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.g-result-title {
    display: block;
    font-size: 1.25rem;
    color: #1a0dab;
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 500;
}

.g-result-title:hover {
    text-decoration: underline;
    color: var(--primary);
}

body.dark-mode .g-result-title {
    color: #8ab4f8;
}

.g-result-snippet {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* لینک‌های بیشتر */
.more-search-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.g-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.g-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary);
}

@media (max-width: 600px) {
    .search-tabs {
        grid-template-columns: 1fr;
    }
    .g-result-title {
        font-size: 1.1rem;
    }
    .more-search-links {
        flex-direction: column;
    }
    .g-link {
        width: 100%;
        justify-content: center;
    }
}