/* Show Page Styles - Compact & Modern Design */

/* Main Show Page Layout */
.show-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(100vh - 80px);
    padding: 1.5rem 0 2rem;
}

/* Breadcrumb Navigation - Compact & Structured */
.breadcrumb-nav {
    max-width: 1400px;
    margin: 0 auto 1.5rem;
    padding: 0 1.5rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    list-style: none;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: #cbd5e1;
    margin: 0 0.5rem;
}

.breadcrumb-item.active span {
    color: #1e293b;
    font-weight: 500;
}

.breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.breadcrumb a:hover {
    color: #667eea;
}

.breadcrumb i {
    font-size: 0.85rem;
}

/* Show Container - Compact Grid */
.show-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

/* Main Content Area - Compact Padding */
.show-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Header - Compact */
.content-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.content-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-title i {
    color: #667eea;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #475569;
    transition: all 0.3s ease;
}

.meta-item i {
    color: #667eea;
    font-size: 0.9rem;
}

.meta-item:hover {
    background: #ede9fe;
    transform: translateY(-2px);
}

.meta-price {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    font-weight: 600;
}

.meta-price i {
    color: #ffffff;
}

/* Tags Section - Compact */
.content-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tags-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tags-label i {
    color: #667eea;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.tag-link {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: #ffffff;
    color: #64748b;
    text-decoration: none;
    border-radius: 16px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tag-link:hover {
    background: #667eea;
    color: #ffffff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

/* Download Section - Compact */
.download-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
}

/* Content Sections - Compact */
.content-section {
    margin-bottom: 2rem;
}

.content-section:last-of-type {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

.section-title i {
    color: #667eea;
    font-size: 1.2rem;
}

.section-content {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 0.875rem;
}

/* Detailed Content Styling - Compact */
.detailed-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.detailed-content h1,
.detailed-content h2,
.detailed-content h3,
.detailed-content h4 {
    color: #1e293b;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.875rem;
    line-height: 1.4;
}

.detailed-content h1 {
    font-size: 1.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.detailed-content h2 {
    font-size: 1.4rem;
}

.detailed-content h3 {
    font-size: 1.2rem;
}

.detailed-content h4 {
    font-size: 1.05rem;
}

.detailed-content ul,
.detailed-content ol {
    margin: 0.875rem 0;
    padding-left: 1.75rem;
}

.detailed-content li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.detailed-content code {
    background: #f1f5f9;
    color: #e11d48;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.88em;
}

.detailed-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.25rem 0;
}

.detailed-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.detailed-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1.25rem;
    margin: 1.25rem 0;
    color: #64748b;
    font-style: italic;
}

.detailed-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.25rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.detailed-content a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.detailed-content a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.detailed-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.detailed-content table th,
.detailed-content table td {
    padding: 0.625rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.detailed-content table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.detailed-content table tr:hover {
    background: #f8fafc;
}

/* Sidebar - Compact */
.show-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.06);
    animation: fadeInRight 0.5s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-title i {
    color: #667eea;
    font-size: 1rem;
}

/* Related List - Compact */
.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
    margin-bottom: 0.5rem;
}

.related-list li:last-child {
    margin-bottom: 0;
}

.related-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    line-height: 1.5;
}

.related-list a:hover {
    background: #f8fafc;
    color: #667eea;
    transform: translateX(5px);
}

.related-list i {
    color: #667eea;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.view-more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.875rem;
    padding: 0.625rem;
    background: #f8fafc;
    color: #667eea;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-more-link:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

/* Tag Cloud - Compact */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    padding: 0.4rem 0.85rem;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
    border-radius: 14px;
    font-size: 0.825rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tag-item:hover {
    background: #667eea;
    color: #ffffff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Hot List - Compact */
.hot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
    padding: 0.625rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hot-item:last-child {
    margin-bottom: 0;
}

.hot-item:hover {
    background: #f8fafc;
}

.hot-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    background: #f1f5f9;
    color: #64748b;
}

.hot-rank.rank-top {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.35);
}

.hot-item a {
    flex: 1;
    color: #475569;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-item a:hover {
    color: #667eea;
}

/* Category Navigation - Compact */
.category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.category-nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.625rem 0.875rem;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.category-nav-link:hover {
    background: #f8fafc;
    color: #667eea;
    transform: translateX(5px);
}

.category-nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.category-nav-link i {
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .show-container {
        grid-template-columns: 1fr 300px;
        gap: 1.25rem;
    }
    
    .show-content {
        padding: 1.75rem;
    }
}

@media (max-width: 992px) {
    .show-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .show-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .show-page {
        padding: 1rem 0 1.5rem;
    }
    
    .breadcrumb-nav {
        padding: 0 1rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.4rem;
    }
    
    .show-container {
        padding: 0 1rem;
    }
    
    .show-content {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .content-title {
        font-size: 1.4rem;
        gap: 0.6rem;
    }
    
    .content-title i {
        font-size: 1.3rem;
    }
    
    .content-meta {
        gap: 0.6rem;
    }
    
    .meta-item {
        padding: 0.45rem 0.75rem;
        font-size: 0.825rem;
    }
    
    .content-tags {
        padding: 0.875rem 1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .download-section {
        padding: 1.25rem;
    }
    
    .show-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-section {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.5rem 0.875rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.3rem;
    }
    
    .show-content {
        padding: 1.25rem;
    }
    
    .content-title {
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    
    .content-title i {
        font-size: 1.15rem;
    }
    
    .content-meta {
        gap: 0.5rem;
    }
    
    .meta-item {
        padding: 0.4rem 0.65rem;
        font-size: 0.8rem;
    }
    
    .content-tags {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .tags-label {
        font-size: 0.85rem;
    }
    
    .tag-link {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .section-content {
        font-size: 0.9rem;
    }
    
    .download-section {
        padding: 1rem;
    }
    
    .sidebar-section {
        padding: 1rem;
    }
}
