@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');

.iwl-quiz-page {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72vh;
	padding: 48px 20px;
	overflow: hidden;
	background: #08080a;
}

.iwl-quiz-spotlight {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(650px 460px at 50% 30%, rgba(212, 162, 55, 0.14), transparent 65%),
		radial-gradient(420px 300px at 70% 80%, rgba(200, 32, 63, 0.10), transparent 70%);
	animation: iwl-quiz-drift 14s ease-in-out infinite alternate;
}

@keyframes iwl-quiz-drift {
	0%   { transform: translate(-2%, 0%) scale(1); }
	100% { transform: translate(2%, -2%) scale(1.06); }
}

.iwl-quiz-card {
	position: relative;
	width: 100%;
	max-width: 560px;
	background: linear-gradient(180deg, #141215 0%, #0d0c0e 100%);
	border: 1px solid rgba(212, 162, 55, 0.28);
	border-radius: 18px;
	padding: 36px 30px 32px;
	box-shadow:
		0 30px 70px -25px rgba(0, 0, 0, 0.85),
		0 0 0 1px rgba(212, 162, 55, 0.05) inset;
	animation: iwl-quiz-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
	box-sizing: border-box;
}

@keyframes iwl-quiz-rise {
	from { opacity: 0; transform: translateY(16px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gold ribbon accent along the top -- echoes the poster's banner motif */
.iwl-quiz-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 26px;
	right: 26px;
	height: 1px;
	background-image: repeating-linear-gradient(
		to right,
		#d4a237 0, #d4a237 3px,
		transparent 3px, transparent 11px
	);
	opacity: 0.6;
}

.iwl-quiz-locked {
	text-align: center;
	font-family: 'Inter', sans-serif;
	color: #f2ede4;
}

.iwl-quiz-locked a {
	color: #d4a237;
	font-weight: 600;
}

.iwl-quiz-clapper {
	text-align: center;
	font-size: 30px;
	margin-bottom: 8px;
}

.iwl-quiz-heading {
	font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
	font-size: 30px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;
	margin: 0 0 10px;
	line-height: 1.08;
	background: linear-gradient(135deg, #f3d98a 0%, #d4a237 45%, #a8791f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 2px 18px rgba(212, 162, 55, 0.25);
}

.iwl-quiz-subheading {
	font-family: 'Inter', sans-serif;
	font-size: 13.5px;
	color: #a39c8f;
	text-align: center;
	margin: 0 0 26px;
	line-height: 1.55;
}

.iwl-quiz-label {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #d4a237;
	margin-bottom: 12px;
}

/* ---- Prizes banner ribbon ---- */
.iwl-quiz-prizes-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 4px 0 20px;
	padding: 9px 14px;
	background: linear-gradient(90deg, rgba(200, 32, 63, 0.16), rgba(212, 162, 55, 0.2), rgba(200, 32, 63, 0.16));
	border-top: 1px solid rgba(212, 162, 55, 0.35);
	border-bottom: 1px solid rgba(212, 162, 55, 0.35);
}

.iwl-quiz-prizes-banner-text {
	font-family: 'Inter', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #f3d98a;
	text-align: center;
}

/* ---- Main prize tiles ---- */
.iwl-quiz-prizes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 22px;
}

.iwl-quiz-prize-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 18px 10px 16px;
	border-radius: 12px;
	background: linear-gradient(180deg, #17151a 0%, #0f0e11 100%);
	border: 1px solid rgba(212, 162, 55, 0.22);
	text-align: center;
}

.iwl-quiz-prize-icon {
	font-size: 28px;
	margin-bottom: 4px;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.iwl-quiz-prize-amount {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 24px;
	letter-spacing: 0.02em;
	color: #f3d98a;
	line-height: 1;
}

.iwl-quiz-prize-label {
	font-family: 'Inter', sans-serif;
	font-size: 11.5px;
	font-weight: 500;
	color: #a39c8f;
	margin-top: 2px;
}

.iwl-quiz-prize-winners {
	margin-top: 6px;
	padding: 3px 10px;
	border-radius: 20px;
	background: rgba(200, 32, 63, 0.18);
	border: 1px solid rgba(200, 32, 63, 0.4);
	font-family: 'Inter', sans-serif;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #ff8fa3;
}

.iwl-quiz-prize-tile--gold {
	background: linear-gradient(180deg, #241d0f 0%, #17130a 100%);
	border-color: rgba(212, 162, 55, 0.5);
}

.iwl-quiz-prize-tile--gold .iwl-quiz-prize-winners {
	background: rgba(212, 162, 55, 0.2);
	border-color: rgba(212, 162, 55, 0.5);
	color: #f3d98a;
}

/* ---- Monthly Mega Contest ---- */
.iwl-quiz-mega {
	margin-bottom: 26px;
	padding: 20px 18px 16px;
	border-radius: 14px;
	background: linear-gradient(160deg, rgba(212, 162, 55, 0.08) 0%, rgba(20, 18, 21, 0.4) 40%);
	border: 1px solid rgba(212, 162, 55, 0.3);
}

.iwl-quiz-mega-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px dashed rgba(212, 162, 55, 0.25);
}

.iwl-quiz-mega-trophy {
	font-size: 30px;
	filter: drop-shadow(0 2px 8px rgba(212, 162, 55, 0.4));
}

.iwl-quiz-mega-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 19px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #f3d98a;
	line-height: 1.1;
}

.iwl-quiz-mega-subtitle {
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #ff8fa3;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-top: 2px;
}

.iwl-quiz-mega-rows {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-bottom: 14px;
}

.iwl-quiz-mega-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.025);
}

