/**
 * Single Torrent Page Styles
 * 
 * @package TorrentBlog
 * @version 1.0.0
 */

/* ═══════════════════════════════════════════════════════════════
   SINGLE PAGE BASE
   ═══════════════════════════════════════════════════════════════ */

.single-torrent-page {
    padding: var(--spacing-md) 0;
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════ */

.torrent-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.torrent-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.torrent-breadcrumbs a:hover {
    color: var(--color-primary-light);
}

.torrent-breadcrumbs a svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.breadcrumb-separator {
    display: inline-flex;
    color: var(--color-border);
}

.breadcrumb-separator svg {
    width: 14px;
    height: 14px;
}

.breadcrumb-current {
    color: var(--color-text);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT GRID
   ═══════════════════════════════════════════════════════════════ */

.torrent-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-md);
    align-items: start;
}

.torrent-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.torrent-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    position: sticky;
    top: calc(var(--header-height, 70px) + var(--spacing-md));
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.torrent-hero {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--spacing-lg);
}

/* Thumbnail Column */
.hero-thumbnail-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.hero-thumbnail {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
}

.hero-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg) 100%);
}

.thumbnail-placeholder .placeholder-icon {
    font-size: 48px;
    opacity: 0.4;
}

.thumbnail-placeholder .placeholder-text {
    font-size: 11px;
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* Health Badge on Thumbnail */
.health-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.health-badge .health-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.health-badge.health-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.health-badge.health-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.health-badge.health-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Thumbnail Stats Row */
.thumbnail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.thumb-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-align: center;
}

.thumb-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.thumb-stat-icon svg {
    width: 16px;
    height: 16px;
}

