/* LibreCrawl Workshop - Refined Style */
:root {
    --bg-body: #1a1d29;
    /* LibreCrawl Dark */
    --bg-header: #11141d;
    --bg-content: #1a1d29;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --text-main: #e2e8f0;
    --text-bright: #ffffff;
    --text-link: #a855f7;
    /* LibreCrawl Purple Light */
    --accent-purple: #7c3aed;
    /* LibreCrawl Purple */
    --accent-purple-hover: #6d28d9;
    --border-color: #334155;
    --card-bg: #1e293b;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    font-size: 14px;
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #fff;
}

/* Global Header */
.steam-header {
    background-color: var(--bg-header);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
    width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    color: #94a3b8;
    font-size: 14px;
    margin-right: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: #fff;
}

.search-box {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    width: 300px;
}

.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    padding: 0 10px;
    width: 100%;
}

/* Main Container */
.container {
    width: 1000px;
    margin: 0 auto;
    padding-top: 30px;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #94a3b8;
}

.breadcrumbs a:hover {
    color: var(--text-link);
}

/* Hero / Highlight */
.highlight-strip {
    margin-bottom: 30px;
}

.highlight-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
}

.highlight-item {
    min-width: 600px;
    height: 340px;
    position: relative;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.highlight-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.highlight-item:hover img {
    opacity: 1;
}

.highlight-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    padding: 20px;
}

/* Two Column Layout */
.content-wrapper {
    display: flex;
    gap: 30px;
}

.main-column {
    flex: 1;
}

.right-column {
    width: 300px;
}

/* Tabs */
.workshop-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    background: transparent;
    color: #94a3b8;
    border: none;
    padding: 10px 20px;
    margin-right: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: var(--accent-purple);
    border-bottom-color: var(--accent-purple);
}

/* Grid */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.workshop-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.workshop-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-purple);
}

.item-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.item-details {
    padding: 12px;
}

.item-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-rating {
    color: #fbbf24;
    /* Amber 400 */
    font-size: 13px;
}

.item-author {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

/* Sidebar Widgets */
.sidebar-block {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.sidebar-header {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tag-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 13px;
}

.tag-item:hover {
    color: var(--accent-purple);
}

/* DETAILS PAGE STYLES */
.detail-header {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-title {
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.detail-layout {
    display: flex;
    gap: 30px;
}

.detail-left {
    flex: 1;
}

.detail-right {
    width: 300px;
}

/* Gallery */
.main-preview {
    width: 100%;
    background: #000;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-preview img {
    width: 100%;
    display: block;
}

.thumb-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.thumb-strip img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
}

.thumb-strip img:hover,
.thumb-strip img.active {
    opacity: 1;
    border-color: var(--accent-purple);
}

/* Action Bar (Like, Share, Report) */
.action-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 10px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.action-btn.report:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Description */
.description-block {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.description-block h2 {
    color: #fff;
    font-size: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 0;
}

/* Right Sidebar (Details) */
.download-panel {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.download-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-hover));
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.3);
    transition: all 0.2s;
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(124, 58, 237, 0.4);
}

.stats-table {
    width: 100%;
    font-size: 13px;
    color: #94a3b8;
}

.stats-table td {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table .label {
    width: 100px;
}

.stats-table .value {
    color: #fff;
    text-align: right;
}

.creator-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.avatar {
    width: 48px;
    height: 48px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 20px;
}

.creator-name {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

/* Comments */
.comments-section {
    margin-top: 40px;
}

.comment-entry {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
}

.comment-author {
    color: var(--accent-purple);
    font-weight: 600;
    margin-bottom: 4px;
}

.comment-text {
    color: #cbd5e1;
    font-size: 14px;
}