.matches-container {
    padding: 50px 20px;
}

.matches-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.match-card {
    background: white;
    border: 1px solid #989898;
    width: 100%;
    max-width: 380px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(124, 124, 124, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    background: #d32f2f;
}

.title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #fefefe;
    text-transform: uppercase;
}

.date-time {
    color: #ffffff;
    font-size: 1.2rem;
    margin-top: 10px;
}

.teams-section {
    padding: 20px 15px;
    text-align: center;
}

.team-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    padding:5px;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    animation: live_pulse 1.5s infinite;
    /* animation: rotateVertical 4s infinite linear; */
}

.team-logo img:hover {
    transform: scale(1);
}

.strikers-logo {
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
}

.vs-box {
    background: #8bc34a;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 5px;
}



.team-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin: 15px 0 5px;
}

.match-details {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #ddd;
    background: #f8f9fa;
}

.qualifier {
    color: #8bc34a;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.venue {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.buttons-section {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.action-button {
    flex: 1;
    padding: 12px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin: 10px;
    border-radius: 5px;
}

.ticket-btn {
    background: #b91010;
}

.info-btn {
    background: #0f790b;
}

.action-button:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.register-section {
    text-align: center;
    padding: 40px 0;
}

.register-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

@keyframes rotateVertical {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.live_scorecard_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 92%;
    margin: 50px auto 0;
    padding: 0 20px;
}

.live_scorecard {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 25%, #b22222 75%, #8b0000 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 10px rgba(220, 20, 60, 0.4), 
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.live_scorecard:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 30px rgba(220, 20, 60, 0.5), 
        0 0 0 1px rgba(255,255,255,0.2);
}

.live_final_badge {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    padding: 12px 30px;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    border-radius: 0 0 25px 0;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.live_pulse_dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: live_pulse 1.5s infinite;
}

@keyframes live_pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.live_header {
    text-align: center;
    padding: 45px 30px 30px;
    background: linear-gradient(135deg, #8b0000, #dc143c);
    position: relative;
}

.live_header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    opacity: 0.6;
}

.live_trophy_container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.live_trophy {
    font-size: 40px;
    color: #ffd700;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    animation: live_trophy_glow 3s ease-in-out infinite;
}

@keyframes live_trophy_glow {
    0%, 100% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) scale(1);
        transform: translateY(0px);
    }
    50% { 
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9)) scale(1.05);
        transform: translateY(-2px);
    }
}

.live_tournament_title {
    padding: 15px 0;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0px;
    line-height: 35px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #fbfbfb, #fffbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live_date_time {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.live_match_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background: linear-gradient(135deg, #dc143c, #8b0000);
    position: relative;
}

.live_match_container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(0deg, transparent, rgba(255,255,255,0.3), transparent);
}

.live_team {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 5;
}

.live_team_logo_container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.live_team_logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.4), 
        inset 0 0 20px rgba(255,255,255,0.1),
        0 0 0 3px rgba(255,255,255,0.05);
}

.live_team_logo:hover {
    transform: scale(1.08);
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.5), 
        inset 0 0 25px rgba(255,255,255,0.2),
        0 0 30px rgba(255,255,255,0.2);
}

.live_team_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    /* animation: live_pulse 1.5s infinite; */
    animation: rotateVertical 4s infinite linear;
}

.live_team_logo img:hover {
    transform: scale(1);
}

.live_champions_logo {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #1a237e 100%);
}

.live_warriors_logo {
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 50%, #d84315 100%);
}

.live_eagles_logo {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 50%, #2e7d32 100%);
}

