:root {
	--event-red: #d43737;
	--event-red-dark: #8f1515;
	--event-red-light: #ff8585;
	--event-red-soft: rgba(212, 55, 55, 0.16);

	--event-green: #31d463;
	--event-green-dark: #0b4625;
	--event-green-light: #69ef9d;
	--event-green-soft: rgba(49, 212, 99, 0.12);

	--event-orange: #e88a2e;
	--event-orange-dark: #6f3510;
	--event-orange-light: #ffad5c;
	--event-orange-soft: rgba(232, 138, 46, 0.14);

	--event-gold: #e5a543;
	--event-gold-soft: rgba(229, 165, 67, 0.12);

	--event-finished: #777777;
	--event-finished-light: #a0a0a0;
	--event-finished-soft: rgba(255, 255, 255, 0.05);

	--event-border: rgba(183, 31, 31, 0.3);
	--event-card: rgba(14, 10, 10, 0.96);
	--event-card-light: rgba(27, 18, 18, 0.96);

	--event-text: rgba(255, 255, 255, 0.9);
	--event-muted: rgba(255, 255, 255, 0.58);
}

/* ===============================
   PÁGINA
================================ */

.events-page {
	position: relative;
	z-index: 10;
	color: var(--event-text);
}

.events-header {
	padding-top: 44px;
	padding-bottom: 34px;
}

.events-title-area {
	max-width: 830px;
}

.events-title-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding: 7px 15px;
	border: 1px solid rgba(183, 31, 31, 0.32);
	border-radius: 999px;
	background: rgba(183, 31, 31, 0.12);
	color: #ff9999;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.45px;
	text-transform: uppercase;
}

.events-title-area h1 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(30px, 5vw, 48px);
	font-weight: 950;
}

.events-title-area p {
	max-width: 670px;
	margin: 12px auto 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 15px;
	line-height: 1.55;
}

/* ===============================
   TÍTULOS
================================ */

.section-heading,
.calendar-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.section-heading h2,
.calendar-toolbar h2 {
	margin: 2px 0 0;
	color: #ffffff;
	font-size: 25px;
	font-weight: 950;
}

.section-eyebrow {
	color: var(--event-red);
	font-size: 10px;
	font-weight: 950;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ===============================
   INDICADOR AO VIVO
================================ */

.live-indicator {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 13px;
	border: 1px solid rgba(49, 212, 99, 0.3);
	border-radius: 999px;
	background: rgba(49, 212, 99, 0.11);
	color: var(--event-green-light);
	font-size: 11px;
	font-weight: 950;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	box-shadow:
		inset 0 0 12px rgba(49, 212, 99, 0.05),
		0 0 16px rgba(49, 212, 99, 0.07);
}

.live-indicator-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--event-green);
	box-shadow:
		0 0 0 4px rgba(49, 212, 99, 0.07),
		0 0 12px rgba(49, 212, 99, 0.85);
	animation: eventStatusPulse 1.2s ease-in-out infinite;
}

/* ===============================
   EVENTO ATIVO
================================ */

.active-event-section {
	margin-bottom: 24px;
}

.active-event-card {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	width: 100%;
	min-height: 145px;
	padding: 20px 22px;
	overflow: hidden;
	border: 1px solid rgba(49, 212, 99, 0.48);
	border-radius: 18px;
	background:
		radial-gradient(
			circle at 10% 50%,
			rgba(49, 212, 99, 0.13),
			transparent 30%
		),
		linear-gradient(
			135deg,
			rgba(13, 48, 27, 0.97),
			rgba(13, 12, 12, 0.98) 52%,
			rgba(7, 7, 7, 0.99)
		);
	box-shadow:
		0 14px 32px rgba(0, 0, 0, 0.42),
		0 0 24px rgba(49, 212, 99, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.active-event-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: -35%;
	z-index: 1;
	width: 26%;
	height: 100%;
	background:
		linear-gradient(
			90deg,
			transparent,
			rgba(255, 255, 255, 0.05),
			transparent
		);
	transform: skewX(-20deg);
	pointer-events: none;
	animation: activeEventSweep 5s ease-in-out infinite;
}

.active-event-card:hover {
	transform: translateY(-2px);
	border-color: rgba(87, 242, 145, 0.75);
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.48),
		0 0 30px rgba(49, 212, 99, 0.11);
}

