:root {
	--primary-color: #00ff00;
	--light-blue: navy;
	--dark-blue: #004499;
	--white: #ffffff;
	--light-gray: #f5f8ff;
	--medium-gray: #e0e9ff;
	--text-dark: #333333;
	--success: #28a745;
	--warning: #ffc107;
	--danger: #dc3545;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background: black;/*linear-gradient(135deg, var(--light-blue) 0%, var(--white) 50%, var(--primary-color) 100%);*/
	min-height: 100vh;
	color: var(--text-dark);
	padding: 20px;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	padding: 25px;
}

header {
	text-align: center;
	margin-bottom: 30px;
	padding: 20px;
	border-radius: 10px;
	background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
	color: white;
}

h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
}

.league-selector {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin: 20px 0;
}

.league-btn {
	padding: 10px 20px;
	background: white;
	color: black;
	border: none;
	border-radius: 25px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.3s ease;
}

.league-btn:hover {
	background: var(--dark-blue);
	transform: translateY(-2px);
}

.league-btn.active {
	background: var(--dark-blue);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 25px;
	padding: 20px;
	background-color: var(--light-gray);
	border-radius: 10px;
}

.filter-group {
	flex: 1;
	min-width: 200px;
}

.filter-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: var(--primary-color);
}

.filter-group select, .filter-group input {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--medium-gray);
	border-radius: 5px;
	font-size: 1rem;
}

.search-box {
	flex: 2;
	min-width: 250px;
}

.search-box input {
	padding-left: 40px;
}

.search-container {
	position: relative;
}

.search-container i {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--medium-gray);
}

.player-stats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.player-card {
	background: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.player-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.player-header {
	padding: 15px;
	background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
	color: white;
	display: flex;
	align-items: center;
	gap: 15px;
}

.player-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--primary-color);
	font-weight: bold;
}

.player-info h3 {
	font-size: 1.3rem;
	margin-bottom: 5px;
}

.player-info p {
	font-size: 0.9rem;
	opacity: 0.9;
}

.player-details {
	padding: 15px;
}

.stats-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--light-gray);
}

.stats-row:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.stat-label {
	font-weight: bold;
	color: var(--primary-color);
}

.stat-value {
	font-weight: bold;
}

.betting-section {
	margin-top: 30px;
	padding: 20px;
	background-color: var(--light-gray);
	border-radius: 10px;
}

.betting-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.betting-header h2 {
	color: var(--primary-color);
}

.betting-options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 15px;
}

.bet-card {
	background: white;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.bet-title {
	font-weight: bold;
	margin-bottom: 10px;
	color: var(--primary-color);
}

.bet-odds {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.odds-value {
	font-weight: bold;
	font-size: 1.1rem;
}

.probability-bar {
	height: 10px;
	background-color: var(--medium-gray);
	border-radius: 5px;
	overflow: hidden;
	margin-bottom: 5px;
}

.probability-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
}

.probability-text {
	font-size: 0.85rem;
	text-align: right;
}

.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.modal-content {
	background-color: white;
	border-radius: 15px;
	width: 90%;
	max-width: 800px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
	padding: 20px;
	background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header h2 {
	margin: 0;
}

.close-btn {
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
}

.modal-body {
	padding: 20px;
}

.detail-section {
	margin-bottom: 25px;
}

.detail-section h3 {
	color: var(--primary-color);
	margin-bottom: 15px;
	border-bottom: 2px solid var(--medium-gray);
	padding-bottom: 5px;
}

.detail-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
}

.detail-item {
	background-color: var(--light-gray);
	padding: 12px;
	border-radius: 8px;
}

.detail-label {
	font-weight: bold;
	color: var(--primary-color);
	margin-bottom: 5px;
}

.chart-container {
	height: 300px;
	margin: 20px 0;
}

.footer {
	text-align: center;
	margin-top: 30px;
	padding: 20px;
	color: var(--primary-color);
	font-size: 0.9rem;
}

@media (max-width: 768px) {
	.filters {
		flex-direction: column;
	}
	
	.filter-group {
		min-width: 100%;
	}
	
	.league-selector {
		flex-wrap: wrap;
	}
	
	.betting-options {
		grid-template-columns: 1fr;
	}
}