.iwl-quiz-mega-row-icon {
	font-size: 20px;
	flex-shrink: 0;
}

.iwl-quiz-mega-row-label {
	flex: 1;
	font-family: 'Inter', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: #f2ede4;
}

.iwl-quiz-mega-row-count {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #d4a237;
	white-space: nowrap;
}

.iwl-quiz-mega-total {
	text-align: center;
	padding-top: 12px;
	border-top: 1px dashed rgba(212, 162, 55, 0.25);
	font-family: 'Inter', sans-serif;
	font-size: 12.5px;
	color: #a39c8f;
}

.iwl-quiz-mega-total strong {
	color: #f3d98a;
	font-size: 15px;
}

.iwl-quiz-series-list,
.iwl-quiz-options-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 22px;
}

.iwl-quiz-radio-row {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 13px 16px;
	border-radius: 10px;
	background: #0c0b0e;
	border: 1px solid rgba(255, 255, 255, 0.09);
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #f2ede4;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.iwl-quiz-radio-row:hover {
	border-color: rgba(212, 162, 55, 0.45);
	transform: translateX(2px);
}

.iwl-quiz-radio-row input {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	min-width: 18px;
	border-radius: 50%;
	border: 2px solid #5a5449;
	background: transparent;
	position: relative;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.iwl-quiz-radio-row input:checked {
	border-color: #d4a237;
}

.iwl-quiz-radio-row input:checked::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #d4a237;
	transform: translate(-50%, -50%);
}

.iwl-quiz-radio-row.is-selected {
	border-color: #d4a237;
	background: rgba(212, 162, 55, 0.08);
}

.iwl-quiz-question-block {
	margin-bottom: 24px;
}

.iwl-quiz-question-title {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-family: 'Inter', sans-serif;
	font-size: 14.5px;
	font-weight: 600;
	color: #f2ede4;
	margin-bottom: 13px;
	line-height: 1.4;
}

.iwl-quiz-q-badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 24px;
	padding: 0 8px;
	border-radius: 6px;
	background: linear-gradient(135deg, #c8203f, #8f1730);
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.iwl-quiz-btn {
	width: 100%;
	padding: 15px 18px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	background: linear-gradient(135deg, #f3d98a 0%, #d4a237 50%, #b6862a 100%);
	color: #1a1508;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
	box-shadow: 0 12px 26px -10px rgba(212, 162, 55, 0.55);
}

.iwl-quiz-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	filter: brightness(1.05);
}

.iwl-quiz-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.iwl-quiz-message {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	text-align: center;
	color: #ff6b6b;
	min-height: 18px;
	margin-top: 14px;
}

.iwl-quiz-result {
	text-align: center;
}

.iwl-quiz-result-emoji {
	font-size: 38px;
	margin-bottom: 8px;
}

.iwl-quiz-result-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 28px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	background: linear-gradient(135deg, #f3d98a 0%, #d4a237 60%, #a8791f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin: 0 0 16px;
}

.iwl-quiz-result-stars {
	font-size: 30px;
	letter-spacing: 4px;
	margin-bottom: 18px;
	filter: drop-shadow(0 0 10px rgba(212, 162, 55, 0.4));
}

.iwl-quiz-result-star-dim {
	opacity: 0.22;
}

.iwl-quiz-result-note {
	font-family: 'Inter', sans-serif;
	font-size: 13.5px;
	color: #a39c8f;
	line-height: 1.7;
}

.iwl-quiz-result-note strong {
	color: #d4a237;
}

@media (max-width: 420px) {
	.iwl-quiz-card {
		padding: 28px 20px;
	}
	.iwl-quiz-heading {
		font-size: 24px;
	}
}