:root {
    --primary-color: #4b6cb7;
    --secondary-color: #182848;
    --accent-color: #ff6b6b;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --text-color: #333;
    --light-text: #f8f9fa;
}

.truewp-theme-details body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.truewp-theme-details .theme-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.truewp-theme-details .theme-screenshot {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-height: 400px;
    object-fit: contain;
    background: white;
    padding: 5px;
}

.truewp-theme-details .theme-screenshot:hover {
    transform: translateY(-5px);
}

.truewp-theme-details .theme-screenshot-large {
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.truewp-theme-details .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.truewp-theme-details .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.truewp-theme-details .badge-rating {
    background-color: #28a745;
    font-size: 0.9rem;
    padding: 0.5em 0.75em;
}

.truewp-theme-details .nav-tabs .nav-link {
    color: var(--text-color);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.truewp-theme-details .nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: transparent;
}

.truewp-theme-details .tab-content {
    padding: 2rem;
    background: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.truewp-theme-details .tag-badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #e9ecef;
    color: #495057;
    font-weight: normal;
}

.truewp-theme-details .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.truewp-theme-details .stats-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.truewp-theme-details .stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.truewp-theme-details .stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.truewp-theme-details .btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.truewp-theme-details .btn-download:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
}

.truewp-theme-details .btn-preview {
    background-color: var(--accent-color);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.truewp-theme-details .btn-preview:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

.truewp-theme-details .section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.truewp-theme-details .back-link {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.truewp-theme-details .back-link:hover {
    color: var(--accent-color);
}

.truewp-theme-details .theme-description {
    line-height: 1.8;
}

.truewp-theme-details .theme-description p {
    margin-bottom: 1.5rem;
}

.truewp-theme-details .theme-description h2,
.truewp-theme-details .theme-description h3,
.truewp-theme-details .theme-description h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.truewp-theme-details .theme-description ul,
.truewp-theme-details .theme-description ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.truewp-theme-details .theme-description li {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .truewp-theme-details .theme-header {
        padding: 2rem 0;
    }
    
    .truewp-theme-details .display-4 {
        font-size: 2.5rem;
    }
    
    .truewp-theme-details .theme-screenshot {
        margin-top: 2rem;
        max-height: 300px;
    }
    
    .truewp-theme-details .tab-content {
        padding: 1.5rem;
    }
    
    .truewp-theme-details .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .truewp-theme-details .theme-header {
        text-align: center;
    }
    
    .truewp-theme-details .display-4 {
        font-size: 2rem;
    }
    
    .truewp-theme-details .btn-download,
    .truewp-theme-details .btn-preview {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .truewp-theme-details .d-flex.gap-2 {
        flex-direction: column;
    }
}