/* WrestleJoy Feeds Dashboard - Wrestling Theme CSS */

/* Color Palette */
:root {
    --aew-gold: #FFD700;
    --aew-black: #000000;
    --wwe-red: #CE1141;
    --wwe-blue: #0F4C96;
    --wrestling-green: #32CD32;
    --wrestling-gold: #FFD700;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --text-accent: #FFD700;
    --border: #333333;
    --shadow: rgba(255, 215, 0, 0.1);
}

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
    color: var(--text-light);
    line-height: 1.6;
}

/* Navigation Header */
.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 193, 7, 0.3);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-container h1 {
    margin: 0;
    color: var(--wrestling-gold);
    font-size: 1.5em;
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9em;
}

.nav-link:hover {
    color: var(--wrestling-gold);
    background: rgba(255, 193, 7, 0.1);
}

.nav-link.active {
    color: var(--wrestling-gold);
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.nav-link.patreon {
    background: linear-gradient(135deg, #ff424d, #ff6154);
    color: white;
    font-weight: bold;
}

.nav-link.patreon:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 66, 77, 0.3);
}

.nav-link.merch {
    background: linear-gradient(135deg, var(--wrestling-gold), #e6ac00);
    color: #1a1a1a;
    font-weight: bold;
}

.nav-link.merch:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 193, 7, 0.3);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.footer-content p {
    margin: 0 0 20px 0;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--wrestling-gold);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255, 193, 7, 0.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-link {
        font-size: 0.8em;
        padding: 6px 12px;
    }
    
    .footer-links {
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 0.9em;
        padding: 6px 12px;
    }
    min-height: 100vh;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--aew-black) 0%, #1a1a1a 50%, var(--wwe-red) 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 3px solid var(--aew-gold);
    box-shadow: 0 5px 20px var(--shadow);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    font-weight: bold;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--border);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--aew-gold) 0%, var(--wwe-red) 100%);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--aew-gold);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-accent);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Event Impact Banner */
.event-impact {
    background: linear-gradient(90deg, var(--wwe-blue) 0%, var(--aew-black) 50%, var(--wrestling-green) 100%);
    padding: 30px 0;
    margin-bottom: 40px;
}

.impact-card {
    text-align: center;
    color: var(--text-light);
}

.impact-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impact-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--aew-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.impact-description {
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.9;
}

/* Dashboard Main Content */
.dashboard {
    padding: 40px 0;
}

/* Chart Sections */
.chart-section {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 2px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.chart-header {
    text-align: center;
    margin-bottom: 30px;
}

.chart-header h2 {
    font-size: 1.8rem;
    color: var(--text-accent);
    margin-bottom: 10px;
}

.chart-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.activity-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 15px 0 10px 0;
}

.activity-toggle .toggle-btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

.chart-container {
    position: relative;
    height: 400px;
    margin: 0 auto;
}


.chart-container.small {
    height: 280px;
}

/* Small multiples styling */
.small-multiple {
    margin-bottom: 30px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: 15px;
    text-align: center;
}

/* Dual Charts Layout */
.dual-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.chart-half {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--border);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Promotions Section - Full Width */
.promotions-section {
    margin-bottom: 40px;
}

.content-card.full-width {
    width: 100%;
    max-width: none;
    padding: 35px;
}

.promotions-section .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.promotions-section .card-header h3 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--text-accent);
}

.promotion-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.content-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--border);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-card h3 {
    color: var(--text-accent);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Promotion Cards - Enhanced Grid Layout */
.promotion-bar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.promotion-bar:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--aew-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.promotion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.promotion-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promotion-percentage {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--aew-gold);
}

