/* ===== Global Resets ===== */
*{
    margin:0; padding:0; box-sizing:border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    background:#0c0f1a; color:#e1e1e1;
    line-height:1.6;
}

/* ===== FEEL & TYPOGRAPHY ===== */
h1, h2, h3 {
    color:#fff;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}
h2.section-title {
    margin-bottom:15px;
    font-size:2.8rem;
    text-align:center;
    color:#f5b942;
    position:relative;
}
h2.section-title::after {
    content:"";
    width:120px;
    height:4px;
    background:#f5b942;
    display:block;
    margin:8px auto;
    border-radius:4px;
}

/* ===== BANNER ===== */
.banner{
    width:100%;
    height:1024px;
    background:url('images/banner.png') center/cover no-repeat;
    
}
.tophead h1{
    font-size:3rem; background:rgba(0,0,0,0.6);
    padding:20px 30px; border-radius:12px;
}

/* ===== CONTAINERS ===== */
.section{
    padding:60px 5%;
}
.container{
    max-width:1200px; margin:auto;
}

/* ===== BUTTON ===== */
.btn-download{
    background:#f5b942; color:#000;
    padding:16px 34px;
    font-size:1.4rem; font-weight:700;
    text-decoration:none; border-radius:8px;
    display:inline-block; cursor:pointer;
    transition:0.28s ease;
}
.btn-download:hover{
    background:#ddb631; transform:scale(1.05);
}

/* ===== TEAM CARDS ===== */

.teams-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
    margin-top:40px;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
}
/* Team Card */
.team-block{
    background:#161b2e;
    padding:25px 20px;
    border-radius:14px;
    border-top:4px solid #f5b942;
    text-align:center;
    transition:0.3s ease;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;

    min-height:520px; /* uniform height */
}

/* Hover Effect */
.team-block:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 25px rgba(0,0,0,0.5);
}

/* Team Logo */
.team-logo{
    width:170px;
    height:170px;
    object-fit:contain;
    background:#0f1424;
    padding:12px;
    border-radius:10px;
    margin-bottom:18px;
}

/* Team Name */
.team-block h3{
    color:#f5b942;
    font-size:1.6rem;
    margin-bottom:15px;
    min-height:48px;
}

/* Players */
.team-block p{
    margin:4px 0;
    font-size:15px;
    color:#e5e7eb;
    line-height:1.4;
}


/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px){
    .teams-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .team-block{
        min-height:500px;
    }
}

/* Mobile */
@media (max-width: 600px){
    .teams-grid{
        grid-template-columns:1fr;
    }

    .team-block{
        min-height:auto;
        padding:20px;
    }

    .team-logo{
        width:150px;
        height:150px;
    }

    .team-block h3{
        font-size:1.4rem;
    }

    .team-block p{
        font-size:14px;
    }
}



/* ===== FAQ ACCORDION ===== */
.faq-block{
    max-width:900px; margin:30px auto;
}
.faq{
    background:#161b2e; border-radius:8px;
    margin-bottom:12px; overflow:hidden;
}
.faq-title{
    padding:14px 22px; cursor:pointer;
    position:relative; font-size:1.15rem;
    font-weight:600;
}
.faq-title:hover{background:#0e1230;}
.faq-content{
    padding:0px 24px; max-height:0;
    overflow:hidden; transition:0.32s ease;
}
.faq-content p{margin:12px 0; font-size:1rem;}
.faq.open .faq-content{max-height:240px; padding:12px 24px;}

/* ===== TABLE SCHED ===== */
table{
    width:100%; border-collapse:collapse;
    margin-top:18px;
}
th,td{
    padding:10px; text-align:center;
    border:1px solid #333;
}
th{
    background:#f5b942; color:#000;
}

/* ===== SECTION HEADERS ===== */
.section-sub{
    text-align:center;
    font-size:2rem; color:#f5b942;
    margin-bottom:24px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    .banner{height:300px;width:100%}
    .tophead h1{font-size:2.2rem;}
    h2.section-title{font-size:2.2rem;}
}

/* COUNTDOWN */
#countdown{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:20px;
    flex-wrap:wrap;
}

.time-box{
    background:#161b2e;
    padding:20px;
    width:120px;
    border-radius:10px;
    border-top:4px solid #f5b942;
}

.time-box span{
    font-size:32px;
    font-weight:bold;
    color:#f5b942;
}

.time-box p{
    margin-top:6px;
    font-size:14px;
}

/* Mobile */
@media(max-width:600px){
    .time-box{
        width:90px;
        padding:15px;
    }

    .time-box span{
        font-size:24px;
    }
}


#pointsTable{
    margin-top:20px;
    font-size:16px;
}

#pointsTable tbody tr:hover{
    background:#161b2e;
}

#pointsTable td{
    font-weight:500;
}


.upcoming-matches{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:20px;
    margin-top:20px;
}

.match-card{
    background:#161b2e;
    padding:20px;
    border-radius:10px;
    border-left:4px solid #f5b942;
    transition:0.3s;
}

.match-card:hover{
    transform:translateY(-5px);
    box-shadow:0 6px 14px rgba(0,0,0,0.4);
}

.match-card h3{
    color:#f5b942;
    margin-bottom:10px;
}

.match-card p{
    font-size:18px;
    font-weight:600;
}

.rules-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:20px;
    margin-top:25px;
}

.rule-card{
    background:#161b2e;
    padding:20px;
    border-radius:12px;
    border-left:4px solid #f5b942;
    transition:0.3s;
}

.rule-card:hover{
    transform:translateY(-5px);
    box-shadow:0 6px 14px rgba(0,0,0,0.4);
}

.rule-card h3{
    color:#f5b942;
    margin-bottom:10px;
}

.rule-card p{
    margin:6px 0;
    font-size:15px;
}