.active-event-glow {
	position: absolute;
	top: -95px;
	right: -45px;
	z-index: 0;
	width: 245px;
	height: 245px;
	border-radius: 50%;
	background: rgba(49, 212, 99, 0.11);
	filter: blur(52px);
	pointer-events: none;
	animation: activeGlowPulse 3s ease-in-out infinite;
}

.active-event-icon,
.active-event-content {
	position: relative;
	z-index: 2;
}

.active-event-icon {
	grid-column: 1;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(77, 236, 137, 0.36);
	border-radius: 20px;
	background:
		radial-gradient(
			circle,
			rgba(49, 212, 99, 0.22),
			rgba(7, 75, 36, 0.42)
		);
	box-shadow:
		0 10px 22px rgba(0, 0, 0, 0.34),
		0 0 22px rgba(49, 212, 99, 0.11);
}

.active-event-icon i {
	color: #72f5a2;
	font-size: 33px;
	filter: drop-shadow(0 0 10px rgba(49, 212, 99, 0.5));
	animation: activeEventIcon 2.5s ease-in-out infinite;
}

.active-event-icon.blue {
	border-color: rgba(49, 130, 206, 0.36);
	background:
		radial-gradient(
			circle,
			rgba(49, 130, 206, 0.24),
			rgba(10, 49, 82, 0.44)
		);
}

.active-event-icon.blue i {
	color: #72b7ff;
}

.active-event-icon.gold {
	border-color: rgba(229, 165, 67, 0.36);
	background:
		radial-gradient(
			circle,
			rgba(229, 165, 67, 0.24),
			rgba(76, 46, 8, 0.44)
		);
}

.active-event-icon.gold i {
	color: var(--event-gold);
}

.active-event-icon.orange {
	border-color: rgba(232, 138, 46, 0.36);
	background:
		radial-gradient(
			circle,
			rgba(232, 138, 46, 0.24),
			rgba(79, 40, 8, 0.44)
		);
}

.active-event-icon.orange i {
	color: var(--event-orange-light);
}

.active-event-icon.purple {
	border-color: rgba(144, 84, 212, 0.36);
	background:
		radial-gradient(
			circle,
			rgba(144, 84, 212, 0.24),
			rgba(54, 24, 88, 0.44)
		);
}

.active-event-icon.purple i {
	color: #bd8cff;
}

.active-event-content {
	grid-column: 2;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.active-event-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	margin-bottom: 7px;
}

.active-event-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--event-green-light);
	font-size: 10px;
	font-weight: 950;
	letter-spacing: 0.45px;
	text-transform: uppercase;
	text-shadow: 0 0 11px rgba(49, 212, 99, 0.22);
}

.active-event-status span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--event-green);
	box-shadow:
		0 0 0 4px rgba(49, 212, 99, 0.08),
		0 0 11px rgba(49, 212, 99, 0.8);
	animation: eventStatusPulse 1.1s ease-in-out infinite;
}

.active-event-time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

.active-event-content h3 {
	width: 100%;
	margin: 0 0 6px;
	color: #ffffff;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 950;
	line-height: 1.1;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	text-shadow: 0 0 14px rgba(49, 212, 99, 0.15);
}

.active-event-content > p {
	width: 100%;
	max-width: 760px;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	line-height: 1.5;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}

.active-event-empire {
	margin-top: 8px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 11px;
	font-weight: 750;
}

.active-event-countdown-area {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	width: 100%;
	margin-top: 11px;
}

.active-event-countdown-area > span {
	color: rgba(255, 255, 255, 0.48);
	font-size: 9px;
	font-weight: 950;
	letter-spacing: 0.45px;
	text-transform: uppercase;
}

.active-event-countdown-area strong {
	padding: 6px 11px;
	border: 1px solid rgba(49, 212, 99, 0.32);
	border-radius: 8px;
	background: rgba(49, 212, 99, 0.1);
	color: #76f3a4;
	font-family: monospace;
	font-size: 13px;
	letter-spacing: 0.7px;
	box-shadow:
		inset 0 0 12px rgba(49, 212, 99, 0.04),
		0 0 12px rgba(49, 212, 99, 0.04);
}

/* ===============================
   SEM EVENTO ATIVO
================================ */

