/* GameX — activity_rewards */

.meta-ar-page {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding-bottom: 24px;
	box-sizing: border-box;
}

.meta-ar-lead {
	margin: -4px 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: #9ba3af;
	max-width: 62ch;
}

.meta-ar-panel {
	width: 100%;
	box-sizing: border-box;
	border-radius: 14px;
	border: 1px solid rgba(234, 179, 8, 0.18);
	background: linear-gradient(165deg, rgba(28, 24, 18, 0.96) 0%, rgba(14, 14, 18, 0.98) 100%);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.meta-ar-panel__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 18px;
	padding: 16px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-ar-panel__head-main {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.meta-ar-panel__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #facc15;
	border: 1px solid rgba(250, 204, 21, 0.35);
	background: rgba(234, 179, 8, 0.1);
}

.meta-ar-panel__title {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.meta-ar-panel__subtitle {
	margin: 4px 0 0;
	font-size: 12px;
	color: #9ba3af;
}

.meta-ar-streak {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid rgba(234, 179, 8, 0.28);
	background: rgba(0, 0, 0, 0.28);
	color: #d1d5db;
	font-size: 13px;
	font-weight: 600;
}

.meta-ar-streak .bx-calendar-check {
	font-size: 18px;
	color: #facc15;
}

.meta-ar-streak__num {
	color: #fde047;
	font-weight: 800;
}

.meta-ar-panel__body {
	padding: 16px 18px 8px;
}

.meta-ar-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 16px;
	padding: 12px 14px !important;
	border-radius: 12px !important;
	border: 1px solid rgba(234, 179, 8, 0.28) !important;
	background: rgba(234, 179, 8, 0.08) !important;
	color: #e5e7eb !important;
	font-size: 13px;
	line-height: 1.45;
}

.meta-ar-alert .bx-wallet {
	flex-shrink: 0;
	font-size: 18px;
	color: #facc15;
	margin-top: 1px;
}

.meta-ar-alert a {
	color: #fde047 !important;
	text-decoration: underline;
}

.meta-ar-panel__foot {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 8px 18px 18px;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-ar-panel__foot-ico {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(234, 179, 8, 0.12);
	color: #facc15;
	font-size: 20px;
}

.meta-ar-panel__foot-text {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #9ba3af;
}

/* Сетка наград (HTML из ajax) */
#activity-rewards,
.meta-ar-rewards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
	align-items: stretch;
	padding: 2px 0 10px;
}

#activity-rewards .loader,
.meta-ar-rewards .loader {
	grid-column: 1 / -1;
}

.day-in-a-row {
	color: #fde047 !important;
	font-weight: 800 !important;
}

.reward {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 14px;
	padding: 16px 16px 16px 14px;
	border-radius: 14px;
	position: relative;
	overflow: hidden;
	margin: 0;
	min-height: 108px;
	font-weight: 600;
	color: #e8ecf3;
	background:
		radial-gradient(ellipse 120px 80px at 92% 50%, rgba(234, 179, 8, 0.12), transparent 58%),
		linear-gradient(165deg, rgba(28, 24, 18, 0.96) 0%, rgba(14, 14, 18, 0.98) 100%);
	border: 1px solid rgba(234, 179, 8, 0.18);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.reward::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #fde047 0%, rgba(245, 158, 11, 0.25) 100%);
	border-radius: 14px 0 0 14px;
	pointer-events: none;
}

.reward::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 72px;
	height: 72px;
	background: url(../img/money.png) center / contain no-repeat;
	opacity: 0.1;
	pointer-events: none;
}

.reward:hover {
	border-color: rgba(250, 204, 21, 0.38);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(250, 204, 21, 0.08);
	transform: translateY(-2px);
}

.reward.active {
	border-color: rgba(250, 204, 21, 0.42);
}

.reward .received {
	display: none;
}

.reward.active .received {
	display: flex;
	position: absolute;
	inset: 0;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fde047;
	background: rgba(10, 10, 12, 0.82);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 3;
	border-radius: 13px;
	border: 1px solid rgba(234, 179, 8, 0.35);
}

.reward.active .received:hover {
	background: rgba(10, 10, 12, 0.45);
	cursor: default;
}

.reward .reward-day {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 58px;
	padding: 2px 4px 2px 8px;
}

.reward .reward-day span {
	font-size: 36px;
	line-height: 1;
	color: #fde047;
	font-weight: 800;
	text-shadow: 0 0 24px rgba(250, 204, 21, 0.35);
}

.reward .reward-day i {
	font-size: 10px;
	font-weight: 700;
	font-style: normal;
	margin-top: 6px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.72);
	text-transform: uppercase;
}

.reward .reward-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 4px 76px 4px 2px;
	gap: 6px;
	min-width: 0;
}

.reward .reward-content span:nth-child(1) {
	font-weight: 700;
	font-size: 14px;
	color: #facc15;
	line-height: 1.35;
}

.reward .reward-content span:nth-child(2) {
	font-size: 13px;
	font-weight: 500;
	color: #d1d5db;
	line-height: 1.4;
}

.reward .reward-content small {
	font-size: 13px;
	color: #9ba3af;
	font-weight: 600;
}

/* Баннер на главной */
.activity-rewards-banner {
	position: relative;
	width: 100%;
	background-color: #222222;
	border-radius: 10px;
	margin-bottom: 20px;
}

.activity-rewards-banner a {
	padding: 30px;
	display: block;
	width: 100%;
	height: 100%;
	white-space: normal;
	text-decoration: none;
}

.activity-rewards-banner h3 {
	font-weight: bold;
	font-size: 16px;
	border-radius: 8px;
	padding: 10px;
	text-align: center;
	margin-bottom: 30px;
	color: #e1e3e6;
	border: solid 1px #363738;
}

.activity-rewards-banner p {
	color: #939393;
	font-size: 14px;
	text-align: center;
	font-weight: bold;
	line-height: 25px;
}

.activity-rewards-banner img {
	width: 100%;
	max-width: 270px;
	display: block;
	margin: 0 auto 20px;
}

@media (max-width: 767.98px) {
	.meta-ar-panel__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.meta-ar-streak {
		width: 100%;
	}

	#activity-rewards,
	.meta-ar-rewards {
		grid-template-columns: 1fr;
	}

	.reward .reward-day span {
		font-size: 30px;
	}
}
