@media (max-width: 576px) {
	.hero-section {
		padding-top: 60px;
	}

	.hero-title {
		font-size: 2.5rem;
		margin-top: 30px;
		margin-bottom: 15px;
	}

	.hero-subtitle {
		font-size: 1.2rem;
		margin-bottom: 1rem;
	}

	.hero-widgets-container {
		min-height: 300px;
		margin-top: 15px;
		gap: 0.8rem;
	}

	.upcoming-games-section {
		margin-top: 10px;
	}

	.upcoming-games-section h3 {
		font-size: 1.5rem;
		margin-bottom: 15px;
	}

	.next-game-widget {
		padding: 12px;
		min-height: 180px;
	}

	.next-game-matchup {
		gap: 8px;
		flex-direction: column;
		min-height: auto;
	}

	.next-game-team {
		width: 80px;
		min-height: 80px;
		gap: 4px;
	}

	.next-game-team-logo {
		width: 60px;
		height: 60px;
	}

	.next-game-team-name {
		font-size: 0.8rem;
		max-width: 80px;
		height: 28px;
		margin-top: 0;
		word-break: normal;
		overflow-wrap: break-word;
		hyphens: none;
	}

	.next-game-vs {
		font-size: 1.4rem;
		transform: rotate(90deg);
		margin-top: 0;
	}

	.carousel-item .row .col-md-4 {
		flex: 0 0 calc(100% - 10px);
		max-width: calc(100% - 10px);
		margin: 5px auto;
	}

	.upcoming-game-card {
		height: 100px;
		padding: 8px;
	}

	.upcoming-game-teams {
		gap: 6px;
		min-height: 50px;
	}

	.carousel-team-info {
		width: 40px;
		min-height: 50px;
	}

	.carousel-team-logo {
		width: 20px;
		height: 20px;
	}

	.carousel-team-name {
		font-size: 0.55rem;
		max-width: 40px;
		height: 22px;
		word-break: normal;
		overflow-wrap: break-word;
		hyphens: none;
	}

	.carousel-vs {
		font-size: 0.9rem;
		margin-top: 6px;
	}

	.btn-join-modern {
		padding: 12px 25px;
		font-size: 1rem;
		margin-top: 20px;
	}

	.next-game-cta {
		margin-top: 12px;
	}

	.next-game-cta .btn {
		font-size: 0.7rem;
		padding: 4px 8px;
		opacity: 0.7;
	}
}

.hero-section {
	background: linear-gradient(135deg, rgba(0,102,204,0.7), rgba(0,204,102,0.7)), url('/assets/images/home_background.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: relative;
	min-height: 82vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-top: 100px;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 30%, rgba(255,107,53,0.1) 70%), radial-gradient(circle at 20% 80%, rgba(0,102,204,0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(0,204,102,0.3) 0%, transparent 50%);
}

.hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero-content .row:first-child {
	margin-bottom: 0;
}

.hero-content .row:last-child {
	margin-top: 9px !important;
}

.hero-title {
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 800;
	color: var(--white) !important;
	margin-bottom: 0.8rem;
}

@media (min-width: 991px) {
	.hero-title {
		margin-top: 60px;
		margin-bottom: 25px;
		font-size: 63px;
	}
}

.hero-subtitle {
	font-size: 1.4rem;
	font-weight: 300;
	color: rgba(255,255,255,0.9);
	max-width: 600px;
	margin: 0 auto 1.5rem;
}

.btn-join-modern {
	background: rgba(255, 255, 255, 0.15);
	color: var(--white);
	border: 2px solid rgba(255, 255, 255, 0.3);
	padding: 15px 30px;
	font-weight: 600;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 50px;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.btn-join-modern:hover {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--white);
	transform: translateY(-2px);
}

.btn-join-modern i {
	font-size: 1.2rem;
}

.hero-widgets-container {
	min-height: 450px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 30px;
}

#next-game-widget {
	min-height: 100px;
	margin-bottom: 20px;
}

.next-game-widget {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 15px;
	padding: 20px;
	text-align: center;
	color: var(--white);
	margin-bottom: 1.5rem;
	min-height: 250px;
}

.next-game-widget h4 {
	color: var(--white);
	margin-bottom: 15px !important;
	margin-top: 7px;
}

.next-game-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.next-game-matchup {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 25px;
	flex-wrap: wrap;
	min-height: 140px;
}

.next-game-team {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	width: 120px;
	min-height: 140px;
}

.next-game-team-logo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid rgba(255, 255, 255, 0.3);
	background-color: rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
	flex-shrink: 0;
	margin-top: 0;
}

.next-game-team-logo:hover {
	transform: scale(1.05);
	border-color: var(--basketball-orange);
}