.active-event-empty {
	display: flex;
	align-items: center;
	gap: 15px;
	min-height: 110px;
	padding: 20px 22px;
	border: 1px solid var(--event-border);
	border-radius: 16px;
	background:
		linear-gradient(
			180deg,
			rgba(22, 16, 16, 0.94),
			rgba(7, 7, 7, 0.94)
		);
}

.active-event-empty-icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	background: rgba(183, 31, 31, 0.12);
	color: var(--event-red);
	font-size: 23px;
}

.active-event-empty h3 {
	margin: 0 0 4px;
	color: #ffffff;
	font-size: 17px;
	font-weight: 900;
}

.active-event-empty p {
	margin: 0;
	color: var(--event-muted);
	font-size: 12px;
}

/* ===============================
   EVENTO ESPECIAL
================================ */

.weekly-special-section {
	margin-bottom: 30px;
}

.weekly-special-card {
	position: relative;
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) 155px;
	align-items: center;
	gap: 17px;
	width: 100%;
	min-height: 125px;
	padding: 17px 21px;
	overflow: hidden;
	border: 1px solid rgba(183, 119, 31, 0.36);
	border-radius: 17px;
	background:
		linear-gradient(
			135deg,
			rgba(28, 20, 8, 0.96),
			rgba(8, 8, 8, 0.98)
		);
	box-shadow:
		0 12px 28px rgba(0, 0, 0, 0.34),
		0 0 17px rgba(183, 119, 31, 0.08);
}

.weekly-special-decoration {
	position: absolute;
	top: -80px;
	left: -35px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(183, 119, 31, 0.1);
	filter: blur(38px);
	pointer-events: none;
}

.weekly-special-icon,
.weekly-special-content,
.weekly-special-reward {
	position: relative;
	z-index: 2;
}

.weekly-special-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(229, 165, 67, 0.28);
	border-radius: 16px;
	background: rgba(183, 119, 31, 0.14);
	color: var(--event-gold);
	font-size: 25px;
	box-shadow: 0 0 16px rgba(183, 119, 31, 0.11);
}

.weekly-special-content {
	min-width: 0;
}

.weekly-special-label {
	color: var(--event-gold);
	font-size: 8px;
	font-weight: 950;
	letter-spacing: 0.65px;
	text-transform: uppercase;
}

.weekly-special-content h2 {
	margin: 3px 0 5px;
	color: #ffffff;
	font-size: 19px;
	font-weight: 950;
	line-height: 1.15;
}

.weekly-special-content p {
	max-width: 720px;
	margin: 0;
	color: rgba(255, 255, 255, 0.63);
	font-size: 12px;
	line-height: 1.45;
}

.weekly-special-status {
	margin-top: 8px;
}

.weekly-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 9px;
	border: 1px solid rgba(49, 212, 99, 0.19);
	border-radius: 999px;
	background: rgba(49, 212, 99, 0.08);
	color: #59dc8a;
	font-size: 9px;
	font-weight: 850;
}

.weekly-special-reward {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding-left: 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.weekly-special-reward > span {
	color: rgba(255, 255, 255, 0.46);
	font-size: 8px;
	font-weight: 950;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.weekly-special-reward > strong {
	color: rgba(255, 255, 255, 0.76);
	font-size: 9px;
	line-height: 1.2;
	text-align: center;
}

.weekly-item-box {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(183, 119, 31, 0.27);
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.28);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.04),
		0 7px 15px rgba(0, 0, 0, 0.26);
	cursor: help;
}

.weekly-item-image {
	max-width: 42px;
	max-height: 42px;
	object-fit: contain;
	filter:
		drop-shadow(0 4px 4px rgba(0, 0, 0, 0.6))
		drop-shadow(0 0 7px rgba(229, 165, 67, 0.2));
}

/* ===============================
   CALENDÁRIO
================================ */

.calendar-section {
	margin-bottom: 50px;
}

.calendar-navigation {
	display: flex;
	align-items: center;
	gap: 8px;
}

.calendar-nav-button,
.calendar-today-button {
	appearance: none;
	-webkit-appearance: none;
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(183, 31, 31, 0.3);
	border-radius: 10px;
	background:
		linear-gradient(
			180deg,
			rgba(33, 22, 22, 0.96),
			rgba(15, 12, 12, 0.98)
		);
	color: #ffffff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 850;
	cursor: pointer;
	box-shadow:
		0 6px 15px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.03);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.calendar-nav-button {
	width: 38px;
	padding: 0;
}

