/* Events Section - Classic WoW Theme */
.events-section {
	background: #1a1a1a;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6),
	            inset 0 1px 0 rgba(255, 255, 255, 0.03);
	border: 1px solid #2a2a2a;
	position: relative;
}

/* Events Header */
.events-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #252525;
	border-bottom: 1px solid #333;
	position: relative;
}

.events-header-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.events-header-left i {
	font-size: 16px;
	color: #c9a860;
}

.events-title {
	font-size: 14px;
	font-weight: 600;
	color: #e5cc9f;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-family: 'Roboto', sans-serif;
}

.events-title i {
	color: #c9a860;
	font-style: normal;
}

.events-view-all {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #c9a860;
	font-size: 11px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.events-view-all:hover {
	color: #ffd700;
}

.events-view-all i {
	font-size: 10px;
}

/* Events Container - Carousel Style */
.events-container {
	padding: 20px;
	position: relative;
	min-height: 400px;
	overflow: hidden;
}

.events-slider {
	position: relative;
	width: 100%;
	height: 100%;
}

.event-slide {
	display: none;
	animation: slideIn 0.5s ease-in-out;
}

.event-slide.active {
	display: block;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideOut {
	from {
		opacity: 1;
		transform: translateX(0);
	}
	to {
		opacity: 0;
		transform: translateX(-30px);
	}
}

/* Event Card */
.event-card {
	background: #202020;
	border-radius: 3px;
	overflow: hidden;
	transition: all 0.2s ease;
	border: 1px solid #333;
	position: relative;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.event-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
	border-color: #444;
}

/* Event Image */
.event-image {
	height: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}

.event-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.3) 0%,
		rgba(0, 0, 0, 0.6) 50%,
		rgba(15, 15, 15, 0.9) 100%
	);
	z-index: 1;
}

.event-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(201, 168, 96, 0.1) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.event-card:hover .event-overlay {
	opacity: 1;
}

/* Event Status Badge */
.event-status {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 3px 8px;
	border-radius: 2px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	z-index: 3;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.event-status.upcoming {
	background: #3a3a3a;
	color: #aaa;
	border: 1px solid #4a4a4a;
}

.event-status.live {
	background: #8b2e2e;
	color: #ffb3b3;
	border: 1px solid #a63939;
}

/* Event Countdown */
.event-countdown {
	position: absolute;
	bottom: 10px;
	left: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(0, 0, 0, 0.85);
	padding: 6px 10px;
	border-radius: 2px;
	z-index: 3;
	border: 1px solid rgba(50, 50, 50, 0.8);
}

.event-countdown i {
	color: #c9a860;
	font-size: 14px;
}

.countdown-timer {
	font-family: 'Courier New', monospace;
	font-size: 14px;
	font-weight: 600;
	color: #e5cc9f;
	letter-spacing: 0.5px;
}

/* Event Content */
.event-content {
	padding: 14px;
	background: #1a1a1a;
}

.event-name {
	font-size: 15px;
	font-weight: 600;
	color: #e5cc9f;
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.event-description {
	font-size: 12px;
	color: #999;
	margin: 0 0 10px 0;
	line-height: 1.4;
}

/* Event Details */
.event-details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px solid #2a2a2a;
}

.event-detail {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: #aaa;
	background: #252525;
	padding: 4px 10px;
	border-radius: 2px;
	border: 1px solid #333;
	transition: all 0.2s ease;
}

.event-detail:hover {
	background: #2a2a2a;
	border-color: #444;
	color: #c9a860;
}

.event-detail i {
	color: #c9a860;
	font-size: 10px;
}

/* Events Navigation & Pagination */
.events-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #252525;
	border-top: 1px solid #333;
}

.events-arrows {
	display: flex;
	gap: 8px;
}

.arrow-btn {
	width: 28px;
	height: 28px;
	border-radius: 2px;
	background: #2a2a2a;
	border: 1px solid #3a3a3a;
	color: #c9a860;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 12px;
}

.arrow-btn:hover {
	background: #333;
	border-color: #444;
	color: #e5cc9f;
}

.arrow-btn:active {
	transform: scale(0.95);
}

.events-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
}

.page-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #3a3a3a;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1px solid #4a4a4a;
}

.page-dot:hover {
	background: #4a4a4a;
	border-color: #5a5a5a;
}

.page-dot.active {
	width: 20px;
	border-radius: 3px;
	background: #c9a860;
	border-color: #d4b374;
}

/* Slide Fade Animation */
.event-slide {
	animation: fadeSlideIn 0.6s ease-in-out;
}

@keyframes fadeSlideIn {
	from {
		opacity: 0;
		transform: translateX(30px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}

/* Simplified animations */

/* Responsive Design */
@media (max-width: 968px) {
	.events-navigation {
		flex-direction: column;
		gap: 12px;
	}
	
	.events-arrows {
		order: 2;
	}
	
	.events-pagination {
		order: 1;
	}
}

@media (max-width: 768px) {
	.events-header {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
		padding: 16px;
	}

	.events-view-all {
		align-self: flex-end;
	}

	.event-image {
		height: 170px;
	}

	.events-container {
		min-height: 350px;
		padding: 16px;
	}

	.event-content {
		padding: 14px;
	}

	.arrow-btn {
		width: 32px;
		height: 32px;
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.events-section {
		border-radius: 8px;
	}

	.events-header {
		padding: 14px;
	}

	.events-title {
		font-size: 17px;
	}

	.events-header-left i {
		font-size: 20px;
	}

	.events-container {
		padding: 14px;
		min-height: 320px;
	}

	.event-image {
		height: 140px;
	}

	.event-name {
		font-size: 15px;
	}

	.event-description {
		font-size: 12px;
		margin-bottom: 10px;
	}

	.event-details {
		gap: 8px;
	}

	.event-detail {
		font-size: 11px;
		padding: 5px 9px;
	}

	.event-countdown {
		padding: 6px 10px;
	}

	.countdown-timer {
		font-size: 14px;
	}

	.arrow-btn {
		width: 30px;
		height: 30px;
		font-size: 11px;
	}

	.page-dot {
		width: 8px;
		height: 8px;
	}

	.page-dot.active {
		width: 22px;
	}
}

/* Loading animation for images */
.event-image {
	background-color: rgba(30, 30, 30, 0.5);
	transition: background-color 0.3s ease;
}

.event-image.loaded {
	background-color: transparent;
}

/* Accessibility improvements */
.arrow-btn:focus,
.page-dot:focus,
.events-view-all:focus {
	outline: 1px solid #c9a860;
	outline-offset: 1px;
}

/* Print styles */
@media print {
	.events-section {
		box-shadow: none;
		border: 1px solid #ccc;
	}
	
	.event-slide {
		display: block !important;
		page-break-inside: avoid;
	}
	
	.events-navigation,
	.event-countdown,
	.event-status {
		display: none;
	}
}

