:root {
	/* Modern AI Theme Palette */
	--bg-dark: #0a0a12;
	--bg-card: rgba(255, 255, 255, 0.03);
	--primary-color: #00f2fe;
	/* Neon Cyan */
	--secondary-color: #ff0080;
	/* Neon Pink */
	--accent-color: #7000ff;
	/* Deep Purple */
	--text-light: #ffffff;
	--text-gray: #a0a0b0;

	/* Gradients */
	--gradient-main: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	--gradient-glow: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.15), transparent 60%);

	/* Effects */
	--glass-bg: rgba(15, 23, 42, 0.6);
	--glass-border: 1px solid rgba(255, 255, 255, 0.08);
	--shadow-glow: 0 0 20px rgba(0, 242, 254, 0.15);
	--font-main: 'Outfit', 'Inter', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-main);
	background-color: var(--bg-dark);
	background-image:
		radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.05) 0%, transparent 40%),
		radial-gradient(circle at 90% 80%, rgba(255, 0, 128, 0.05) 0%, transparent 40%);
	color: var(--text-light);
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}

/* Background Decorations */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	z-index: -1;
	pointer-events: none;
}

/* Header & Nav - Glassmorphism */
header {
	background-color: var(--glass-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: var(--glass-border);
}

nav {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	padding: 5px 0;
}

.logo-img {
	height: 100px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.3));
	transition: transform 0.3s ease;
}

.logo:hover .logo-img {
	transform: scale(1.05);
}

.nav-links {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.nav-links a {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
	font-size: 0.95rem;
}

.nav-links a.active {
	color: var(--text-gray);
}

.nav-links a:hover {
	color: var(--primary-color);
}

.nav-links a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -4px;
	left: 0;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}

.nav-links a:hover::after {
	width: 100%;
}

/* Hero Section */
.hero {
	text-align: center;
	padding: 8rem 2rem 6rem;
	position: relative;
}

.hero::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 600px;
	height: 600px;
	background: var(--gradient-glow);
	z-index: -1;
	filter: blur(50px);
}

.hero h1 {
	font-size: 4rem;
	margin-bottom: 1.5rem;
	line-height: 1.1;
	font-weight: 800;
	background: linear-gradient(to bottom right, #fff, #a0a0b0);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero p {
	font-size: 1.3rem;
	color: var(--text-gray);
	max-width: 600px;
	margin: 0 auto 2.5rem;
}

/* News Grid */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
	flex: 1;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2.5rem;
}

.card {
	background-color: var(--bg-card);
	border-radius: 1.5rem;
	overflow: hidden;
	border: var(--glass-border);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent);
	pointer-events: none;
}

.card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 242, 254, 0.1);
	border-color: rgba(0, 242, 254, 0.3);
}

.card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card:hover img {
	transform: scale(1.05);
}

.card-content {
	padding: 2rem;
}

.card-title {
	font-size: 1.5rem;
	margin-bottom: 0.8rem;
	color: var(--text-light);
	font-weight: 700;
}

.card-text {
	color: var(--text-gray);
	font-size: 1rem;
	margin-bottom: 1.5rem;
}

.card-date {
	font-size: 0.85rem;
	color: var(--secondary-color);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 0.5rem;
	display: block;
}

/* Global Buttons */
.btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	border-radius: 50px;
	background: var(--gradient-main);
	color: #000;
	border: none;
	cursor: pointer;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: none;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
	color: var(--primary-color);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-light);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: none;
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
	color: var(--primary-color);
	text-align: center;
	color: var(--text-gray);
	margin-top: auto;
	border-top: var(--glass-border);
}

/* Mobile */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.8rem;
	}

	nav {
		flex-direction: column;
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.nav-links {
		flex-direction: column;
		width: 100%;
		gap: 1rem;
	}

	.nav-links a {
		width: 100%;
		text-align: center;
		padding: 0.5rem;
	}
}

/* Forms */
.form-container {
	background: var(--bg-card);
	padding: 2rem;
	border-radius: 1.5rem;
	border: var(--glass-border);
	margin: 0 auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
	margin-bottom: 1.5rem;
}

label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--text-light);
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.8rem;
	color: var(--text-light);
	font-family: var(--font-main);
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-control:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
	background: rgba(0, 0, 0, 0.4);
}

/* Carousel */
.carousel-track {
	display: flex;
	overflow-x: auto;
	gap: 2rem;
	padding: 1rem;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	/* Firefox */
}

.carousel-track::-webkit-scrollbar {
	display: none;
	/* Chrome/Safari */
}

.app-card-mini {
	scroll-snap-align: start;
	flex: 0 0 auto;
}

/* Filter Buttons */
.filter-btn.active {
	background: var(--primary-color);
	color: #000;
	border-color: var(--primary-color);
}

.btn-sm {
	padding: 0.4rem 1rem !important;
	font-size: 0.85rem !important;
}
/* Smaller Grid for Apps */
#apps-grid {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}

/* Footer */
footer {
	text-align: center;
	padding: 2rem;
	margin-top: 4rem;
	color: var(--text-gray);
	border-top: var(--glass-border);
}