.calendar-today-button {
	padding: 0 15px;
}

.calendar-nav-button:hover,
.calendar-today-button:hover {
	transform: translateY(-1px);
	border-color: rgba(212, 55, 55, 0.55);
	background:
		linear-gradient(
			180deg,
			rgba(78, 24, 24, 0.94),
			rgba(31, 13, 13, 0.98)
		);
	box-shadow:
		0 9px 20px rgba(0, 0, 0, 0.34),
		0 0 15px rgba(212, 55, 55, 0.07);
}

.calendar-nav-button:focus-visible,
.calendar-today-button:focus-visible {
	outline: 2px solid rgba(255, 95, 95, 0.75);
	outline-offset: 2px;
}

.calendar-period {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 13px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	font-weight: 750;
}

.calendar-period i {
	color: var(--event-red);
}

.calendar-legend {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	margin-bottom: 15px;
}

.calendar-legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 11px;
	font-weight: 800;
}

.legend-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.legend-dot.active {
	background: var(--event-green);
	box-shadow: 0 0 7px rgba(49, 212, 99, 0.62);
}

.legend-dot.upcoming {
	background: var(--event-orange);
	box-shadow: 0 0 7px rgba(232, 138, 46, 0.62);
}

.legend-dot.finished {
	background: var(--event-finished);
	box-shadow: 0 0 5px rgba(119, 119, 119, 0.4);
}

.weekly-calendar {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}

/* ===============================
   DIA DO CALENDÁRIO
================================ */

.calendar-day {
	position: relative;
	min-width: 0;
	min-height: 360px;
	overflow: hidden;
	border: 1px solid rgba(183, 31, 31, 0.2);
	border-radius: 16px;
	background:
		linear-gradient(
			180deg,
			rgba(22, 15, 15, 0.96),
			rgba(7, 7, 7, 0.98)
		);
	box-shadow:
		0 10px 25px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.02);
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.calendar-day:hover {
	transform: translateY(-2px);
	box-shadow:
		0 14px 30px rgba(0, 0, 0, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.calendar-day.is-today {
	border-color: rgba(212, 55, 55, 0.7);
	box-shadow:
		0 12px 28px rgba(0, 0, 0, 0.38),
		0 0 20px rgba(212, 55, 55, 0.13);
}

.calendar-day.has-active-event {
	border-color: rgba(49, 212, 99, 0.65);
	box-shadow:
		0 12px 28px rgba(0, 0, 0, 0.38),
		0 0 22px rgba(49, 212, 99, 0.1);
}

.calendar-day.has-upcoming-event:not(.is-today) {
	border-color: rgba(232, 138, 46, 0.4);
	box-shadow:
		0 10px 25px rgba(0, 0, 0, 0.3),
		0 0 18px rgba(232, 138, 46, 0.06);
}

.calendar-day.has-finished-event:not(.is-today) {
	border-color: rgba(255, 255, 255, 0.08);
}

.calendar-day-header {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 14px 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.055);
	background: rgba(255, 255, 255, 0.025);
}

.calendar-day.is-today .calendar-day-header {
	background:
		linear-gradient(
			180deg,
			rgba(183, 31, 31, 0.28),
			rgba(183, 31, 31, 0.08)
		);
}

.calendar-day.has-active-event .calendar-day-header {
	background:
		linear-gradient(
			180deg,
			rgba(25, 111, 55, 0.35),
			rgba(12, 50, 27, 0.16)
		);
}

.calendar-day.has-upcoming-event:not(.is-today) .calendar-day-header {
	background:
		linear-gradient(
			180deg,
			rgba(112, 59, 20, 0.42),
			rgba(47, 28, 15, 0.42)
		);
}

.calendar-day.has-finished-event:not(.is-today) .calendar-day-header {
	background:
		linear-gradient(
			180deg,
			rgba(42, 42, 42, 0.5),
			rgba(20, 20, 20, 0.45)
		);
}

.calendar-day.is-today .calendar-day-header::after {
	content: "Hoje";
	position: absolute;
	top: 7px;
	right: 7px;
	padding: 3px 5px;
	border-radius: 999px;
	background: var(--event-red);
	color: #ffffff;
	font-size: 7px;
	font-weight: 950;
	text-transform: uppercase;
	box-shadow: 0 0 10px rgba(212, 55, 55, 0.25);
}

.calendar-day-name {
	color: rgba(255, 255, 255, 0.58);
	font-size: 10px;
	font-weight: 950;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.calendar-day-number {
	color: #ffffff;
	font-size: 27px;
	font-weight: 950;
	line-height: 1.1;
}

.calendar-day-month {
	color: var(--event-red);
	font-size: 9px;
	font-weight: 900;
}

.calendar-day-events {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 9px;
}

/* ===============================
   EVENTO DO CALENDÁRIO
================================ */

.calendar-event {
	position: relative;
	padding: 10px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.035);
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease,
		filter 0.2s ease;
}

.calendar-event::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	border-radius: 3px 0 0 3px;
	background: transparent;
}

