/* Crebi Spin to Win Pro — Frontend Styles */
.cswp-overlay {
	--cswp-primary: #0180FF;
	--cswp-secondary: #8056FF;
	--cswp-dark: #0B1654;
	--cswp-light: #FFFFFF;
	--cswp-accent: #FFC93C;

	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: radial-gradient(circle at 30% 20%, rgba(128,86,255,0.35), rgba(6,10,30,0.86) 60%);
	backdrop-filter: blur(6px);
	font-family: "Hind Siliguri", "Noto Sans Bengali", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	opacity: 0;
	transition: opacity .35s ease;
}

.cswp-overlay.cswp-visible {
	display: flex;
	opacity: 1;
}

.cswp-modal {
	position: relative;
	width: 100%;
	max-width: 900px;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	background: linear-gradient(160deg, var(--cswp-dark) 0%, #060a1e 100%);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05) inset;
	transform: scale(.92) translateY(20px);
	transition: transform .4s cubic-bezier(.2,.9,.25,1.1);
}

.cswp-overlay.cswp-visible .cswp-modal {
	transform: scale(1) translateY(0);
}

.cswp-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 5;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,.1);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.cswp-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }

.cswp-panel { padding: 40px 34px; position: relative; }

.cswp-panel-wheel {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background:
		radial-gradient(circle at 50% 0%, rgba(1,128,255,.18), transparent 55%),
		radial-gradient(circle at 20% 90%, rgba(128,86,255,.18), transparent 55%);
}

.cswp-eyebrow {
	font-size: 12px;
	letter-spacing: .22em;
	font-weight: 700;
	color: rgba(255,255,255,.55);
	margin-bottom: 10px;
}

.cswp-headline {
	color: #fff;
	font-size: 22px;
	line-height: 1.35;
	font-weight: 700;
	margin: 0 0 26px;
	max-width: 320px;
}

.cswp-wheel-wrap {
	position: relative;
	width: 280px;
	height: 280px;
	margin: 4px auto 20px;
}

.cswp-pointer {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 13px solid transparent;
	border-right: 13px solid transparent;
	border-top: 22px solid var(--cswp-light);
	z-index: 6;
	filter: drop-shadow(0 3px 4px rgba(0,0,0,.4));
}

.cswp-wheel {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 8px solid #10163a;
	box-shadow: 0 0 0 3px rgba(255,255,255,.08), 0 20px 40px rgba(0,0,0,.45);
	transition: transform 4.2s cubic-bezier(.17,.67,.2,1);
	will-change: transform;
	overflow: hidden;
}

.cswp-segment-label {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50%;
	transform-origin: left center;
	text-align: right;
	padding-right: 14px;
	font-size: 12.5px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,.35);
	pointer-events: none;
}

.cswp-spin-hub {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: none;
	background: var(--cswp-light);
	color: var(--cswp-dark);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .05em;
	cursor: pointer;
	z-index: 7;
	box-shadow: 0 8px 20px rgba(0,0,0,.35);
	transition: transform .15s ease, box-shadow .15s ease;
}
.cswp-spin-hub:hover { transform: translate(-50%,-50%) scale(1.06); }
.cswp-spin-hub:active { transform: translate(-50%,-50%) scale(.96); }
.cswp-spin-hub:disabled { opacity: .6; cursor: not-allowed; }

.cswp-footnote {
	font-size: 11.5px;
	color: rgba(255,255,255,.4);
	max-width: 260px;
	margin: 4px auto 0;
}

/* ---------- Form panel ---------- */
.cswp-panel-form {
	background: linear-gradient(200deg, rgba(255,255,255,.03), rgba(255,255,255,0));
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.cswp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #eafff1;
	background: rgba(46,196,182,.18);
	border: 1px solid rgba(46,196,182,.4);
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.cswp-offer-title {
	color: var(--cswp-accent);
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 8px;
	line-height: 1.3;
}

.cswp-offer-desc {
	color: rgba(255,255,255,.65);
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0 0 22px;
}

.cswp-label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255,255,255,.75);
	margin-bottom: 6px;
}
.cswp-req { color: #ff6b6b; }

.cswp-input {
	width: 100%;
	padding: 12px 14px;
	margin-bottom: 16px;
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(255,255,255,.05);
	color: #fff;
	font-size: 14px;
	outline: none;
	transition: border-color .2s ease, background .2s ease;
}
.cswp-input::placeholder { color: rgba(255,255,255,.35); }
.cswp-input:focus {
	border-color: var(--cswp-primary);
	background: rgba(255,255,255,.08);
	box-shadow: 0 0 0 3px rgba(1,128,255,.25);
}

.cswp-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	color: rgba(255,255,255,.55);
	margin-bottom: 16px;
	cursor: pointer;
}
.cswp-consent input { margin-top: 3px; }

.cswp-form-error {
	display: none;
	font-size: 12.5px;
	color: #ff9b9b;
	background: rgba(255,107,107,.12);
	border: 1px solid rgba(255,107,107,.3);
	padding: 8px 12px;
	border-radius: 8px;
	margin-bottom: 14px;
}
.cswp-form-error.cswp-show { display: block; }

.cswp-cta-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 18px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(100deg, var(--cswp-primary), var(--cswp-secondary));
	color: #fff;
	font-weight: 700;
	font-size: 14.5px;
	letter-spacing: .01em;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(1,128,255,.35);
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.cswp-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(1,128,255,.45); }
.cswp-cta-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.cswp-claim-btn {
	background: linear-gradient(100deg, #f7b733, #fc4a1a);
	box-shadow: 0 10px 24px rgba(252,74,26,.35);
}

.cswp-privacy {
	text-align: center;
	font-size: 11px;
	color: rgba(255,255,255,.35);
	margin-top: 14px;
}

/* ---------- Result step ---------- */
.cswp-hidden { display: none !important; }

.cswp-confetti { font-size: 34px; margin-bottom: 6px; }

.cswp-congrats-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	color: #7CF29C;
	margin-bottom: 8px;
}

.cswp-result-title {
	color: #fff;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 700;
	margin: 0 0 22px;
}
.cswp-result-prize {
	display: block;
	color: var(--cswp-accent);
	font-size: 26px;
	font-weight: 800;
	margin-top: 4px;
}

.cswp-coupon-wrap {
	background: rgba(255,255,255,.05);
	border: 1px dashed rgba(255,255,255,.25);
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 20px;
}

.cswp-coupon-label {
	font-size: 11px;
	color: rgba(255,255,255,.5);
	margin-bottom: 8px;
	letter-spacing: .05em;
}

.cswp-coupon-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.cswp-coupon-code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 17px;
	font-weight: 700;
	color: var(--cswp-accent);
	letter-spacing: .04em;
}

.cswp-copy-btn {
	border: none;
	background: rgba(255,255,255,.12);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 7px 12px;
	border-radius: 8px;
	cursor: pointer;
	transition: background .2s ease;
	white-space: nowrap;
}
.cswp-copy-btn:hover { background: rgba(255,255,255,.22); }
.cswp-copy-btn.cswp-copied { background: #2EC4B6; color: #062; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
	.cswp-modal {
		grid-template-columns: 1fr;
		max-height: 92vh;
		overflow-y: auto;
	}
	.cswp-panel { padding: 30px 22px; }
	.cswp-wheel-wrap { width: 230px; height: 230px; }
	.cswp-headline { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
	.cswp-wheel { transition-duration: .6s; }
	.cswp-modal { transition: none; }
}
