/* Team Cards - Athletic Style */
.team-card-athletic {
	background: var(--white);
	border-radius: 0;
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: none;
	box-shadow:
			0 10px 30px rgba(0,0,0,0.1),
			0 1px 8px rgba(0,0,0,0.2);
	clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.team-card-athletic::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--gradient-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.team-card-athletic:hover::before {
	transform: scaleX(1);
}

.team-card-athletic:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow:
			0 20px 40px rgba(0,0,0,0.2),
			0 5px 15px rgba(0,0,0,0.1);
}

/* Team Header Section */
.team-header {
	border-bottom: 1px solid rgba(0,0,0,0.05);
	transition: all 0.3s ease;
}

/* Fixed Team Icon */
.team-icon-athletic {
	width: 80px;
	height: 80px;
	background: var(--gradient-energy);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	position: relative;
	box-shadow: 0 10px 25px rgba(255,107,53,0.3);
	overflow: visible;
}

.team-icon-athletic::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 2px solid var(--basketball-orange);
	border-radius: 50%;
	opacity: 0;
	animation: pulse 2s infinite;
	pointer-events: none;
	transform-origin: center;
}

@keyframes pulse {
	0% {
		opacity: 0;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(1.2);
	}
	100% {
		opacity: 0;
		transform: scale(1.4);
	}
}

/* Team Expand Button */
.team-expand-btn {
	border-radius: 20px;
	padding: 8px 20px;
	font-weight: 500;
	transition: all 0.3s ease;
	border: 2px solid var(--woodley-blue);
	color: var(--woodley-blue);
}

.team-expand-btn:hover {
	background: var(--woodley-blue);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.expand-icon {
	transition: transform 0.3s ease;
}

/* Team Roster Section */
.team-roster {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-roster-content {
	padding: 1.5rem;
}

.roster-header {
	border-bottom: 2px solid var(--woodley-blue);
	padding-bottom: 0.5rem;
}

/* Players Grid */
.players-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

/* Individual Player Card */
.player-card {
	background: white;
	border-radius: 12px;
	padding: 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	transition: all 0.3s ease;
	border: 1px solid rgba(0,0,0,0.1);
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.player-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
	border-color: var(--basketball-orange);
}

/* Circular Player Photo */
.player-photo {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	border: 3px solid var(--gradient-primary);
	background: var(--gradient-primary);
	flex-shrink: 0;
}

.player-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.player-photo:hover img {
	transform: scale(1.1);
}

/* Player Information */
.player-info {
	flex: 1;
	min-width: 0; /* Prevents flex item from overflowing */
}

.player-name {
	font-family: 'Bebas Neue', cursive;
	font-size: 1.1rem;
	color: var(--charcoal);
	margin-bottom: 0.25rem;
	letter-spacing: 1px;
}

.player-position {
	color: var(--woodley-blue);
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.25rem;
}

.player-experience {
	color: var(--basketball-orange);
	font-size: 0.8rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.player-description {
	color: #666;
	font-size: 0.85rem;
	line-height: 1.4;
}

/* Mobile Responsive for Teams */
@media (max-width: 768px) {
	.team-card-athletic {
		clip-path: none;
		border-radius: 8px;
	}

	.players-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.player-card {
		padding: 0.75rem;
	}

	.player-photo {
		width: 50px;
		height: 50px;
	}

	.player-name {
		font-size: 1rem;
	}

	.team-roster-content {
		padding: 1rem;
	}
}

@media (max-width: 576px) {
	.player-card {
		flex-direction: column;
		text-align: center;
		gap: 0.75rem;
	}

	.player-photo {
		width: 70px;
		height: 70px;
		margin: 0 auto;
	}
}