/*
Theme Name: Unpaused Content Hub
Description: A beautiful WordPress theme designed specifically for showcasing auto-generated content with stunning visual design and special handling for different content types.
Version: 1.0.0
Author: Unpaused
Author URI: https://unpaused.in
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unpaused-theme
Tags: auto-generated-content, news, weather, crypto, quotes, facts, jokes, responsive, modern, clean
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Variables */
:root {
    --unpaused-primary: #667eea;
    --unpaused-secondary: #764ba2;
    --unpaused-accent: #f093fb;
    --unpaused-success: #4facfe;
    --unpaused-warning: #f093fb;
    --unpaused-info: #4facfe;
    --unpaused-light: #f8f9fa;
    --unpaused-dark: #343a40;
    --unpaused-border-radius: 12px;
    --unpaused-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
    --unpaused-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --unpaused-text: #333;
    --unpaused-text-light: #666;
    --unpaused-bg: #ffffff;
    --unpaused-bg-light: #f8f9fa;
}

/* Global Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--unpaused-text);
    background-color: var(--unpaused-bg-light);
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--unpaused-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--unpaused-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--unpaused-secondary);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.site-header {
    background: var(--unpaused-gradient);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--unpaused-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.site-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.main-navigation a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Main Content */
.site-main {
    flex: 1;
    padding: 2rem 0;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.main-content {
    min-height: 500px;
}

/* Sidebar */
.widget-area {
    background: var(--unpaused-bg);
    border-radius: var(--unpaused-border-radius);
    box-shadow: var(--unpaused-shadow);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: var(--unpaused-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--unpaused-accent);
}

/* Posts */
.post {
    background: var(--unpaused-bg);
    border-radius: var(--unpaused-border-radius);
    box-shadow: var(--unpaused-shadow);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

/* Auto-Generated Content Styling */
.post.auto-generated {
    border-left: 4px solid var(--unpaused-primary);
}

.post.auto-generated .entry-header {
    background: var(--unpaused-gradient);
    color: white;
    padding: 1.5rem;
    position: relative;
}

.post.auto-generated .entry-title {
    color: white;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.post.auto-generated .entry-title a {
    color: white;
    text-decoration: none;
}

/* Content Type Badges */
.content-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.content-type-badge.news { background: rgba(79, 172, 254, 0.8); }
.content-type-badge.weather { background: rgba(240, 147, 251, 0.8); }
.content-type-badge.crypto { background: rgba(102, 126, 234, 0.8); }
.content-type-badge.quotes { background: rgba(118, 75, 162, 0.8); }
.content-type-badge.facts { background: rgba(79, 172, 254, 0.8); }
.content-type-badge.jokes { background: rgba(240, 147, 251, 0.8); }

/* Manual Posts Styling */
.post:not(.auto-generated) {
    border-left: 4px solid transparent;
}

.post:not(.auto-generated) .entry-header {
    background: var(--unpaused-bg);
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.post:not(.auto-generated) .entry-title {
    color: var(--unpaused-dark);
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.post:not(.auto-generated) .entry-title a {
    color: var(--unpaused-dark);
    text-decoration: none;
}

.post:not(.auto-generated) .entry-title a:hover {
    color: var(--unpaused-primary);
}

/* Entry Content */
.entry-content {
    padding: 1.5rem;
    background: var(--unpaused-bg);
}

.entry-meta {
    font-size: 0.9rem;
    color: var(--unpaused-text-light);
    margin-bottom: 1rem;
}

.entry-meta span {
    margin-right: 1rem;
}

/* Quote Posts */
.post.auto-generated.quote-post .entry-content {
    text-align: center;
    font-style: italic;
}

.post.auto-generated.quote-post blockquote {
    font-size: 1.3rem;
    color: var(--unpaused-primary);
    margin: 1rem 0;
    padding: 1rem;
    border-left: 4px solid var(--unpaused-accent);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
}

.post.auto-generated.quote-post cite {
    font-weight: 600;
    color: var(--unpaused-secondary);
    font-style: normal;
}

/* News Posts */
.post.auto-generated.news-post .entry-content {
    line-height: 1.8;
}

.post.auto-generated.news-post .news-meta {
    background: var(--unpaused-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--unpaused-text-light);
}

/* Weather Posts */
.post.auto-generated.weather-post .weather-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.weather-item {
    background: var(--unpaused-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.weather-item .label {
    font-size: 0.8rem;
    color: var(--unpaused-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.weather-item .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--unpaused-primary);
}

/* Crypto Posts */
.post.auto-generated.crypto-post .crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.crypto-item {
    background: var(--unpaused-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.crypto-item:hover {
    border-color: var(--unpaused-primary);
    transform: translateY(-2px);
}

.crypto-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--unpaused-primary);
}

.crypto-change {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.crypto-change.positive { background: #d4edda; color: #155724; }
.crypto-change.negative { background: #f8d7da; color: #721c24; }

/* Fact Posts */
.post.auto-generated.fact-post .fact-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 1rem 0;
}

.post.auto-generated.fact-post .fact-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Joke Posts */
.post.auto-generated.joke-post .joke-content {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 1rem 0;
}

.post.auto-generated.joke-post .joke-setup {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.post.auto-generated.joke-post .joke-punchline {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffeb3b;
}

/* Category Pages */
.category-latest-news .post.auto-generated { border-left-color: #4facfe; }
.category-weather-updates .post.auto-generated { border-left-color: #f093fb; }
.category-crypto-market .post.auto-generated { border-left-color: #667eea; }
.category-daily-quotes .post.auto-generated { border-left-color: #764ba2; }
.category-fun-facts .post.auto-generated { border-left-color: #4facfe; }
.category-daily-jokes .post.auto-generated { border-left-color: #f093fb; }
.category-trending-topics .post.auto-generated { border-left-color: #667eea; }
.category-fresh-content .post.auto-generated { border-left-color: #764ba2; }

/* Footer */
.site-footer {
    background: var(--unpaused-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--unpaused-primary);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a {
    color: var(--unpaused-primary);
    background: white;
}

.pagination a:hover {
    background: var(--unpaused-primary);
    color: white;
}

.pagination .current {
    background: var(--unpaused-primary);
    color: white;
}

/* Content Filter */
.content-filter {
    background: var(--unpaused-bg);
    padding: 1.5rem;
    border-radius: var(--unpaused-border-radius);
    box-shadow: var(--unpaused-shadow);
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--unpaused-light);
    border: 2px solid transparent;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--unpaused-primary);
    color: white;
    border-color: var(--unpaused-primary);
}

/* Recent Content Widget */
.recent-auto-content {
    background: var(--unpaused-bg);
    padding: 1.5rem;
    border-radius: var(--unpaused-border-radius);
    box-shadow: var(--unpaused-shadow);
}

.content-list {
    margin-top: 1rem;
}

.content-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

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

.content-type {
    font-size: 1.2rem;
}

.content-item a {
    flex: 1;
    color: var(--unpaused-dark);
    text-decoration: none;
}

.content-item a:hover {
    color: var(--unpaused-primary);
}

.content-date {
    font-size: 0.8rem;
    color: var(--unpaused-text-light);
}
.custom-logo-link img {
    width: 100% !important;
    height: 30px !important;
}
/* Loading States */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--unpaused-text-light);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--unpaused-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

/* Error States */
.error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 1rem 0;
}

/* Success States */
.success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-navigation {
        width: 100%;
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .main-navigation.active ul {
        display: flex;
    }
    
    .content-area {
        grid-template-columns: 1fr;
    }
    
    .widget-area {
        position: static;
    }
    
    .post.auto-generated .entry-header {
        padding: 1rem;
    }
    
    .post.auto-generated .entry-content {
        padding: 1rem;
    }
    
    .weather-data,
    .crypto-grid {
        grid-template-columns: 1fr;
    }
    
    .content-type-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        text-align: center;
    }
} 