Changed around line 1
- -primary-color: #1d428a;
- -secondary-color: #c8102e;
- --background-color: #f4f4f4;
- --text-color: #333;
+ --background-color: #f8f9fa;
+ --text-color: #2c3e50;
- -card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
- body {
- font-family: 'Arial', sans-serif;
+ * {
- background-color: var(--background-color);
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+ background: var(--background-color);
+ padding: 1rem;
+ position: sticky;
+ top: 0;
+ z-index: 100;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+ }
+
+ nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+
+ .logo {
- padding: 20px;
- text-align: center;
+ font-size: 1.5rem;
+ font-weight: bold;
+ letter-spacing: 1px;
- header h1 {
- margin: 0;
- font-size: 2.5rem;
+ .refresh-btn {
+ background: transparent;
+ border: 2px solid white;
+ color: white;
+ padding: 0.5rem;
+ border-radius: 50%;
+ cursor: pointer;
+ transition: transform 0.3s ease;
- header p {
- margin: 5px 0 0;
- font-size: 1.2rem;
+ .refresh-btn:hover {
+ transform: rotate(180deg);
- padding: 20px;
+ max-width: 1200px;
+ margin: 2rem auto;
+ padding: 0 1rem;
- #scores {
- max-width: 800px;
- margin: 0 auto;
+ h1 {
+ text-align: center;
+ margin-bottom: 2rem;
+ color: var(--primary-color);
- .loader {
- border: 5px solid #f3f3f3;
- border-top: 5px solid var(--primary-color);
- border-radius: 50%;
- width: 50px;
- height: 50px;
- animation: spin 1s linear infinite;
- margin: 20px auto;
+ .date-selector {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ gap: 1rem;
+ margin-bottom: 2rem;
- @keyframes spin {
- 0% { transform: rotate(0deg); }
- 100% { transform: rotate(360deg); }
+ .date-nav {
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.5rem 1rem;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+ }
+
+ .date-nav:hover {
+ background: var(--secondary-color);
+ }
+
+ .games-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 1.5rem;
+ padding: 1rem;
- .game {
+ .game-card {
- margin: 10px 0;
- padding: 15px;
+ padding: 1.5rem;
+ transition: transform 0.3s ease;
+ }
+
+ .game-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .team {
- justify-content: space-between;
+ justify-content: space-between;
+ margin: 0.5rem 0;
- .game .teams {
- flex: 1;
+ .team-name {
+ font-weight: bold;
- .game .score {
+ .score {
- footer {
+ .game-status {
+ text-align: center;
+ margin-top: 1rem;
+ padding: 0.5rem;
+ background: #f0f0f0;
+ border-radius: 4px;
+ }
+
+ .loading {
- padding: 10px;
+ grid-column: 1 / -1;
+ padding: 2rem;
+ font-size: 1.2rem;
+ color: var(--primary-color);
+ }
+
+ footer {
- margin-top: 20px;
+ text-align: center;
+ padding: 2rem;
+ margin-top: 3rem;
- @media (max-width: 600px) {
- header h1 {
- font-size: 2rem;
+ @media (max-width: 768px) {
+ .games-grid {
+ grid-template-columns: 1fr;
-
- .game {
- flex-direction: column;
- text-align: center;
+
+ .logo {
+ font-size: 1.2rem;
-
- .game .score {
- margin-top: 10px;
+
+ h1 {
+ font-size: 1.5rem;