/* CPL New Design - Modern Layout */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #121212;
}

/* CPL Hero Section */
.cpl-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    overflow: hidden;
    margin-top: 76px;
}

.cpl-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/CPL.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.cpl-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cpl-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    margin: 0 auto 30px auto;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.cpl-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.cpl-season {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #FFD700;
}

.cpl-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cpl-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cpl-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.cpl-stat-item {
    text-align: center;
}

.cpl-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cpl-stat-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Promotional Banners */
.cpl-promo-banners {
    padding: 40px 0;
    background: transparent;
}

.promo-banner {
    background: linear-gradient(135deg, #00C851 0%, #32CD32 50%, #FFD700 100%);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 200, 81, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 200, 81, 0.4);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.promo-banner:hover::before {
    transform: translateX(100%);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    color: #0a0a0a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.promo-icon {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.grid-icon {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.grid-square {
    width: 12px;
    height: 12px;
    background: #0a0a0a;
    border-radius: 2px;
    position: absolute;
}

.grid-square:nth-child(1) {
    top: 12px;
    left: 12px;
}

.grid-square:nth-child(2) {
    top: 12px;
    right: 12px;
}

.grid-square:nth-child(3) {
    bottom: 12px;
    left: 12px;
}

.grid-plus {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: #0a0a0a;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 900;
    color: #FFD700;
}

.score-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.score-icon::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.checkmark {
    font-size: 24px;
    font-weight: 900;
    color: #0a0a0a;
    z-index: 2;
    position: relative;
}

.promo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.promo-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Responsive Design for Promo Banners */
@media (max-width: 768px) {
    .cpl-promo-banners {
        padding: 30px 0;
    }
    
    .promo-banner {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .grid-icon,
    .score-icon {
        width: 50px;
        height: 50px;
    }
    
    .grid-icon {
        padding: 10px;
    }
    
    .grid-square {
        width: 10px;
        height: 10px;
    }
    
    .grid-square:nth-child(1) {
        top: 10px;
        left: 10px;
    }
    
    .grid-square:nth-child(2) {
        top: 10px;
        right: 10px;
    }
    
    .grid-square:nth-child(3) {
        bottom: 10px;
        left: 10px;
    }
    
    .grid-plus {
        bottom: 10px;
        right: 10px;
        width: 10px;
        height: 10px;
        font-size: 7px;
    }
    
    .checkmark {
        font-size: 20px;
    }
    
    .promo-text {
        font-size: 1rem;
    }
    
    .promo-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .promo-banner {
        padding: 20px 15px;
    }
    
    .promo-text {
        font-size: 0.9rem;
    }
    
    .promo-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* Advertisement Banner */
.ad-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background: #f8f9fa;
}

.ad-banner {
    position: relative;
    max-width: 1200px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ad-content {
    position: relative;
    width: 100%;
    height: 200px;
}

.ad-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 2;
}

.ad-full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Home Sponsors Section */
.home-sponsors {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
}

.home-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.home-section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.home-section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00C851, #FFD700);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.home-section-subtitle {
    font-size: 1.1rem;
    color: #adb5bd;
    margin-bottom: 0;
}

.home-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.home-sponsor-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 200, 81, 0.16);
    padding: 30px 20px;
    height: 140px;
    width: 100%;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.home-sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 200, 81, 0.15);
    border-color: rgba(0, 200, 81, 0.28);
}

.home-sponsor-card img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.home-sponsor-card:hover img {
    filter: grayscale(0%);
}

/* Responsive Design for Home Sponsors */
@media (max-width: 991px) {
    .home-sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
    }
    
    .home-sponsor-card {
        height: 120px;
        width: 100%;
        min-width: 200px;
        padding: 25px 15px;
    }
}

@media (max-width: 767px) {
    .home-sponsors-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
    }
    
    .home-sponsor-card {
        height: 100px;
        width: 100%;
        min-width: 280px;
        padding: 20px 15px;
    }
    
    .home-sponsor-card img {
        max-width: 100px;
        max-height: 60px;
    }
}

.cpl-sponsors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,200,81,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cpl-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cpl-sponsor-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 200, 81, 0.16);
    padding: 30px 20px;
    height: 140px;
    width: 100%;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.cpl-sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 200, 81, 0.15);
    border-color: rgba(0, 200, 81, 0.28);
}

.cpl-sponsor-card img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.cpl-sponsor-card:hover img {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.05);
}

