:root {
	--bg: #0a0e27;
	--card: #120f2e;
	--card-dark: #0f0a23;
	--muted: #9ca3af;
	--accent: #a78bfa;
	--accent-primary: #8b5cf6;
	--accent-2: #ec4899;
	--glass: rgba(255, 255, 255, 0.05);
	--radius: 12px;
	--max-width: 1200px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	background: linear-gradient(135deg, #0a0e27 0%, #1a1040 50%, #140830 100%);
	color: #e5e7eb;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}

.container {
	width: 92%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0;
}

/* ========== HEADER / NAV ========== */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(12px);
	background: rgba(10, 14, 39, 0.7);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 16px 0;
}

.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--max-width);
	width: 92%;
	margin: 0 auto;
	gap: 24px;
}

.nav-brand {
	flex-shrink: 0;
}

.logo {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.3rem;
	background: linear-gradient(135deg, #a78bfa, #ec4899);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: transform 0.2s ease;
	animation: fadeInDown 0.6s ease-out;
}

.logo:hover {
	transform: translateY(-2px);
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 8px;
	flex: 1;
	justify-content: center;
}

.nav-menu li a {
	display: inline-block;
	color: var(--muted);
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 500;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	position: relative;
}

.nav-menu li a:hover {
	color: #fff;
	background: rgba(167, 139, 250, 0.1);
	transform: translateY(-2px);
}

.nav-menu li a.active {
	color: #fff;
	background: rgba(167, 139, 250, 0.2);
	border-bottom: 2px solid var(--accent-primary);
}

.nav-socials {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-shrink: 0;
}

.nav-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--muted);
	font-size: 1.1rem;
	border-radius: 8px;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.02);
	text-decoration: none;
}

.nav-socials a:hover {
	color: #fff;
	background: rgba(167, 139, 250, 0.15);
	transform: translateY(-3px);
}

/* Mobile Toggle Button */
.nav-toggle {
	display: none;
	flex-direction: column;
	background: transparent;
	border: none;
	cursor: pointer;
	gap: 5px;
	flex-shrink: 0;
}

.nav-toggle span {
	width: 24px;
	height: 2px;
	background: #e5e7eb;
	border-radius: 2px;
	transition: all 0.3s ease;
}

@media (max-width: 900px) {
	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		background: rgba(10, 14, 39, 0.98);
		backdrop-filter: blur(12px);
		padding: 16px;
		gap: 0;
		justify-content: flex-start;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}

	.nav-menu.open {
		display: flex;
	}

	.nav-menu li {
		width: 100%;
	}

	.nav-menu li a {
		display: block;
		padding: 12px 16px;
		width: 100%;
	}

	.nav-toggle {
		display: flex;
	}
}

/* ========== HERO SECTION ========== */
.hero {
	position: relative;
	height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 60px;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: zoomIn 0.8s ease-out;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(10, 14, 39, 0.8) 0%,
		rgba(123, 58, 237, 0.3) 50%,
		rgba(236, 72, 153, 0.2) 100%
	);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
	font-size: 3.2rem;
	font-weight: 800;
	margin: 0 0 12px;
	background: linear-gradient(135deg, #fff, #a78bfa);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.3rem;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 32px;
	letter-spacing: 1px;
}

.hero-ctas {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent-primary), #ec4899);
	color: #fff;
	box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(167, 139, 250, 0.4);
}

.btn-secondary:hover {
	background: rgba(167, 139, 250, 0.1);
	border-color: rgba(167, 139, 250, 0.8);
	transform: translateY(-3px);
}

/* ========== FEATURED CARD (LIVE) ========== */
.featured-card {
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(236, 72, 153, 0.05));
	border: 1px solid rgba(167, 139, 250, 0.2);
	border-radius: var(--radius);
	overflow: hidden;
	animation: fadeInUp 0.8s ease-out 0.3s both;
	transition: all 0.3s ease;
	margin: 40px auto;
	max-width: 700px;
}

.featured-card:hover {
	border-color: rgba(167, 139, 250, 0.4);
	box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2);
}

.card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h2 {
	margin: 0;
	font-size: 1.4rem;
}

.live-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #ec4899, #f43f5e);
	color: #fff;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.9rem;
	animation: pulse 2s ease-in-out infinite;
}

.pulse {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 50%;
	animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

.card-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding: 24px;
	align-items: center;
}

.card-image {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 8px;
}

/* 2x2 thumbnail grid used on About page */
.card-image-wrapper.thumb-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-auto-flow: row;
	gap: 6px;
	height: 160px;
	padding: 6px;
	overflow: hidden;
	border-radius: 8px;
}

.card-image-wrapper.thumb-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 6px;
}

/* Slideshow styles */
.card-image-wrapper.slideshow {
	position: relative;
	padding: 0;
}

.card-image-wrapper.slideshow .slideshow-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
	border-radius: 0;
}

.card-image-wrapper.slideshow .slideshow-slide.active {
	opacity: 1;
}

@media (max-width: 640px) {
    .card-image-wrapper.thumb-grid {
        height: 120px;
        gap: 4px;
    }
}

.card-text h3 {
	margin: 0 0 12px;
	font-size: 1.5rem;
	color: #fff;
}

