@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

:root {
	--primary-color: #ff0000;
	--secondary-color: #ff3333;
	--background-dark: #0f1729;
	--background-light: #1a2436;
	--text-color: #ffffff;
	--card-background: rgba(255, 255, 255, 0.05);
	--hover-color: #ff1a1a;
	--border-color: rgba(255, 0, 0, 0.1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Jura", sans-serif;
	background-color: var(--background-dark);
	color: var(--text-color);
	line-height: 1.6;
}

/* Navigation Styles - Updated */
.top-navbar {
	position: fixed;
	top: 0;
	left: 250px;
	width: calc(100% - 250px);
	height: 60px;
	background: var(--background-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.menu-toggle, 
.sidebar-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text-color);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.5rem;
	transition: all 0.3s ease;
	z-index: 1001;
}

/* Top Navbar Styles */
.top-nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 1200px;
}

.top-nav-links a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-color);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s ease;
	padding: 0.5rem 1rem;
}

.top-nav-links a i {
	font-size: 1rem;
}

.top-nav-links a:hover,
.top-nav-links a.active {
	color: var(--primary-color);
}

/* Adjust main content margin for new navbar height */
.main-content {
	margin-left: 250px;
	margin-top: 60px;
	padding: 2rem;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
	.top-navbar {
		left: 0;
		width: 100%;
		justify-content: flex-start;
		padding: 0 1rem;
	}

	.menu-toggle, 
	.sidebar-toggle {
		display: block;
	}

	.top-nav-links {
		position: fixed;
		top: 60px;
		right: -100%;
		width: 250px;
		height: calc(100vh - 60px);
		background: var(--background-dark);
		flex-direction: column;
		padding: 1rem;
		transition: all 0.3s ease;
		box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
	}

	.top-nav-links.active {
		right: 0;
	}

	.sidebar {
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}

	.sidebar.active {
		transform: translateX(0);
	}

	.sidebar-toggle {
		position: fixed;
		left: 10px;
		top: 15px;
	}

	.menu-toggle {
		position: fixed;
		right: 10px;
		top: 15px;
	}

	.main-content {
		margin-left: 0;
		margin-top: 60px;
		width: 100%;
	}

	.sidebar-brand img {
		width: 60px;
		height: 60px;
	}
}

/* Sidebar Styles */
.sidebar {
	position: fixed;
	top: 60px;
	left: 0;
	width: 250px;
	height: calc(100vh - 60px);
	background: var(--background-dark);
	padding: 2rem 0;
	border-right: 1px solid var(--border-color);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) var(--background-dark);
	z-index: 1000;
}

.sidebar::-webkit-scrollbar {
	width: 8px;
}

.sidebar::-webkit-scrollbar-track {
	background: var(--background-dark);
}

.sidebar::-webkit-scrollbar-thumb {
	background-color: var(--primary-color);
	border-radius: 4px;
	border: 2px solid var(--background-dark);
}

.sidebar-brand {
	text-align: center;
	padding: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--border-color);
}

.sidebar-brand img {
	width: 130px;
	height: 130px;
	margin: 0 auto;
	transition: transform 0.3s ease;
}

.sidebar-brand img:hover {
	transform: scale(1.1);
}

@media (max-width: 768px) {
	.sidebar-brand img {
		width: 50px;
		height: 50px;
	}
}

.nav-brand {
	padding: 0 2rem;
	margin-bottom: 3rem;
	text-align: center;
}

.nav-brand img {
	width: 80px;
	height: 80px;
	margin-bottom: 1rem;
}

.nav-brand h1 {
	color: var(--text-color);
	font-size: 1.5rem;
	font-weight: 700;
}

.nav-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-links li {
	margin-bottom: 0.5rem;
}

.nav-links a {
	display: block;
	padding: 1rem 2rem;
	color: var(--text-color);
	text-decoration: none;
	transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
	background: var(--primary-color);
	color: white;
}

.nav-footer {
	border-top: 1px solid var(--border-color);
	padding-top: 1rem;
}

/* Hero Section */
.hero {
	height: 100vh;
	background: linear-gradient(rgba(15, 23, 41, 0.9), rgba(15, 23, 41, 0.9)), url('https://via.placeholder.com/1920x1080') center/cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-left: 2rem;
}

.hero-content {
	padding: 2rem;
	animation: fadeIn 1s ease-out;
}

