/* Tabs Section */


/* Left Content */
.tabs-section .tabs-content {
	text-align: center;
	margin: 30px auto;
}

/* Tabs Wrapper */
.tabs-section .tabs-wrapper {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

/* Tab Navigation */
.tabs-section .tabs-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 24px;
	padding-bottom: 16px;
}
.tabs-section .tab-button {
	position: relative;
	padding: 12px 24px;
	background: transparent;
	border-radius: 20px;
	cursor: pointer;
	font-size: 23px;
	font-weight: 600;
	letter-spacing: -1.15px;;
	color: #1A1A1A;
	opacity: 0.7;
	border: solid 0 transparent;
	transition: all 0.2s ease;

}
.gradient-wrapper .tabs-section .tab-button {
	color: #fff;
}

.tabs-section .tab-button:hover {
	border-color: var(--royal-blue, #0066CC);
	opacity: 1;

}

.tabs-section .tab-button:focus-visible {
	outline: 2px solid var(--royal-blue, #0066CC);
	outline-offset: 2px;
}

.tabs-section .tab-button.active {
	background: #1C548E;
	opacity: 1;

}
.tabs-section .tab-button.active::before {
	content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(110deg, #2CC1DF 2.16%, rgb(0 0 0 / 0%) 17.71%, #2CC1DF 48.16%, rgb(0 0 0 / 0%) 77.71%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
/* Tab Panels */
.tabs-section .tabs-panels {
	position: relative;
}

.tabs-section .tab-panel {
	display: none;
	animation: tabFadeIn 0.3s ease;
}

.tabs-section .tab-panel.active {
	display: block;
}

.tabs-section .tab-panel > *:first-child {
	margin-top: 0;
}

.tabs-section .tab-panel > *:last-child {
	margin-bottom: 0;
}

@keyframes tabFadeIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Background Colour Variations */
.tabs-section.background-black .tab-button {
	border-color: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.tabs-section.background-black .tab-button:hover {
	border-color: #ffffff;
	color: #ffffff;
}

.tabs-section.background-black .tab-button.active {
	background: #ffffff;
	border-color: #ffffff;
	color: #000000;
}

.tabs-section.background-black .tabs-nav {
	border-bottom-color: rgba(255, 255, 255, 0.2);
}

.tabs-section.background-purple .tab-button,
.tabs-section.background-blue .tab-button {
	border-color: rgba(255, 255, 255, 0.3);
	color: #ffffff;
}

.tabs-section.background-purple .tab-button:hover,
.tabs-section.background-blue .tab-button:hover {
	border-color: #ffffff;
}

.tabs-section.background-purple .tab-button.active,
.tabs-section.background-blue .tab-button.active {
	background: #ffffff;
	border-color: #ffffff;
	color: #000000;
}

.tabs-section.background-purple .tabs-nav,
.tabs-section.background-blue .tabs-nav {
	border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* Tab Panel Content */
.tabs-section .tab-panel-content {
	margin-bottom: 24px;
}

.tabs-section .tab-panel-content:last-child {
	margin-bottom: 0;
}

/* Tab Panel Media */
.tabs-section .tab-panel-media {
	position: relative;
	border-radius: 12px;
	overflow: visible;
}

.tabs-section .tab-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* Poster/Cover */
.tabs-section .tab-poster {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	cursor: pointer;
	border-radius: 12px;
	overflow: hidden;
}

.tabs-section .tab-poster:focus-visible {
	outline: 2px solid var(--royal-blue, #0066CC);
	outline-offset: 2px;
}

.tabs-section .tab-poster-image {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

.tabs-section .tab-poster:hover .tab-poster-image {
	transform: scale(1.02);
}

.tabs-section .tab-poster-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.tabs-section .tab-poster:hover .tab-poster-play {
	transform: translate(-50%, -50%) scale(1.1);
}

.tabs-section .tab-poster[hidden] {
	display: none;
}

/* Embed Container */
.tabs-section .tab-embed {
	position: relative;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
}

.tabs-section .tab-embed[hidden] {
	display: none;
}

.tabs-section .tab-embed iframe {
	display: block;
	max-width: 100%;
}

/* Arcade Demo Interactive Styles */
.tabs-section .tab-panel-media.is-arcade-demo {
	position: relative;
}

.tabs-section .interactive-demo-preview svg.demo-icon {
	position: absolute;
	right: -60px;
	top: -13px;
	z-index: 4;
	pointer-events: none;
}

.tabs-section .interactive-demo-preview {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	border-radius: 20px;
	cursor: pointer;
	overflow: visible;
	transition: all 0.3s ease;
}

.tabs-section .interactive-demo-preview .demo-background-image {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 20px;
	overflow: hidden;
}

.tabs-section .interactive-demo-preview .demo-background-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tabs-section .interactive-demo-preview::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(41, 41, 41, 0.80);
	backdrop-filter: blur(7px);
	border-radius: 20px;
	z-index: 2;
	transition: all 0.3s ease;
}

.tabs-section .interactive-demo-preview:hover::before {
	background: rgb(28 84 142 / 67%);
	backdrop-filter: blur(3px);
}

.tabs-section .interactive-demo-preview .demo-text {
	position: relative;
	z-index: 3;
	color: #fff;
	font-size: 38px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: -1.9px;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: transform 0.3s ease;
}

.tabs-section .interactive-demo-preview:hover .demo-text {
	transform: scale(1.05);
}

.tabs-section .interactive-demo-preview .demo-text svg {
	flex-shrink: 0;
}

.tabs-section .interactive-demo-preview .demo-text .svg-ripple-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tabs-section .interactive-demo-preview .demo-text .svg-ripple-wrapper::before,
.tabs-section .interactive-demo-preview .demo-text .svg-ripple-wrapper::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.6);
	transform: translate(-50%, -50%);
	animation: tabsRipple 2s ease-out infinite;
	pointer-events: none;
}

.tabs-section .interactive-demo-preview .demo-text .svg-ripple-wrapper::after {
	animation-delay: 1s;
}

@keyframes tabsRipple {
	0% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
	}
	100% {
		transform: translate(-50%, -50%) scale(2.0);
		opacity: 0;
	}
}

/* Responsive */
@media (max-width: 991px) {
	.tabs-section .tabs-wrapper {
		margin-top: 30px;
	}

	.tabs-section .tabs-nav {
		gap: 6px;
	}

	.tabs-section .tab-button {
		padding: 10px 16px;
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.tabs-section .interactive-demo-preview svg.demo-icon {
		display: none;
	}

	.tabs-section .interactive-demo-preview {
		min-height: 300px;
	}

	.tabs-section .interactive-demo-preview .demo-text {
		text-align: center;
		flex-direction: column-reverse;
		font-size: 26px;
		padding: 10px;
		text-wrap: pretty;
	}
}

@media (max-width: 576px) {
	.tabs-section .tabs-nav {
		flex-direction: column;
		gap: 8px;
	}

	.tabs-section .tab-button {
		width: 100%;
		text-align: left;
	}

	.tabs-section .interactive-demo-preview {
		min-height: 250px;
	}
}
