/* ============================================
   SportingBet TV - Static Page Styles
   Based on original SCSS design system
   ============================================ */

/* --- Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1A237E;
    background-color: #ECEFF1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    outline: 0;
}

ul, ol {
    list-style: none;
}

/* --- Layout --- */
#main-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

#main-wrapper {
    flex: 1;
}

/* --- Header --- */
#header_project {
    position: relative;
    z-index: 20;
    min-height: 80px;
    background-color: #283593;
}

.header_container {
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.logo_wrapper {
    position: relative;
}

.logo_wrapper h1 {
    display: block;
    width: 175px;
}

.logo_wrapper h1 a {
    display: block;
    outline: 0;
}

.logo_wrapper h1 img {
    max-width: 100%;
    height: auto;
}

/* --- Banner Hero --- */
.banner-hero {
    position: relative;
    min-height: 350px;
    background-color: #1A237E;
    background-image: linear-gradient(135deg, #283593 0%, #1A237E 50%, #0D47A1 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(66, 165, 245, 0.15) 0%, transparent 70%);
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    text-align: center;
}

.banner-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    padding: 14px 40px;
    background-color: #006999;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: #03adfc;
}

/* --- Content Section --- */
.content-section {
    padding: 50px 0;
}

/* --- Leagues Grid --- */
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.league-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: default;
}

.league-card:hover {
    box-shadow: 0px 6px 14px 0px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.league-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.league-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1A237E;
    line-height: 1.3;
}

/* --- CTA Section --- */
.cta-section {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.1);
}

.cta-section h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1A237E;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    font-weight: 400;
    color: #455A64;
    margin-bottom: 25px;
}

/* --- Footer --- */
footer {
    position: relative;
    margin-top: 40px;
    background-color: #1A237E;
    padding: 30px 0 20px;
}

.footer_content {
    text-align: center;
    color: #ffffff;
}

.footer-sponsor-title {
    max-width: 200px;
    margin: 0 auto 20px;
}

.conmebol-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.conmebol-logos img {
    width: 100px;
    height: auto;
}

.footer_disclaimer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_disclaimer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .leagues-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .banner-content h2 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .leagues-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .league-card {
        padding: 20px 10px;
    }

    .cta-section {
        padding: 35px 20px;
    }

    .cta-section h3 {
        font-size: 22px;
    }

    .logo_wrapper h1 {
        width: 140px;
    }

    .conmebol-logos {
        gap: 15px;
    }

    .conmebol-logos img {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .banner-hero {
        min-height: 280px;
    }

    .banner-content {
        padding: 40px 15px;
    }

    .banner-content h2 {
        font-size: 26px;
    }

    .leagues-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .league-card img {
        width: 40px;
        height: 40px;
    }

    .league-card span {
        font-size: 12px;
    }

    .btn-cta {
        padding: 12px 30px;
        font-size: 14px;
    }

    .footer-sponsor-title {
        max-width: 150px;
    }
}
