:root {
    --primary-color: #ffb347;
    --secondary-color: #ffcc33;
    --text-color: #ffffff;
    --dark-bg: #1a1a1a;
    --separator: #444444;
}

.afacad-menu {
    font-family: "Afacad", sans-serif;
    font-optical-sizing: auto;
    font-weight: 620;
    font-style: normal;
}

.cygre-font {
    font-family: "Cygre-semiBold", sans-serif;
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Cygre-semiBold';
    src: url('../resources/fonts/Cygre-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cygre-Book';
    src: url('../resources/fonts/Cygre-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cygre-Book', sans-serif;
    user-select: none;
}


body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    min-height: 100vh;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
}

.team-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.team-logo {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
}

/* main {
    text-align: center;
} */

.title-section h1 {
    font-family: "Cygre-semiBold", sans-serif;
    /* font-size: 2.5rem; */
    font-size: 4vw;
    margin-bottom: 10px;
    line-height: 1.2;
}

.title-section h2 {
    /* font-size: 1.3rem; */
    font-size: 1.4vw;
    font-weight: normal;
    margin-bottom: -5px;
}

.live-badge {
    background-color: #ff0000;
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
}

.scorecard {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}

.current-player-container {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding-top: 20px;
    /* padding-right: 30px; */
    padding-bottom: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}

.team-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.team-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-icon {
    width: 25px;
    height: 25px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mahinda-icon {
    background-color: #b86e0049;
    
}

.richmond-icon {
    background-color: #0066cc5b;
}

.score-divider {
    border-top: 1px solid var(--separator);
    margin: 15px 0;
}



.lead-info {
    text-align: center;
    margin: 15px 0;
    font-size: 1.1rem;
}

.current-players {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

.player-info {
    text-align: center;
}

.player-score {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.score-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #000;
    /* padding-bottom: 3px !important; */
}

.wicket {
    background-color: #ff0000;
    color: white;
}

.button {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.button i {
    margin-left: 8px;
}

.live-feed {
    margin: 30px 0;
}

.match-image {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    margin: 15px 0;
}

.match-stats {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px;
    font-size: 0.8rem;
    max-width: 500px;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.shadow-white {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    /* box-shadow: 0 2px 5px rgba(255, 255, 255, 0.3); */
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #4064ad;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none !important;
}

.gray-color {
    color: rgb(202, 202, 202);
}

.white-color {
    color: rgb(255, 255, 255);
}

.facebook {
    background-color: #1877F2;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.youtube {
    background-color: #ff0000;
}

.backgrnd {
    background-image: url('../resources/images/web\ 1.png');
    background-size: cover;
    /* object-fit: fill; */
}

.team-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mahinda-icon {
    background-image: url('../resources/images/Crest.png');
    background-size: cover;
}

.richmond-icon {
    background-image: url('../resources/images/RCG\ Crest.png');
    background-size: cover;
}

.responsive-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.navbar-nav .nav-link {
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #ffb900 !important;
}


/* Responsive styles */
@media (max-width: 1000px) {

    .title-section h2 {
        /* font-size: 1.3rem; */
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .title-section h1 {
        font-size: 2rem;
    }



    .title-section h2 {
        /* font-size: 1.3rem; */
        font-size: 1.1rem;
        /* margin-bottom: -5px; */
    }

    .backgrnd {
        background-image: url('../resources/images/Web\ tab\ size\ 1.png');
        background-size: cover;
    }
}

@media (max-width: 480px) {
    .team-score {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        gap: 10px;
    }

    .title-section h1 {
        font-size: 1.8rem;
    }

    .title-section h2 {
        font-size: 1.1rem;
    }

    .backgrnd {
        background-image: url('../resources/images/web\ phone\ size\ 1.png');
        /* background-size: cover; */
    }

    /* .score-circle {
        width: 20px;
        height: 20px;
        font-size: 12px;
    } */
}

@media (max-width: 576px) {
    .player-score {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 10px;
    }

    .current-players > .col-12:first-child {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 10px;
    }
}