.et-rewards-module {
	--card-a: #0f1236;
	--card-b: #1e3978;
	--card-border: rgba(139, 146, 255, 0.32);
	--proof-a: #16153a;
	--proof-b: #30235e;
	--proof-border: #8572ff;
	--button-a: #6f57f3;
	--button-b: #b48fff;

	position: relative;
	overflow: hidden;
	isolation: isolate;
	font-family: var(--ta-font-primary);
	color: var(--ta-text-primary);
}

.et-rewards-module .cards-viewport {
	position: relative;
	overflow: hidden;
	border-radius: 1.8rem;
	max-height: clamp(19rem, 29vw, 31rem);
}

.et-rewards-module .rewards-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
	padding-top: 0.25rem;
}

.et-rewards-module .reward-card {
	min-height: clamp(9rem, 10.5vw, 11.3rem);
	border-radius: 1.5rem;
	border: 1px solid var(--card-border);
	background:
		radial-gradient(40rem 15rem at 80% 40%, rgba(113, 136, 255, 0.2), transparent 70%),
		linear-gradient(112deg, var(--card-a), var(--card-b));
	box-shadow:
		inset 0 0 28px rgba(110, 126, 255, 0.12),
		0 16px 34px rgba(2, 2, 14, 0.5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.9rem;
	padding: 1rem 1.25rem 0.95rem;
}

.et-rewards-module .reward-main {
	min-width: 0;
}

.et-rewards-module .reward-amount {
	margin: 0;
	font-size: clamp(2rem, 2.35vw, 3.4rem);
	line-height: 1;
	font-weight: 600;
	color: #f4f7ff;
	letter-spacing: 0.01em;
}

.et-rewards-module .reward-name {
	margin: 0.44rem 0 0;
	font-size: clamp(1.15rem, 1.15vw, 1.85rem);
	line-height: 1.15;
	font-weight: 500;
}

.et-rewards-module .reward-country {
	margin: 0.22rem 0 0;
	font-size: clamp(1.1rem, 1.08vw, 1.7rem);
	color: rgba(214, 218, 245, 0.72);
	line-height: 1.15;
}

.et-rewards-module .reward-country .flag {
	margin-left: 0.24rem;
	filter: saturate(0.9);
}

.et-rewards-module .proof-card {
	flex: 0 0 auto;
	width: clamp(6.9rem, 6.9vw, 10rem);
	height: clamp(6rem, 6.1vw, 8.8rem);
	border-radius: 0.65rem;
	border: 2px solid var(--proof-border);
	background:
		linear-gradient(130deg, rgba(142, 117, 255, 0.22) 0, transparent 60%),
		radial-gradient(12rem 6rem at 95% 95%, rgba(216, 144, 255, 0.4), transparent 55%),
		linear-gradient(160deg, var(--proof-a), var(--proof-b));
	box-shadow: inset 0 0 16px rgba(75, 63, 173, 0.48);
	padding: 0.4rem 0.45rem;
	position: relative;
}

.et-rewards-module .proof-card::after {
	content: "";
	position: absolute;
	right: -1px;
	bottom: -1px;
	width: 1.05rem;
	height: 1.05rem;
	background: linear-gradient(135deg, transparent 50%, rgba(209, 141, 255, 0.9) 50%);
	border-bottom-right-radius: 0.52rem;
}

.et-rewards-module .proof-top {
	display: flex;
	justify-content: flex-end;
	gap: 0.16rem;
}

.et-rewards-module .proof-top span {
	display: block;
	height: 0.24rem;
	border-radius: 999px;
	background: #896cff;
}

.et-rewards-module .proof-top span:first-child {
	width: 1rem;
}

.et-rewards-module .proof-top span:last-child {
	width: 0.62rem;
}

.et-rewards-module .proof-name {
	margin: 0.55rem 0 0;
	font-size: 0.38rem;
	color: rgba(198, 201, 235, 0.82);
}

.et-rewards-module .proof-value {
	margin: 0.18rem 0 0;
	font-size: 1.02rem;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.et-rewards-module .proof-line {
	margin-top: 0.55rem;
	width: 1.25rem;
	height: 0.17rem;
	border-radius: 999px;
	background: rgba(166, 171, 216, 0.46);
}

.et-rewards-module .cards-fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: clamp(4.5rem, 8vw, 9.5rem);
	pointer-events: none;
	background: linear-gradient(180deg, rgba(6, 4, 22, 0) 0%, rgba(5, 4, 20, 0.8) 52%, var(--ta-primary-bg) 100%);
}

.et-rewards-module .more-rewards {
	display: block;
	margin: clamp(1.2rem, 2vw, 2.4rem) auto 0;
	min-width: clamp(11rem, 12.4vw, 16rem);
	padding: clamp(0.85rem, 1vw, 1.2rem) clamp(1.9rem, 2.2vw, 3.1rem);
	border: 0;
	border-radius: 999px;
	background: linear-gradient(120deg, var(--button-a), var(--button-b));
	color: rgba(252, 251, 255, 0.95);
	font-size: clamp(1rem, 1.12vw, 1.7rem);
	font-weight: 500;
	cursor: pointer;
	font-family: var(--ta-font-primary);
	box-shadow:
		0 0 22px rgba(146, 110, 255, 0.62),
		0 16px 35px rgba(44, 22, 120, 0.5),
		inset 0 0 16px rgba(217, 198, 255, 0.26);
}

.et-rewards-module .more-rewards:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 1270px) {
	.et-rewards-module .rewards-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.et-rewards-module .cards-viewport {
		max-height: clamp(24rem, 46vw, 33rem);
	}
}

@media (max-width: 980px) {
	.et-rewards-module .rewards-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.et-rewards-module .cards-viewport {
		max-height: clamp(29rem, 70vw, 38rem);
	}
}

@media (max-width: 640px) {
	.et-rewards-module .rewards-grid {
		grid-template-columns: 1fr;
	}

	.et-rewards-module .reward-card {
		min-height: 8.3rem;
		padding: 0.9rem 1rem 0.8rem;
	}

	.et-rewards-module .cards-viewport {
		max-height: clamp(26rem, 90vw, 33rem);
	}
}