/* Responsive Design for Ads and Sponsors */
@media (max-width: 768px) {
    .ad-content {
        height: 150px;
    }
    
    .cpl-sponsors {
        padding: 60px 0;
    }
    
    .cpl-sponsors-title {
        font-size: 2rem;
    }
    
    .cpl-sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }
    
    .cpl-sponsor-card {
        padding: 30px 20px;
    }
    
    .cpl-sponsor-card img {
        max-height: 60px;
    }
}

@media (max-width: 576px) {
    .ad-content {
        height: 120px;
    }
    
    .cpl-sponsors-title {
        font-size: 1.5rem;
    }
    
    .cpl-sponsors-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cpl-sponsor-card {
        padding: 25px 15px;
    }
}

/* Quick Stats Section */
.cpl-quick-stats {
    background: transparent;
    padding: 40px 0;
    box-shadow: none;
}

.cpl-quick-stat {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 200, 81, 0.16);
}

.cpl-quick-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 200, 81, 0.15);
    background: linear-gradient(135deg, #1f1f1f 0%, #141414 100%);
}

.cpl-quick-stat i {
    font-size: 2rem;
    color: #00C851;
    margin-bottom: 15px;
}

.cpl-quick-stat h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.cpl-quick-stat p {
    font-size: 0.9rem;
    color: #adb5bd;
    font-weight: 500;
}

/* Main Content */
.cpl-main-content {
    padding: 60px 0;
}

.cpl-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.cpl-section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.cpl-view-all {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.cpl-view-all:hover {
    color: #0d6efd;
}

/* Featured Match Carousel */
.cpl-featured-match {
    margin-bottom: 40px;
}

/* Next Match Auto-Scroll Carousel */
.next-match-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    height: 200px;
}

.carousel-track {
    display: flex;
    animation: autoScroll 30s linear infinite;
    width: calc(300% + 600px); /* Accommodate all slides + duplicates */
}

.match-banner-slide {
    flex: 0 0 300px;
    height: 200px;
    margin-right: 15px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.match-banner-slide:hover {
    transform: scale(1.05);
}

.match-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.match-banner-img:hover {
    filter: brightness(1.1);
}

/* Auto-scroll animation */
@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 11 - 165px)); /* Move by 11 slides + margins */
    }
}

/* Pause animation on hover */
.next-match-carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Responsive Design for Next Match Carousel */

/* Large tablets and small desktops */
@media (max-width: 992px) {
    .carousel-wrapper {
        height: 180px;
    }
    
    .match-banner-slide {
        flex: 0 0 280px;
        height: 180px;
        margin-right: 12px;
    }
    
    .carousel-track {
        animation: autoScrollTablet 28s linear infinite;
    }
    
    @keyframes autoScrollTablet {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 11 - 132px));
        }
    }
}

/* Tablets */
@media (max-width: 768px) {
    .cpl-featured-match {
        margin-bottom: 30px;
    }
    
    .carousel-wrapper {
        height: 160px;
    }
    
    .match-banner-slide {
        flex: 0 0 260px;
        height: 160px;
        margin-right: 10px;
    }
    
    .carousel-track {
        animation: autoScrollMobile 26s linear infinite;
    }
    
    @keyframes autoScrollMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-260px * 11 - 110px));
        }
    }
    
    .next-match-carousel {
        margin: 0 -15px;
        border-radius: 0;
    }
}

/* Mobile landscape */
@media (max-width: 640px) {
    .carousel-wrapper {
        height: 140px;
    }
    
    .match-banner-slide {
        flex: 0 0 220px;
        height: 140px;
        margin-right: 8px;
    }
    
    .carousel-track {
        animation: autoScrollMobileLandscape 24s linear infinite;
    }
    
    @keyframes autoScrollMobileLandscape {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-220px * 11 - 88px));
        }
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .cpl-section-header {
        margin-bottom: 15px;
        padding: 0 15px;
    }
    
    .cpl-section-header h2 {
        font-size: 1.3rem;
    }
    
    .cpl-live-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .carousel-wrapper {
        height: 120px;
    }
    
    .match-banner-slide {
        flex: 0 0 200px;
        height: 120px;
        margin-right: 6px;
        border-radius: 8px;
    }
    
    .match-banner-img {
        border-radius: 8px;
    }
    
    .carousel-track {
        animation: autoScrollSmall 22s linear infinite;
    }
    
    @keyframes autoScrollSmall {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 11 - 66px));
        }
    }
    
    .next-match-carousel {
        margin: 0 -20px;
        border-radius: 0;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    .carousel-wrapper {
        height: 100px;
    }
    
    .match-banner-slide {
        flex: 0 0 170px;
        height: 100px;
        margin-right: 5px;
    }
    
    .carousel-track {
        animation: autoScrollExtraSmall 20s linear infinite;
    }
    
    @keyframes autoScrollExtraSmall {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-170px * 11 - 55px));
        }
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .match-banner-slide:hover {
        transform: none;
    }
    
    .match-banner-img:hover {
        filter: none;
    }
    
    .next-match-carousel:hover .carousel-track {
        animation-play-state: running;
    }
    
    /* Add touch feedback */
    .match-banner-slide:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

