/* Hero Section */
.scores-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 40px;
	padding: 40px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 20px;
}

.hero-title {
	font-size: 3rem;
	font-weight: 800;
	color: var(--text);
	margin-bottom: 10px;
}

.hero-subtitle {
	font-size: 1.2rem;
	color: var(--muted);
	margin-bottom: 30px;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.stat-item {
	text-align: center;
	padding: 20px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-item i {
	font-size: 2rem;
	color: var(--green);
	margin-bottom: 10px;
}

.stat-number {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text);
}

.stat-label {
	font-size: 0.9rem;
	color: var(--muted);
}

.hero-image img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Player Avatar Images */
.player-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	transition: transform 0.3s ease;
}

.player-avatar img:hover {
	transform: scale(1.05);
}

/* Podium Section */
.podium-section {
	margin-bottom: 40px;
	text-align: center;
}

.section-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 30px;
	color: var(--text);
}

.podium {
	display: flex;
	justify-content: center;
	align-items: end;
	gap: 20px;
}

.podium-place {
	text-align: center;
	padding: 20px;
	border-radius: 15px;
	background: white;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}

.podium-place:hover {
	transform: translateY(-10px);
}

.podium-place.first {
	order: 2;
	background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.podium-place.second {
	order: 1;
	background: linear-gradient(135deg, #c0c0c0 0%, #e5e5e5 100%);
}

.podium-place.third {
	order: 3;
	background: linear-gradient(135deg, #cd7f32 0%, #daa520 100%);
}

.medal {
	font-size: 3rem;
	margin-bottom: 15px;
}

.player-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 15px;
	border: 3px solid white;
	box-shadow: 0 6px 20px rgba(0,0,0,0.2);
	transition: transform 0.3s ease;
}

.player-avatar img:hover {
	transform: scale(1.1);
}

.player-info h3 {
	margin: 0 0 5px 0;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text);
}

.team {
	margin: 0 0 10px 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.goals {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--green);
}

/* No Data Section */
.no-data-section {
	text-align: center;
	padding: 80px 20px;
	color: var(--muted);
}

.no-data-content i {
	font-size: 4rem;
	margin-bottom: 20px;
	opacity: 0.5;
}

.no-data-content h3 {
	margin: 0 0 10px 0;
	color: var(--text);
}

.no-data-content p {
	margin: 0;
	font-size: 1rem;
}

/* Filters */
.scores-filters {
	background: white;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	margin-bottom: 30px;
}

.filter-controls {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.filter-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--text);
}

.filter-group select,
.filter-group input {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 0.9rem;
}

.filter-results {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

/* View Toggle */
.view-toggle-section {
	margin-bottom: 30px;
	text-align: center;
}

.view-toggle {
	display: inline-flex;
	background: white;
	padding: 5px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.view-btn {
	padding: 10px 20px;
	border: none;
	background: transparent;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.view-btn.active {
	background: var(--green);
	color: white;
}

/* Scores Grid */
.scores-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.score-card {
	background: white;
	border-radius: 15px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: transform 0.3s ease;
}

.score-card:hover {
	transform: translateY(-5px);
}

.card-header {
	position: relative;
	padding: 30px 20px;
	background: linear-gradient(135deg, var(--green) 0%, #28a745 100%);
	color: white;
	text-align: center;
}

.rank-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255,255,255,0.2);
	padding: 5px 10px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.9rem;
}

.player-avatar {
	display: flex;
	justify-content: center;
	margin-bottom: 15px;
}

.player-avatar img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid rgba(255,255,255,0.4);
	box-shadow: 0 8px 25px rgba(0,0,0,0.3);
	transition: transform 0.3s ease;
	filter: brightness(1.05) contrast(1.05);
}

.player-avatar img:hover {
	transform: scale(1.05);
	filter: brightness(1.1) contrast(1.1);
	box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.card-body {
	padding: 20px;
}

.player-name {
	margin: 0 0 5px 0;
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text);
}

.team-name {
	margin: 0 0 5px 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.position {
	margin: 0 0 20px 0;
	color: var(--green);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-bottom: 20px;
}

.stat {
	text-align: center;
}

.stat-value {
	display: block;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text);
}

.stat-label {
	font-size: 0.8rem;
	color: var(--muted);
}

.goals-per-match {
	text-align: center;
	padding: 15px;
	background: var(--light-bg);
	border-radius: 10px;
}

.gpm-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--green);
}

.gpm-label {
	font-size: 0.8rem;
	color: var(--muted);
}

.card-actions {
	padding: 15px 20px;
	background: var(--light-bg);
	display: flex;
	gap: 10px;
	justify-content: center;
}

/* Scores Table */
.scores-table-container {
	margin-bottom: 30px;
}

.scores-table {
	width: 100%;
	border-collapse: collapse;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.scores-table th {
	background: var(--green);
	color: white;
	padding: 15px;
	text-align: left;
	font-weight: 600;
}

.scores-table td {
	padding: 15px;
	border-bottom: 1px solid var(--border);
}

.scores-table tr:nth-child(even) {
	background: var(--light-bg);
}

.goals-cell {
	font-weight: 600;
	color: var(--green);
}

.actions-cell {
	display: flex;
	gap: 8px;
}

.hidden {
	display: none;
}

/* Alert styles */
.alert {
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 8px;
	border: 1px solid transparent;
}

.alert-success {
	color: #155724;
	background-color: #d4edda;
	border-color: #c3e6cb;
}

.alert-danger {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
	.scores-hero {
		grid-template-columns: 1fr;
		text-align: center;
	}
	
	.hero-title {
		font-size: 2rem;
	}
	
	.podium {
		flex-direction: column;
		align-items: center;
	}
	
	.podium-place {
		order: unset !important;
		margin-bottom: 20px;
	}
	
	.scores-grid {
		grid-template-columns: 1fr;
	}
	
	.filter-controls {
		grid-template-columns: 1fr;
	}
}