.calendar-event:hover {
	transform: translateY(-2px);
}

/* ===============================
   EVENTO ATIVO - VERDE
================================ */

.calendar-event.is-active {
	border-color: rgba(49, 212, 99, 0.4);
	background:
		linear-gradient(
			135deg,
			rgba(10, 64, 31, 0.9),
			rgba(5, 31, 16, 0.96)
		);
	box-shadow:
		0 0 15px rgba(49, 212, 99, 0.08),
		0 8px 18px rgba(0, 0, 0, 0.25);
	animation: activeCalendarCardPulse 2.8s ease-in-out infinite;
}

.calendar-event.is-active::before {
	background: var(--event-green);
	box-shadow: 0 0 10px rgba(49, 212, 99, 0.7);
}

.calendar-event.is-active:hover {
	border-color: rgba(76, 238, 137, 0.72);
	background:
		linear-gradient(
			135deg,
			rgba(13, 78, 38, 0.95),
			rgba(6, 39, 20, 0.98)
		);
	box-shadow:
		0 13px 25px rgba(0, 0, 0, 0.36),
		0 0 20px rgba(49, 212, 99, 0.11);
}

.calendar-event.is-active .calendar-event-time,
.calendar-event.is-active .calendar-event-countdown {
	color: var(--event-green-light);
}

.calendar-event.is-active .calendar-event-title {
	color: #effff5;
	text-shadow: 0 0 10px rgba(49, 212, 99, 0.12);
}

/* ===============================
   PRÓXIMO EVENTO - LARANJA
================================ */

.calendar-event.is-upcoming {
	border-color: rgba(232, 138, 46, 0.4);
	background:
		linear-gradient(
			145deg,
			rgba(67, 38, 16, 0.94),
			rgba(28, 18, 11, 0.98)
		);
	box-shadow:
		0 8px 18px rgba(0, 0, 0, 0.25),
		0 0 15px rgba(232, 138, 46, 0.06);
}

.calendar-event.is-upcoming::before {
	background: var(--event-orange);
	box-shadow: 0 0 9px rgba(232, 138, 46, 0.55);
}

.calendar-event.is-upcoming:hover {
	border-color: rgba(255, 173, 92, 0.72);
	background:
		linear-gradient(
			145deg,
			rgba(89, 48, 18, 0.98),
			rgba(37, 22, 12, 0.99)
		);
	box-shadow:
		0 13px 25px rgba(0, 0, 0, 0.38),
		0 0 20px rgba(232, 138, 46, 0.1);
}

.calendar-event.is-upcoming .calendar-event-time,
.calendar-event.is-upcoming .calendar-event-countdown {
	color: var(--event-orange-light);
}

.calendar-event.is-upcoming .calendar-event-title {
	color: #fff7ef;
	text-shadow: 0 0 10px rgba(232, 138, 46, 0.11);
}

/* ===============================
   EVENTO ENCERRADO - CINZA
================================ */

.calendar-event.is-finished {
	border-color: rgba(255, 255, 255, 0.06);
	background:
		linear-gradient(
			145deg,
			rgba(22, 22, 22, 0.84),
			rgba(12, 12, 12, 0.92)
		);
	opacity: 0.5;
	filter: grayscale(0.75) saturate(0.42);
	box-shadow: none;
}

.calendar-event.is-finished::before {
	background: var(--event-finished);
	opacity: 0.45;
}