.live_tigers_logo {
    background: linear-gradient(135deg, #ffeb3b 0%, #fbc02d 50%, #f57f17 100%);
}

.live_status_indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    border: 3px solid white;
    z-index: 10;
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

.live_loss {
    background: linear-gradient(135deg, #ff1744, #d50000);
    animation: live_status_pulse 2s ease-in-out infinite;
}

.live_win {
    background: linear-gradient(135deg, #00e676, #00c853);
    animation: live_status_pulse 2s ease-in-out infinite;
}

@keyframes live_status_pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.live_team_name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

.live_team_score {
    padding: 10px 0;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, #ffeeee, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live_team_overs {
    font-size: 15px;
    opacity: 0.9;
    font-weight: 500;
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.1);
}

.live_vs {
    font-size: 52px;
    font-weight: 900;
    margin: 0 50px;
    opacity: 0.95;
    color: #fff;
    position: relative;
    padding: 15px 0;
    z-index: 10;
    background: linear-gradient(45deg, #ffffff, #ffcccc, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: live_vs_glow 3s ease-in-out infinite;
}

@keyframes live_vs_glow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.live_result_section {
    text-align: center;
    padding: 35px 40px;
    background: linear-gradient(135deg, #8b0000, #660000);
    position: relative;
}

.live_result_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    opacity: 0.6;
}

.live_result_text {
    font-size: 30px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.6);
    animation: live_result_glow 2s ease-in-out infinite;
}

@keyframes live_result_glow {
    0%, 100% { 
        text-shadow: 0 3px 6px rgba(0,0,0,0.6), 0 0 20px rgba(255, 215, 0, 0.4);
        transform: translateY(0px);
    }
    50% { 
        text-shadow: 0 3px 6px rgba(0,0,0,0.6), 0 0 35px rgba(255, 215, 0, 0.7);
        transform: translateY(-2px);
    }
}

.live_venue {
    font-size: 15px;
    opacity: 0.95;
    font-weight: 500;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.15);
    line-height: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 0.5px solid rgba(255,255,255,0.277);
}

.live_game_info_btn {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.live_game_info_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.live_game_info_btn:hover::before {
    left: 100%;
}

.live_game_info_btn:hover {
    background: linear-gradient(45deg, #ff3333, #ff0000);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.5);
}

.live_game_info_btn:active {
    transform: translateY(-1px);
}

/* Desktop Large - 3 cards per row */
@media (min-width: 1200px) {
    .matches-row {
        gap: 30px;
    }
    
    .match-card {
        width: calc(33.333% - 20px);
        max-width: none;
    }
}

/* Desktop Medium - 3 cards per row */
@media (min-width: 992px) and (max-width: 1199px) {
    .matches-row {
        gap: 25px;
    }
    
    .match-card {
        width: calc(33.333% - 17px);
        max-width: none;
    }
    
    .team-logo {
        width: 100px;
        height: 100px;
    }
    
    .title {
        font-size: 1.4rem;
    }
}

/* Tablet View - 2 cards per row */
@media (min-width: 768px) and (max-width: 991px) {
    .matches-container {
        padding: 30px 15px;
    }
    
    .matches-row {
        gap: 20px;
        justify-content: center;
    }
    
    .match-card {
        width: calc(50% - 10px);
        max-width: 350px;
    }
    
    .header {
        padding: 18px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .team-logo {
        width: 100px;
        height: 100px;
    }
    
    .teams-section {
        padding: 18px 12px;
    }
    
    .vs-box {
        font-size: 1rem;
        padding: 6px 14px;
    }
    
    .team-name {
        font-size: 0.85rem;
    }
}

/* Mobile Large - Single column */
@media (min-width: 481px) and (max-width: 767px) {
    .matches-container {
        padding: 20px 15px;
    }
    
    .matches-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 15px;
    }
    
    .match-card {
        width: 100%;
        max-width: 400px;
    }
    
    .header {
        padding: 16px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .team-logo {
        width: 90px;
        height: 90px;
    }
    
    .teams-section {
        padding: 16px 10px;
    }
    
    .vs-section {
        padding: 16px 8px;
    }
    
    .vs-box {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
    
    .team-name {
        font-size: 0.8rem;
    }
    
    .action-button {
        font-size: 0.85rem;
        padding: 10px;
    }
}

/* Mobile Small - Single column */
@media (max-width: 480px) {
    .matches-container {
        padding: 15px 10px;
    }
    
    .matches-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 10px;
    }
    
    .match-card {
        width: 100%;
        max-width: none;
        margin-bottom: 15px;
    }
    
    .header {
        padding: 15px;
    }
    
    .title {
        font-size: 1.4rem;
        margin-top: 5px;
    }
    
    .date-time {
        font-size: 0.9rem;
    }
    
    .team-logo {
        width: 80px;
        height: 80px;
    }
    
    .teams-section {
        padding: 15px 8px;
    }
    
    .vs-section {
        padding: 15px 5px;
    }
    
    .vs-box {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
    
    .team-name {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .match-details {
        padding: 12px;
    }
    
    .qualifier {
        font-size: 0.9rem;
    }
    
    .venue {
        font-size: 0.8rem;
    }
    
    .action-button {
        font-size: 0.8rem;
        padding: 10px 8px;
    }
    
    .register-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .match-card {
        margin: 0 5px 15px 5px;
    }
    
    .title {
        font-size: 1.3rem;
    }
    
    .team-logo {
        width: 70px;
        height: 70px;
    }
    
    .team-name {
        font-size: 0.7rem;
    }
    
    .vs-box {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .action-button {
        font-size: 0.75rem;
    }
}

/* Live Scorecard Media Queries */
@media (max-width: 768px) {
    .live_scorecard_container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 10px 15px;
    }

    .live_match_container {
        flex-direction: column;
        gap: 35px;
        padding: 35px 25px;
    }

    .live_match_container::before {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 100%;
        height: 2px;
    }

    .live_vs {
        margin: 25px 0;
        font-size: 44px;
    }

    .live_tournament_title {
        font-size: 32px;
        letter-spacing: 3px;
        line-height: 28px;
    }

    .live_team_logo {
        width: 120px;
        height: 120px;
    }

    .live_final_badge {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .live_match_container {
        padding: 25px 20px;
    }

    .live_header {
        padding: 35px 25px 25px;
    }

    .live_tournament_title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .live_result_text {
        font-size: 22px;
        line-height: 25px;
    }

    .live_team_score {
        font-size: 32px;
    }

    .live_team_name {
        font-size: 20px;
    }

    .live_vs {
        font-size: 40px;
        margin: 20px 0;
    }

    .live_team_logo {
        width: 100px;
        height: 100px;
    }
}