       * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        ::-webkit-scrollbar {
            width: 1vh; /* Width of the scrollbar */
        }

        ::-webkit-scrollbar-track {
            background: #f4f4f4; /* Background color of the scrollbar track */
        }

        ::-webkit-scrollbar-thumb {
            background: #D03355; /* Color of the scrollbar thumb (the draggable part) */
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #FB7A6B; /* Color of the scrollbar thumb when hovered */
        }
        .sports-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap; 
        }
        .cards-container {
            display: flex;
            justify-content: center; 
            align-items: center; 
            overflow: hidden; 
            width: 95%; 
            margin: 0 auto; 
        }
        .sports-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap; 
        }
        .sport_head {
            font-size: 2vh;
            background-color: #ffffff; 
            border: 0.1vh solid #ddd; 
            border-radius: 1vh; 
            padding: 1vh 2.5vh;
            margin: 1.3vh; 
            transition: background-color 0.3s; 
            cursor: pointer; 
            display: flex; 
            align-items: center;
        }
        .sport_head i {
            margin-right: 1vh;
            font-size: 2.5vh; 
            color: #333; 
        }
        .sport_head:hover {
            background-color: #e0e0e0; 
        }
        .sport_head.active {
            background: radial-gradient(circle at -1% 57.5%, rgb(19, 170, 82) 0%, rgb(0, 102, 43) 90%);
            color: white;
            transform: scale(1.2);
            display: flex; 
            align-items: center;
            font-size: 2vh;
        }
        .sport_head.active i {
            color: white;
            font-size: 2vh;
        }
        .upcoming-events {
            margin-top: 2vh; 
            text-align: center; 
        }
        .event-card {
            background-color: #333; /* Dark grey background */
            text-shadow: 0.5vh 0.5vh 1vh rgba(0, 0, 0, 0.7);
            border: 0.1vh solid #ddd; 
            border-radius: 3vh; 
            padding: 3.5vh;
            margin: 1.5vh;
            width: 28vw; 
            height: 34vh; 
            box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.1); 
            transition: transform 0.3s; 
            display: flex; 
            flex-direction: column; 
            justify-content: center; 
            align-items: center; 
            color: white; /* Text color to white for contrast */
        }
        .event-card:hover {
            transform: scale(1.05); /* Scale up */
            
        }
        .category-name {
            top: 2vh;
            left: 0vh;
            background-color: rgba(0, 0, 0, 0.5); /* Dark background for readability */
            color: whitesmoke; /* Yellow text color */
            padding: 0.5vh 2vh;
            font-size: 1.8vh;
            font-weight: bold;
            border-top-left-radius: 0.7vh;  /* Top-left corner */
            border-top-right-radius: 1vh; /* Top-right corner */
            border-bottom-left-radius: 0.1vh; /* Bottom-left corner */
            border-bottom-right-radius: 1vh; /* Bottom-right corner */
            box-shadow: 0 1vh 2vh rgba(0, 0, 0, 1); 
            text-transform: uppercase;
            z-index: 2; /* Ensure it's on top of the card */
        }
        .status-ribbon {
            top: 2vh;
            right: 0vh;
            background-color: #D03355; /* Default color */
            color: white;
            font-size: 2vh;
            font-weight: bold;
            padding: 0.5vh 3vh;
            border-top-left-radius: 1vh;  /* Top-left corner */
            border-top-right-radius: 0.7vh; /* Top-right corner */
            border-bottom-left-radius: 2vh; /* Bottom-left corner */
            border-bottom-right-radius: 0.1vh; /* Bottom-right corner */
            box-shadow: 0 1vh 2vh rgba(0, 0, 0, 1); 
            z-index: 2;
            white-space: nowrap;
            text-align: center;
        }
        .event-card h4 {
            margin-top: 4vh;
            margin-bottom:1.6vh;
            font-size: 2.5vh;
            color: #f9dc1c;
        }
        .event-card h5 {
            font-size: 2.3vh;
            margin-bottom:1vh;
        }
        .event-card h6 {
            font-size: 2vh;
            margin-bottom:1vh;
        }
        .event-card p {
            margin: 0.5vh;
            font-size: 2vh;
        }
        .cards-prev, .cards-next {
            color: white;
            background: linear-gradient(135.89deg, #D03355 -5.11%, #FB7A6B 97.89%);
            border: none;
            padding: 3vh 2vh; 
            border-radius: 1vh; 
            cursor: pointer;
            font-size: 2vh; 
            transition: background-color 0.3s ease;
            margin: 0 2vh; 
        }
        .cards-prev:hover, .cards-next:hover {
            background-color: #f0f0f0;
            box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.5);
        }
        .event-card {
            background-color: #333; /* Dark grey background */
            text-shadow: 0.5vh 0.5vh 1vh rgba(0, 0, 0, 0.7);
            border: none; 
            border-radius: 3vh; 
            padding: 3.5vh;
            margin: 1.5vh;
            width: 28vw; 
            height: 37vh; 
            box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.1); 
            transition: transform 0.3s; 
            display: flex; 
            flex-direction: column; 
            justify-content: center; 
            align-items: center; 
            color: white; /* Text color to white for contrast */
        }
        .default_tip {
            text-shadow: 0.5vh 0.5vh 1vh rgba(0, 0, 0, 0.7);
            margin: 1vh;
            font-size: 2.1vh;
            width: 100%; /* Ensure the container takes up full width */
            align-items: center; /* Vertically align the text */
        }
        .default_tip strong {
            color: #f9dc1c; 
            margin-right: 0.1vw; /* Optional: Add space between 'Tip' and the actual tip */
        }
        .default_tip span {
            margin-right: 1vw;
            font-weight: normal; /* Optional: To ensure the actual "tip" text has normal weight */
        }
        .pred_button {
            background-color: #f9dc1c; /* Base color */
            margin-top: auto;
            padding: 1vh 2vh;
            border-radius: 3vh;
            color: black;
            border: none;
            font-size: 1.8vh;
            font-weight: bold;
            box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.3); 
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transitions */
        }
        .pred_button {
            background-color: #f9dc1c; /* Base color */
            margin-top: auto;
            padding: 1vh 2vh;
            border-radius: 3vh;
            color: black;
            border: none;
            font-size: 2vh;
            box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.7); 
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transitions */
        }
        .pred_button a {
            text-decoration: none;  /* Remove underline */
            color: inherit; 
        }
        .pred_button i {
            font-size: 2vh;
            margin-right:0.1vh;
        }
        .pred_button:hover {
            background: linear-gradient(45deg, #f9dc1c, #f7c600, #f5a600); /* More pronounced gradient */
            transform: scale(1.01); /* Scale up */
            
        }
        .event-card.hidden {
            display: none; 
        }
        .vs-text {
            font-size: 2.3vh;
            color: #f9dc1c; /* Change this to your desired color */
            font-weight: bold; /* Ensure it is not bold */
            margin-top: 0.5vh;
            margin-bottom: 0.5vh;
        }
        .category-name,
        .status-ribbon {
            position: absolute;
            opacity: 1; /* Always visible */
            visibility: visible; 
            transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
            z-index: 2;
        }
        .event-card {
            position: relative;
        }

        .status-ribbon.upcoming {
            background-color: #28a745; 
        }
        .status-ribbon.ongoing {
            background-color: #e74c3c; 
        }
        .status-ribbon.finished {
            background-color: #007bff; 
        }

    @media (max-width: 768px) {

        .sports-container {
            padding: 0;
            gap: 0; /* Add spacing between categories */
        }
        .sport_head {
            font-size: 1.7vh;
            margin: 1vh;
            width: 40%;
            text-align: center; /* Center-align text for better look */
        }
        .sport_head.active {
            background: radial-gradient(circle at -1% 57.5%, rgb(19, 170, 82) 0%, rgb(0, 102, 43) 90%);
            color: white;
            transform: scale(1.03);
            font-size: 1.7vh;
        }
        .sport_head i {
            font-size: 2.3vh;
            margin-right: 1vh;
        }
        .event-card {
            width: 90vw; /* Make the cards responsive */
            height: auto;
            margin: 0 3vh 2vh 3vh;
            padding: 3vh;
            font-size: 2vh;
            box-shadow: 0 1vh 1vh rgba(0, 0, 0, 0.5);
        }
        .event-card:hover {
            transform: scale(1.02); /* Scale up */
            
        }
        .upcoming-events {
            text-align: center; 
        }
        .cards-container {
            flex-direction: column;
            align-items: center;
            gap: 1vh; /* Add spacing between cards */
        }
        .cards-prev, .cards-next {
            display: none;
        }
        .pred_button {
            font-size: 1.8vh;
            padding: 1vh 2vh;
            margin-top: 1vh;
        }
        .category-name, .status-ribbon {
            font-size: 1.6vh;
        }
        /* Make the event card title more readable */
        .event-card h4 {
            font-size: 2.1vh;
        }
        .event-card h5  {
            font-size: 2vh;
        }
        .event-card h6 {
            font-size: 1.8vh;
        }
        .event-card p {
            font-size: 1.8vh;
        }
        /* Adjust default tip text size */
        .default_tip {
            font-size: 1.8vh;
        }
    }

