:root{
  --body-bg: #dcfce7;
  --white: #ffffff;
  --dark: #111827;
  --text: #1f2937;
  --border: #e5e7eb;
  --primary: #2e7ad1;
  --primary-dark: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--body-bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* NAVBAR */
.navbar {
    width: 100%;
    background: var(--dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
}
.logo::first-letter { color: #20d27b; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: #e5e7eb; font-size: 13px; transition: color 0.3s; }
.nav-links a:hover { color: #20d27b; }
#menu-toggle { display: none; }
.menu-icon { display: none; }

/* ===== HORIZONTAL CONTAINER ===== */
.live-score-container{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 30px 2%;
  scrollbar-width: none;
}
.live-score-container::-webkit-scrollbar{
  display: none;
}

/* ===== MATCH CARD - FIXED ===== */
.cb-card {
    min-width: 345px;
    max-width: 345px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(17, 24, 39, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
}

.cb-top {
    min-height: 52px;
    padding: 12px 16px;
    background: #f9fafb;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
}
.cb-badge {
    flex-shrink: 0;
    background: var(--dark);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}
.cb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 15px 16px;
    border-bottom: 1px solid #f3f4f6;
}
.cb-row:hover { background: #f8fafc; }
.cb-team {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
}
.cb-team img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #e2e8f0;
}
.cb-score {
    color: #6b7280;
    font-size: 14px;
    white-space: nowrap;
}
.cb-score.bold {
    color: var(--dark);
    font-size: 15px;
    font-weight: 800;
}
.cb-result {
    padding: 10px 16px;
    background: #eaf9f0;
    color: #087443;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid #d5efdf;
}
.cb-card p {
    padding: 12px 16px 14px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.6;
}

/* FOOTER & WHATSAPP - FIXED */
.mainwhatsup { 
    position: fixed; 
    right: 24px; 
    bottom: 24px; 
    z-index: 9999; 
}
.mainwhatsup a { 
    display: flex; 
    width: 58px; 
    height: 58px; 
    background: #25d366; 
    border-radius: 50%; 
    justify-content: center; 
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-decoration: none;
}
.mainwhatsup a img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 0;
}

.footer {
    background: #111;
    color: #fff;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer a {
    
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
 }

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-icon { display: block; color: var(--white); font-size: 24px; cursor: pointer; }
    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
    }
    #menu-toggle:checked ~ .nav-links { display: flex; }
}

@media (max-width: 650px) {
    .live-score-container{ padding: 15px; gap: 12px; }
    .cb-card { min-width: 300px; max-width: 300px; }
    .cb-team { font-size: 14px; }
    .cb-team img { width: 26px; height: 18px; }
    .mainwhatsup { right: 15px; bottom: 15px; }
    .mainwhatsup a { width: 52px; height: 52px; }
    .mainwhatsup a img { width: 28px; height: 28px; }
}