/*
Theme Name: YouTube Monetization Checker Pro
Description: A modern, lightweight WordPress theme for YouTube Channel Monetization Checker websites with advanced analytics and beautiful UI.
Version: 2.0.0
Author: Your Name
License: GPL v2 or later
Text Domain: youtube-monetization-checker
*/

/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

#page {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #3b82f6;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #1e293b;
    --bg-darker: #0f172a;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header Styles */
.site-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo .logo-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.site-logo .logo-red {
    color: var(--primary-color);
}

.site-logo:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Desktop Menu Styles */
.desktop-menu-container {
    display: block;
}

.desktop-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.desktop-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
}

.desktop-menu .menu-item-has-children {
    position: relative;
}

.desktop-menu .menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.desktop-menu .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.desktop-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    border: 1px solid var(--border-color);
}

.desktop-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-menu .sub-menu li {
    margin: 0;
}

.desktop-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.desktop-menu .sub-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.desktop-menu a:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.menu-toggle:hover {
    background: var(--bg-secondary);
}

/* Hamburger Icon */
.hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
.mobile-menu-container {
    position: absolute;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu-container {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.mobile-menu-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.mobile-menu-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.close-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* Mobile Menu */
.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    border-left: 3px solid transparent;
}

.mobile-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* Submenu Styles */
.mobile-menu .menu-item-has-children > a::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.mobile-menu .menu-item-has-children.active > a::after {
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--bg-tertiary);
    display: none;
    animation: slideDown 0.3s ease;
}

.mobile-menu .menu-item-has-children.active .sub-menu {
    display: block;
}

.mobile-menu .sub-menu a {
    padding: 0.75rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    border-left: none;
}

.mobile-menu .sub-menu a:hover {
    background: var(--bg-primary);
    color: var(--primary-color);
}

/* Hero Section - Redesigned */
.hero-section {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.hero-content h1 .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Section Monetization Checker */
.hero-section .monetization-checker {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    margin: 2rem auto 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    border: 1px solid var(--border-color);
}

/* Homepage specific full-width container */
.home-page .hero-section .container,
.home-page .requirements-section .container,
.home-page .tips-section .container,
.home-page .related-tools-section .container {
    max-width: 100%;
    padding: 0 2rem;
}

/* Results Section - Separate and Full Width */
.home-page .checker-results-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.home-page .checker-results-section .container {
    max-width: 100%;
    padding: 0 2rem;
}

.home-page .channel-results {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* Monetization Checker Tool - Redesigned */
.monetization-checker {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    margin: 0 auto 2rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    border: 1px solid var(--border-color);
}

.checker-form {
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.checker-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg-secondary);
    box-sizing: border-box;
    margin-bottom: 0.5rem;
}

.checker-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background: var(--bg-primary);
}

