/*!
 * Downloads Module CSS - Silver Theme
 */

.downloads-section {
	padding: var(--spacing-3xl) 0;
	background: var(--dark-bg);
	border-bottom: 1px solid var(--border-color);
}

.downloads-section .panel-downloads {
    background: transparent;
	border: 2px solid var(--primary-silver-dark);
	border-radius: var(--radius-xl);
	margin-bottom: var(--spacing-xl);
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 40px rgba(192, 192, 192, 0.1);
	position: relative;
	background-size: cover;
	background-position: center;
}

.downloads-section .panel-downloads::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
	z-index: 1;
}

.downloads-section .panel-body {
	padding: var(--spacing-xl);
	position: relative;
	z-index: 2;
}

.downloads-section .panel-title {
	background: linear-gradient(135deg, rgba(192, 192, 192, 0.3) 0%, rgba(140, 140, 140, 0.3) 100%);
	padding: var(--spacing-lg);
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	border-bottom: 2px solid var(--primary-silver-dark);
	position: relative;
	overflow: hidden;
	margin: calc(var(--spacing-xl) * -1);
	margin-bottom: var(--spacing-lg);
	font-family: var(--font-heading);
	font-size: var(--font-size-xl);
	font-weight: var(--font-weight-black);
	color: var(--primary-silver-light);
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.downloads-section .panel-title::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.1), transparent);
	animation: downloadShine 3s infinite;
}

@keyframes downloadShine {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

.downloads-section .panel-title i {
	font-size: var(--font-size-2xl);
	color: var(--primary-silver);
	position: relative;
	z-index: 1;
}

.downloads-section .table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 var(--spacing-sm);
}

.downloads-section .table tr {
	background: rgba(30, 30, 30, 0.5);
	border-radius: var(--radius-lg);
	transition: all var(--transition-base);
}

.downloads-section .table tr:hover {
	background: rgba(192, 192, 192, 0.08);
	transform: translateX(4px);
}

.downloads-section .table tr:hover td {
	border-color: var(--primary-silver-dark);
}

.downloads-section .table td {
	padding: var(--spacing-lg);
	color: var(--text-secondary);
	font-size: var(--font-size-sm);
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
	vertical-align: middle;
}

.downloads-section .table td:first-child {
	border-left: 1px solid transparent;
	border-top-left-radius: var(--radius-lg);
	border-bottom-left-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
}

.downloads-section .table td:last-child {
	border-right: 1px solid transparent;
	border-top-right-radius: var(--radius-lg);
	border-bottom-right-radius: var(--radius-lg);
}

.downloads-section .download-icon {
	font-size: var(--font-size-2xl);
	flex-shrink: 0;
	color: var(--primary-silver);
}

.downloads-section .download-info {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-xs);
}

.downloads-section .download-info strong {
	color: var(--primary-silver-light);
	font-weight: var(--font-weight-bold);
	font-size: var(--font-size-sm);
}

.downloads-section .download-description {
	color: var(--text-secondary);
	font-size: var(--font-size-sm);
	line-height: var(--line-height-relaxed);
	font-weight: var(--font-weight-normal);
}

.page-title {
	text-align: center;
	margin-bottom: var(--spacing-3xl);
	padding-bottom: var(--spacing-md);
}

.page-title span {
	font-family: var(--font-heading);
	font-size: var(--font-size-3xl);
	font-weight: var(--font-weight-black);
	background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 35%, #F5F5F5 50%, #E8E8E8 65%, #C0C0C0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-md);
}

.page-title i {
	background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #C0C0C0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

@media (max-width: 1024px) {
	.downloads-section .panel-body {
		padding: var(--spacing-lg);
	}

	.downloads-section .panel-title {
		font-size: var(--font-size-lg);
		margin: calc(var(--spacing-lg) * -1);
		margin-bottom: var(--spacing-md);
	}

	.downloads-section .table td {
		padding: var(--spacing-md);
		font-size: var(--font-size-sm);
	}
}

@media (max-width: 768px) {
	.downloads-section {
		padding: var(--spacing-2xl) 0;
	}

	.downloads-section .panel-downloads {
		margin-bottom: var(--spacing-md);
	}

	.downloads-section .panel-body {
		padding: var(--spacing-md);
	}

	.downloads-section .panel-title {
		font-size: var(--font-size-base);
		margin: calc(var(--spacing-md) * -1);
		margin-bottom: var(--spacing-sm);
		padding: var(--spacing-md);
	}

	.downloads-section .table {
		border-spacing: 0 var(--spacing-xs);
	}

	.downloads-section .table tr {
		display: flex;
		flex-direction: column;
		gap: var(--spacing-sm);
		margin-bottom: var(--spacing-sm);
		padding: var(--spacing-md);
	}

	.downloads-section .table td {
		padding: 0 !important;
		width: 100% !important;
		text-align: left !important;
		border-radius: 0 !important;
		display: block !important;
		border: none !important;
	}

	.downloads-section .table td:first-child {
		border-radius: 0 !important;
	}

	.downloads-section .download-icon {
		font-size: var(--font-size-xl);
	}
}