.card-text p {
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 1rem;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent-primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.link-arrow:hover {
	gap: 12px;
	color: var(--accent);
}

.live-card[data-status="live"] {
	border-color: rgba(236, 72, 153, 0.6);
	box-shadow: 0 0 30px rgba(236, 72, 153, 0.2);
}

/* ========== CONTENT SECTION ========== */
.content-section {
	padding: 60px 0;
	animation: fadeIn 0.8s ease-out 0.4s both;
}

.section-title {
	text-align: center;
	font-size: 2.2rem;
	margin: 0 0 48px;
	color: #fff;
	font-weight: 700;
}

.content-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.content-card {
	background: linear-gradient(135deg, var(--card), var(--card-dark));
	border: 1px solid rgba(167, 139, 250, 0.15);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all 0.4s ease;
	display: flex;
	flex-direction: column;
	animation: slideInUp 0.6s ease-out both;
}

.content-card:nth-child(2) {
	animation-delay: 0.1s;
}

.content-card:nth-child(3) {
	animation-delay: 0.2s;
}

.content-card:hover {
	transform: translateY(-8px);
	border-color: rgba(167, 139, 250, 0.4);
	box-shadow: 0 20px 48px rgba(139, 92, 246, 0.2);
}

.card-image-wrapper {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(236, 72, 153, 0.05));
}

.card-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.content-card:hover .card-image-wrapper img {
	transform: scale(1.08);
}

.card-content {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.card-content h3 {
	margin: 0 0 10px;
	font-size: 1.2rem;
	color: #fff;
}

.card-content p {
	margin: 0 0 16px;
	color: var(--muted);
	flex: 1;
}

/* ========== STATS SECTION ========== */
.stats-section {
	padding: 60px 0;
	margin: 60px auto;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	width: 92%;
	max-width: var(--max-width);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.stat-card {
	text-align: center;
	padding: 32px 24px;
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.05), rgba(236, 72, 153, 0.05));
	border: 1px solid rgba(167, 139, 250, 0.1);
	border-radius: var(--radius);
	transition: all 0.3s ease;
	animation: slideInUp 0.6s ease-out both;
}

.stat-card:nth-child(2) {
	animation-delay: 0.1s;
}

.stat-card:nth-child(3) {
	animation-delay: 0.2s;
}

.stat-card:hover {
	transform: translateY(-6px);
	border-color: rgba(167, 139, 250, 0.3);
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(236, 72, 153, 0.08));
}

.stat-icon {
	font-size: 2.4rem;
	color: var(--accent-primary);
	margin-bottom: 16px;
	animation: float 3s ease-in-out infinite;
}

.stat-card:nth-child(2) .stat-icon {
	animation-delay: 0.3s;
}

.stat-card:nth-child(3) .stat-icon {
	animation-delay: 0.6s;
}

.stat-card h3 {
	margin: 0 0 8px;
	font-size: 1.3rem;
	color: #fff;
}

.stat-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* ========== FOOTER ========== */
.footer {
	margin-top: 80px;
	background: linear-gradient(135deg, rgba(10, 14, 39, 0.6), rgba(18, 15, 46, 0.4));
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding: 48px 0 24px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin: 0 auto 32px;
	padding: 0 4%;
	width: 92%;
	max-width: var(--max-width);
	animation: fadeIn 0.8s ease-out 0.5s both;
}

.footer-section h3,
.footer-section h4 {
	margin: 0 0 16px;
	color: #fff;
}

/* Footer brand with avatar */
.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer-brand img.footer-avatar {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	object-fit: cover;
	border: 2px solid rgba(167, 139, 250, 0.18);
}

.footer-section h3 {
	font-size: 1.2rem;
}

.footer-section h4 {
	font-size: 1rem;
}

.footer-section p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.footer-section ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-section ul li {
	margin-bottom: 8px;
}

.footer-section a {
	color: var(--muted);
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
}

.footer-section a:hover {
	color: #fff;
	transform: translateX(4px);
}

.footer-avatars {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}

.footer-avatars img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid rgba(167, 139, 250, 0.3);
	transition: all 0.3s ease;
}

.footer-avatars img:hover {
	border-color: rgba(167, 139, 250, 0.8);
	transform: scale(1.1);
}

.footer-bottom {
	text-align: center;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	color: var(--muted);
	font-size: 0.9rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes zoomIn {
	from {
		opacity: 0;
		transform: scale(1.1);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.6;
	}
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
	.content-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-title {
		font-size: 2.6rem;
	}

	.card-body {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.navbar {
		width: 95%;
	}

	.container {
		width: 95%;
	}

	.hero {
		height: 400px;
		margin-bottom: 40px;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.content-grid,
	.stats-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.section-title {
		font-size: 1.8rem;
		margin-bottom: 32px;
	}
}

@media (max-width: 640px) {
	.hero-ctas {
		gap: 12px;
	}

	.btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}

	.logo {
		font-size: 1.1rem;
	}

	.nav-menu li a {
		padding: 10px 12px;
		font-size: 0.9rem;
	}

	.stat-card {
		padding: 24px 16px;
	}

	.stat-icon {
		font-size: 2rem;
	}
}

/* Utilities */
.muted {
	color: var(--muted);
}

/* Thumbnail grid used on About page (2x2) */
.thumb-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	height: 160px;
	padding: 6px;
	overflow: hidden;
}
.thumb-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
}

.card-image-wrapper.thumb-grid { padding: 0; }
