/**
 * Main CSS Styles
 * 
 * Core styles for the YouTuber profile pages
 */

:root {
    --primary-color: #ff0000;
    --secondary-color: #f9f9f9;
    --text-color: #333;
    --light-text: #666;
    --border-radius: 8px;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --youtube-red: #ff0000;
    --counter-color-1: #4CAF50;
    --counter-color-2: #2196F3;
    --counter-color-3: #FF9800;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

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

.youtuber-profile {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.profile-banner {
    width: 100%;
    height: 200px;
    background-color: var(--youtube-red);
    background-image: linear-gradient(45deg, #ff0000, #ff5e00);
    position: relative;
}

.profile-header {
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-right: 20px;
    border: none;
    object-fit: cover;
}

.profile-info h1 {
    font-size: 2rem;
    margin: 0 0 5px 0;
    color: var(--text-color);
}

.profile-info .channel-name {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 10px;
}

.profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.stat-badge, .stat-item {
    background-color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
}

.profile-content {
    padding: 20px;
}

.content-section {
    margin-bottom: 30px;
}

.content-section h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.earnings-counter, .earnings-counter-section {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 30px;
}

.earnings-counter h2, .earnings-counter-section h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    border-bottom: none;
}

.counter-container, .earnings-breakdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.counter-box, .breakdown-item {
    background-color: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 200px;
    flex: 1;
}

.counter-box h3, .breakdown-label {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 10px;
}

.counter-value, .breakdown-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--counter-color-1);
}

.realtime-counter {
    animation: pulse 2s infinite;
}

.counter-display {
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: var(--box-shadow);
}

.counter-label {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 10px;
}

.counter-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--counter-color-1);
    margin-bottom: 15px;
}

.dollar {
    color: var(--counter-color-2);
}

.counter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.counter-button {
    background-color: var(--secondary-color);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.counter-button:hover {
    background-color: #eaeaea;
}

.pause-button {
    color: var(--counter-color-2);
}

.reset-button {
    color: var(--counter-color-3);
}

.comparisons-section {
    margin-bottom: 30px;
}

.comparisons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.comparison-card {
    background-color: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.comparison-name {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-color);
}

.comparison-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--counter-color-2);
    margin-bottom: 10px;
}

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

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    color: var(--text-color);
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.category-tag {
    background-color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--light-text);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--youtube-red);
}

.back-link i {
    margin-right: 5px;
}

.bio-section {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.bio-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.5rem;
}

.bio-text {
    line-height: 1.7;
    color: var(--text-color);
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .counter-container, .earnings-breakdown {
        flex-direction: column;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .comparisons-grid {
        grid-template-columns: 1fr;
    }
} 