Initial commit

This commit is contained in:
2026-07-03 12:26:01 +02:00
commit 500e1403ff
16 changed files with 3340 additions and 0 deletions
+412
View File
@@ -0,0 +1,412 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
background: #f5f5f5;
}
.dashboard-nav {
background: #e85d04;
color: white;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo {
font-size: 1.5rem;
font-weight: 700;
}
.user-info {
display: flex;
gap: 1.5rem;
align-items: center;
}
.points {
background: white;
color: #e85d04;
padding: 0.3rem 1rem;
border-radius: 20px;
font-weight: 700;
}
.btn-logout {
background: white;
color: #e85d04;
border: none;
padding: 0.5rem 1rem;
border-radius: 5px;
cursor: pointer;
font-weight: 600;
}
.dashboard-container {
display: flex;
min-height: calc(100vh - 70px);
}
.sidebar {
width: 250px;
background: white;
padding: 2rem 0;
box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}
.sidebar ul {
list-style: none;
}
.sidebar li {
padding: 1rem 2rem;
cursor: pointer;
transition: all 0.3s;
border-left: 4px solid transparent;
}
.sidebar li:hover, .sidebar li.active {
background: #faf3e0;
border-left-color: #e85d04;
color: #e85d04;
}
.main-content {
flex: 1;
padding: 2rem;
overflow-y: auto;
}
.section {
display: none;
}
.section.active {
display: block;
}
h2 {
color: #e85d04;
margin-bottom: 2rem;
font-size: 2rem;
}
/* Matches Grid */
.matches-grid {
display: grid;
gap: 1.5rem;
}
.match-card {
background: white;
border-radius: 15px;
padding: 1.5rem;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 2rem;
cursor: pointer;
transition: transform 0.2s;
}
.match-card:hover {
transform: translateY(-3px);
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.player-info {
display: flex;
align-items: center;
gap: 1rem;
}
.player-photo {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #e85d04;
}
.player-details h3 {
color: #333;
margin-bottom: 0.3rem;
}
.player-details p {
color: #666;
font-size: 0.9rem;
}
.vs {
font-weight: 700;
color: #e85d04;
font-size: 1.2rem;
}
.match-info {
text-align: right;
}
.match-info .round {
background: #e85d04;
color: white;
padding: 0.3rem 0.8rem;
border-radius: 20px;
display: inline-block;
margin-bottom: 0.5rem;
}
.match-info .date {
color: #666;
font-size: 0.9rem;
}
/* Players Grid */
.players-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
}
.player-card {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
transition: transform 0.3s;
}
.player-card:hover {
transform: translateY(-5px);
}
.player-header {
background: linear-gradient(135deg, #e85d04, #faedcd);
padding: 2rem;
text-align: center;
position: relative;
}
.player-header img {
width: 120px;
height: 120px;
border-radius: 50%;
border: 4px solid white;
object-fit: cover;
}
.player-header h3 {
color: white;
margin-top: 1rem;
font-size: 1.5rem;
}
.player-body {
padding: 1.5rem;
}
.stat-row {
display: flex;
justify-content: space-between;
padding: 0.8rem 0;
border-bottom: 1px solid #eee;
}
.strengths, .weaknesses {
margin-top: 1rem;
}
.strengths h4, .weaknesses h4 {
color: #e85d04;
margin-bottom: 0.5rem;
}
.tag {
display: inline-block;
padding: 0.3rem 0.8rem;
border-radius: 15px;
font-size: 0.85rem;
margin: 0.2rem;
}
.tag.strength {
background: #d4edda;
color: #155724;
}
.tag.weakness {
background: #f8d7da;
color: #721c24;
}
/* Leaderboard */
.leaderboard-table {
width: 100%;
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.leaderboard-table th, .leaderboard-table td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid #eee;
}
.leaderboard-table th {
background: #e85d04;
color: white;
font-weight: 600;
}
.leaderboard-table tr:hover {
background: #faf3e0;
}
/* Stats */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.stat-card {
background: white;
padding: 2rem;
border-radius: 15px;
text-align: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.stat-card h3 {
color: #666;
margin-bottom: 1rem;
}
.stat-card p {
font-size: 2.5rem;
font-weight: 700;
color: #e85d04;
}
/* Modal */
.modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
}
.modal-content {
background: white;
margin: 2% auto;
padding: 2rem;
border-radius: 15px;
width: 90%;
max-width: 800px;
max-height: 90vh;
overflow-y: auto;
position: relative;
}
.close {
position: absolute;
right: 1.5rem;
top: 1.5rem;
font-size: 2rem;
cursor: pointer;
color: #666;
}
.prediction-options {
display: grid;
grid-template-columns: 1fr auto 1fr;
gap: 2rem;
align-items: center;
margin: 2rem 0;
}
.predict-btn {
background: #e85d04;
color: white;
border: none;
padding: 1.5rem;
border-radius: 10px;
font-size: 1.2rem;
font-weight: 700;
cursor: pointer;
transition: all 0.3s;
}
.predict-btn:hover {
background: #d84d00;
transform: scale(1.05);
}
.probabilities {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.prob-bar {
width: 100%;
height: 30px;
background: #eee;
border-radius: 15px;
overflow: hidden;
}
.prob-fill {
height: 100%;
background: linear-gradient(90deg, #e85d04, #faedcd);
transition: width 0.5s;
}
.matchup-analysis {
background: #faf3e0;
padding: 1.5rem;
border-radius: 10px;
margin-top: 2rem;
}
.matchup-analysis h3 {
color: #e85d04;
margin-bottom: 1rem;
}
.analysis-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
.advantage, .disadvantage {
padding: 1rem;
background: white;
border-radius: 8px;
}
.advantage h4 {
color: #28a745;
margin-bottom: 0.5rem;
}
.disadvantage h4 {
color: #dc3545;
margin-bottom: 0.5rem;
}
+208
View File
@@ -0,0 +1,208 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
background: linear-gradient(135deg, #e85d04 0%, #faedcd 100%);
min-height: 100vh;
}
/* Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 5%;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
.logo {
font-size: 1.5rem;
font-weight: 700;
color: #e85d04;
}
.nav-links {
display: flex;
gap: 2rem;
align-items: center;
}
.nav-links a {
text-decoration: none;
color: #333;
font-weight: 600;
transition: color 0.3s;
}
.nav-links a:hover {
color: #e85d04;
}
/* Buttons */
.btn-primary {
background: #e85d04;
color: white;
border: none;
padding: 0.7rem 1.5rem;
border-radius: 25px;
cursor: pointer;
font-weight: 600;
transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(232, 93, 4, 0.3);
}
.btn-large {
background: #fff;
color: #e85d04;
border: 2px solid #e85d04;
padding: 1rem 2.5rem;
font-size: 1.1rem;
border-radius: 30px;
cursor: pointer;
font-weight: 700;
margin-top: 1rem;
transition: all 0.3s;
}
.btn-large:hover {
background: #e85d04;
color: white;
}
/* Hero */
.hero {
margin-top: 70px;
height: 90vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?w=1920');
background-size: cover;
background-position: center;
color: white;
}
.hero h1 {
font-size: 4rem;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p {
font-size: 1.5rem;
margin-bottom: 2rem;
}
/* Features */
.features {
padding: 5rem 5%;
background: white;
}
.features h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #e85d04;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.feature-card {
background: #faf3e0;
padding: 2rem;
border-radius: 15px;
text-align: center;
transition: transform 0.3s;
}
.feature-card:hover {
transform: translateY(-10px);
}
.icon {
font-size: 3rem;
margin-bottom: 1rem;
}
/* Modal */
.modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
}
.modal-content {
background: white;
margin: 5% auto;
padding: 2rem;
border-radius: 15px;
width: 90%;
max-width: 400px;
position: relative;
}
.close {
position: absolute;
right: 1rem;
top: 1rem;
font-size: 1.5rem;
cursor: pointer;
}
.auth-form input {
width: 100%;
padding: 0.8rem;
margin: 0.5rem 0;
border: 1px solid #ddd;
border-radius: 8px;
font-family: inherit;
}
.auth-form h2 {
color: #e85d04;
margin-bottom: 1.5rem;
text-align: center;
}
.auth-form a {
color: #e85d04;
}
/* Footer */
.footer {
background: #333;
color: white;
text-align: center;
padding: 2rem;
margin-top: 3rem;
}
.footer p {
margin: 0.5rem 0;
}