/**
 * Cash Purchase Promo Styles
 * 5 creative, attention-grabbing designs for encouraging cash payments
 */

/* === Wrapper === */
.cash-promo-wrapper {
	position: relative;
	z-index: 10;
	margin: 20px 0;
}

.cash-hero-overlay {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 5;
}

.cash-floating-corner {
	position: fixed;
	bottom: 160px;
	right: 22px;
	z-index: 970;
}

/* === Style 1: Floating Neon Card === */
.cash-neon-card {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(135deg, #0f3d2e 0%, #1a5c47 100%);
	color: #fff;
	padding: 16px 24px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 8px 32px rgba(76, 217, 100, 0.3), 0 0 0 1px rgba(76, 217, 100, 0.1);
	animation: neonPulse 3s ease-in-out infinite;
	cursor: pointer;
	transition: transform 0.3s, box-shadow 0.3s;
	text-decoration: none !important;
}

.cash-neon-card:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 12px 40px rgba(76, 217, 100, 0.4), 0 0 0 1px rgba(76, 217, 100, 0.2);
}

.cash-neon-card::before {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: 52px;
	padding: 2px;
	background: linear-gradient(45deg, #4cd964, #5ac8fa, #4cd964);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0.6;
	animation: borderGlow 4s linear infinite;
}

.cash-neon-icon {
	font-size: 24px;
	line-height: 1;
}

@keyframes neonPulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.85; }
}

@keyframes borderGlow {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* === Style 2: Split Badges === */
.cash-split-badges {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.cash-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 30px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s;
	position: relative;
	text-decoration: none !important;
	color: #fff !important;
}

.cash-badge-green {
	background: linear-gradient(135deg, #2da44e 0%, #2c974b 100%);
	box-shadow: 0 4px 20px rgba(45, 164, 78, 0.3);
}

.cash-badge-blue {
	background: linear-gradient(135deg, #0969da 0%, #0550ae 100%);
	box-shadow: 0 4px 20px rgba(9, 105, 218, 0.3);
}

.cash-badge:hover {
	transform: translateY(-2px) scale(1.05);
}

.cash-badge::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 30px;
	border: 2px solid rgba(255,255,255,0.3);
	opacity: 0;
	transition: opacity 0.3s;
}

.cash-badge:hover::after {
	opacity: 1;
	animation: badgeBlink 1s infinite;
}

@keyframes badgeBlink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* === Style 3: Glass Card === */
.cash-glass-card {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(135deg, rgba(201, 168, 124, 0.1) 0%, rgba(201, 168, 124, 0.05) 100%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(201, 168, 124, 0.2);
	padding: 20px 28px;
	border-radius: 20px;
	color: #c9a87c;
	font-weight: 700;
	font-size: 16px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none !important;
}

.cash-glass-card::before {
	content: '';
	position: absolute;
	top: 0; left: -100%;
	width: 100%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(201, 168, 124, 0.2), transparent);
	transition: left 0.5s;
}

.cash-glass-card:hover::before {
	left: 100%;
}

.cash-glass-card:hover {
	transform: translateY(-2px);
	border-color: rgba(201, 168, 124, 0.4);
}

.cash-glass-icon {
	font-size: 28px;
	line-height: 1;
}

/* === Style 4: Animated Flame Background === */
.cash-flame-container {
	position: relative;
	display: inline-block;
}

.cash-flame-bg {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 200%; height: 200%;
	background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, rgba(255, 71, 87, 0.1) 40%, transparent 70%);
	animation: flameGlow 3s ease-in-out infinite;
	z-index: 0;
}

.cash-flame-content {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	padding: 14px 22px;
	background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
	border-radius: 35px;
	box-shadow: 0 10px 30px rgba(255, 71, 87, 0.4);
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
	text-decoration: none !important;
}

@keyframes flameGlow {
	0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
	50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* === Style 5: Hero Overlay Badge === */
.cash-hero-badge {
	position: absolute;
	top: 20px; right: 20px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
	color: #fff;
	padding: 10px 18px;
	border-radius: 25px;
	font-weight: 700;
	font-size: 13px;
	box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
	animation: badgeSlide 0.8s ease-out;
	border: 2px solid rgba(255,255,255,0.3);
	text-decoration: none !important;
}

@keyframes badgeSlide {
	from { transform: translateX(100px); opacity: 0; }
	to { transform: translateX(0); opacity: 1; }
}

/* === Responsive === */
@media (max-width: 768px) {
	.cash-neon-card {
		font-size: 13px;
		padding: 14px 20px;
	}

	.cash-split-badges {
		flex-direction: column;
		gap: 8px;
	}

	.cash-badge {
		width: 100%;
		justify-content: center;
	}

	.cash-glass-card {
		font-size: 14px;
		padding: 16px 22px;
	}

	.cash-floating-corner {
		bottom: 100px;
		right: 10px;
	}

	.cash-hero-overlay {
		top: 10px;
		right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cash-neon-card,
	.cash-flame-bg,
	.cash-hero-badge {
		animation: none !important;
		transition: none !important;
	}

	.cash-neon-card::before,
	.cash-badge::after,
	.cash-glass-card::before {
		animation: none !important;
		transition: none !important;
	}
}
