/**
 * Gewinnspiel landing (page-gewinnspiel.php).
 *
 * Mobile-only by design: the page is opened from the app, so the layout is a
 * single phone-width column. On a desktop the same column stays centred on the
 * page tint instead of stretching — deliberate, not a missing breakpoint.
 *
 * Deliberately outside the webpack pipeline (like survey-landing.css and
 * mobile-shell.css) so a Gewinnspiel deploys without a build step. Palette as
 * the survey/webinar landings: green #407360, dark #203839/#274446,
 * text #637575, tints #f0f4f3/#f5fcf7, accent #f5a623.
 */

.raffle {
	max-width: 480px;
	margin: 0 auto;
	padding: 16px 16px 48px;
	color: #274446;
	font-size: 1rem;
	line-height: 1.65;
}

/* Flex/grid children ignore the bare attribute, so make it explicit. */
.raffle [hidden] {
	display: none !important;
}

/* --- Hero --- */

.raffle-hero {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	padding: 30px 22px 26px;
	text-align: center;
	color: #fff;
	background:
		radial-gradient(ellipse 90% 70% at 50% 0, rgba(64, 115, 96, 0.55) 0, transparent 62%),
		linear-gradient(165deg, #274446 0%, #203839 55%, #17292a 100%);
	box-shadow: 0 18px 40px rgba(32, 56, 57, 0.22);
}

.raffle-hero__glow {
	position: absolute;
	right: -90px;
	bottom: -110px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	filter: blur(60px);
	background: radial-gradient(circle, rgba(245, 166, 35, 0.34) 0, transparent 68%);
	pointer-events: none;
}

.raffle-hero > *:not(.raffle-hero__glow) {
	position: relative;
}

.raffle-hero__badge {
	display: inline-block;
	margin: 0 0 16px;
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	line-height: 1.2;
}

.raffle-hero__headline {
	margin: 0 0 18px;
	color: #fff;
	font-size: 1.75rem;
	line-height: 1.22;
	letter-spacing: -0.01em;
	/* Long compound words ("Gewinnspiel-Teilnahme") must not push the card. */
	overflow-wrap: break-word;
}

.raffle-hero__prize {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 18px;
	padding: 10px 18px;
	border-radius: 14px;
	background: rgba(245, 166, 35, 0.16);
	border: 1px solid rgba(245, 166, 35, 0.42);
	color: #ffd79a;
	font-size: 1.05rem;
	font-weight: 700;
}

.raffle-hero__prize-icon {
	display: inline-flex;
	flex: 0 0 auto;
}

.raffle-hero__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.raffle-hero__chip {
	padding: 6px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.8rem;
	font-weight: 600;
	color: #dfeae6;
}

/* --- Intro --- */

.raffle-intro {
	padding: 26px 4px 4px;
}

.raffle-intro p {
	margin: 0 0 16px;
	color: #4b6162;
}

.raffle-intro p:last-child {
	margin-bottom: 0;
}

/* --- Highlights --- */

.raffle-perks {
	margin-top: 22px;
	padding: 20px 18px;
	border-radius: 18px;
	background: #f5fcf7;
	border: 1px solid #e0e8e5;
}

.raffle-perks__title {
	margin: 0 0 14px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #203839;
}

.raffle-perks__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.raffle-perks__item {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin-bottom: 11px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.raffle-perks__item:last-child {
	margin-bottom: 0;
}

.raffle-perks__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border-radius: 50%;
	background: #407360;
	color: #fff;
}

/* --- CTA --- */

.raffle-cta {
	margin-top: 26px;
	padding: 22px 18px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e0e8e5;
	box-shadow: 0 10px 30px rgba(32, 56, 57, 0.09);
	text-align: center;
}

.raffle-cta__deadline {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 16px;
	padding: 7px 14px;
	border-radius: 999px;
	background: #fff8f6;
	border: 1px solid rgba(194, 86, 60, 0.35);
	color: #8f3d28;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.3;
}

.raffle-cta__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 15px 22px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #407360 0%, #346452 100%);
	color: #fff;
	font-family: inherit;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(64, 115, 96, 0.32);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.raffle-cta__button:hover,
.raffle-cta__button:focus {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(64, 115, 96, 0.4);
}

.raffle-cta__button:disabled {
	opacity: 0.6;
	transform: none;
	cursor: default;
}

.raffle-cta__auth-text {
	margin: 0 0 14px;
	font-size: 0.92rem;
	color: #637575;
}

.raffle-cta__link {
	display: inline-block;
	margin-top: 14px;
	color: #407360;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: underline;
}

/* Entry confirmed. */

.raffle-cta__done-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: #eaf5ee;
	color: #407360;
}

.raffle-cta__done-title {
	margin: 0 0 6px;
	font-size: 1.2rem;
	font-weight: 700;
	color: #203839;
}

.raffle-cta__done-text {
	margin: 0;
	font-size: 0.92rem;
	color: #637575;
}

.raffle-cta__closed {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #8f3d28;
}

.raffle-cta__status {
	margin: 12px 0 0;
	font-size: 0.88rem;
	color: #637575;
	min-height: 1.2em;
}

.raffle-cta__status.is-error {
	color: #b3402a;
}

/* --- Footnotes --- */

.raffle-foot {
	margin-top: 22px;
	text-align: center;
}

.raffle-foot__note {
	margin: 0 0 10px;
	font-size: 0.9rem;
	color: #637575;
}

.raffle-foot__note a,
.raffle-foot__legal a {
	color: #407360;
	text-decoration: underline;
}

.raffle-foot__legal {
	margin: 16px 0 0;
	font-size: 0.78rem;
	line-height: 1.55;
	color: #8aa09f;
}