.calendar-event.is-finished:hover {
	opacity: 0.68;
	filter: grayscale(0.5) saturate(0.58);
	border-color: rgba(255, 255, 255, 0.13);
}

.calendar-event.is-finished .calendar-event-title {
	color: rgba(255, 255, 255, 0.58);
}

.calendar-event.is-finished .calendar-event-time,
.calendar-event.is-finished .calendar-event-description {
	color: rgba(255, 255, 255, 0.31);
}

/* ===============================
   CONTEÚDO DO EVENTO
================================ */

.calendar-event-time {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 5px;
	color: var(--event-red-light);
	font-size: 9px;
	font-weight: 900;
}

.calendar-event-title {
	display: block;
	margin-bottom: 5px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 950;
	line-height: 1.2;
}

.calendar-event-description {
	display: -webkit-box;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.51);
	font-size: 9px;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.calendar-event-footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	margin-top: 8px;
}

.calendar-event-countdown {
	color: rgba(255, 255, 255, 0.58);
	font-family: monospace;
	font-size: 9px;
	font-weight: 850;
}

/* ===============================
   BADGES DE STATUS
================================ */

.calendar-event-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 7px;
	border-radius: 999px;
	font-size: 7px;
	font-weight: 950;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.calendar-event-status::before {
	content: "";
	width: 5px;
	height: 5px;
	flex: 0 0 5px;
	border-radius: 50%;
}

.calendar-event-status.active {
	border: 1px solid rgba(49, 212, 99, 0.2);
	background: rgba(49, 212, 99, 0.12);
	color: var(--event-green-light);
}

.calendar-event-status.active::before {
	background: var(--event-green);
	box-shadow: 0 0 7px rgba(49, 212, 99, 0.8);
	animation: eventStatusPulse 1.2s ease-in-out infinite;
}

.calendar-event-status.upcoming {
	border: 1px solid rgba(232, 138, 46, 0.25);
	background: rgba(232, 138, 46, 0.13);
	color: var(--event-orange-light);
}

.calendar-event-status.upcoming::before {
	background: var(--event-orange);
	box-shadow: 0 0 7px rgba(232, 138, 46, 0.58);
}

.calendar-event-status.finished {
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.5);
}

.calendar-event-status.finished::before {
	background: var(--event-finished);
}

/* ===============================
   DIA SEM EVENTO
================================ */

.calendar-day-empty {
	min-height: 190px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	color: rgba(255, 255, 255, 0.23);
	font-size: 10px;
	font-weight: 750;
}

.calendar-day-empty i {
	font-size: 24px;
}

/* ===============================
   PRÓXIMOS EVENTOS
================================ */

.upcoming-events-section {
	margin-bottom: 40px;
}

.view-calendar-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--event-orange-light);
	font-size: 12px;
	font-weight: 850;
	text-decoration: none;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.view-calendar-link:hover {
	color: #ffffff;
	transform: translateY(-1px);
}

.upcoming-events-list {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.upcoming-event-card {
	position: relative;
	display: grid;
	grid-template-columns: 67px 54px minmax(0, 1fr) 145px;
	align-items: center;
	gap: 16px;
	padding: 14px 17px;
	overflow: hidden;
	border: 1px solid rgba(232, 138, 46, 0.3);
	border-radius: 15px;
	background:
		linear-gradient(
			115deg,
			rgba(53, 31, 15, 0.97),
			rgba(13, 11, 9, 0.99)
		);
	box-shadow:
		0 9px 22px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.025);
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.upcoming-event-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: var(--event-orange);
	box-shadow: 0 0 9px rgba(232, 138, 46, 0.48);
}

.upcoming-event-card:hover {
	transform: translateX(4px);
	border-color: rgba(255, 173, 92, 0.62);
	box-shadow:
		0 13px 28px rgba(0, 0, 0, 0.36),
		0 0 18px rgba(232, 138, 46, 0.1);
}

.upcoming-event-date {
	min-height: 58px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(232, 138, 46, 0.34);
	border-radius: 12px;
	background:
		linear-gradient(
			180deg,
			rgba(112, 59, 20, 0.75),
			rgba(55, 30, 14, 0.82)
		);
	box-shadow:
		inset 0 0 14px rgba(232, 138, 46, 0.05),
		0 5px 13px rgba(0, 0, 0, 0.2);
}