.cpl-live-badge {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.cpl-match-carousel {
    position: relative;
}

.cpl-carousel-container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.cpl-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* 3 slides * 100% */
}

.cpl-carousel-slide {
    width: 33.333%; /* 100% / 3 slides */
    flex-shrink: 0;
}

.cpl-match-card-large {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 200, 81, 0.16);
    margin: 0;
}

.cpl-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.cpl-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cpl-indicator.active {
    background: #00C851;
    transform: scale(1.2);
}

.cpl-indicator:hover {
    background: rgba(255, 255, 255, 0.4);
}

.cpl-match-info {
    text-align: center;
    margin-bottom: 30px;
}

.cpl-match-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.cpl-match-venue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #adb5bd;
    font-size: 0.9rem;
}

.cpl-match-venue i {
    color: #00C851;
}

.cpl-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.cpl-team {
    text-align: center;
    flex: 1;
}

.cpl-team-logo-large {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
}

.cpl-team h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.cpl-team p {
    font-size: 0.85rem;
    color: #adb5bd;
}

.cpl-vs {
    margin: 0 30px;
    text-align: center;
}

.cpl-vs span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFD700;
    background: linear-gradient(90deg, #00C851, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cpl-match-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cpl-btn {
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.5px;
}

.cpl-btn-primary {
    background: linear-gradient(135deg, #00C851 0%, #32CD32 50%, #FFD700 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.3);
}

.cpl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 81, 0.4);
    background: linear-gradient(135deg, #00C851 0%, #32CD32 40%, #FFD700 90%);
}

.cpl-btn-outline {
    background: transparent;
    color: #00C851;
    border: 2px solid #00C851;
}

.cpl-btn-outline:hover {
    background: #00C851;
    color: #0a0a0a;
}

/* Latest Results */
.cpl-latest-results {
    margin-bottom: 40px;
}

.cpl-results-grid {
    display: grid;
    gap: 15px;
}

.cpl-result-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 200, 81, 0.16);
    transition: all 0.2s ease;
}

.cpl-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 200, 81, 0.15);
}

.cpl-result-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cpl-result-team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.cpl-result-team img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.cpl-result-team span {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
}

.cpl-result-score {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0d6efd;
    margin: 0 20px;
}

.cpl-result-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cpl-result-status {
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.cpl-result-date {
    font-size: 0.85rem;
    color: #adb5bd;
}

/* Standing Table */
.cpl-standing {
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.standing-header {
    background: #2c2c2c;
    padding: 12px 20px;
}

.standing-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.standing-table {
    width: 100%;
}

.standing-table-header {
    display: grid;
    grid-template-columns: 40px 1fr 40px 50px 50px;
    padding: 12px 20px;
    background: #4a4a4a;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.standing-table-row {
    display: grid;
    grid-template-columns: 40px 1fr 40px 50px 50px;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background-color 0.2s ease;
}

.standing-table-row:hover {
    background: #f8f9fa;
}

.standing-table-row:last-child {
    border-bottom: none;
}

.standing-position-1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
    border-left: 4px solid #FFD700;
}

.standing-position-2 {
    background: linear-gradient(90deg, rgba(156, 163, 175, 0.1), transparent);
    border-left: 4px solid #9ca3af;
}

.standing-position-3 {
    background: linear-gradient(90deg, rgba(205, 133, 63, 0.1), transparent);
    border-left: 4px solid #cd853f;
}

.standing-pos {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 0.9rem;
}

.standing-club {
    display: flex;
    align-items: center;
    gap: 10px;
}

.standing-club img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.standing-club span {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 0.9rem;
}

.standing-pl {
    font-weight: 600;
    color: #666;
    text-align: center;
    font-size: 0.85rem;
}

.standing-gd {
    font-weight: 600;
    color: #28a745;
    text-align: center;
    font-size: 0.85rem;
}

.standing-pts {
    font-weight: 700;
    color: #2c2c2c;
    text-align: center;
    font-size: 0.9rem;
}

.standing-footer {
    padding: 20px;
    text-align: center;
    background: white;
}

.view-full-table-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-full-table-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #333;
    text-decoration: none;
}