.form-help {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.check-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.check-button:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.check-button svg {
    width: 18px;
    height: 18px;
}

.check-button:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

/* Requirements Section */
.requirements-section {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.requirements-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.requirements-section .subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.requirement-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.requirement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.requirement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
}

.requirement-icon.subscribers {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.requirement-icon.watch-hours {
    background: linear-gradient(135deg, #10b981, #059669);
}

.requirement-icon.guidelines {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.requirement-icon.adsense {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.requirement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.requirement-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Tips Section */
.tips-section {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.tips-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tip-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tip-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.tip-icon.content {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.tip-icon.search {
    background: linear-gradient(135deg, #10b981, #059669);
}

.tip-icon.audience {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.tip-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tip-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Related Tools Section */
.related-tools-section {
    background: var(--bg-primary);
    padding: 5rem 0;
}

/* Admin Tools Editor */
.tools-admin-panel {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    display: none;
}

.admin-logged-in .tools-admin-panel {
    display: block;
}

.admin-panel-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.admin-panel-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.edit-tools-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-tools-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Tools Editor Modal */
.tools-editor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.tools-editor-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.tools-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.tools-editor-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.close-editor-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-editor-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.tool-editor-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.tool-editor-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.editor-form-group {
    margin-bottom: 1rem;
}

.editor-form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.editor-form-group input,
.editor-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.editor-form-group input:focus,
.editor-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.editor-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.save-tools-btn {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.save-tools-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.related-tools-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.related-tools-section .subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tool-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    text-decoration: none;
    color: inherit;
}

.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.tool-icon.analytics {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.tool-icon.keyword {
    background: linear-gradient(135deg, #10b981, #059669);
}

.tool-icon.thumbnail {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.tool-icon.tag {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.tool-icon.downloader {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.tool-icon.id-finder {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.tool-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tool-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.tool-card .tool-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.tool-card .tool-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.tool-card .tool-link svg {
    width: 16px;
    height: 16px;
}

/* Loading State */
.loading {
    display: none;
    text-align: center;
    padding: 3rem;
    animation: fadeIn 0.3s ease;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Error Message */
.error-message {
    background: #fef2f2;
    color: var(--error-color);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid #fecaca;
    display: none;
    margin-bottom: 1rem;
    animation: slideInRight 0.3s ease;
}

/* Channel Results */
.channel-results {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.channel-header {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.channel-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.channel-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.channel-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.channel-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

.channel-basic-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.channel-handle {
    opacity: 0.8;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.monetization-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.monetization-status.monetized {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
    animation: pulse-success 2s infinite;
}

.monetization-status.not-monetized {
    background: var(--error-color);
    color: white;
    border-color: var(--error-color);
    animation: pulse-error 2s infinite;
}

.status-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.status-icon.monetized {
    background: white;
}

.status-icon.not-monetized {
    background: white;
}

@keyframes pulse-success {
    0%, 100% { 
        box-shadow: var(--shadow-md), 0 0 20px rgba(16, 185, 129, 0.4);
    }
    50% { 
        box-shadow: var(--shadow-lg), 0 0 30px rgba(16, 185, 129, 0.6);
        transform: scale(1.02);
    }
}

@keyframes pulse-error {
    0%, 100% { 
        box-shadow: var(--shadow-md), 0 0 20px rgba(239, 68, 68, 0.4);
    }
    50% { 
        box-shadow: var(--shadow-lg), 0 0 30px rgba(239, 68, 68, 0.6);
        transform: scale(1.02);
    }
}

/* Channel Stats Grid */
.channel-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card h4 {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-card .stat-change {
    font-size: 0.875rem;
    color: var(--success-color);
    font-weight: 500;
}

/* Footer - Redesigned */
.site-footer {
    background: var(--bg-darker);
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.footer-logo .logo-red {
    color: var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #64748b;
    font-size: 0.9rem;
}

/* Revenue Estimates */
.revenue-estimates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.revenue-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.revenue-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.revenue-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Channel Tags */
.channel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.info-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.info-value {
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

/* Charts Container */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

/* Hide specific charts on homepage */
.home-page .chart-item:first-child,
.home-page .chart-item:nth-child(2) {
    display: none;
}

.chart-item {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Guide Section Styles */
.guide-section {
    background: var(--bg-primary);
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
}

.guide-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.guide-section .subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.guide-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.guide-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.guide-icon.setup {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.guide-icon.optimize {
    background: linear-gradient(135deg, #10b981, #059669);
}

.guide-icon.analyze {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.guide-icon.monetize {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.guide-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.guide-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.guide-card .guide-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.guide-card .guide-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.guide-card .guide-link svg {
    width: 16px;
    height: 16px;
}

/* Estimated Earnings Display */
.estimated-earnings-display {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-align: center;
}

.estimated-earnings-display h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.earnings-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.earnings-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.earnings-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.earnings-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* CPM Settings in Results */
.cpm-settings-display {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cpm-setting-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cpm-setting-item label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cpm-setting-item input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.cpm-setting-item input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

.pie-chart {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    position: relative;
}

.earnings-graph {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.graph-bars {
    display: flex;
    align-items: end;
    height: 100%;
    padding: 1rem;
    gap: 0.5rem;
}

.graph-bar {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    flex: 1;
    min-height: 20px;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--bar-height); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Hide desktop menu container on mobile */
    .desktop-menu-container {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .menu-toggle {
        display: block;
    }
    
    /* Show mobile menu overlay */
    .mobile-menu-overlay {
        display: block;
    }

    /* Mobile adjustments for homepage */
    .home-page .hero-section .container,
    .home-page .requirements-section .container,
    .home-page .tips-section .container,
    .home-page .related-tools-section .container {
        padding: 0 1rem;
    }

    .home-page .channel-results {
        padding: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .monetization-checker {
        margin: 1.5rem auto 0;
        padding: 1.5rem;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .checker-form {
        flex-direction: column;
    }
    
    .channel-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .channel-stats {
        grid-template-columns: 1fr;
    }

    .monetization-checker {
        margin: 0 1rem 2rem;
        padding: 1.5rem;
        max-width: none;
        width: calc(100% - 2rem);
    }
    
    .mobile-menu-container {
        width: 280px;
        right: -280px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .home-page .hero-section .container,
    .home-page .requirements-section .container,
    .home-page .tips-section .container,
    .home-page .related-tools-section .container {
        padding: 0 0.5rem;
    }

    .home-page .channel-results {
        padding: 1rem;
    }

    .hero-section {
        padding: 3rem 0 4rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-section .monetization-checker {
        padding: 1.25rem;
        margin: 1rem auto 0;
    }
    
    .monetization-checker {
        padding: 1.25rem;
        margin: 0 0.5rem 1rem;
        width: calc(100% - 1rem);
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .requirement-card,
    .tip-card,
    .tool-card {
        padding: 2rem;
    }
}

/* WordPress Specific Styles */
.wp-block-group {
    margin-bottom: 2rem;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

/* Post Styles */
.post {
    background: var(--bg-primary);
    margin-bottom: 2rem;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.post:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.post-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-title a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.post-content {
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Single Post and Page Styles */
.single .site-main .container,
.page .site-main .container {
    max-width: 800px;
    padding: 0 2rem;
}

.single .post,
.page .post {
    padding: 3rem 0;
    box-shadow: none;
    border: none;
    background: transparent;
}

.single .post-content,
.page .post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.single .post-content p,
.page .post-content p {
    margin-bottom: 1.5rem;
}

.single .post-content h1,
.single .post-content h2,
.single .post-content h3,
.single .post-content h4,
.single .post-content h5,
.single .post-content h6,
.page .post-content h1,
.page .post-content h2,
.page .post-content h3,
.page .post-content h4,
.page .post-content h5,
.page .post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single .post-content ul,
.single .post-content ol,
.page .post-content ul,
.page .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.single .post-content li,
.page .post-content li {
    margin-bottom: 0.5rem;
}

.single .post-title,
.page .post-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

/* Category Page Styles */
.category-page {
    background: var(--bg-secondary);
    min-height: 100vh;
    padding: 2rem 0;
}

.category-header {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.category-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.category-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb-separator {
    color: var(--text-light);
    font-weight: 300;
}

.current-category {
    color: var(--text-primary);
    font-weight: 500;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.category-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.category-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.category-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.category-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-meta svg {
    opacity: 0.7;
}

.category-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
}

.view-toggle {
    display: flex;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 0.25rem;
    border: 1px solid var(--border-color);
}

.view-btn {
    background: none;
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn svg {
    width: 18px;
    height: 18px;
}

.view-btn:hover {
    color: var(--text-primary);
    background: var(--bg-primary);
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.sort-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    min-width: 150px;
}

.sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Posts Container */
.posts-container {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.posts-container.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.posts-container.list-view {
    grid-template-columns: 1fr;
}

.category-post-item {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.category-post-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.list-view .category-post-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.list-view .category-post-item:hover {
    transform: translateY(-2px);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
}

.list-view .post-thumbnail {
    width: 300px;
    flex-shrink: 0;
    aspect-ratio: 16/10;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-post-item:hover .post-overlay {
    opacity: 1;
}

.read-more-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.category-post-item:hover .read-more-btn {
    transform: translateY(0);
}

.read-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.read-more-btn svg {
    width: 16px;
    height: 16px;
}

.post-content {
    padding: 2rem;
    flex: 1;
}

.list-view .post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.post-meta svg {
    opacity: 0.7;
}

.post-title {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.list-view .post-title a {
    font-size: 1.5rem;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.list-view .post-excerpt {
    font-size: 1rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.read-more-link svg {
    transition: transform 0.3s ease;
}

.read-more-link:hover svg {
    transform: translateX(4px);
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.no-posts-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.no-posts-icon svg {
    width: 40px;
    height: 40px;
}

.no-posts-found h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.no-posts-found p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.back-home-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.back-home-btn svg {
    width: 20px;
    height: 20px;
}

/* Category Pagination */
.category-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.category-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.category-pagination .page-numbers:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-pagination .page-numbers.current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-pagination .page-numbers svg {
    width: 16px;
    height: 16px;
}

/* WordPress Pages Maximum Width Constraint */
/* This targets only WordPress Pages (not posts, homepage, categories, or archives) */
body.page {
    background: var(--bg-secondary) !important;
}

body.page #main.site-main {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: var(--bg-primary) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
}

body.page #page,
body.page .site-content {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure responsive behavior on smaller devices */
@media (max-width: 1140px) {
    body.page #main.site-main {
        margin: 0 20px !important;
        padding: 20px 15px !important;
        max-width: calc(1100px - 40px) !important;
    }
}

@media (max-width: 768px) {
    body.page #main.site-main {
        margin: 0 10px !important;
        padding: 15px 10px !important;
        max-width: calc(100% - 20px) !important;
    }
}

/* Info Box Section Styling */
.info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-box h3 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-box p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-box ul {
    margin: 15px 0;
    padding-left: 20px;
}

.info-box li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Mobile responsive for info box */
@media (max-width: 768px) {
    .info-box {
        padding: 15px;
        margin: 20px 0;
    }
    
    .info-box h3 {
        font-size: 1.1em;
    }
}