* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: #fff;
}

header {
    background-color: rgba(100, 100, 100, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease;
}

header:hover {
    background-color: rgba(130, 130, 130, 0.6);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 80px;
    width: 200px;
}

.nav-center {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
    padding: 0;
    margin-right: 50px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem; 
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #358856;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger .bar {
    width: 30px;
    height: 3px;
    background-color: #000;
    transition: 0.3s;
    border-radius: 5px;
}

.sports-container {
    background-image: url('../images/herobg.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 90px;
    padding-bottom: 50px;
}

.sports-container h1 {
    font-size: 7em;
    margin-bottom: 170px;
}

.sports-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.sports-buttons button {
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 
        2px 2px 5px rgba(0,0,0,0.7), 
        -2px -2px 5px rgba(255,255,255,0.1);
    padding: 40px 70px;
    background: linear-gradient(145deg, #3a3a3a, #2b2b2b);
    border: 2px solid #358856;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.5s ease;
    width: 100%;
    max-width: 320px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #1a1a1a;
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.5),
        0 0 20px rgba(255,69,0,0.3);
    transform: rotate(-2deg);
}

.sports-buttons button:nth-child(2) {
    transform: rotate(1.5deg);
}

.sports-buttons button:nth-child(3) {
    transform: rotate(-1deg);
}

.sports-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
    transform: skewX(-25deg);
}

.sports-buttons button:hover {
    background: linear-gradient(145deg, #4a4a4a, #3b3b3b);
    transform: scale(1.08) rotate(0deg);
    box-shadow: 
        0 15px 25px rgba(14, 143, 10, 0.5),
        0 0 30px rgba(65, 190, 16, 0.4);
}

.sports-buttons button:active {
    transform: scale(0.95) rotate(0deg);
}

.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#searchInput {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border: 2px solid #25523B;
    border-radius: 20px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: #333;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.news-container {
    padding: 60px 20px;
    background: linear-gradient(185deg, #f0f4f8 0%, white 100%);
    text-align: center;
    animation: fadeInUp 1s ease;
}

.news-item.hidden {
    display: none;
}

.news-container h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #222;
    letter-spacing: -0.5px;
}

.news-grid-wrapper {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.news-item {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid transparent;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    cursor: pointer;
    animation: bounceIn 0.8s ease forwards;
    overflow: hidden;
    height: 100%;
}

.news-item:hover {
    transform: scale(1.03) rotateZ(0.5deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.news-item-content {
    padding: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-item-content h3 {
    font-size: 1.4rem;
    color: #004d40;
    margin-bottom: 10px;
}

.news-item-content p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-item-content .news-desc {
    height: 3em; 
    margin-bottom: 6px; 
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item-content .publish-date {
    font-size: 0.85rem;
    color: #757575;
    margin-bottom: 6px;
}

.news-item-content a.read-more {
    align-self: flex-start;
    margin-top: auto;
    background: linear-gradient(90deg, #25523B, #358856);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item-content a.read-more:hover {
    background: #358856;
    transform: scale(1.05);
}

.news-item-content a.read-more::after {
    content: " →";
    transition: margin-left 0.3s ease;
    margin-left: 0;
}

.news-item-content a.read-more:hover::after {
    margin-left: 8px;
}

.pagination-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    width: 100%;
}

.pagination-container a {
    text-decoration: none;
}

.pagination-container button {
    padding: 8px 14px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.pagination-container button:hover:not(:disabled) {
    background-color: #f0f0f0;
}

.pagination-container button.active {
    background-color: #358856;
    color: white;
    border-color: #25523B;
    cursor: default;
}

.pagination-container button:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
    color: #999;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.advertisement {
    text-align: center;
    padding: 20px 0;
}

.ad-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px; 
    height: auto;
}

.ad-container img {
    width: 100%;
    border-radius: 10px; 
    display: block;
}

.ad-label {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7); 
    color: white;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
}

.partnership-section {
    text-align: center;
    padding: 40px 0;
}

.partnership-section h2 {
    font-size: 24px; 
    font-weight: bold;
    margin-bottom: 20px;
    color: black; 
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logo-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.footer {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px 20px;
    background-color: #333;
    color: #fff;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px;
    text-align: center;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #f2f2f2;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin: 5px 0;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-logo {
    width: 100%;
    max-width: 200px;
    margin-top: 40px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    margin: 0 5px;
}

.sponsor-logo {
    width: 100px;
    margin-top: 10px;
}

.footer-ramp-icons {
    position: relative;
    height: 60px;
    width: 100%;
    background: transparent;
    z-index: 2;
    overflow: hidden;
}

.ramp-icon {
    position: absolute;
    bottom: 0;
    width: auto;
    height: 200px;
    z-index: 3;
}

.ramp-icon.left {
    left: 0;
}

.ramp-icon.right {
    right: 0;
}

.ramp-icon.center {
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    width: 200px;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
        margin-right: 20px;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .sports-buttons button {
        font-size: 1.5rem;
        padding: 25px 30px;
    }
}

@media (max-width: 850px) {
    .hamburger {
        display: flex;
    }

    .nav-center {
        position: static;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 30px 0;
        gap: 30px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease-in-out;
        z-index: -1;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 999;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .sports-container {
        padding-top: 120px;
        justify-content: flex-start;
    }

    .sports-container h1 {
        font-size: 3em;
        margin-bottom: 30px;
    }

    .sports-buttons {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pagination-container button:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }

    .sports-buttons button {
        font-size: 1.4rem;
        padding: 15px 40px;
        max-width: 90%;
    }

    .news-grid-wrapper {
        width: 100%;
        padding: 0 10px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .ramp-icon {
        width: 60px;
    }

    .ramp-icon.center {
        width: 70px;
    }

    .pagination-container button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}