body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
}

header.bg-black {
	height: auto;
	padding: 1rem 0;
}

.logo-header {
	max-height: 80px;
	width: auto;
	height: auto;
	max-width: 100%;
	transition: transform 0.3s ease;
}

.logo-header:hover {
	transform: scale(1.05);
}

.navbar {
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
	font-weight: 500;
	margin: 0 10px;
	transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
	color: #ffffff !important;
}

.card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: none;
	border-radius: 10px;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.card-img-top {
	border-radius: 10px 10px 0 0;
	transition: transform 0.3s ease;
}

.card .image-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	overflow: hidden;
	border-radius: 10px 10px 0 0;
}

.card .image-wrapper .card-img-top {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.card:hover .image-wrapper .card-img-top {
	transform: scale(1.05);
}

.platform-badges {
	margin-top: 10px;
}

.platform-badges .badge {
	font-size: 0.8em;
	padding: 5px 8px;
	border-radius: 15px;
}

.game-card {
	cursor: pointer;
}

a .game-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a:hover .game-card {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

a:hover .game-card .image-wrapper .card-img-top {
	transform: scale(1.05);
}

.platform-badges a.badge {
	position: relative;
	z-index: 10;
	cursor: pointer;
}

.platform-badges a.badge:hover {
	opacity: 0.8;
}

.feature-item {
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	transition: background-color 0.3s ease;
}

.feature-item:hover {
	background-color: #f8f9fa;
}

.form-control, .custom-select {
	border-radius: 8px;
	border: 1px solid #dee2e6;
	padding: 12px 15px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select.custom-select {
	height: auto;
}

.form-control:focus, .custom-select:focus {
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.bg-dark-blue {
	background-color: #003f7f;
}

/* utilities missing in Bootstrap 4 */
.bg-black {
	background-color: #000 !important;
}

.text-decoration-none {
	text-decoration: none !important;
}

.fs-3 {
	font-size: 1.75rem !important;
}

.btn {
	border-radius: 8px;
	padding: 10px 20px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-primary {
	background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
	border: none;
}

.btn-primary:hover {
	background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
	transform: translateY(-2px);
}

.btn-outline-primary {
	border-width: 2px;
}

.btn-outline-primary:hover {
	transform: translateY(-2px);
}

footer {
	margin-top: auto;
}

@media (max-width: 768px) {
	.display-4 {
		font-size: 2rem;
	}
	
	.lead {
		font-size: 1.1rem;
	}
	
	.btn-lg {
		padding: 8px 16px;
		font-size: 1rem;
	}
	
	.feature-item {
		padding: 15px;
		margin-bottom: 20px;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.card, .display-4, .lead {
	animation: fadeInUp 0.6s ease-out;
}

html {
	scroll-behavior: smooth;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: #0d6efd;
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #0056b3;
} 