.next-game-team-name {
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	opacity: 0.9;
	text-align: center;
	line-height: 1.2;
	max-width: 120px;
	word-break: normal;
	overflow-wrap: break-word;
	white-space: normal;
	hyphens: none;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
}

.next-game-vs {
	font-family: 'Bebas Neue', cursive;
	font-size: 2.2rem;
	color: var(--basketball-orange);
	align-self: center;
	margin-top: 35px;
}

.next-game-details {
	font-size: 1rem;
	opacity: 0.9;
	line-height: 1.6;
}

.next-game-description {
	padding: 20px 25px 16px 25px;
	font-style: italic;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	position: relative;
	transition: all 0.3s ease;
}

.next-game-description::before {
	content: '"';
	position: absolute;
	top: 13px;
	left: 8px;
	font-size: 2.2rem;
	color: var(--basketball-orange);
	font-family: 'Bebas Neue', cursive;
	opacity: 0.7;
	line-height: 1;
}

.next-game-description::after {
	content: '"';
	position: absolute;
	bottom: -10px;
	right: 12px;
	font-size: 2.2rem;
	color: var(--basketball-orange);
	font-family: 'Bebas Neue', cursive;
	opacity: 0.7;
	line-height: 1;
}

.next-game-description:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-1px);
}

.next-game-cta {
	margin-top: 15px;
}

.upcoming-games-section {
	min-height: 280px;
	margin-top: 20px;
}

.upcoming-games-section h3 {
	font-family: 'Bebas Neue', cursive;
	letter-spacing: 2px;
	margin-bottom: 20px;
}

#upcoming-games-carousel {
	min-height: 240px;
}

#upcoming-games-carousel .carousel-inner {
	min-height: 240px;
}

.upcoming-games-carousel {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 15px;
	padding: 15px;
	backdrop-filter: blur(10px);
	position: relative;
	margin: 0 30px;
	min-height: 180px;
}

.carousel-item .row {
	margin: 0;
}

.upcoming-game-card {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	padding: 15px;
	margin: 0 5px;
	color: var(--white);
	transition: all 0.3s ease;
	height: 180px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.upcoming-game-card:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-3px);
}

.upcoming-game-teams {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 10px;
	min-height: 80px;
}

.carousel-team-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	width: 60px;
	min-height: 80px;
}

.carousel-team-logo {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background-color: rgba(255, 255, 255, 0.1);
	flex-shrink: 0;
	margin-top: 0;
}

.carousel-team-name {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	opacity: 0.9;
	text-align: center;
	line-height: 1.1;
	max-width: 60px;
	word-break: normal;
	overflow-wrap: break-word;
	white-space: normal;
	hyphens: none;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
}

.carousel-vs {
	font-family: 'Bebas Neue', cursive;
	font-size: 1.2rem;
	color: var(--basketball-orange);
	align-self: center;
	margin-top: 15px;
	position: relative;
	top: -13px;
}

.upcoming-game-meta {
	font-size: 0.8rem;
	opacity: 0.8;
	margin-bottom: 5px;
	text-align: center;
	flex-shrink: 0;
}

.upcoming-game-badge {
	font-size: 0.7rem;
	padding: 2px 8px;
}

.carousel-control-prev,
.carousel-control-next {
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
	border: 2px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	z-index: 10;
}

.carousel-control-prev {
	left: -40px;
}

.carousel-control-next {
	right: -40px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	width: 20px;
	height: 20px;
}

@media (max-width: 1199px) {
	.upcoming-games-carousel {
		margin: 0 20px;
	}

	.carousel-control-prev {
		left: -30px;
	}

	.carousel-control-next {
		right: -30px;
	}
}