/* Fixtures */
.cpl-fixtures {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 200, 81, 0.16);
    overflow: hidden;
}

.cpl-fixture-list {
    padding: 0;
}

.cpl-fixture-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.2s ease;
}

.cpl-fixture-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cpl-fixture-item:last-child {
    border-bottom: none;
}

.cpl-fixture-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.12);
    padding: 6px 10px;
    border-radius: 6px;
    min-width: 60px;
    text-align: center;
    margin-right: 15px;
}

.cpl-fixture-match {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cpl-fixture-teams span {
    font-weight: 600;
    color: #ffffff;
}

.cpl-fixture-time {
    font-size: 0.85rem;
    color: #adb5bd;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991px) {
    .cpl-hero-title {
        font-size: 2.5rem;
    }
    
    .cpl-hero-stats {
        gap: 40px;
    }
    
    .cpl-stat-number {
        font-size: 2rem;
    }
    
    .cpl-teams {
        flex-direction: column;
        gap: 20px;
    }
    
    .cpl-vs {
        margin: 0;
    }
    
    .cpl-team-logo-large {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 767px) {
    .cpl-hero {
        min-height: 50vh;
        padding: 40px 0;
    }
    
    .cpl-hero-title {
        font-size: 2rem;
    }
    
    .cpl-hero-stats {
        gap: 30px;
    }
    
    .cpl-stat-number {
        font-size: 1.5rem;
    }
    
    .cpl-main-content {
        padding: 40px 0;
    }
    
    .cpl-match-card-large {
        padding: 20px;
    }
    
    .cpl-match-actions {
        flex-direction: column;
    }
    
    .cpl-btn {
        width: 100%;
        text-align: center;
    }
    
    .cpl-table-header,
    .cpl-table-row {
        padding: 12px 15px;
        font-size: 0.8rem;
    }
    
    .cpl-fixture-item {
        padding: 12px 15px;
    }
    
    .cpl-fixture-date {
        min-width: 50px;
        font-size: 0.75rem;
        margin-right: 10px;
    }
}

@media (max-width: 575px) {
    .cpl-hero-badge {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
    
    .cpl-logo {
        width: 40px;
        height: 40px;
    }
    
    .cpl-hero-title {
        font-size: 1.8rem;
    }
    
    .cpl-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cpl-quick-stat {
        padding: 15px;
    }
    
    .cpl-quick-stat i {
        font-size: 1.5rem;
    }
    
    .cpl-quick-stat h3 {
        font-size: 1.2rem;
    }
    
    .cpl-result-teams {
        flex-direction: column;
        gap: 10px;
    }
    
    .cpl-result-score {
        order: -1;
        margin: 0 0 10px 0;
    }
}

/* News Section */
.cpl-news {
    padding: 60px 0;
    background: transparent;
}

.cpl-news-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 200, 81, 0.16);
    transition: all 0.3s ease;
    height: 100%;
}

.cpl-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 200, 81, 0.15);
}

.cpl-news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.cpl-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cpl-news-card:hover .cpl-news-image img {
    transform: scale(1.05);
}

.cpl-news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00C851;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cpl-news-content {
    padding: 25px;
}

.cpl-news-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cpl-news-content p {
    color: #adb5bd;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cpl-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.cpl-news-date {
    color: #0d6efd;
    font-weight: 600;
}

.cpl-news-views {
    color: #adb5bd;
}

/* Footer */
.cpl-footer {
    background: #0b0b0b;
    color: white;
    padding: 60px 0 20px;
}

.cpl-footer-content {
    margin-bottom: 40px;
}

.cpl-footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cpl-footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cpl-gold {
    color: #FFD700;
}

.cpl-footer-logo p {
    color: #adb5bd;
    margin-bottom: 20px;
}

.cpl-footer-social {
    display: flex;
    gap: 10px;
}

.cpl-social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cpl-social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.cpl-footer-links {
    list-style: none;
    padding: 0;
}

.cpl-footer-links li {
    margin-bottom: 8px;
}

.cpl-footer-links a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cpl-footer-links a:hover {
    color: #0d6efd;
}

.cpl-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.cpl-footer-bottom p {
    color: #adb5bd;
    margin: 0;
    font-size: 0.9rem;
}

/* CPL Footer Responsive Design */
/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .cpl-footer {
        padding: 70px 0 30px;
    }
    
    .cpl-footer-logo h3 {
        font-size: 2rem;
    }
    
    .cpl-footer-section h4 {
        font-size: 1.15rem;
    }
}