.hero-content h1 {
	font-size: 4rem;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--primary-color);
}

/* Section Styles */
.section {
	padding: 5rem 2rem;
	background-color: var(--background-light);
}

.section h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: var(--secondary-color);
}

/* Card Styles */
.card-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	padding: 0 1rem;
}

.card {
	background: var(--card-background);
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.card-image {
	height: 200px;
	background-size: cover;
	background-position: center;
}

.card-content {
	padding: 1.5rem;
}

.card-content h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.card-content ul {
	list-style: none;
	margin-top: 1rem;
}

.card-content ul li {
	margin-bottom: 0.5rem;
	color: #cccccc;
}

/* Vehicle Section Styles */
.vehicle-filters {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

.filter-btn {
	background: none;
	border: 2px solid var(--primary-color);
	color: var(--text-color);
	padding: 0.5rem 1.5rem;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
	background-color: var(--primary-color);
	color: var(--background-dark);
}

.vehicle-stats {
	display: flex;
	justify-content: space-between;
	margin: 1rem 0;
}

.view-btn {
	width: 100%;
	padding: 0.8rem;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.view-btn:hover {
	background-color: var(--hover-color);
}

/* Features Section */
.features-section {
	background-color: var(--background-dark);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	padding: 2rem;
	max-width: 1400px;
	margin: 0 auto;
}

.feature-card {
	background: var(--background-light);
	border-radius: 15px;
	padding: 2rem;
	text-align: center;
	transition: transform 0.3s ease;
	height: 100%;
}

.feature-card:hover {
	transform: translateY(-10px);
}

.feature-card i {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
}

.feature-card h3 {
	color: var(--text-color);
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.feature-card p {
	color: var(--text-muted);
	font-size: 1rem;
	line-height: 1.6;
}

/* Donator Section Styles */
.donator-section {
	background-color: var(--background-dark);
	padding: 4rem 2rem;
}

.premium-tiers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin: 3rem 0;
}

.vip-tier {
	background: var(--background-light);
	border-radius: 15px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	box-shadow: 0 5px 15px rgba(255, 0, 0, 0.1);
}

.vip-tier:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.vip-tier.featured {
	transform: scale(1.05);
	border: 2px solid var(--primary-color);
}

.featured-tag {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: var(--primary-color);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
	z-index: 1;
	box-shadow: 0 2px 10px rgba(255, 0, 0, 0.3);
}

/* Premium Tier Headers */
.tier-header.divine {
	background: linear-gradient(135deg, #FFD700, #FF0000);
	position: relative;
	overflow: hidden;
}

.tier-header.divine::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2));
	animation: shine 2s infinite;
}

.tier-header.ancient {
	background: linear-gradient(135deg, #800000, #FF0000);
}

.tier-header.legend {
	background: linear-gradient(135deg, #FF4500, #FF0000);
}

/* Tier Content Styles */
.tier-content {
	padding: 2rem;
}

.benefits-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem 0;
}

.benefits-list li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	color: var(--text-color);
}

.benefits-list li i {
	color: #00ff00;
	font-size: 1.1rem;
}

.donate-btn {
	width: 100%;
	padding: 1rem;
	border: none;
	border-radius: 8px;
	background: var(--primary-color);
	color: white;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.donate-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.section-header {
	text-align: center;
	margin-bottom: 4rem;
	margin-top: 2rem;
}

.section-header h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	background: linear-gradient(45deg, var(--primary-color), #ff6b6b);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.section-header p {
	color: var(--text-color);
	font-size: 1.2rem;
	opacity: 0.8;
}

.infogangs {
	color: var(--hover-color);
}

/* Sub-tier Styles */
.sub-tiers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
	justify-items: center;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.sub-tier {
	width: 100%;
	max-width: 300px;
}

.sub-tier.herald-tier {
	grid-column: 1 / -1;
	max-width: 280px;
	margin: 2rem auto 0;
}

/* Sub-tier Headers */
.tier-header.archon {
	background: linear-gradient(135deg, #4B0082, #800080);
}

.tier-header.crusader {
	background: linear-gradient(135deg, #483D8B, #4169E1);
}

.tier-header.guardian {
	background: linear-gradient(135deg, #2F4F4F, #20B2AA);
}

.tier-header.herald {
	background: linear-gradient(135deg, #2F4F4F, #778899);
}

.tier-header {
	padding: 2rem;
	text-align: center;
	color: white;
}

.tier-header i {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.tier-header h3 {
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.price {
	font-size: 2.5rem;
	font-weight: bold;
	margin-top: 1rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.donate-btn.divine-btn {
	background: linear-gradient(45deg, #FFD700, #FF0000);
	box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.donate-btn.ancient-btn {
	background: linear-gradient(45deg, #800000, #FF0000);
	box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

.donate-btn.legend-btn {
	background: linear-gradient(45deg, #FF4500, #FF0000);
	box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

/* Animation */
@keyframes shine {
	0% {
		transform: translateX(-100%) rotate(45deg);
	}

	20%,
	100% {
		transform: translateX(100%) rotate(45deg);
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.premium-tiers {
		grid-template-columns: 1fr;
		padding: 1rem;
	}

	.sub-tiers {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.vip-tier.featured {
		transform: scale(1);
	}

	.tier-header h3 {
		font-size: 1.5rem;
	}

	.price {
		font-size: 2rem;
	}
}

/* Responsive Features adjustments */
@media (max-width: 1200px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.sidebar {
		width: 80px;
	}

	.nav-brand {
		padding: 0 1rem;
	}

	.nav-brand img {
		width: 50px;
		height: 50px;
	}

	.nav-brand h1 {
		display: none;
	}

	.nav-links a span {
		display: none;
	}

	.nav-links a {
		padding: 1rem;
		justify-content: center;
	}

	.main-content {
		margin-left: 80px;
	}

	.features-grid {
		grid-template-columns: 1fr;
		padding: 1rem;
	}
}

/* Footer Styles */
footer {
	background-color: var(--background-dark);
	padding: 2rem;
	text-align: center;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
}

.social-links {
	margin-top: 1rem;
}

.social-links a {
	color: var(--text-color);
	font-size: 1.5rem;
	margin: 0 1rem;
	transition: color 0.3s ease;
}

.social-links a:hover {
	color: var(--primary-color);
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 1001;
	backdrop-filter: blur(5px);
	overflow-y: auto;
	/* Enable vertical scrolling */
	padding: 20px;
}

.modal-content {
	position: relative;
	background-color: var(--background-light);
	margin: 20px auto;
	padding: 20px;
	width: 80%;
	max-width: 1000px;
	border-radius: 15px;
	box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
	animation: modalSlideIn 0.3s ease-out;
	max-height: calc(100vh - 40px);
	/* Account for padding */
	overflow-y: auto;
	/* Enable scrolling for long content */
}

.modal-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	padding-right: 10px;
	/* Add padding for scrollbar */
}

/* Custom Scrollbar */
.modal-content::-webkit-scrollbar {
	width: 8px;
}

.modal-content::-webkit-scrollbar-track {
	background: var(--background-dark);
	border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
	background: var(--hover-color);
}

/* Ensure close button stays visible */
.close-modal {
	position: sticky;
	top: 0;
	right: 20px;
	float: right;
	font-size: 30px;
	color: var(--text-color);
	cursor: pointer;
	transition: color 0.3s ease;
	z-index: 1002;
	background-color: var(--background-light);
	padding: 5px 10px;
	border-radius: 50%;
}

/* Responsive Modal adjustments */
@media (max-width: 768px) {
	.modal {
		padding: 10px;
	}

	.modal-content {
		width: 95%;
		margin: 10px auto;
		max-height: calc(100vh - 20px);
	}

	.modal-body {
		grid-template-columns: 1fr;
		padding-right: 5px;
	}

	.vehicle-image {
		height: 200px;
	}
}

.vehicle-image {
	width: 100%;
	height: 300px;
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	border: 2px solid var(--secondary-color);
}

.vehicle-details {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.specs ul,
.features ul {
	list-style: none;
	padding: 0;
}

.specs li,
.features li {
	margin: 10px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.specs i {
	color: var(--secondary-color);
	width: 20px;
}

.price {
	font-size: 2rem;
	color: var(--primary-color);
	margin: 10px 0;
}

.tier-h5 {
	font-size: 1rem;
	color: #ff5100;
	margin: 10px 0;
	margin-bottom: 1rem;
}

.purchase-btn {
	background-color: var(--primary-color);
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-size: 1.1rem;
}

.purchase-btn:hover {
	background-color: var(--hover-color);
}

@keyframes modalSlideIn {
	from {
		transform: translateY(-100px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.sidebar {
		width: 80px;
		padding: 1rem 0.5rem;
	}

	.nav-brand {
		padding-bottom: 1rem;
	}

	.logo-img {
		height: 50px;
		width: 50px;
	}

	.logo {
		display: none;
	}

	.nav-link span {
		display: none;
	}

	.nav-link {
		justify-content: center;
		padding: 0.8rem;
	}

	.nav-link i {
		font-size: 1.5rem;
		margin: 0;
	}

	.main-content {
		margin-left: 80px;
	}

	.hero-content h1 {
		font-size: 2.5rem;
	}

	.section {
		padding: 3rem 1rem;
	}

	.card-container {
		grid-template-columns: 1fr;
	}
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

.back-button {
	font-family: sans-serif;
	font-weight: 400;
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 10px 20px;
	font-size: 1rem;
	color: #fff;
	background-color: transparent;
	border: 2px solid #ff0000;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.back-button:hover {
	background-color: #ff0000;
}

@media (max-width: 768px) {
	.sidebar {
		transform: translateX(-100%);
		width: 250px;
	}

	.sidebar.active {
		transform: translateX(0);
	}

	.main-content {
		margin-left: 0;
	}

	.nav-brand h1 {
		font-size: 1.2rem;
	}

	.nav-links a {
		padding: 0.8rem 1.5rem;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.vehicle-filters {
		flex-direction: column;
		align-items: stretch;
	}

	.filter-btn {
		width: 100%;
		text-align: center;
	}

	.vehicle-stats {
		flex-direction: column;
		text-align: center;
	}
}

/* Tablet and Small Desktop */
@media (min-width: 769px) and (max-width: 1024px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.card-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Large Desktop */
@media (min-width: 1025px) {
	.features-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.card-container {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Animation */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Ensure smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Improved accessibility for focus states */
button:focus,
a:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Print styles */
@media print {
	.sidebar {
		display: none;
	}

	.main-content {
		margin-left: 0;
	}

	.hero {
		height: auto;
		padding: 2rem;
	}
}

.gallery-section {
	padding: 4rem 2rem;
	background: #101622;
}

.gallery-section .section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
	max-width: 1400px;
	margin: 0 auto;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.gallery-item:hover {
	transform: scale(1.02);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16/9;
}

.gallery-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
	opacity: 1;
}

.gallery-item .caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem;
	color: white;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	z-index: 1;
}

.gallery-item:hover .caption {
	transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 1rem;
	}

	.gallery-section {
		padding: 3rem 1rem;
	}
}

@media (max-width: 480px) {
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.gallery-section {
		padding: 2rem 0.5rem;
	}
}

.gangs-section {
	padding: 4rem 2rem;
	background: linear-gradient(to bottom, #1a1f2e, #1a1f2e);
}

.gangs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}

.gang-card {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 15px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(255, 0, 0, 0.1);
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}

.gang-card.center-card {
	grid-column: 1 / -1;
	max-width: 400px;
	justify-self: center;
	margin-top: 2rem;
}

.gang-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.gang-image {
	width: 100%;
	height: auto;
	overflow: hidden;
}

.gang-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.gang-card:hover .gang-image img {
	transform: scale(1.1);
}

.gang-content {
	padding: 1.5rem;
}

.gang-content h3 {
	color: var(--primary-color);
	font-size: 1.5rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.gang-content p {
	color: var(--text-color);
	margin-bottom: 1.5rem;
	line-height: 1.6;
	opacity: 0.9;
}

.more-info-btn {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	background: linear-gradient(45deg, var(--primary-color), #ff6b6b);
	color: white;
	text-decoration: none;
	border-radius: 5px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-info-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Responsive adjustments for gang section */
@media (max-width: 768px) {
	.gangs-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.gang-card {
		max-width: 500px;
		margin: 0 auto;
	}

	.gang-image {
		height: 200px;
	}
}

.center-card {
	align-items: center;
}

.trail-dot {
	width: 8px;
	height: 8px;
	background: rgba(255, 0, 0, 0.5);
	border-radius: 50%;
	position: fixed;
	pointer-events: none;
	transform: translate(-50%, -50%);
	transition: width 0.2s, height 0.2s;
	z-index: 9999;
	mix-blend-mode: screen;
	filter: blur(1px);
}

.trail-dot:nth-child(2n) {
	background: rgba(255, 30, 30, 0.4);
	width: 6px;
	height: 6px;
}

.trail-dot:nth-child(3n) {
	background: rgba(255, 60, 60, 0.3);
	width: 4px;
	height: 4px;
}

.trail-dot:nth-child(4n) {
	background: rgba(255, 90, 90, 0.2);
	width: 3px;
	height: 3px;
}

.news-section {
	padding: 2rem 2rem;
}

.news-grid {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	max-width: 1400px;
	margin: 0 auto;
}

.news-article {
	background: #101622;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	color: #ffffff;
	transition: transform 0.3s ease;
}

.news-article:hover {
	transform: translateY(-5px);
}

.news-image {
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.news-image img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
}

.news-content {
	padding: 1.5rem;
	font-family: "Quicksand", sans-serif;
}

.news-date {
	font-size: 0.9rem;
	color: #666;
	font-style: italic;
	margin-bottom: 0.5rem;
}

.news-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
	font-family: "Quicksand", sans-serif;
	border-bottom: 2px solid #333;
	padding-bottom: 0.5rem;
}

.news-excerpt {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.read-more {
	display: inline-block;
	color: #ff0000;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.9rem;
	transition: color 0.3s ease;
}

.read-more:hover {
	color: #ff000054;
	text-decoration: underline;
}

.news-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	padding-top: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
}

.news-modal-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 90vh;
}

.close-news {
	position: absolute;
	right: 35px;
	top: 15px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
}

.close-news:hover,
.close-news:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

.news-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	padding: 20px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.9);
	overflow: auto;
}

.news-modal-content {
	margin: auto;
	display: block;
	width: auto;
	max-width: 90%;
	max-height: 90vh;
	object-fit: contain;
	animation: zoom 0.6s;
}

@keyframes zoom {
	from {
		transform: scale(0)
	}

	to {
		transform: scale(1)
	}
}

.close-news {
	position: fixed;
	right: 35px;
	top: 15px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10001;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	transition: color 0.3s ease;
}

.close-news:hover {
	color: #ff0000;
}

.news-grid {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	max-width: 1400px;
	margin: 0 auto;
}

.news-article.featured {
	width: 100%;
	background: var(--background-dark);
	border-radius: 15px;
	overflow: hidden;
}

.news-article.featured .news-image {
	width: 100%;
	height: 100vh;
}

.news-article.featured .news-image img {
	width: 100%;
	height: 100vh;
}

.news-article.featured .news-content {
	width: 100%;
	padding: 2rem;
	background: rgba(0, 0, 0, 0.2);
	color: white;
	position: static;
	/* Changed from relative/absolute */
	margin-top: -2px;
	/* Fix any potential gap */
}

/* Remove display: flex and flex-direction from featured article */
.news-article.featured {
	display: block;
}

.news-history {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.news-article.history-item {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	overflow: hidden;
	height: auto;
}

.news-article.history-item .news-image {
	height: 150px;
}

.news-article.history-item .news-image img {
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.news-article.history-item .news-content {
	padding: 1rem;
}

.news-article.history-item .news-title {
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
	.news-article.featured {
		height: 60vh;
	}

	.news-article.featured .news-image,
	.news-article.featured .news-image img {
		height: 60vh;
	}

	.news-history {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.news-history {
		grid-template-columns: 1fr;
	}

	.news-article.featured .news-image,
	.news-article.featured .news-image img {
		height: 60vh;
	}
}

/* Menu Toggle Buttons */
.menu-toggle, .sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.menu-toggle:hover, .sidebar-toggle:hover {
    color: var(--primary-color);
}

.sidebar-toggle {
    position: absolute;
    right: -40px;
    top: 10px;
    background: var(--background-dark);
    border-radius: 0 5px 5px 0;
    padding: 0.5rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .menu-toggle, .sidebar-toggle {
        display: block;
    }

    .top-navbar {
        padding: 0 1rem;
        justify-content: flex-start;
    }

    .top-nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 60px);
        background: var(--background-dark);
        flex-direction: column;
        padding: 1rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    }

    .top-nav-links.active {
        right: 0;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .sidebar-toggle.active i {
        transform: rotate(180deg);
    }
}

.favicon {
	border-radius: 100px;
}