@media (max-width: 991px) {
	.hero-section {
		padding-top: 80px;
	}

	.hero-widgets-container {
		min-height: 400px;
		margin-top: 25px;
		gap: 1.2rem;
	}

	.upcoming-games-section {
		margin-top: 15px;
	}

	.upcoming-games-carousel {
		margin: 0 10px;
		min-height: 160px;
	}

	.carousel-control-prev,
	.carousel-control-next {
		display: none;
	}

	.next-game-widget {
		min-height: 220px;
		padding: 18px;
	}

	.next-game-matchup {
		gap: 18px;
		min-height: 125px;
	}

	.next-game-team {
		width: 100px;
		min-height: 125px;
	}

	.next-game-team-logo {
		width: 70px;
		height: 70px;
		border-width: 2px;
	}

	.next-game-team-name {
		max-width: 100px;
		height: 42px;
		font-size: 0.9rem;
		word-break: normal;
		overflow-wrap: break-word;
		hyphens: none;
	}

	.next-game-vs {
		font-size: 1.8rem;
		margin-top: 30px;
	}

	.carousel-team-info {
		width: 50px;
		min-height: 70px;
	}

	.carousel-team-logo {
		width: 25px;
		height: 25px;
	}

	.carousel-team-name {
		font-size: 0.65rem;
		max-width: 50px;
		height: 28px;
		word-break: normal;
		overflow-wrap: break-word;
		hyphens: none;
	}

	.carousel-vs {
		font-size: 1rem;
		margin-top: 12px;
	}

	.carousel-controls-mobile {
		text-align: center;
		margin-top: 20px;
		padding: 0 20px;
		margin-bottom: 22px;
	}

	.carousel-controls-mobile .btn {
		background: rgba(255, 255, 255, 0.15);
		border: 1px solid rgba(255, 255, 255, 0.3);
		color: var(--white);
		backdrop-filter: blur(10px);
		border-radius: 25px;
		padding: 8px 16px;
		font-size: 0.85rem;
		transition: all 0.3s ease;
	}

	.carousel-controls-mobile .btn:hover {
		background: rgba(255, 255, 255, 0.25);
		border-color: rgba(255, 255, 255, 0.5);
		color: var(--white);
	}
}

@media (max-width: 768px) {
	#page-title {
		display: none;
	}

	.hero-subtitle {
		margin-top: 70px;
	}

	.hero-section {
		padding-top: 70px;
		background-attachment: scroll;
	}

	.hero-title {
		font-size: 3rem;
		margin-top: 40px;
		margin-bottom: 20px;
	}

	.hero-subtitle {
		margin-bottom: 1.2rem;
	}

	.hero-widgets-container {
		min-height: 350px;
		margin-top: 20px;
		gap: 1rem;
	}

	.upcoming-games-section {
		margin-top: 15px;
	}

	.upcoming-games-carousel {
		margin: 0;
		min-height: 140px;
		padding: 12px;
	}

	.upcoming-game-card {
		margin: 0 2px;
		height: 158px;
		padding: 10px;
	}

	.carousel-item .row .col-md-4 {
		flex: 0 0 calc(50% - 10px);
		max-width: calc(50% - 10px);
		margin: 5px;
	}

	.upcoming-game-meta {
		font-size: 0.75rem;
	}

	.next-game-widget {
		padding: 15px;
		margin-bottom: 1rem;
		min-height: 200px;
	}

	.next-game-matchup {
		min-height: 120px;
		gap: 8px !important;
		align-items: flex-end;
		display: flex;
		justify-content: center;
	}

	.next-game-team {
		width: 90px;
		height: 110px;
		gap: 6px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		position: relative;
	}

	.next-game-team:first-of-type {
		top: 13px;
	}

	.next-game-team-logo {
		width: 70px;
		height: 70px;
		flex-shrink: 0;
		position: absolute;
		bottom: 38px;
	}

	.next-game-team-name {
		font-size: 0.85rem;
		max-width: 90px;
		height: auto;
		min-height: 32px;
		margin-top: 0;
		word-break: normal;
		overflow-wrap: break-word;
		hyphens: none;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		line-height: 1.2;
		position: absolute;
		bottom: 0;
	}

	.next-game-vs {
		margin-top: 15px;
		font-size: 1.6rem;
		align-self: center;
	}

	.next-game-details {
		font-size: 0.85rem;
	}

	.next-game-description {
		padding: 18px 22px 14px 22px;
		font-size: 0.88rem;
		margin-top: 18px;
	}

	.next-game-description::before {
		top: 1px;
		left: 6px;
		font-size: 2rem;
	}

	.next-game-description::after {
		bottom: -1px;
		right: 6px;
		font-size: 2rem;
	}

	.upcoming-game-teams {
		gap: 8px;
		min-height: 65px;
	}

	.carousel-team-info {
		width: 45px;
		min-height: 65px;
	}

	.carousel-team-logo {
		width: 22px;
		height: 22px;
	}

	.carousel-team-name {
		font-size: 0.6rem;
		max-width: 45px;
		height: 26px;
		word-break: normal;
		overflow-wrap: break-word;
		hyphens: none;
	}

	.carousel-vs {
		margin-top: 10px;
	}

	.next-game-cta {
		margin-top: 12px;
	}

	.next-game-cta .btn {
		font-size: 0.75rem;
		padding: 6px 12px;
		opacity: 0.8;
		border-color: rgba(255, 255, 255, 0.2);
		background: rgba(255, 255, 255, 0.05);
	}

	.next-game-cta .btn:hover {
		opacity: 1;
		background: rgba(255, 255, 255, 0.1);
	}
}