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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: #ffd700;
}

.header-subtitle {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.company-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.company-link:hover {
    color: #f8f9fa;
    border-bottom-color: white;
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mobile Filter Button in Header */
.mobile-filter-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.mobile-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.mobile-filter-btn i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.mobile-filter-btn i.fa-chevron-down.rotate {
    transform: rotate(180deg);
}

/* Show mobile filter button only on mobile */
@media (min-width: 769px) {
    .mobile-filter-btn {
        display: none;
    }
}

.search-box {
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-box input {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
    min-width: 250px;
}

.search-btn {
    background: #667eea;
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #5a6fd8;
}

.filter-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Mobile Filters Panel */
.mobile-filters {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: block;
}

.filters-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Desktop Layout Container */
.desktop-layout {
    display: flex;
    height: calc(100vh - 80px); /* Subtract header height */
    position: fixed;
    top: 80px; /* Header height */
    left: 0;
    right: 0;
    bottom: 0;
}

/* Desktop Sidebar */
.desktop-sidebar {
    width: 300px;
    background: white;
    border-right: 1px solid #e9ecef;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    display: none;
    flex-shrink: 0;
}

.sidebar-content {
    padding: 2rem 1.5rem;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

.sidebar-title i {
    color: #667eea;
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.2s;
}

.filter-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.clear-filters-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.clear-filters-btn:hover {
    background: #c82333;
}

/* Main Content with Sidebar */
.main.with-sidebar {
    flex: 1;
    margin-left: 0;
    overflow-y: auto;
    height: 100%;
}

/* Mobile Layout */
.mobile-layout {
    display: none;
    flex-direction: column;
    min-height: calc(100vh - 120px); /* Account for header height */
    margin-top: 0;
}

.mobile-main {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 0;
    margin-top: 0;
    position: relative;
    z-index: 1;
}


/* Responsive Design */
@media (max-width: 768px) {
    .desktop-layout {
        display: none !important;
    }
    
    .mobile-layout {
        display: flex;
    }
    
    .mobile-filters {
        display: block;
    }
    
    .filters-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-group {
        flex-direction: row;
        align-items: center;
    }
    
    .filter-group select {
        min-width: 150px;
    }
}

@media (min-width: 769px) {
    .desktop-layout {
        display: flex;
    }
    
    .mobile-layout {
        display: none !important;
    }
    
    .desktop-sidebar {
        display: block;
    }
    
    .mobile-filters {
        display: none !important;
    }
}

/* Main Content */
.main {
    padding: 2rem 0;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 4rem 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Error State */
.error {
    text-align: center;
    padding: 4rem 0;
    color: #dc3545;
}

.error i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.retry-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

/* Themes Grid */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.theme-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.theme-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.theme-card:hover .theme-image img {
    transform: scale(1.05);
}

.theme-image .lazy-image {
    min-height: 200px;
}

.theme-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;
}

.theme-card:hover .theme-overlay {
    opacity: 1;
}

.theme-actions {
    display: flex;
    gap: 1rem;
}

.theme-info {
    padding: 8px;
}

/* Lazy Loading Styles */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

.lazy-image.loaded {
    opacity: 1;
    background: none;
    animation: none;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.theme-content {
    padding: 1.5rem;
}

.theme-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    line-height: 1.3;
}

.theme-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.theme-author,
.theme-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.theme-author i,
.theme-type i {
    color: #667eea;
}

.theme-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tag-more {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.theme-status {
    display: flex;
    justify-content: flex-end;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status.active {
    background: #d4edda;
    color: #155724;
}

.status.inactive {
    background: #fff3cd;
    color: #856404;
}

.status.disable {
    background: #f8d7da;
    color: #721c24;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 0;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.page-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.page-btn:hover:not(:disabled) {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.page-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-info {
    font-weight: 600;
    color: #495057;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    color: #2c3e50;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-btn:hover {
    background: #f8f9fa;
    color: #495057;
}

.modal-body {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.theme-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.theme-detail-image {
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
}

.theme-detail-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.theme-detail-image .lazy-image {
    min-height: 300px;
}

.theme-detail-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.theme-description {
    flex: 2;
    min-width: 0;
}

.theme-detail-meta {
    flex: 1;
    min-width: 0;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0;
}

.theme-detail-meta p {
    margin: 0.5rem 0;
    color: #495057;
}

/* Theme ID Highlight */
.theme-id-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.theme-id-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.theme-id-highlight:hover::before {
    left: 100%;
}

.theme-id-highlight strong {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.theme-id-value {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-left: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.theme-id-value:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.theme-detail-meta strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Demo URL Section */
.demo-url-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0 2rem 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.demo-url-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.demo-url-section strong {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.demo-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.demo-link:hover {
    background: white;
    color: #667eea;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: #667eea;
}

.demo-link:hover::before {
    left: 100%;
}

.demo-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.demo-link:hover i {
    transform: scale(1.1);
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.detail-section p {
    color: #6c757d;
    line-height: 1.6;
}

.authors-list,
.types-list,
.tags-list,
.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.author,
.type,
.category {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}


.file-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #667eea;
}

.file-info p {
    margin-bottom: 0.5rem;
    color: #495057;
}

.file-info p:last-child {
    margin-bottom: 0;
}

/* Statistics Page Styles */
.back-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
}

.stats-content {
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

.charts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.chart-container {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.chart-container h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.chart-container canvas {
    max-height: 300px;
}

.tables-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.table-container {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.table-container h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.table {
    width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: #495057;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: background 0.3s;
}

.table-row:hover {
    background: #f8f9fa;
}

.table-cell {
    padding: 0.25rem 0;
    color: #495057;
}

.table-row:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .search-box input {
        min-width: 200px;
    }
    
    .filters-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .themes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .theme-detail-image img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .search-box input {
        min-width: 150px;
    }
    
    .theme-card {
        margin: 0 10px;
    }
    
    /* Mobile Modal Styles */
    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: calc(95vh - 100px);
    }
    
    .theme-detail-image img {
        height: auto;
    }
    
    .theme-detail-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .theme-description {
        flex: none;
    }
    
    .theme-detail-meta {
        flex: none;
    }
}

/* Markdown content styling for theme descriptions */
.theme-description h1,
.theme-description h2,
.theme-description h3,
.theme-description h4,
.theme-description h5,
.theme-description h6 {
    margin: 0.5rem 0;
    font-weight: 600;
    color: #333;
}

.theme-description h1 { font-size: 1.2rem; }
.theme-description h2 { font-size: 1.1rem; }
.theme-description h3 { font-size: 1rem; }
.theme-description h4 { font-size: 0.95rem; }
.theme-description h5 { font-size: 0.9rem; }
.theme-description h6 { font-size: 0.85rem; }

.theme-description p {
    margin: 0.5rem 0;
    line-height: 1.4;
}

.theme-description ul,
.theme-description ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.theme-description li {
    margin: 0.25rem 0;
}

.theme-description strong,
.theme-description b {
    font-weight: 600;
    color: #333;
}

.theme-description em,
.theme-description i {
    font-style: italic;
}

.theme-description code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #e74c3c;
}

.theme-description pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 0.5rem 0;
}

.theme-description pre code {
    background: none;
    padding: 0;
    color: #333;
}

.theme-description blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin: 0.5rem 0;
    color: #666;
    font-style: italic;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    margin-top: auto;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footer-link i {
    font-size: 0.8rem;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-left p {
        font-size: 0.85rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

.theme-description a {
    color: #667eea;
    text-decoration: none;
}

.theme-description a:hover {
    text-decoration: underline;
}

.theme-description img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 0.5rem 0;
}
