/* ==========================================================================
   ARTESIAN GRILL · Widget Verifica Punti & Catalogo Premi (ag_user_points)
   ========================================================================== */

.ag-user-points {
	--ag-ink: #ffffff;
	--ag-muted: #ffffff;
	position: relative;
	padding: 50px 0 70px;
	color: #ffffff;
	font-family: 'Karla', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
}

.ag-user-points *,
.ag-user-points *::before,
.ag-user-points *::after {
	box-sizing: border-box;
}

/* ---------- Intestazione Modulo ---------- */
.ag-points-header {
	margin-bottom: 35px;
}

.ag-points-kicker {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ag-ember, #f2564d);
	margin-bottom: 8px;
}

.ag-points-title {
	font-family: 'Barlow Condensed', 'Bree Serif', sans-serif;
	font-size: 42px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0 0 12px;
	color: var(--ag-ink, #f4ece2);
}

.ag-points-subtitle,
.ag-points-subtitle p {
	font-size: 17px;
	line-height: 1.6;
	color: #ffffff !important;
	max-width: 680px;
	margin: 0 auto;
}

/* ---------- Card Base ---------- */
.ag-points-card {
	background: var(--ag-card, #181413);
	border: 1px solid var(--ag-line-strong, rgba(244, 236, 226, .18));
	border-radius: var(--ag-radius, 18px);
	padding: 34px;
	box-shadow: var(--ag-shadow, 0 20px 44px rgba(0, 0, 0, .55));
	position: relative;
}

/* ---------- VISTA 1: Form ---------- */
.ag-points-form-container {
	max-width: 680px;
	margin: 0 auto;
}

.ag-points-form-card {
	background: linear-gradient(180deg, rgba(32, 27, 24, 0.95), rgba(24, 20, 19, 0.98));
	border: 1px solid rgba(244, 236, 226, 0.16);
	backdrop-filter: blur(10px);
}

/* Alert Box */
.ag-points-alert {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 20px;
	border-radius: var(--ag-radius-sm, 12px);
	margin-bottom: 24px;
	animation: agFadeSlideDown 0.3s ease-out;
}

.ag-points-alert--error {
	background: rgba(216, 35, 42, 0.12);
	border: 1px solid rgba(216, 35, 42, 0.45);
	color: #ffb4b4;
}

.ag-points-alert--info {
	background: rgba(201, 162, 39, 0.12);
	border: 1px solid rgba(201, 162, 39, 0.45);
	color: #f3e2b4;
}

.ag-points-alert--info .ag-alert-icon {
	color: var(--ag-gold, #c9a227);
}

.ag-points-alert--success {
	background: rgba(39, 174, 96, 0.14);
	border: 1px solid rgba(39, 174, 96, 0.45);
	color: #b8f0cf;
}

.ag-points-alert--success .ag-alert-icon {
	color: #2ecc71;
}

.ag-points-alert .ag-alert-content {
	flex: 1;
	min-width: 0;
}

.ag-points-alert .ag-alert-icon {
	font-size: 22px;
	color: var(--ag-ember, #f2564d);
	margin-top: 2px;
	flex-shrink: 0;
}

.ag-points-alert .ag-alert-title {
	display: block;
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	margin-bottom: 2px;
}

.ag-points-alert .ag-alert-message {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

/* Form Row & Groups */
.ag-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 24px;
}

@media (max-width: 767px) {
	.ag-form-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.ag-form-group {
	position: relative;
	display: flex;
	flex-direction: column;
}

.ag-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ag-ink, #f4ece2);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ag-label .fa {
	color: var(--ag-ember, #f2564d);
}

.ag-required {
	color: var(--ag-brand, #d8232a);
	font-weight: 700;
}

.ag-input-wrap {
	position: relative;
}

.ag-input {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	background: rgba(13, 11, 10, 0.7);
	border: 1px solid var(--ag-line, rgba(244, 236, 226, .18));
	border-radius: var(--ag-radius-sm, 10px);
	color: #fff;
	font-size: 15px;
	font-family: inherit;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
	outline: none;
}

.ag-input:focus {
	border-color: var(--ag-ember, #f2564d);
	background: rgba(13, 11, 10, 0.95);
	box-shadow: 0 0 0 3px rgba(242, 86, 77, 0.25);
}

.ag-form-group.has-error .ag-input {
	border-color: var(--ag-brand, #d8232a);
	background: rgba(216, 35, 42, 0.08);
}

.ag-field-error {
	font-size: 12px;
	color: #ff9999;
	margin-top: 6px;
	font-weight: 500;
	display: block;
}

/* Consenso Privacy (checkbox) */
.ag-form-group--checkbox {
	margin-bottom: 8px;
}

.ag-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #ffffff !important;
	cursor: pointer;
}

.ag-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex-shrink: 0;
	accent-color: var(--ag-brand, #d8232a);
	cursor: pointer;
}

.ag-checkbox a {
	color: var(--ag-gold-soft, #e7d6a4);
	text-decoration: underline;
}

.ag-form-group--checkbox.has-error .ag-checkbox {
	color: #ff9999;
}

/* Submit Button */
.ag-form-actions {
	margin-top: 28px;
	text-align: center;
}

.ag-btn--points-submit {
	width: 100%;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: linear-gradient(135deg, var(--ag-brand, #d8232a), #a31620);
	color: #fff !important;
	border: none;
	border-radius: var(--ag-radius-sm, 12px);
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(216, 35, 42, 0.35);
	transition: all 0.25s ease;
}

.ag-btn--points-submit:hover:not(:disabled) {
	background: linear-gradient(135deg, #ef3b42, var(--ag-brand, #d8232a));
	box-shadow: 0 12px 28px rgba(216, 35, 42, 0.5);
	transform: translateY(-2px);
}

.ag-btn--points-submit:disabled {
	opacity: 0.75;
	cursor: not-allowed;
	transform: none;
}

.ag-form-disclaimer {
	text-align: center;
	font-size: 13px;
	color: #ffffff !important;
	margin-top: 18px;
	margin-bottom: 0;
	line-height: 1.5;
}

.ag-form-disclaimer .fa {
	margin-right: 4px;
	color: var(--ag-gold-soft, #e7d6a4);
}

/* Pulsante "Registrati ora" nel box di invito */
.ag-btn--register-open {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--ag-brand, #d8232a), #a31620);
	color: #fff !important;
	border: none;
	border-radius: 30px;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(216, 35, 42, 0.35);
	transition: all 0.25s ease;
}

.ag-btn--register-open:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(216, 35, 42, 0.5);
}

/* ---------- VISTA 3: Form di Registrazione ---------- */
.ag-points-register-container {
	max-width: 680px;
	margin: 0 auto;
	animation: agFadeSlideUp 0.4s ease-out;
}

.ag-register-head {
	margin-bottom: 24px;
	text-align: center;
}

.ag-register-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 8px;
}

.ag-register-subtitle {
	font-size: 15px;
	line-height: 1.6;
	color: #ffffff !important;
	margin: 0;
}

/* Pulsante di ritorno alla verifica punti */
.ag-btn-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 14px;
	padding: 12px 22px;
	background: transparent;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 30px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ag-btn-back:hover {
	background: rgba(244, 236, 226, 0.12);
	border-color: rgba(244, 236, 226, 0.4);
}

/* Campo data in tema scuro */
.ag-input[type="date"] {
	color-scheme: dark;
}

.ag-input[type="date"]::-webkit-calendar-picker-indicator {
	filter: invert(1);
	cursor: pointer;
}

/* Su mobile i campi data nativi (iOS/Android) ignorano l'altezza e si vedono enormi:
   forziamo aspetto neutro e dimensioni identiche agli altri input.
   I valori chiave sono marcati !important per prevalere sui reset globali del tema
   (es. input[type="date"] { padding: 13px 15px !important } in modern.css). */
@media (max-width: 767px) {
	.ag-input[type="date"] {
		-webkit-appearance: none !important;
		appearance: none !important;
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		height: 48px !important;
		min-height: 48px !important;
		max-height: 48px !important;
		padding: 0 16px !important;
		font-size: 15px;
		font-family: inherit;
		line-height: normal;
	}

	.ag-input[type="date"]::-webkit-datetime-edit,
	.ag-input[type="date"]::-webkit-datetime-edit-fields-wrapper {
		padding: 0;
		min-height: 0;
	}

	.ag-input[type="date"]::-webkit-date-and-time-value {
		min-height: 0;
		height: auto;
		line-height: normal;
		text-align: left;
	}
}

/* ---------- VISTA 2: Risultati ---------- */
.ag-points-results-container {
	animation: agFadeSlideUp 0.4s ease-out;
}

/* Card Profilo & Stats */
.ag-points-profile-card {
	background: linear-gradient(180deg, #201b18, #181413);
	margin-bottom: 40px;
	border: 1px solid rgba(201, 162, 39, 0.28);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.ag-profile-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--ag-line, rgba(244, 236, 226, .12));
	margin-bottom: 26px;
	flex-wrap: wrap;
	gap: 16px;
}

.ag-profile-user {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ag-profile-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, #c9a227, #8a6c12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #120e0b;
	font-size: 26px;
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}

.ag-profile-badge {
	display: inline-block;
	background: rgba(201, 162, 39, 0.18);
	color: var(--ag-gold-soft, #e7d6a4);
	border: 1px solid rgba(201, 162, 39, 0.4);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 2px 10px;
	border-radius: 99px;
	margin-bottom: 4px;
}

.ag-profile-name {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 4px;
	line-height: 1.1;
}

.ag-profile-meta {
	font-size: 14px;
	color: #ffffff !important;
	margin: 0;
}

.ag-profile-separator {
	margin: 0 6px;
	opacity: 0.4;
}

.ag-btn-reset {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(244, 236, 226, 0.12);
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 30px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ag-btn-reset:hover {
	background: rgba(244, 236, 226, 0.16);
	color: #fff;
	border-color: rgba(244, 236, 226, 0.35);
}

/* Stats Grid */
.ag-points-stats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 26px;
}

@media (max-width: 640px) {
	.ag-points-stats-grid {
		grid-template-columns: 1fr;
	}
}

.ag-stat-box {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px;
	border-radius: var(--ag-radius-sm, 14px);
	background: rgba(13, 11, 10, 0.6);
	border: 1px solid var(--ag-line, rgba(244, 236, 226, .12));
}

.ag-stat-box--points {
	background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(13, 11, 10, 0.7));
	border-color: rgba(201, 162, 39, 0.35);
}

.ag-stat-box--unlocked {
	background: linear-gradient(135deg, rgba(39, 174, 96, 0.14), rgba(13, 11, 10, 0.7));
	border-color: rgba(39, 174, 96, 0.35);
}

.ag-stat-box__icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	flex-shrink: 0;
}

.ag-stat-box--points .ag-stat-box__icon {
	background: rgba(201, 162, 39, 0.2);
	color: var(--ag-gold, #c9a227);
}

.ag-stat-box--unlocked .ag-stat-box__icon {
	background: rgba(39, 174, 96, 0.2);
	color: #2ecc71;
}

.ag-stat-box__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #ffffff !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}

.ag-stat-box__number {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.ag-stat-box__number strong {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 40px;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

.ag-stat-box--points .ag-stat-box__number strong {
	color: var(--ag-gold-soft, #e7d6a4);
	text-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.ag-stat-box--unlocked .ag-stat-box__number strong {
	color: #2ecc71;
}

.ag-stat-box__unit {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--ag-gold, #c9a227);
}

.ag-stat-box__pill {
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 99px;
	background: rgba(39, 174, 96, 0.2);
	color: #2ecc71;
	border: 1px solid rgba(39, 174, 96, 0.4);
}

/* Prossimo Obiettivo / Next Prize */
.ag-next-prize-box {
	background: rgba(13, 11, 10, 0.8);
	border: 1px dashed rgba(242, 86, 77, 0.4);
	border-radius: var(--ag-radius-sm, 14px);
	padding: 20px;
}

.ag-next-prize-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.ag-next-prize-icon {
	color: var(--ag-ember, #f2564d);
	font-size: 24px;
}

.ag-next-prize-info {
	flex: 1;
	min-width: 200px;
}

.ag-next-prize-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #ffffff !important;
	font-weight: 600;
}

.ag-next-prize-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin: 2px 0 0;
}

.ag-next-prize-titles-wrap {
	margin-top: 2px;
}

.ag-next-prizes-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-top: 6px;
}

.ag-next-prize-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(244, 236, 226, 0.08);
	border: 1px solid rgba(244, 236, 226, 0.22);
	border-radius: 8px;
	padding: 6px 14px;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #ffffff !important;
	line-height: 1.2;
	transition: all 0.2s ease;
}

.ag-next-prize-item:hover {
	background: rgba(244, 236, 226, 0.16);
	border-color: rgba(201, 162, 39, 0.5);
}

.ag-next-prize-item .fa,
.ag-next-prize-item .fa-gift {
	color: var(--ag-gold-soft, #e7d6a4);
	font-size: 16px;
}

.ag-missing-badge {
	display: inline-block;
	background: rgba(242, 86, 77, 0.15);
	color: var(--ag-ember, #f2564d);
	border: 1px solid rgba(242, 86, 77, 0.35);
	font-size: 13px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 99px;
}

.ag-missing-badge strong {
	font-weight: 700;
}

/* Progress Bar */
.ag-progress {
	height: 18px;
	background: rgba(244, 236, 226, 0.08);
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	border: 1px solid rgba(244, 236, 226, 0.12);
	margin-bottom: 8px;
}

.ag-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #c9a227, var(--ag-ember, #f2564d));
	border-radius: 10px;
	position: relative;
	transition: width 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
	box-shadow: 0 0 14px rgba(242, 86, 77, 0.5);
}

.ag-progress-text {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
	line-height: 1;
}

.ag-next-prize-note {
	font-size: 13px;
	color: #ffffff !important;
	margin: 0;
	text-align: right;
}

/* ---------- Catalogo Premi ---------- */
.ag-prizes-section {
	margin-top: 50px;
}

.ag-prizes-header-bar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--ag-line, rgba(244, 236, 226, .12));
	padding-bottom: 20px;
}

.ag-prizes-heading {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ag-prizes-heading .fa {
	color: var(--ag-gold, #c9a227);
}

.ag-prizes-lead {
	font-size: 15px;
	color: #ffffff !important;
	margin: 0;
}

/* Filtri */
.ag-prizes-filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.ag-filter-btn {
	background: rgba(244, 236, 226, 0.08);
	border: 1px solid var(--ag-line, rgba(244, 236, 226, .25));
	color: #ffffff !important;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 99px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ag-filter-btn:hover {
	background: rgba(244, 236, 226, 0.14);
	color: #fff;
}

.ag-filter-btn.is-active {
	background: var(--ag-brand, #d8232a);
	color: #fff;
	border-color: var(--ag-brand, #d8232a);
	box-shadow: 0 4px 12px rgba(216, 35, 42, 0.4);
}

.ag-filter-btn--unlocked.is-active {
	background: #27ae60;
	border-color: #27ae60;
	box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.ag-filter-count {
	display: inline-block;
	background: rgba(0, 0, 0, 0.25);
	font-size: 11px;
	padding: 1px 7px;
	border-radius: 10px;
}

/* Griglia Premi */
.ag-prizes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 991px) {
	.ag-prizes-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ag-prizes-grid {
		grid-template-columns: 1fr;
	}
}

/* Card Singolo Premio */
.ag-prize-card {
	background: var(--ag-card, #181413);
	border: 1px solid var(--ag-line, rgba(244, 236, 226, .12));
	border-radius: var(--ag-radius, 16px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	position: relative;
}

.ag-prize-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

/* SBLOCCATO: Evidenziazione Speciale */
.ag-prize-card--unlocked {
	border: 2px solid #27ae60;
	box-shadow: 0 10px 30px rgba(39, 174, 96, 0.25);
	background: linear-gradient(180deg, rgba(39, 174, 96, 0.08), var(--ag-card, #181413) 45%);
}

.ag-prize-card--unlocked:hover {
	border-color: #2ecc71;
	box-shadow: 0 16px 40px rgba(39, 174, 96, 0.4);
}

/* BLOCCATO */
.ag-prize-card--locked {
	border-color: rgba(244, 236, 226, 0.1);
}

/* ESAURITO */
.ag-prize-card--unavailable {
	opacity: 0.65;
	filter: grayscale(40%);
}

/* Immagine Card */
.ag-prize-card__media {
	position: relative;
	height: 190px;
	background: #110e0c;
	overflow: hidden;
}

.ag-prize-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ag-prize-card:hover .ag-prize-card__img {
	transform: scale(1.05);
}

.ag-prize-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, rgba(17, 14, 12, 0.95) 75%);
}

.ag-prize-card__placeholder .fa,
.ag-prize-card__placeholder .fa-gift {
	font-size: 50px !important;
	color: var(--ag-gold-soft, #e7d6a4);
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

/* Badge Immagine */
.ag-prize-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	pointer-events: none;
	gap: 8px;
}

.ag-badge {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 5px 11px;
	border-radius: 99px;
	line-height: 1;
	backdrop-filter: blur(6px);
}

.ag-badge--category {
	background: rgba(13, 11, 10, 0.85);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.ag-badge--unlocked {
	background: #27ae60;
	color: #fff;
	box-shadow: 0 4px 10px rgba(39, 174, 96, 0.4);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.ag-badge--locked {
	background: rgba(13, 11, 10, 0.85);
	color: var(--ag-gold-soft, #e7d6a4);
	border: 1px solid rgba(201, 162, 39, 0.4);
}

.ag-badge--out-of-stock {
	background: rgba(180, 40, 40, 0.9);
	color: #fff;
}

/* Corpo Card */
.ag-prize-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ag-prize-card__points {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--ag-gold, #c9a227);
	text-transform: uppercase;
	margin-bottom: 8px;
}

.ag-prize-card__title {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px;
	line-height: 1.2;
}

.ag-prize-card__desc {
	font-size: 14px;
	line-height: 1.5;
	color: #ffffff !important;
	margin: 0 0 16px;
	flex: 1;
}

/* Info Avanzamento Punti su Card Bloccata */
.ag-prize-card__progress-wrap {
	margin-bottom: 16px;
	padding-top: 10px;
	border-top: 1px solid var(--ag-line, rgba(244, 236, 226, .08));
}

.ag-prize-card__progress-labels {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #ffffff !important;
	margin-bottom: 6px;
}

.ag-prize-card__progress-labels strong {
	color: var(--ag-ember, #f2564d);
}

.ag-prize-card__progress {
	height: 8px;
	background: rgba(244, 236, 226, 0.08);
	border-radius: 4px;
	overflow: hidden;
}

.ag-prize-card__progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #c9a227, var(--ag-ember, #f2564d));
	border-radius: 4px;
}

/* Box Stato in Fondo alla Card (Distinzione Visiva Chiarissima) */
.ag-prize-card__footer {
	margin-top: auto;
	padding-top: 12px;
}

.ag-prize-status {
	width: 100%;
	padding: 10px 14px;
	border-radius: var(--ag-radius-sm, 10px);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-align: center;
	line-height: 1.3;
}

/* Stato Sbloccato */
.ag-prize-status--unlocked {
	background: rgba(39, 174, 96, 0.16);
	border: 1px solid #27ae60;
	color: #2ecc71;
	box-shadow: 0 2px 10px rgba(39, 174, 96, 0.2);
}

.ag-prize-status--unlocked .fa {
	font-size: 16px;
	color: #2ecc71;
}

/* Stato Bloccato */
.ag-prize-status--locked {
	background: rgba(244, 236, 226, 0.06);
	border: 1px solid rgba(244, 236, 226, 0.2);
	color: #ffffff !important;
}

.ag-prize-status--locked .fa {
	color: rgba(255, 255, 255, 0.7);
}

/* Stato Esaurito */
.ag-prize-status--out-of-stock {
	background: rgba(180, 40, 40, 0.12);
	border: 1px solid rgba(180, 40, 40, 0.3);
	color: #ff9999;
}

.ag-prize-status--out-of-stock .fa {
	color: #e74c3c;
}

/* Box Info in Basso */
.ag-redeem-info-box {
	display: flex;
	gap: 18px;
	background: rgba(201, 162, 39, 0.08);
	border: 1px solid rgba(201, 162, 39, 0.25);
	border-radius: var(--ag-radius, 16px);
	padding: 22px 26px;
	margin-top: 40px;
}

.ag-redeem-info-icon {
	color: var(--ag-gold, #c9a227);
	font-size: 26px;
	flex-shrink: 0;
	margin-top: 2px;
}

.ag-redeem-info-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--ag-gold-soft, #e7d6a4);
	margin: 0 0 6px;
	text-transform: uppercase;
}

.ag-redeem-info-text,
.ag-redeem-info-text p {
	font-size: 14px;
	line-height: 1.6;
	color: #ffffff !important;
	margin: 0;
}

.ag-redeem-info-text p:last-child {
	margin-bottom: 0;
}

#wrapper H4 {
	color: #FFF !important;
}

/* ---------- Animazioni ---------- */
@keyframes agFadeSlideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes agFadeSlideUp {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}