.thumb-stat-icon.seeders { color: #22c55e; }
.thumb-stat-icon.leechers { color: #ef4444; }
.thumb-stat-icon.completed { color: var(--color-primary-light); }

.thumb-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.thumb-stat-label {
    font-size: 9px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO INFO COLUMN
   ═══════════════════════════════════════════════════════════════ */

.hero-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Category Badge */
.torrent-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    width: fit-content;
    transition: all var(--transition-fast);
}

.torrent-category-badge:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.torrent-category-badge .category-icon {
    font-size: 14px;
    line-height: 1;
}

/* Title */
.torrent-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Meta Row */
.torrent-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.meta-item .meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-item .meta-icon svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.meta-item .meta-label {
    color: var(--color-text-muted);
}

.meta-item .meta-value {
    color: var(--color-text);
}

.meta-item .meta-value.uploader-link {
    color: var(--color-primary-light);
    text-decoration: none;
}

.meta-item .meta-value.uploader-link:hover {
    text-decoration: underline;
}

/* Size Info Boxes */
.torrent-size-info {
    display: flex;
    gap: 10px;
}

.size-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.size-box .size-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-sm);
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.size-box .size-icon svg {
    width: 18px;
    height: 18px;
}

.size-box .size-content {
    display: flex;
    flex-direction: column;
}

.size-box .size-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.size-box .size-label {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Download Section */
.download-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
    margin-top: var(--spacing-xs);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.download-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Download Restricted */
.download-restricted {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    width: 100%;
}

.restricted-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.restricted-content {
    flex: 1;
}

.restricted-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 4px 0;
}

.restricted-text {
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0 0 10px 0;
}

/* Action Buttons */
.torrent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: var(--spacing-sm);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.action-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════════════════════════════ */

.torrent-section {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Section Header Bar */
.section-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.section-header-collapsible {
    cursor: pointer;
    user-select: none;
    transition: background var(--transition-fast);
}

.section-header-collapsible:hover {
    background: var(--color-bg);
}

.section-bar-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.section-bar-title svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.section-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-bar-count {
    font-size: 12px;
    color: var(--color-text-muted);
    padding: 2px 8px;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

.section-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.section-toggle-icon svg {
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
}

.torrent-section.collapsed .section-toggle-icon {
    transform: rotate(-90deg);
}

/* Section Content */
.section-content {
    padding: 16px;
}

.section-collapsible-content {
    max-height: 1000px;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.torrent-section.collapsed .section-collapsible-content {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

/* Description */
.torrent-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.torrent-description p {
    margin: 0 0 12px 0;
}

.torrent-description p:last-child {
    margin-bottom: 0;
}

/* Tags */
.torrent-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.tags-label {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.tag-item:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════
   FILE LIST
   ═══════════════════════════════════════════════════════════════ */

.file-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 400px;
    overflow-y: auto;
}

.file-list::-webkit-scrollbar {
    width: 6px;
}

.file-list::-webkit-scrollbar-track {
    background: var(--color-bg);
    border-radius: 3px;
}

.file-list::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

.file-item .file-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.file-item .file-name {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    color: var(--color-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item .file-size {
    flex-shrink: 0;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    background: var(--color-bg-tertiary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════════
   TECHNICAL DETAILS
   ═══════════════════════════════════════════════════════════════ */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tech-item {
    padding: 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.tech-item .tech-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.tech-item .tech-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    word-break: break-word;
}

.tech-item .tech-value a {
    color: var(--color-primary-light);
    text-decoration: none;
}

.tech-item .tech-value a:hover {
    text-decoration: underline;
}

/* Hash Value with Copy */
.hash-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hash-value code {
    flex: 1;
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--color-text-secondary);
    background: var(--color-bg-tertiary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-hash-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.copy-hash-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.copy-hash-btn svg {
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR WIDGETS
   ═══════════════════════════════════════════════════════════════ */

.sidebar-widget {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.widget-header {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.widget-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.widget-title svg {
    width: 15px;
    height: 15px;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.widget-content {
    padding: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   SWARM INFO WIDGET
   ═══════════════════════════════════════════════════════════════ */

.peers-overview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.peers-chart {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.circular-chart {
    width: 100%;
    height: 100%;
    display: block;
}

.circular-chart .circle-bg {
    fill: none;
    stroke: var(--color-bg);
    stroke-width: 3;
}

.circular-chart .circle-fill {
    fill: none;
    stroke: #22c55e;
    stroke-width: 3;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dasharray 0.5s ease;
}

.circular-chart .percentage {
    fill: var(--color-text);
    font-size: 9px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
}

.peers-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.peer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.peer-row .peer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.peer-row .peer-dot.seeder { background: #22c55e; }
.peer-row .peer-dot.leecher { background: #ef4444; }
.peer-row .peer-dot.completed { background: var(--color-primary-light); }

.peer-row .peer-type {
    flex: 1;
    color: var(--color-text-secondary);
}

.peer-row .peer-count {
    font-weight: 600;
    min-width: 24px;
    text-align: right;
}

.peer-row .peer-count.seeders { color: #22c55e; }
.peer-row .peer-count.leechers { color: #ef4444; }

/* Health Bar in Widget */
.health-bar-wrapper {
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.health-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    margin-bottom: 6px;
}

.health-bar-label span:first-child {
    color: var(--color-text-muted);
}

.health-status {
    font-weight: 600;
}

.health-status.health-success { color: #22c55e; }
.health-status.health-warning { color: #f59e0b; }
.health-status.health-danger { color: #ef4444; }

.health-bar-track {
    height: 6px;
    background: var(--color-bg);
    border-radius: 3px;
    overflow: hidden;
}

.health-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.health-bar-fill.health-success { background: linear-gradient(90deg, #22c55e, #4ade80); }
.health-bar-fill.health-warning { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.health-bar-fill.health-danger { background: linear-gradient(90deg, #ef4444, #f87171); }

/* ═══════════════════════════════════════════════════════════════
   DOWNLOAD WIDGET
   ═══════════════════════════════════════════════════════════════ */

.download-widget .widget-content {
    padding: 14px;
}

.download-widget-info {
    margin-bottom: 12px;
}

.download-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px dashed var(--color-border);
}

.download-info-row:last-child {
    border-bottom: none;
}

.download-info-row .info-label {
    color: var(--color-text-muted);
}

.download-info-row .info-value {
    font-weight: 600;
    color: var(--color-text);
}

.download-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.download-main-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.download-main-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   UPLOADER WIDGET
   ═══════════════════════════════════════════════════════════════ */

.uploader-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.uploader-avatar {
    flex-shrink: 0;
}

.uploader-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
}

.uploader-details {
    flex: 1;
    min-width: 0;
}

.uploader-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-light);
    text-decoration: none;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uploader-name:hover {
    text-decoration: underline;
}

.uploader-rank {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

.uploader-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.uploader-stat {
    text-align: center;
    padding: 10px 8px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.uploader-stat .stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 2px;
}

.uploader-stat .stat-label {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════════
   RELATED TORRENTS WIDGET
   ═══════════════════════════════════════════════════════════════ */

.related-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.related-item:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-primary);
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-name {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
}

.related-size {
    font-size: 10px;
    color: var(--color-text-muted);
}

.related-peers {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
}

.related-peers .seeders { color: #22c55e; }
.related-peers .leechers { color: #ef4444; }
.related-peers .divider { color: var(--color-text-muted); margin: 0 2px; }

.view-all-related {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 10px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary-light);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.view-all-related:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.view-all-related svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   COMMENTS SECTION
   ═══════════════════════════════════════════════════════════════ */

.comments-area {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.comments-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.comments-title svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--color-primary);
    color: white;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.comments-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.comments-sort label {
    color: var(--color-text-muted);
}

.comments-sort select {
    padding: 6px 10px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 12px;
    cursor: pointer;
}

/* Comment Form */
.comment-form-wrapper {
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
}

.comment-form-container {
    display: flex;
    gap: 12px;
}

.comment-form-avatar {
    flex-shrink: 0;
}

.comment-form-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
}

.comment-form {
    flex: 1;
    min-width: 0;
}

.comment-textarea-wrapper {
    position: relative;
}

.comment-textarea-wrapper textarea {
    width: 100%;
    padding: 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color var(--transition-fast);
}

.comment-textarea-wrapper textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.comment-textarea-wrapper textarea::placeholder {
    color: var(--color-text-muted);
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.char-counter {
    font-size: 10px;
    color: var(--color-text-muted);
}

.textarea-actions {
    display: flex;
    gap: 4px;
}

.emoji-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.emoji-toggle:hover {
    background: var(--color-bg);
    color: var(--color-primary-light);
}

.emoji-toggle svg {
    width: 18px;
    height: 18px;
}

.comment-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.comment-form-user {
    font-size: 12px;
    color: var(--color-text-muted);
}

.comment-form-user strong {
    color: var(--color-text);
}

.comment-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.comment-submit:hover {
    background: var(--color-primary-dark);
}

.comment-submit svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Login Required */
.comment-login-required {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
}

.login-required-icon {
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.login-required-icon svg {
    width: 36px;
    height: 36px;
}

.login-required-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 4px 0;
}

.login-required-content p {
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0 0 12px 0;
}

/* Comments List */
.comments-list-wrapper {
    padding: 16px;
}

.comments-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-item {
    margin-bottom: 12px;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-body {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-author-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.comment-avatar {
    position: relative;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
}

.author-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border: 2px solid var(--color-bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-badge svg {
    width: 10px;
    height: 10px;
    color: white;
}

.comment-meta {
    flex: 1;
    min-width: 0;
}

.comment-author-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 2px;
}

.comment-author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.comment-author-name:hover {
    color: var(--color-primary-light);
}

.comment-author-rank {
    font-size: 9px;
    padding: 2px 6px;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

.comment-author-label {
    font-size: 9px;
    padding: 2px 6px;
    background: #22c55e;
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.comment-date-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--color-text-muted);
}

.comment-date svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.comment-permalink {
    font-size: 10px;
    color: var(--color-text-muted);
    text-decoration: none;
}

.comment-permalink:hover {
    color: var(--color-primary-light);
}

/* Comment Actions Menu */
.comment-actions-menu {
    position: relative;
}

.comment-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.comment-menu-toggle:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text);
}

.comment-menu-toggle svg {
    width: 16px;
    height: 16px;
}

/* Comment Content */
.comment-content {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.comment-content p {
    margin: 0 0 8px 0;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-pending-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-sm);
    color: #f59e0b;
    font-size: 12px;
    margin-bottom: 10px;
}

.comment-pending-notice svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Comment Footer */
.comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}

.comment-reactions {
    display: flex;
    gap: 6px;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.reaction-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.reaction-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.comment-reply-wrapper a {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.comment-reply-wrapper a:hover {
    color: var(--color-primary-light);
}

/* No Comments */
.no-comments,
.comments-closed {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-muted);
}

.no-comments-icon {
    margin-bottom: 12px;
}

.no-comments-icon svg,
.comments-closed svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}

.no-comments h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 6px 0;
}

.no-comments p,
.comments-closed p {
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE - TABLET
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .torrent-layout {
        grid-template-columns: 1fr 280px;
        gap: var(--spacing-sm);
    }
    
    .hero-grid {
        grid-template-columns: 160px 1fr;
        gap: var(--spacing-md);
    }
    
    .hero-thumbnail {
        width: 160px;
        height: 160px;
    }
    
    .torrent-title {
        font-size: 18px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE - SMALL TABLET
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .torrent-layout {
        grid-template-columns: 1fr;
    }
    
    .torrent-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .torrent-sidebar .related-widget {
        grid-column: 1 / -1;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE - MOBILE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .single-torrent-page {
        padding: var(--spacing-sm) 0;
    }
    
    .torrent-breadcrumbs {
        font-size: 11px;
        margin-bottom: var(--spacing-sm);
    }
    
    .torrent-hero {
        padding: var(--spacing-md);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero-thumbnail-wrapper {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: var(--spacing-sm);
    }
    
    .hero-thumbnail {
        width: 120px;
        height: 120px;
    }
    
    .thumbnail-stats {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .thumb-stat {
        flex-direction: row;
        justify-content: space-between;
        padding: 6px 10px;
    }
    
    .thumb-stat-icon {
        margin-bottom: 0;
        margin-right: 6px;
    }
    
    .thumb-stat-value {
        font-size: 13px;
    }
    
    .thumb-stat-label {
        display: none;
    }
    
    .torrent-title {
        font-size: 16px;
    }
    
    .torrent-meta-row {
        flex-direction: column;
        gap: 6px;
    }
    
    .torrent-size-info {
        flex-wrap: wrap;
    }
    
    .size-box {
        flex: 1;
        min-width: 120px;
    }
    
    .download-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .download-btn {
        width: 100%;
    }
    
    .torrent-actions {
        justify-content: center;
    }
    
    .torrent-sidebar {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .comment-form-container {
        flex-direction: column;
    }
    
    .comment-form-avatar {
        display: none;
    }
    
    .comment-form-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .comment-form-user {
        text-align: center;
    }
    
    .comment-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE - SMALL MOBILE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    .torrent-hero {
        padding: var(--spacing-sm);
    }
    
    .hero-thumbnail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    
    .thumbnail-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .thumb-stat {
        flex-direction: column;
        padding: 8px 4px;
    }
    
    .thumb-stat-icon {
        margin-right: 0;
        margin-bottom: 2px;
    }
    
    .action-btn span {
        display: none;
    }
    
    .action-btn {
        padding: 8px 10px;
    }
    
    .section-content {
        padding: 12px;
    }
    
    .widget-content {
        padding: 12px;
    }
    
    .comment-login-required {
        flex-direction: column;
        text-align: center;
    }
    
    .comment-author-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-avatar {
        margin-bottom: 4px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   DUAL RANK SYSTEM BADGES (for single.php)
   ═══════════════════════════════════════════════════════════════ */

/**
 * Base badge style
 */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

/* WordPress Role Badges */
.role-admin {
    background-color: rgba(255, 68, 68, 0.15);
    color: #FF4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.role-mod {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.role-author {
    background-color: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.role-contrib {
    background-color: rgba(0, 188, 212, 0.15);
    color: #00BCD4;
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.role-user {
    background-color: rgba(96, 125, 139, 0.15);
    color: #607D8B;
    border: 1px solid rgba(96, 125, 139, 0.3);
}

.role-guest {
    background-color: rgba(102, 102, 102, 0.15);
    color: #666666;
    border: 1px solid rgba(102, 102, 102, 0.3);
}

/* Torrent Rank Badges */
.rank-elite {
    background-color: rgba(233, 30, 99, 0.15);
    color: #E91E63;
    border: 1px solid rgba(233, 30, 99, 0.3);
}

.rank-power-user {
    background-color: rgba(33, 150, 243, 0.15);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.rank-uploader {
    background-color: rgba(156, 39, 176, 0.15);
    color: #9C27B0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.rank-member {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rank-newbie {
    background-color: rgba(158, 158, 158, 0.15);
    color: #9E9E9E;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

/* Colored Usernames */
.username-colored {
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.username-colored:hover {
    opacity: 0.8;
    text-decoration: none;
}

.username-admin { color: #FF4444; }
.username-mod { color: #4CAF50; }
.username-author { color: #FF9800; }
.username-contrib { color: #00BCD4; }
.username-user { color: #607D8B; }
.username-guest { color: #666666; }

/* Torrent Uploader Display */
.torrent-uploader {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.torrent-uploader .user-badge {
    font-size: 9px;
    padding: 2px 6px;
}

/* Tech item uploader */
.tech-item-uploader .tech-value {
    display: flex;
    align-items: center;
}

.tech-item-uploader .torrent-uploader {
    gap: 4px;
}

.tech-item-uploader .user-badge {
    font-size: 8px;
    padding: 1px 4px;
}

/* Uploader widget badges */
.uploader-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uploader-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.uploader-badges .user-badge {
    font-size: 9px;
    padding: 2px 6px;
}

/* ═══════════════════════════════════════════════════════════════
   MODAL BASE STYLES
   ═══════════════════════════════════════════════════════════════ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-bg-secondary, #1e2836);
    border: 1px solid var(--color-border, #2d3748);
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-container.modal-sm {
    max-width: 420px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md, 16px);
    border-bottom: 1px solid var(--color-border, #2d3748);
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-md, 16px);
    font-weight: 600;
    color: var(--color-text, #fff);
    margin: 0;
}

.modal-title svg {
    width: 20px;
    height: 20px;
}

.modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm, 6px);
    color: var(--color-text-muted, #a0aec0);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--color-bg-tertiary, #2d3748);
    color: var(--color-text, #fff);
}

.modal-close-btn svg {
    width: 18px;
    height: 18px;
}

.modal-body {
    padding: var(--spacing-md, 16px);
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-sm, 8px);
    padding: var(--spacing-md, 16px);
    border-top: 1px solid var(--color-border, #2d3748);
}

/* ═══════════════════════════════════════════════════════════════
   SHARE MODAL STYLES
   ═══════════════════════════════════════════════════════════════ */

.share-label {
    display: block;
    font-size: var(--font-size-xs, 12px);
    font-weight: 600;
    color: var(--color-text-muted, #a0aec0);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.share-copy-section {
    margin-bottom: var(--spacing-md, 16px);
}

.share-copy-wrapper {
    display: flex;
    gap: 8px;
}

.share-url-input {
    flex: 1;
    padding: 10px 12px;
    background: var(--color-bg, #151b25);
    border: 1px solid var(--color-border, #2d3748);
    border-radius: var(--radius-sm, 6px);
    color: var(--color-text, #fff);
    font-size: var(--font-size-sm, 14px);
    font-family: var(--font-mono, monospace);
}

.share-copy-wrapper .btn {
    flex-shrink: 0;
}

.share-social-section {
    padding-top: var(--spacing-sm, 8px);
    border-top: 1px solid var(--color-border, #2d3748);
}

.share-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-bg, #151b25);
    border: 1px solid var(--color-border, #2d3748);
    border-radius: var(--radius-sm, 6px);
    color: var(--color-text-secondary, #cbd5e0);
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-social-btn:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary, #4299e1);
}

.share-social-btn svg {
    width: 22px;
    height: 22px;
}

/* Social button colors on hover */
.share-twitter:hover { background: #1DA1F2; color: white; border-color: #1DA1F2; }
.share-facebook:hover { background: #4267B2; color: white; border-color: #4267B2; }
.share-reddit:hover { background: #FF4500; color: white; border-color: #FF4500; }
.share-telegram:hover { background: #0088cc; color: white; border-color: #0088cc; }
.share-whatsapp:hover { background: #25D366; color: white; border-color: #25D366; }
.share-email:hover { background: var(--color-primary, #4299e1); color: white; border-color: var(--color-primary, #4299e1); }

/* ═══════════════════════════════════════════════════════════════
   REPORT MODAL STYLES
   ═══════════════════════════════════════════════════════════════ */

.report-success {
    text-align: center;
    padding: var(--spacing-lg, 24px);
}

.report-success .success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md, 16px);
    background: rgba(72, 187, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-success .success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-success, #48bb78);
}

.report-success h4 {
    font-size: var(--font-size-lg, 18px);
    color: var(--color-text, #fff);
    margin: 0 0 8px 0;
}

.report-success p {
    color: var(--color-text-muted, #a0aec0);
    margin: 0;
}

.report-form-container .form-group {
    margin-bottom: var(--spacing-md, 16px);
}

.report-form-container .form-label {
    display: block;
    font-size: var(--font-size-sm, 14px);
    font-weight: 500;
    color: var(--color-text, #fff);
    margin-bottom: 6px;
}

.report-form-container .form-label .required {
    color: var(--color-danger, #f56565);
}

.report-form-container .form-select,
.report-form-container .form-textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--color-bg, #151b25);
    border: 1px solid var(--color-border, #2d3748);
    border-radius: var(--radius-sm, 6px);
    color: var(--color-text, #fff);
    font-size: var(--font-size-sm, 14px);
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.report-form-container .form-select:focus,
.report-form-container .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary, #4299e1);
}

.report-form-container .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.report-form-container .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm, 8px);
    margin-top: var(--spacing-md, 16px);
}

/* ═══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════ */

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--color-bg-secondary, #1e2836);
    border: 1px solid var(--color-border, #2d3748);
    border-radius: var(--radius-md, 8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    color: var(--color-text, #fff);
    font-size: var(--font-size-sm, 14px);
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    flex-shrink: 0;
}

.toast-icon svg {
    width: 20px;
    height: 20px;
}

.toast-message {
    flex: 1;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--color-text-muted, #a0aec0);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    color: var(--color-text, #fff);
}

/* Toast types */
.toast-success { border-left: 3px solid var(--color-success, #48bb78); }
.toast-success .toast-icon { color: var(--color-success, #48bb78); }

.toast-error { border-left: 3px solid var(--color-danger, #f56565); }
.toast-error .toast-icon { color: var(--color-danger, #f56565); }

.toast-warning { border-left: 3px solid var(--color-warning, #ed8936); }
.toast-warning .toast-icon { color: var(--color-warning, #ed8936); }

.toast-info { border-left: 3px solid var(--color-primary, #4299e1); }
.toast-info .toast-icon { color: var(--color-primary, #4299e1); }

/* Spinner animation for loading state */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   SHARE MODAL - COPY BUTTON ONLY
   ═══════════════════════════════════════════════════════════════ */

#shareModal .share-copy-wrapper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--color-primary, #4299e1);
    border: 1px solid var(--color-primary, #4299e1);
    border-radius: var(--radius-sm, 6px);
    color: white;
    font-size: var(--font-size-sm, 14px);
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

#shareModal .share-copy-wrapper button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

#shareModal .share-copy-wrapper button:hover {
    background: var(--color-primary-dark, #3182ce);
    border-color: var(--color-primary-dark, #3182ce);
}

#shareModal .share-copy-wrapper button.copied {
    background: var(--color-success, #48bb78);
    border-color: var(--color-success, #48bb78);
}

/* ═══════════════════════════════════════════════════════════════
   REPORT MODAL - CANCEL & SUBMIT BUTTONS ONLY
   ═══════════════════════════════════════════════════════════════ */

#reportModal .form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-top: var(--spacing-md, 16px);
    margin-top: var(--spacing-sm, 8px);
    border-top: 1px solid var(--color-border, #2d3748);
}

#reportModal .form-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-sm, 6px);
    font-size: var(--font-size-sm, 14px);
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

#reportModal .form-actions button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Cancel Button */
#reportModal .form-actions button.btn-secondary {
    background: var(--color-bg-tertiary, #2d3748);
    border: 1px solid var(--color-border, #2d3748);
    color: var(--color-text, #fff);
}

#reportModal .form-actions button.btn-secondary:hover {
    background: var(--color-bg, #151b25);
    border-color: var(--color-text-muted, #a0aec0);
}

/* Submit Report Button */
#reportModal .form-actions button.btn-danger {
    background: var(--color-danger, #f56565);
    border: 1px solid var(--color-danger, #f56565);
    color: white;
}

#reportModal .form-actions button.btn-danger:hover {
    background: #e53e3e;
    border-color: #e53e3e;
}

#reportModal .form-actions button.btn-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   MULTIPLE TORRENTS DOWNLOAD SECTION
   ═══════════════════════════════════════════════════════════════ */

.downloads-section .section-content {
    padding: 0;
}

.torrents-download-list {
    display: flex;
    flex-direction: column;
}

.torrent-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-fast);
}

.torrent-download-item:last-child {
    border-bottom: none;
}

.torrent-download-item:hover {
    background: var(--color-bg-tertiary);
}

.torrent-download-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.torrent-download-index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.torrent-download-details {
    flex: 1;
    min-width: 0;
}

.torrent-download-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.torrent-download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.torrent-download-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.torrent-download-meta svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.torrent-download-meta .meta-seeders {
    color: #22c55e;
}

.torrent-download-meta .meta-leechers {
    color: #ef4444;
}

.torrent-download-action {
    flex-shrink: 0;
}

.btn-download-torrent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-download-torrent svg {
    width: 16px;
    height: 16px;
}

.btn-download-torrent.btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
}

.btn-download-torrent.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-download-torrent.btn-secondary {
    background: var(--color-bg);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.btn-download-torrent.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

/* ═══════════════════════════════════════════════════════════════
   DELETE BUTTON STYLES
   ═══════════════════════════════════════════════════════════════ */

.action-btn.delete-btn {
    color: var(--color-danger);
    border-color: rgba(239, 68, 68, 0.3);
}

.action-btn.delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--color-danger);
    color: var(--color-danger);
}

/* ═══════════════════════════════════════════════════════════════
   DELETE MODAL STYLES
   ═══════════════════════════════════════════════════════════════ */

.delete-warning {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.delete-warning-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 50%;
    color: var(--color-danger);
}

.delete-warning-icon svg {
    width: 24px;
    height: 24px;
}

.delete-warning-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 8px 0;
}

.delete-warning-content p {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin: 0 0 12px 0;
}

.delete-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.delete-items-list li {
    position: relative;
    padding-left: 20px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.delete-items-list li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--color-danger);
}

.delete-post-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.delete-post-label {
    font-size: 12px;
    color: var(--color-text-muted);
}

.delete-post-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Delete button in modal */
.modal-footer .btn-danger {
    background: var(--color-danger);
    border: 1px solid var(--color-danger);
    color: white;
}

.modal-footer .btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.modal-footer .btn-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-footer .btn-danger svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR DOWNLOAD WIDGET ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════ */

.download-info-row .info-seeders {
    color: #22c55e;
    font-weight: 700;
}

.download-info-row .info-leechers {
    color: #ef4444;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .torrent-download-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .torrent-download-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .torrent-download-index {
        position: absolute;
        top: 16px;
        right: 16px;
    }
    
    .torrent-download-item {
        position: relative;
    }
    
    .torrent-download-details {
        padding-right: 50px;
    }
    
    .torrent-download-meta {
        gap: 8px;
    }
    
    .torrent-download-action {
        width: 100%;
    }
    
    .btn-download-torrent {
        width: 100%;
        justify-content: center;
    }
    
    .delete-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .delete-warning-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .torrent-download-meta {
        flex-direction: column;
        gap: 4px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MULTIPLE TORRENT FILE LIST STYLES
   ═══════════════════════════════════════════════════════════════ */

/* File list torrent name in header */
.file-list-torrent-name {
    font-weight: 400;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    margin-left: 0.25rem;
}

/* Multiple file sections spacing */
.files-section + .files-section {
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════
   TECHNICAL DETAILS - MULTIPLE INFO HASH STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Full width tech item for multiple hashes */
.tech-item-full {
    grid-column: 1 / -1;
}

/* Make hash value break properly on mobile */
.tech-item-full .hash-value code {
    word-break: break-all;
}

/* Multiple info hash items have subtle divider */
.tech-item-full + .tech-item-full {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tech-label-sub {
        max-width: 150px;
    }
    
    .file-list-torrent-name {
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
    }
}
/* ═══════════════════════════════════════════════════════════════
   COMBINED STATS INFO BUTTON & TOOLTIP
   ═══════════════════════════════════════════════════════════════ */

.combined-stats-info-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.combined-stats-info-btn:hover {
    background: var(--color-bg);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.combined-stats-info-btn svg {
    width: 18px;
    height: 18px;
}

/* Tooltip */
.combined-stats-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    padding: 1rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
    text-align: left;
}

.combined-stats-info-btn.tooltip-active .combined-stats-tooltip {
    opacity: 1;
    visibility: visible;
}

.tooltip-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-bg-secondary);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transform: translateX(-50%) rotate(45deg);
}

.tooltip-content strong {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.tooltip-content p {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.tooltip-content p:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MULTI-TORRENT NOTE (AFTER DOWNLOAD BUTTON)
   ═══════════════════════════════════════════════════════════════ */

.multi-torrent-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.625rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--color-primary-light);
}

.multi-torrent-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SIZE INFO ROW - ALIGN WITH INFO BUTTON
   ═══════════════════════════════════════════════════════════════ */

.torrent-size-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE - TOOLTIP
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .combined-stats-tooltip {
        width: 250px;
        left: auto;
        right: -10px;
        transform: none;
    }
    
    .tooltip-arrow {
        left: auto;
        right: 20px;
        transform: rotate(45deg);
    }
    
    .multi-torrent-note {
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .combined-stats-tooltip {
        width: 220px;
        right: -5px;
    }
    
    .combined-stats-info-btn {
        width: 28px;
        height: 28px;
    }
    
    .combined-stats-info-btn svg {
        width: 16px;
        height: 16px;
    }
}
/* ═══════════════════════════════════════════════════════════════
   MULTIPLE TORRENT - NOTE UNDER SIZE/FILES
   ═══════════════════════════════════════════════════════════════ */

.multi-torrent-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    color: var(--color-primary-light);
}

.multi-torrent-note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   TECHNICAL DETAILS - VALUE BREAKDOWN
   ═══════════════════════════════════════════════════════════════ */

.tech-value-main {
    font-weight: 600;
}

.tech-value-breakdown {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* Tech label sub - full name display */
.tech-label-sub {
    display: block;
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: 0.375rem;
    /* Show full name - no truncation, no uppercase */
    white-space: normal;
    word-break: break-word;
    max-width: none;
    text-transform: none;
    line-height: 1.4;
}

/* Ensure tech label sub doesn't inherit uppercase */
.tech-item .tech-label-sub {
    text-transform: none !important;
    letter-spacing: normal;
}

/* Full width tech item */
.tech-item-full {
    grid-column: 1 / -1;
}

/* Multiple info hash items divider */
.tech-item-full + .tech-item-full {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

/* Hash value word break */
.tech-item-full .hash-value code {
    word-break: break-all;
}

/* ═══════════════════════════════════════════════════════════════
   DOWNLOADS SECTION HIGHLIGHT ANIMATION
   ═══════════════════════════════════════════════════════════════ */

.downloads-section.highlight {
    animation: highlightPulse 2s ease;
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .combined-stats-notice,
    .multi-torrent-note {
        font-size: 11px;
    }
    
    .tech-value-breakdown {
        font-size: 11px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   DELETE POST MODAL - IMPROVED BUTTON STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Modal footer */
#deletePostModal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-tertiary);
    border-top: 1px solid var(--color-border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Cancel Button */
#deletePostModal .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    min-width: 100px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

#deletePostModal .btn-secondary:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-text-muted);
}

/* Delete Button */
#deletePostModal .btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    min-width: 160px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #ffffff;
    background: var(--color-danger);
    border: 1px solid var(--color-danger);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

#deletePostModal .btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

#deletePostModal .btn-danger:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    box-shadow: none;
}

#deletePostModal .btn-danger svg {
    width: 16px;
    height: 16px;
}

/* Spinner for loading state */
#deletePostModal .btn-danger .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   DELETE MODAL - RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    #deletePostModal .modal-footer {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    
    #deletePostModal .btn-secondary,
    #deletePostModal .btn-danger {
        width: 100%;
        min-width: auto;
        padding: 0.875rem 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FIX: USERNAME RANK COLOR - OVERRIDE TECH-ITEM LINK STYLE
   ═══════════════════════════════════════════════════════════════ */

/* Override .tech-item .tech-value a for username links */
.tech-item .tech-value a.username-colored,
.tech-item .tech-value .torrent-uploader a {
    color: inherit;
}

/* Ensure username classes apply their colors */
.tech-item .tech-value a.username-admin { color: #ff4444; }
.tech-item .tech-value a.username-moderator { color: #9b59b6; }
.tech-item .tech-value a.username-vip { color: #f39c12; }
.tech-item .tech-value a.username-uploader { color: #27ae60; }
.tech-item .tech-value a.username-member { color: #3498db; }

/* Remove underline on hover */
.tech-item .tech-value a.username-colored:hover,
.tech-item .tech-value .torrent-uploader a:hover {
    text-decoration: none;
    opacity: 0.85;
}

/* Global fix for all username links - no underline on hover */
a.username-colored:hover,
.torrent-uploader a:hover {
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════
   USERNAME RANK COLORS - GLOBAL FIX (HIGH SPECIFICITY)
   ═══════════════════════════════════════════════════════════════ */

/* Base - all username colored links */
a.username-colored,
a.username-colored:link,
a.username-colored:visited,
a.username-colored:hover,
a.username-colored:focus,
a.username-colored:active {
    text-decoration: none !important;
}

/* Admin - Red */
a.username-admin,
a.username-admin:link,
a.username-admin:visited,
a.username-admin:hover,
a.username-admin:focus,
a.username-admin:active {
    color: #ff4444 !important;
    text-decoration: none !important;
}

/* Moderator - Purple */
a.username-moderator,
a.username-moderator:link,
a.username-moderator:visited,
a.username-moderator:hover,
a.username-moderator:focus,
a.username-moderator:active {
    color: #9b59b6 !important;
    text-decoration: none !important;
}

/* VIP - Gold */
a.username-vip,
a.username-vip:link,
a.username-vip:visited,
a.username-vip:hover,
a.username-vip:focus,
a.username-vip:active {
    color: #f39c12 !important;
    text-decoration: none !important;
}

/* Uploader - Green */
a.username-uploader,
a.username-uploader:link,
a.username-uploader:visited,
a.username-uploader:hover,
a.username-uploader:focus,
a.username-uploader:active {
    color: #27ae60 !important;
    text-decoration: none !important;
}

/* Member - Blue */
a.username-member,
a.username-member:link,
a.username-member:visited,
a.username-member:hover,
a.username-member:focus,
a.username-member:active {
    color: #3498db !important;
    text-decoration: none !important;
}

/* Hover effect - subtle brightness */
a.username-colored:hover {
    filter: brightness(1.2);
}