.trg-section {
	width: 100%;
	background: radial-gradient(ellipse at 50% 0%, #10151f 0%, #05070c 60%, #020304 100%);
	padding: 56px 20px 64px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #fff;
}

.trg-heading {
	text-align: center;
	font-size: clamp(24px, 4vw, 40px);
	font-weight: 800;
	letter-spacing: 2px;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.trg-subheading {
	text-align: center;
	font-size: clamp(12px, 1.6vw, 15px);
	letter-spacing: 1.5px;
	color: #f4a933;
	text-transform: uppercase;
	margin: 0 0 30px;
	font-weight: 600;
}

.trg-wrap {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}

.trg-hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.trg-hint-arrow {
	opacity: 0.6;
	font-size: 16px;
}

.trg-scene {
	position: relative;
	width: 100%;
	height: 480px;
	perspective: 1000px;
	perspective-origin: 50% 40%;
	-webkit-perspective: 1000px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.trg-scene::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4%;
	width: 82%;
	height: 70px;
	background: radial-gradient(ellipse at center, rgba(80, 140, 255, 0.16) 0%, rgba(80, 140, 255, 0) 70%);
	transform: translateX(-50%);
	pointer-events: none;
}

.trg-track {
	position: absolute;
	left: 50%;
	bottom: 7%;
	width: 78%;
	max-width: 1150px;
	height: 44px;
	transform: translateX(-50%);
	border: 1px solid rgba(120, 175, 255, 0.22);
	border-radius: 50%;
	box-shadow: 0 0 24px rgba(70, 150, 255, 0.12) inset;
	pointer-events: none;
}

.trg-stage {
	position: relative;
	width: 1px;
	height: 1px;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transform: rotateX(7deg);
}

.trg-ring {
	position: relative;
	width: 1px;
	height: 1px;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	will-change: transform;
}

.trg-item {
	position: absolute;
	top: 50%;
	left: 50%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform-style: preserve-3d;
}

.trg-card {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 14px;
	overflow: hidden;
	background: #0d1119;
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
	cursor: pointer;
	transform: scale(0.92);
	filter: brightness(0.55) saturate(0.85);
	transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
	border: 2px solid transparent;
	-webkit-box-reflect: below 4px linear-gradient(transparent, transparent 60%, rgba(255, 255, 255, 0.08));
}

.trg-item.trg-active .trg-card {
	transform: scale(1.06);
	filter: brightness(1) saturate(1.05);
	box-shadow: 0 0 0 2px rgba(96, 178, 255, 0.85), 0 0 34px rgba(70, 150, 255, 0.55), 0 20px 45px rgba(0, 0, 0, 0.55);
	border-color: rgba(120, 190, 255, 0.9);
	z-index: 5;
}

.trg-media {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.trg-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.trg-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	border-radius: 50%;
	pointer-events: none;
}

.trg-caption {
	flex: 0 0 auto;
	padding: 8px 10px;
	background: rgba(8, 11, 17, 0.92);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	text-align: center;
}

.trg-title {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.trg-subtitle {
	font-size: 10.5px;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.trg-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: background 0.2s ease, transform 0.2s ease;
}

.trg-nav:hover {
	background: rgba(255, 255, 255, 0.16);
}

.trg-nav-prev {
	left: 6px;
}

.trg-nav-next {
	right: 6px;
}

.trg-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.trg-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.45);
	cursor: pointer;
	padding: 0;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.trg-dot:hover {
	border-color: #fff;
}

.trg-dot.trg-dot-active {
	background: #4aa3ff;
	border-color: #4aa3ff;
	transform: scale(1.25);
}

/* Lightbox */
.trg-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 30px;
	animation: trg-fade-in 0.2s ease;
}

.trg-lightbox-overlay.trg-open {
	display: flex;
}

@keyframes trg-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.trg-lightbox-inner {
	max-width: 90vw;
	max-height: 90vh;
	position: relative;
}

.trg-lightbox-inner img {
	max-width: 90vw;
	max-height: 88vh;
	display: block;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.trg-lightbox-inner iframe {
	width: min(90vw, 960px);
	height: min(54vw, 540px);
	border: 0;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	background: #000;
}

.trg-lightbox-close {
	position: absolute;
	top: -42px;
	right: -6px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.trg-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.25);
}

.trg-lightbox-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.trg-lightbox-arrow:hover {
	background: rgba(255, 255, 255, 0.22);
}

.trg-lightbox-prev {
	left: -58px;
}

.trg-lightbox-next {
	right: -58px;
}

@media (max-width: 780px) {
	.trg-scene {
		height: 380px;
	}
	.trg-lightbox-prev {
		left: 4px;
	}
	.trg-lightbox-next {
		right: 4px;
	}
	.trg-nav {
		width: 34px;
		height: 34px;
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.trg-scene {
		height: 320px;
	}
	.trg-title {
		font-size: 11px;
	}
	.trg-subtitle {
		font-size: 9px;
	}
}