.upcoming-event-date strong {
	color: #ffffff;
	font-size: 22px;
	font-weight: 950;
	line-height: 1;
}

.upcoming-event-date span {
	margin-top: 4px;
	color: var(--event-orange-light);
	font-size: 9px;
	font-weight: 950;
}

.upcoming-event-icon {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(232, 138, 46, 0.32);
	border-radius: 13px;
	background: rgba(232, 138, 46, 0.14);
	color: var(--event-orange-light);
	font-size: 22px;
	box-shadow: 0 0 13px rgba(232, 138, 46, 0.06);
}

.upcoming-event-icon.blue {
	border-color: rgba(49, 130, 206, 0.28);
	background: rgba(49, 130, 206, 0.14);
	color: #72b7ff;
}

.upcoming-event-icon.gold {
	border-color: rgba(183, 119, 31, 0.28);
	background: rgba(183, 119, 31, 0.14);
	color: var(--event-gold);
}

.upcoming-event-icon.green {
	border-color: rgba(49, 212, 99, 0.27);
	background: rgba(49, 212, 99, 0.12);
	color: var(--event-green-light);
}

.upcoming-event-icon.orange {
	border-color: rgba(232, 138, 46, 0.32);
	background: rgba(232, 138, 46, 0.14);
	color: var(--event-orange-light);
}

.upcoming-event-icon.purple {
	border-color: rgba(144, 84, 212, 0.28);
	background: rgba(144, 84, 212, 0.14);
	color: #bd8cff;
}

.upcoming-event-content {
	min-width: 0;
}

.upcoming-event-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.upcoming-event-header h3 {
	margin: 0;
	color: #ffffff;
	font-size: 16px;
	font-weight: 950;
}

.upcoming-event-header span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: rgba(255, 255, 255, 0.52);
	font-size: 10px;
	font-weight: 800;
	white-space: nowrap;
}

.upcoming-event-content p {
	margin: 5px 0 0;
	color: rgba(255, 255, 255, 0.57);
	font-size: 11px;
	line-height: 1.45;
}

.upcoming-event-content small {
	display: block;
	margin-top: 5px;
	color: rgba(255, 255, 255, 0.53);
	font-size: 10px;
}

.upcoming-event-timer {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.upcoming-event-timer span {
	color: rgba(255, 255, 255, 0.44);
	font-size: 8px;
	font-weight: 950;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.upcoming-event-timer strong {
	color: var(--event-orange-light);
	font-family: monospace;
	font-size: 13px;
	text-shadow: 0 0 10px rgba(232, 138, 46, 0.15);
}

/* ===============================
   VAZIO E CARREGAMENTO
================================ */

.upcoming-empty,
.events-loading {
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: 20px;
	border: 1px solid rgba(183, 31, 31, 0.18);
	border-radius: 15px;
	background: rgba(12, 12, 12, 0.7);
	color: rgba(255, 255, 255, 0.57);
}

.upcoming-empty i {
	color: var(--event-red);
	font-size: 30px;
}

.upcoming-empty h3 {
	margin: 0 0 4px;
	color: #ffffff;
	font-size: 16px;
}

.upcoming-empty p {
	margin: 0;
	font-size: 12px;
}

.events-loading-spinner {
	width: 25px;
	height: 25px;
	border: 3px solid rgba(255, 255, 255, 0.12);
	border-top-color: var(--event-red);
	border-radius: 50%;
	animation: eventSpinner 0.8s linear infinite;
}

.calendar-load-error {
	grid-column: 1 / -1;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	border: 1px solid rgba(212, 55, 55, 0.28);
	border-radius: 15px;
	background: rgba(34, 12, 12, 0.76);
	color: #ff9292;
	font-size: 13px;
	font-weight: 800;
}

/* ===============================
   REINOS
================================ */

.empire-shinsoo {
	color: #ff5d5d;
}

.empire-chunjo {
	color: #ffd65a;
}

.empire-jinno {
	color: #65a8ff;
}

/* ===============================
   ANIMAÇÕES
================================ */

@keyframes eventStatusPulse {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(0.9);
	}

	50% {
		opacity: 1;
		transform: scale(1.16);
	}
}

@keyframes activeEventSweep {
	0% {
		left: -35%;
	}

	45%,
	100% {
		left: 130%;
	}
}

@keyframes activeGlowPulse {
	0%,
	100% {
		opacity: 0.42;
		transform: scale(0.94);
	}

	50% {
		opacity: 0.76;
		transform: scale(1.08);
	}
}

@keyframes activeEventIcon {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}

	50% {
		transform: translateY(-3px) scale(1.04);
	}
}

