:root {
    --primary-blue: #003399;
    --accent-green: #00A651;
    --dark-text: #1a1a1a;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --gray-border: #eee;
}

::-webkit-scrollbar {
    display: block !important;
    background: #003399;
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background-color: #00A651;
    outline: none;
    border-radius: 5px;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-contact i { margin-right: 6px; color: var(--accent-green); }

header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 90px;
}
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo-img { height: 70px; width: auto; }
.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    line-height: 1.1;
}
.menu { display: flex; gap: 30px; }
.menu a {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--dark-text);
    padding-bottom: 5px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu a i { color: #ccc; transition: 0.3s; }
.menu a:hover i, .menu a.active i { color: var(--accent-green); }
.menu a:hover, .menu a.active { color: var(--primary-blue); }
.menu a::after {
    content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 0;
    background-color: var(--accent-green); transition: width 0.3s;
}
.menu a:hover::after, .menu a.active::after { width: 100%; }

.hero-section {
    background: linear-gradient(120deg, rgba(0, 51, 153, 0.9) 0%, rgba(0, 166, 81, 0.75) 100%), 
                url('https://i.imgur.com/7hwYNnh.png');
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    margin-bottom: -40px;
    z-index: 1;
}

.hero-section.small-hero { height: 300px; margin-bottom: 40px; }

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.hero-badge {
    background-color: var(--accent-green);
    color: white;
    padding: 6px 15px;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr; 
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-title i { color: var(--accent-green); font-size: 24px; }
.section-title::before {
    content: ''; display: block; width: 6px; height: 24px;
    background-color: var(--accent-green); border-radius: 2px;
}

.content-box {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-blue);
}

.fixture-list { padding: 0; margin: 0; list-style: none; }
.fixture-item {
    padding: 20px;
    border-bottom: 1px solid var(--gray-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.fixture-item:hover { background-color: #fafafa; }
.fixture-item:last-child { border-bottom: none; }

.fb-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.fb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.fb-overlay span {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    pointer-events: none;
}

.fb-overlay:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.fb-wrapper.active .fb-overlay {
    display: none;
}

.fb-wrapper iframe {
    pointer-events: none; 
}

.fb-wrapper.active iframe {
    pointer-events: auto;
}

.match-date {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.match-teams {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.team-row { display: flex; align-items: center; gap: 8px; }
.team-logo-mini { width: 20px; height: 20px; object-fit: contain; }
.our-team { color: var(--primary-blue); font-weight: 800; }

.match-score {
    background-color: var(--primary-blue);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
}
.match-upcoming { background-color: #eee; color: #555; }

.status-win { border-left: 5px solid var(--accent-green); }
.status-loss { border-left: 5px solid #d32f2f; }
.status-draw { border-left: 5px solid #999; }
.status-next { border-left: 5px solid var(--primary-blue); background-color: #f8fbff; }

.scrollable-table-container {
    width: 100%;
    height: 1000px;
    overflow-y: auto;
    overflow-x: hidden;
    border-bottom: 1px solid #eee;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) #f0f0f0;
}
.scrollable-table-container::-webkit-scrollbar { width: 8px; }
.scrollable-table-container::-webkit-scrollbar-track { background: #f0f0f0; }
.scrollable-table-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-blue);
    border-radius: 4px; border: 2px solid #f0f0f0;
}

.squad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.player-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    border-bottom: 3px solid var(--accent-green);
}
.player-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.player-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #eee;
/*    background-image: url('https://cdn-icons-png.freepik.com/256/12542/12542030.png?semt=ais_white_label'); */
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}
.player-info { padding: 15px; }
.player-name { font-weight: 800; color: var(--primary-blue); font-size: 16px; margin-bottom: 5px; }
.player-pos { font-size: 12px; text-transform: uppercase; color: #888; font-weight: 600; }

.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 40px; 
    margin-bottom: 50px; 
}

.contact-card { 
    background: white; 
    padding: 40px; 
    border-radius: 12px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    height: 100%;
}

.contact-item { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 30px; 
}

.contact-item i { 
    font-size: 24px; 
    color: var(--accent-green); 
    width: 30px; 
    flex-shrink: 0;
}

.contact-item h4 { 
    margin: 0 0 5px 0; 
    color: var(--primary-blue); 
    font-weight: 700; 
}

.map-frame { 
    width: 100%; 
    height: 100%; 
    min-height: 400px;
    border-radius: 12px; 
    border: 0; 
}

@media (max-width: 900px) {
    .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .contact-card {
        padding: 25px;
    }

    .map-frame {
        min-height: 300px;
        height: 300px;
    }
}

.cta-banner {
    background-color: #003366; 
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
    
    background-image: 
        linear-gradient(to bottom, rgba(0, 50, 150, 0.7), rgba(0, 20, 60, 0.95)), 
        url('https://i.imgur.com/bLfeYkB.png');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 30px rgba(0, 50, 150, 0.25);
}

.cta-banner h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.cta-banner p {
    opacity: 0.9;
    max-width: 600px;
    margin: 5px auto 15px auto;
}

.cta-btn {
    display: inline-block;
    background-color: #00A651;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.4);
    transition: 0.3s;
}

.cta-btn:hover {
    background-color: #008a42;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 166, 81, 0.6);
}

.sponsors-section {
    background: white;
    padding: 40px 0;
    margin-top: 20px;
    border-top: 1px solid #eee;
}
.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
    opacity: 0.6;
}
.sponsor-placeholder {
    font-size: 18px;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
}

footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 0 30px;
    border-top: 5px solid var(--accent-green);
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}
.footer-contact-item i { color: var(--accent-green); margin-top: 4px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-btn {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    color: #fff;
}
.social-btn:hover { background: var(--primary-blue); transform: translateY(-3px); }
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    opacity: 0.6;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 20px;
    z-index: 9999;
}
.scroll-top-btn:hover { background-color: var(--primary-blue); transform: translateY(-3px); }

.time-box {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 70px;
}
.time-box span { font-size: 24px; font-weight: 800; display: block; line-height: 1; }
.time-box small { font-size: 10px; text-transform: uppercase; opacity: 0.8; }

.news-feed {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex; 
    flex-direction: row;
    transition: 0.3s;
    border: 1px solid #eee;
    width: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-img {
    width: 250px;
    min-width: 250px; 
    min-height: 200px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    overflow-wrap: break-word;
    word-break: break-word; 
    hyphens: auto;
}

.read-more {
    color: #00A651;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
}

.read-more:hover {
    color: #008c44;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
    }
    .news-img {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
}

@media (max-width: 900px) {
    .main-grid { grid-template-columns: 1fr; }
    .hero-section { height: 350px; }
    .hero-section.small-hero { height: 200px; }
    .hero-content h1 { font-size: 32px; }
    .navbar { height: auto; flex-direction: column; gap: 20px; padding: 20px; }
    .menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .top-bar .container { justify-content: center; }
    .top-contact { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
}