/**
 * Cyber Poliflex Stylesheet
 * Integrates seamlessly with Poliflex aesthetic: Outfit typography, Deep Charcoal/Dark Slate,
 * Rich Terracotta Accent (#9e3929), clean cards, and cyber-electric micro-glow accents.
 */

.poliflex-cyber-section {
	position: relative;
	background: radial-gradient(circle at 50% 10%, #202b28 0%, #151b1a 60%, #0e1211 100%);
	color: #ffffff;
	padding: 70px 0 80px;
	margin: 0;
	overflow: hidden;
	border-top: 1px solid rgba(158, 57, 41, 0.35);
	border-bottom: 1px solid rgba(158, 57, 41, 0.35);
}

.poliflex-cyber-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
	z-index: 1;
}

.cyber-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.18;
}

.cyber-glow-1 {
	top: -50px;
	left: 20%;
	width: 420px;
	height: 420px;
	background: #9e3929;
}

.cyber-glow-2 {
	bottom: -80px;
	right: 15%;
	width: 480px;
	height: 480px;
	background: #425F5A;
}

.poliflex-cyber-section .poliflex-container {
	position: relative;
	z-index: 2;
}

/* Banner Header */
.poliflex-cyber-banner {
	text-align: center;
	max-width: 860px;
	margin: 0 auto 50px;
}

/* Badge */
.cyber-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(158, 57, 41, 0.22);
	border: 1px solid rgba(225, 94, 73, 0.55);
	padding: 7px 18px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #ff9d8e;
	margin-bottom: 18px;
	box-shadow: 0 4px 15px rgba(158, 57, 41, 0.25);
}

.cyber-badge-dot {
	width: 8px;
	height: 8px;
	background-color: #ff473a;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 10px #ff473a;
	animation: cyberPulse 1.5s infinite;
}

@keyframes cyberPulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.4);
		opacity: 0.5;
	}
}

/* Title */
.cyber-title {
	font-size: 48px;
	line-height: 1.15;
	font-weight: 800;
	margin: 0 0 15px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.cyber-title-main {
	background: linear-gradient(135deg, #ffffff 30%, #ffd0c9 70%, #ff8370 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cyber-subtitle {
	font-size: 17px;
	color: #d1dbd8;
	line-height: 1.6;
	margin: 0 auto 35px;
	max-width: 680px;
}

/* Countdown Clock */
.poliflex-cyber-countdown {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: rgba(10, 14, 13, 0.7);
	padding: 24px 34px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	margin-bottom: 30px;
}

.countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 72px;
}

.countdown-unit .unit-card {
	background: linear-gradient(180deg, #242f2c 0%, #171f1d 100%);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 10px 16px;
	min-width: 68px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
	position: relative;
}

.countdown-unit .unit-card::after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 0, 0.35);
}

.countdown-unit .unit-number {
	font-family: 'Outfit', sans-serif;
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
	color: #ffffff;
	display: block;
	letter-spacing: 1px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.countdown-unit .unit-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #9eb1ac;
	margin-top: 8px;
}

.countdown-separator {
	font-size: 32px;
	font-weight: 700;
	color: #9e3929;
	margin-top: -24px;
	animation: cyberBlink 1s infinite;
}

@keyframes cyberBlink {

	0%,
	49% {
		opacity: 1;
	}

	50%,
	100% {
		opacity: 0.3;
	}
}

.cyber-expired-msg {
	margin: 20px 0;
	padding: 12px 24px;
	background: rgba(158, 57, 41, 0.3);
	border: 1px solid #9e3929;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #ffd2cb;
}

/* Pills Highlights */
.cyber-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 10px;
}

.cyber-pill {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #f0f4f3;
	font-size: 13px;
	font-weight: 500;
	padding: 6px 14px;
	border-radius: 20px;
	transition: background 0.3s ease, transform 0.2s ease;
}

.cyber-pill:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
}

/* Products Section inside Cyber Box */
.poliflex-cyber-products {
	margin-top: 40px;
}

.cyber-products-header {
	text-align: center;
	margin-bottom: 35px;
	position: relative;
}

.cyber-products-header::before,
.cyber-products-header::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 18%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.cyber-products-header::before {
	left: 5%;
}

.cyber-products-header::after {
	right: 5%;
}

.cyber-products-title {
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin: 0;
}

.cyber-products-title span {
	background: #151b1a;
	padding: 0 20px;
	position: relative;
	z-index: 2;
}

/* Cyber Product Card enhancements */
ul.products-grid.cyber-grid li.product_item {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

ul.products-grid.cyber-grid li.product_item:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
	border-color: rgba(158, 57, 41, 0.6);
}

/* No products state */
.cyber-no-products {
	text-align: center;
	padding: 40px 20px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px dashed rgba(255, 255, 255, 0.2);
	border-radius: 12px;
}

.cyber-no-products p {
	font-size: 16px;
	color: #bccac6;
	margin-bottom: 20px;
}

.cyber-explore-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: var(--site-accent-color);
	color: #ffffff;
	padding: 12px 28px;
	border-radius: 30px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: background 0.3s ease, transform 0.2s ease;
}

.cyber-explore-btn:hover {
	background-color: #ba4330;
	color: #ffffff;
	transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
	.poliflex-cyber-section {
		padding: 55px 0 65px;
	}

	.cyber-title {
		font-size: 38px;
	}

	.countdown-unit {
		min-width: 60px;
	}

	.countdown-unit .unit-card {
		padding: 8px 12px;
		min-width: 58px;
	}

	.countdown-unit .unit-number {
		font-size: 30px;
	}

	.countdown-separator {
		font-size: 26px;
	}
}

@media (max-width: 767px) {
	.poliflex-cyber-section {
		padding: 45px 0 55px;
		margin: 0;
	}

	.cyber-title {
		font-size: 28px;
		letter-spacing: 1px;
	}

	.cyber-subtitle {
		font-size: 15px;
		margin-bottom: 25px;
	}

	.poliflex-cyber-countdown {
		gap: 8px;
		padding: 16px 18px;
		width: 100%;
		max-width: 360px;
	}

	.countdown-unit {
		min-width: 48px;
	}

	.countdown-unit .unit-card {
		padding: 8px 10px;
		min-width: 50px;
	}

	.countdown-unit .unit-number {
		font-size: 24px;
	}

	.countdown-unit .unit-label {
		font-size: 9px;
	}

	.countdown-separator {
		font-size: 20px;
		margin-top: -16px;
	}

	.cyber-pills {
		gap: 8px;
	}

	.cyber-pill {
		font-size: 11.5px;
		padding: 5px 10px;
	}

	.cyber-products-header::before,
	.cyber-products-header::after {
		display: none;
	}

	.cyber-products-title {
		font-size: 18px;
	}

	.cyber-products-title span {
		padding: 0;
		background: transparent;
	}
}