.bar {
    flex: 1;
    height: 25px;
    border-radius: 12px;
    margin-left: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.bar.aew { background: linear-gradient(90deg, var(--aew-gold) 0%, #B8860B 100%); }
.bar.wwe { background: linear-gradient(90deg, var(--wwe-red) 0%, #8B0000 100%); }
.bar.njpw { background: linear-gradient(90deg, #FF6B6B 0%, #FF4757 100%); }

/* Community Stats */
.community-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

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

.community-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-accent);
}

.community-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Rankings Section */
.rankings {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

.rankings h2 {
    color: var(--text-accent);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8rem;
}

.rankings-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 10px;
}

.tab-btn {
    background: var(--border);
    color: var(--text-light);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--aew-gold);
    color: var(--aew-black);
    font-weight: bold;
}

.tab-btn:hover {
    background: var(--text-accent);
    color: var(--aew-black);
}

.rankings-content {
    display: none;
}

.rankings-content.active {
    display: block;
}

/* Rankings Table */
.rankings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.rankings-table th {
    background: var(--aew-black);
    color: var(--text-accent);
    padding: 15px 10px;
    text-align: left;
    border-bottom: 3px solid var(--aew-gold);
    font-weight: bold;
}

.rankings-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.rankings-table tr:hover {
    background: rgba(255, 215, 0, 0.1);
}

.rankings-table .rank {
    font-weight: bold;
    color: var(--text-accent);
    width: 50px;
    text-align: center;
}

.usage-bar {
    background: var(--border);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 5px;
}

.usage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--aew-gold) 0%, var(--wwe-red) 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Footer */
.footer {
    background: var(--aew-black);
    padding: 30px 0;
    text-align: center;
    border-top: 3px solid var(--aew-gold);
    margin-top: 40px;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--text-light);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: var(--text-light);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--aew-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contributors Section */
.contributors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ranking-toggle {
    display: flex;
    gap: 0.5rem;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
}

.toggle-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar styling for contributors */
.contributors-grid::-webkit-scrollbar {
    width: 8px;
}

.contributors-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.contributors-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.contributors-grid::-webkit-scrollbar-thumb:hover {
    background: var(--text-accent);
}

.contributor-feed {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--border);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.contributor-feed:hover {
    transform: translateY(-5px);
}

.contributor-feed h3 {
    color: var(--text-accent);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contributor-feed h3 a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contributor-feed h3 a:hover {
    color: var(--text-light);
}

.contributor-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contributor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.contributor-item:last-child {
    border-bottom: none;
}

.contributor-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.contributor-link:hover {
    transform: translateX(5px);
}

.contributor-name {
    font-weight: bold;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.contributor-link:hover .contributor-name {
    color: var(--primary-color);
}

.contributor-name.network-member {
    color: var(--text-accent);
}

.contributor-link:hover .contributor-name.network-member {
    color: #FFD700;
}

.contributor-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.impact-score {
    color: var(--text-accent);
    font-weight: bold;
    font-size: 0.9rem;
    cursor: help;
}

/* Show More Button Styles */
.show-more-container {
    text-align: center;
    padding: 20px 0 10px 0;
    border-bottom: 1px solid var(--border);
}

.show-more-btn {
    background: linear-gradient(135deg, var(--aew-gold) 0%, #DAA520 100%);
    color: var(--aew-black);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.show-more-btn:hover {
    background: linear-gradient(135deg, #FFD700 0%, #F4D03F 100%);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.show-more-btn.expanded {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.show-more-btn.expanded:hover {
    background: linear-gradient(135deg, #FF7675 0%, #E84393 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .dual-charts { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: 1fr; }
    .contributors-grid { grid-template-columns: 1fr; max-height: 600px; }
    .contributors-header { flex-direction: column; align-items: stretch; }
    .ranking-toggle { justify-content: center; }
    .toggle-btn { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
    .community-stats { flex-direction: column; gap: 15px; }
    .chart-container { height: 300px; }
    .container { padding: 0 15px; }
    .rankings-table { font-size: 0.9rem; }
}

/* ========================
   SENTIMENT ANALYSIS STYLES
   ======================== */

/* Promotion sentiment controls */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    margin: 0;
}

.promotion-controls {
    display: flex;
    gap: 8px;
}

.promotion-controls .toggle-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 20px;
    border: 1px solid var(--accent-orange);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promotion-controls .toggle-btn.active {
    background: linear-gradient(135deg, var(--aew-gold) 0%, #DAA520 100%);
    color: var(--aew-black);
    border-color: var(--aew-gold);
}

.promotion-controls .toggle-btn:hover:not(.active) {
    background: rgba(255, 165, 0, 0.1);
    border-color: var(--aew-gold);
}

/* Sentiment display styling */
.promotion-sentiment {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.sentiment-score {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid;
}

.promotion-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.promotion-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.impact-score {
    background: linear-gradient(135deg, #FF6B35, #FF8A65);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #FF6B35;
}

.impact-breakdown {
    margin-top: 8px;
    color: var(--text-muted);
    font-style: italic;
}

.promotion-stats-display {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}


.sentiment-score.positive {
    color: #2E7D32;
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.sentiment-score.mixed {
    color: #F57C00;
    background: rgba(255, 152, 0, 0.1);
    border-color: #FF9800;
}

.sentiment-score.negative {
    color: #C62828;
    background: rgba(244, 67, 54, 0.1);
    border-color: #F44336;
}

.promotion-volume {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.promotion-details {
    margin-top: 8px;
}

.sentiment-bar {
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    margin-bottom: 6px;
    overflow: hidden;
    display: flex;
}

.sentiment-fill-positive {
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    height: 100%;
}

.sentiment-fill-mixed {
    background: linear-gradient(90deg, #FF9800, #FFA726);
    height: 100%;
}

.sentiment-fill-negative {
    background: linear-gradient(90deg, #F44336, #EF5350);
    height: 100%;
}

.sentiment-breakdown {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sentiment-breakdown .positive { color: #4CAF50; }
.sentiment-breakdown .mixed { color: #FF9800; }
.sentiment-breakdown .negative { color: #F44336; }

/* Contributor sentiment enhancement */
.contributor-sentiment {
    margin-left: auto;
    font-size: 0.85rem;
}

.contributor-sentiment .sentiment-avg {
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    border: 1px solid;
}

.contributor-sentiment .sentiment-avg.positive {
    color: #2E7D32;
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.contributor-sentiment .sentiment-avg.mixed {
    color: #F57C00;
    background: rgba(255, 152, 0, 0.1);
    border-color: #FF9800;
}

.contributor-sentiment .sentiment-avg.negative {
    color: #C62828;
    background: rgba(244, 67, 54, 0.1);
    border-color: #F44336;
}

/* Expandable promotions */
#expandablePromotions {
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

@media (max-width: 480px) {
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 1.8rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .chart-container { height: 250px; }
    .rankings-tabs { flex-direction: column; }
    .tab-btn { margin-bottom: 10px; }
    
    /* Sentiment mobile styles */
    .card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .promotion-controls {
        justify-content: center;
    }
    
    .promotion-sentiment {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }
}