@keyframes activeCalendarCardPulse {
	0%,
	100% {
		box-shadow:
			0 0 13px rgba(49, 212, 99, 0.05),
			0 8px 18px rgba(0, 0, 0, 0.25);
	}

	50% {
		box-shadow:
			0 0 21px rgba(49, 212, 99, 0.1),
			0 10px 22px rgba(0, 0, 0, 0.3);
	}
}

@keyframes eventSpinner {
	to {
		transform: rotate(360deg);
	}
}

/* ===============================
   RESPONSIVO
================================ */

@media (max-width: 1199px) {
	.weekly-calendar {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.calendar-day {
		min-height: 310px;
	}

	.upcoming-event-card {
		grid-template-columns: 65px 50px minmax(0, 1fr);
	}

	.upcoming-event-timer {
		grid-column: 3;
		align-items: flex-start;
	}
}

@media (max-width: 991px) {
	.active-event-card {
		grid-template-columns: 62px minmax(0, 1fr);
		gap: 15px;
		padding: 18px;
	}

	.active-event-icon {
		width: 62px;
		height: 62px;
		border-radius: 18px;
	}

	.active-event-icon i {
		font-size: 29px;
	}

	.weekly-special-card {
		grid-template-columns: 54px minmax(0, 1fr) 130px;
		gap: 14px;
		padding: 15px 17px;
	}

	.weekly-special-icon {
		width: 48px;
		height: 48px;
		font-size: 21px;
	}

	.weekly-calendar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.weekly-special-card {
		grid-template-columns: 50px minmax(0, 1fr);
	}

	.weekly-special-reward {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: flex-start;
		width: 100%;
		padding: 12px 0 0;
		border-top: 1px solid rgba(255, 255, 255, 0.07);
		border-left: 0;
	}
}

@media (max-width: 576px) {
	.events-header {
		padding-top: 30px;
		padding-bottom: 28px;
	}

	.events-title-area h1 {
		font-size: 30px;
	}

	.events-title-area p {
		font-size: 13px;
	}

	.section-heading,
	.calendar-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.calendar-navigation {
		width: 100%;
	}

	.calendar-today-button {
		flex: 1;
	}

	.calendar-legend {
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.active-event-card {
		grid-template-columns: 52px minmax(0, 1fr);
		align-items: flex-start;
		gap: 12px;
		padding: 15px;
	}

	.active-event-icon {
		width: 52px;
		height: 52px;
		border-radius: 15px;
	}

	.active-event-icon i {
		font-size: 24px;
	}

	.active-event-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.active-event-content h3 {
		font-size: 20px;
	}

	.active-event-content > p {
		font-size: 12px;
	}

	.weekly-special-card {
		grid-template-columns: 48px minmax(0, 1fr);
		align-items: start;
		padding: 15px;
	}

	.weekly-special-content h2 {
		font-size: 17px;
	}

	.weekly-special-content p {
		font-size: 11px;
	}

	.weekly-special-reward {
		grid-column: 1 / -1;
		flex-wrap: wrap;
		justify-content: center;
	}

	.weekly-calendar {
		grid-template-columns: 1fr;
	}

	.calendar-day {
		min-height: auto;
	}

	.calendar-day-events {
		min-height: 120px;
	}

	.calendar-day-empty {
		min-height: 100px;
	}

	.upcoming-event-card {
		grid-template-columns: 58px minmax(0, 1fr);
		padding: 13px;
	}

	.upcoming-event-icon {
		display: none;
	}

	.upcoming-event-content,
	.upcoming-event-timer {
		grid-column: 2;
	}

	.upcoming-event-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.upcoming-event-timer {
		align-items: flex-start;
	}

	.live-indicator {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.live-indicator-dot,
	.active-event-card::before,
	.active-event-glow,
	.active-event-icon i,
	.calendar-event.is-active,
	.calendar-event-status.active::before,
	.events-loading-spinner {
		animation: none !important;
	}
}