/* Desktop/Laptop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .cpl-footer {
        padding: 60px 0 25px;
    }
    
    .cpl-footer-logo h3 {
        font-size: 1.9rem;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .cpl-footer {
        padding: 50px 0 25px;
    }
    
    .cpl-footer-logo {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .cpl-footer-logo h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .cpl-footer-logo p {
        margin-bottom: 25px;
    }
    
    .cpl-footer-social {
        justify-content: center;
        margin-top: 20px;
    }
    
    .cpl-footer-section {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .cpl-footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .cpl-footer-bottom {
        text-align: center;
        margin-top: 30px;
        padding-top: 25px;
    }
    
    .cpl-footer-bottom .row > div {
        margin-bottom: 15px;
    }
}

/* Small Tablet/Large Mobile (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .cpl-news {
        padding: 40px 0;
    }
    
    .cpl-news-image {
        height: 180px;
    }
    
    .cpl-news-content {
        padding: 20px;
    }
    
    .cpl-footer {
        padding: 45px 0 20px;
    }
    
    .cpl-footer-content .row {
        text-align: center;
    }
    
    .cpl-footer-logo {
        margin-bottom: 25px;
    }
    
    .cpl-footer-logo h3 {
        font-size: 1.7rem;
        margin-bottom: 12px;
    }
    
    .cpl-footer-logo p {
        font-size: 0.9rem;
        max-width: 300px;
        margin: 0 auto 20px;
    }
    
    .cpl-footer-social {
        justify-content: center;
        gap: 12px;
        margin-top: 18px;
    }
    
    .cpl-social-btn {
        width: 42px;
        height: 42px;
    }
    
    .cpl-footer-section {
        margin-bottom: 25px;
    }
    
    .cpl-footer-section h4 {
        font-size: 1.05rem;
        margin-bottom: 12px;
    }
    
    .cpl-footer-links a {
        font-size: 0.9rem;
    }
    
    .cpl-footer-bottom {
        text-align: center;
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .cpl-footer-bottom .row > div {
        margin-bottom: 12px;
    }
    
    .cpl-footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .cpl-footer {
        padding: 40px 15px 20px;
    }
    
    .cpl-footer .container {
        padding: 0;
    }
    
    .cpl-footer-content .row {
        margin: 0;
        text-align: center;
    }
    
    .cpl-footer-content .row > div {
        padding: 0 10px;
        margin-bottom: 25px;
    }
    
    .cpl-footer-logo {
        margin-bottom: 20px;
    }
    
    .cpl-footer-logo h3 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .cpl-footer-logo h3 strong {
        color: #00C851; /* EM Green - matching header */
    }
    
    .cpl-gold {
        background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700, #FF8C00);
        background-size: 300% 300%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: goldShimmer 3s ease-in-out infinite;
    }
    
    .cpl-footer-logo p {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 280px;
        margin: 0 auto 15px;
    }
    
    .cpl-footer-social {
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    
    .cpl-social-btn {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
    
    .cpl-footer-section h4 {
        font-size: 1rem;
        margin-bottom: 10px;
        color: #FFD700;
        font-weight: 700;
    }
    
    .cpl-footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .cpl-footer-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .cpl-footer-links a {
        font-size: 0.9rem;
        display: inline-block;
        padding: 8px 12px;
        border-radius: 6px;
        transition: background-color 0.3s ease;
    }
    
    .cpl-footer-links a:hover {
        background-color: rgba(255, 215, 0, 0.1);
        text-decoration: none;
        color: #0d6efd;
    }
    
    .cpl-footer-bottom {
        text-align: center;
        margin-top: 20px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .cpl-footer-bottom .row {
        margin: 0;
    }
    
    .cpl-footer-bottom .row > div {
        padding: 0;
        margin-bottom: 10px;
    }
    
    .cpl-footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .cpl-footer {
        padding: 35px 10px 15px;
    }
    
    .cpl-footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .cpl-footer-logo p {
        font-size: 0.8rem;
        max-width: 250px;
    }
    
    .cpl-footer-section h4 {
        font-size: 0.95rem;
    }
    
    .cpl-footer-links a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .cpl-social-btn {
        width: 40px;
        height: 40px;
    }
    
    .cpl-footer-bottom p {
        font-size: 0.75rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .cpl-footer {
        padding: 30px 0 15px;
    }
    
    .cpl-footer-logo {
        margin-bottom: 15px;
    }
    
    .cpl-footer-section {
        margin-bottom: 15px;
    }
    
    .cpl-footer-bottom {
        margin-top: 15px;
        padding-top: 15px;
    }
}
