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

:root {
    --primary-gold: #D2CB95;
    --primary-black: #000000;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f6f0;
    --accent-gold: rgba(210, 203, 149, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #f0ebd8 50%, #e8e0c7 100%);
    min-height: 100vh;
    color: var(--text-dark);
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 120px;
    height: auto;
    border-radius: 15px;
}

.header-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.platform-icon {
    width: 32px;
    height: 32px;
}

.youtube .platform-icon {
    color: #ff0000;
}

.instagram .platform-icon {
    color: #e4405f;
}

.platform-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-black);
}

.loading {
    margin-left: auto;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--accent-gold);
    border-radius: 12px;
    border: 1px solid rgba(210, 203, 149, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(210, 203, 149, 0.2);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.channel-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.channel-name {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 1.1rem;
}

.channel-link {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--primary-gold);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.channel-link:hover {
    background: var(--primary-black);
    color: var(--primary-gold);
}

/* Charts Section */
.charts-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 25px;
    text-align: center;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.chart-card {
    background: var(--accent-gold);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(210, 203, 149, 0.3);
    height: 350px;
    display: flex;
    flex-direction: column;
}

.chart-card canvas {
    max-height: 250px !important;
    height: 250px !important;
    width: 100% !important;
}

.chart-card h3 {
    font-size: 1.2rem;
    color: var(--primary-black);
    margin-bottom: 15px;
    font-weight: 600;
    flex-shrink: 0;
}

.chart-container {
    flex: 1;
    position: relative;
    height: 200px;
    max-height: 200px;
    overflow: hidden;
}

.chart-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 2px solid var(--primary-gold);
}

.growth-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.growth-indicator.positive {
    color: #38a169;
}

.growth-indicator.negative {
    color: #e53e3e;
}

.growth-arrow {
    font-size: 1.5rem;
}

/* Simple Chart Styles */
.simple-chart {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 20px 0;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: end;
    height: 120px;
    gap: 8px;
}

.bar {
    background: var(--primary-gold);
    border-radius: 4px 4px 0 0;
    width: 40px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bar:hover {
    background: var(--primary-black);
}

.bar:hover::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-black);
    color: var(--primary-gold);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.instagram-bar {
    background: #e4405f;
}

.instagram-bar:hover {
    background: var(--primary-black);
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.chart-labels span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.platform-comparison {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 150px;
    margin: 20px 0;
}

.platform-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.platform-circle:hover {
    transform: scale(1.1);
}

.youtube-circle {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
}

.instagram-circle {
    background: linear-gradient(135deg, #e4405f, #c13584);
    color: white;
}

.circle-content {
    text-align: center;
}

.platform-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.platform-count {
    font-weight: 600;
    font-size: 0.9rem;
}

.vs-divider {
    font-weight: 700;
    color: var(--primary-black);
    font-size: 1.2rem;
}

.engagement-bars {
    margin: 20px 0;
}

.engagement-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.content-label {
    min-width: 120px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.progress-bar {
    flex: 1;
    height: 20px;
    background: rgba(210, 203, 149, 0.2);
    border-radius: 10px;
    margin-left: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    position: relative;
    transition: width 0.8s ease;
}

.progress-fill::after {
    content: attr(data-value);
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.youtube-fill {
    background: linear-gradient(90deg, #ff0000, #cc0000);
}

.instagram-fill {
    background: linear-gradient(90deg, #e4405f, #c13584);
}

.shorts-fill {
    background: linear-gradient(90deg, var(--primary-gold), #b8b17a);
}

.reels-fill {
    background: linear-gradient(90deg, var(--primary-black), #333);
}

/* New Chart Styles */
.growth-summary {
    margin-top: 15px;
    text-align: center;
    border-top: 1px solid rgba(210, 203, 149, 0.3);
    padding-top: 15px;
}

.comparison-stats {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(210, 203, 149, 0.3);
    padding-top: 15px;
}

.platform-stat {
    text-align: center;
}

.platform-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.engagement-rate {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-black);
}

.youtube-stat .engagement-rate {
    color: #ff0000;
}

.instagram-stat .engagement-rate {
    color: #e4405f;
}

.engagement-breakdown {
    margin-top: 15px;
    border-top: 1px solid rgba(210, 203, 149, 0.3);
    padding-top: 15px;
}

.engagement-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
}

.content-type {
    font-size: 0.9rem;
    color: var(--text-light);
}

.avg-engagement {
    font-weight: 600;
    color: var(--primary-black);
}

/* About Section */
.about-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.about-content {
    display: grid;
    gap: 40px;
}

.about-text {
    display: grid;
    gap: 30px;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: center;
    background: var(--accent-gold);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(210, 203, 149, 0.3);
}

.intro-text strong {
    color: var(--primary-black);
    font-weight: 700;
}

.experience-highlight, .content-creation {
    padding: 25px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(210, 203, 149, 0.3);
}

.experience-highlight h3, .content-creation h3 {
    color: var(--primary-black);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.experience-highlight p, .content-creation p {
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.brand-highlight {
    background: var(--primary-gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary-black);
}

.expertise-areas {
    margin-top: 20px;
}

.expertise-areas h3 {
    text-align: center;
    color: var(--primary-black);
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.expertise-item {
    background: var(--accent-gold);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(210, 203, 149, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.expertise-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.expertise-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.collaboration-cta {
    background: linear-gradient(135deg, var(--primary-black) 0%, #333333 100%);
    color: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    margin-top: 30px;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-primary {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.cta-primary:hover {
    background: #f0e9b8;
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-gold);
}

.cta-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    padding: 15px;
    background: var(--accent-gold);
    border-radius: 12px;
    font-size: 1rem;
    border: 1px solid rgba(210, 203, 149, 0.3);
}

.contact-item strong {
    color: var(--primary-black);
    display: block;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

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

.social-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .header-info h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-section {
        padding: 25px;
    }
    
    .intro-text {
        font-size: 1.1rem;
        padding: 20px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .platform-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .header-info h1 {
        font-size: 1.8rem;
    }
}