/* Main CSS for Kooralive Theme */

/* Match Info Styles - Enhanced for Horizontal Display */
.match-info {
    margin-top: 0.5rem !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    align-items: center !important;
    overflow-x: auto !important;
    width: 100% !important;
    min-height: auto !important;
}

/* Force horizontal layout for all match info containers */
.match-card .match-info,
.match-card.enhanced .match-info,
div.match-info,
.match-info > *,
.match-info .match-venue,
.match-info .match-channel,
.match-info .match-commentator {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Override any conflicting styles */
.match-info * {
    display: inline-flex !important;
}

.match-info {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.match-venue,
.match-channel,
.match-commentator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0 !important;
    margin-bottom: 0 !important;
}

.match-venue:hover,
.match-channel:hover,
.match-commentator:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.venue-icon,
.channel-icon,
.commentator-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.match-channel {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.match-commentator {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

/* Enhanced Match Cards */
.match-card.enhanced {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.match-card.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.match-card.enhanced:hover::before {
    opacity: 1;
}

.match-card.enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 175, 80, 0.3);
}

/* Match Time and Status */
.match-time-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.match-time {
    text-align: center;
}

.match-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.2rem;
}

.match-time-hour {
    font-size: 0.9rem;
    font-weight: bold;
    color: #4CAF50;
}

.match-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status-live {
    background: linear-gradient(45deg, #f44336, #ff5722);
    color: white;
    animation: pulse 2s infinite;
}

.status-upcoming {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-finished {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-postponed {
    background: rgba(158, 158, 158, 0.2);
    color: #9E9E9E;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Teams Container */
.teams-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.team-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.team-logo:hover {
    transform: scale(1.1);
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-team-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.8rem;
}

.team-name {
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Match Score */
.match-score {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0 1rem;
}

.score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.score-home,
.score-away {
    color: #4CAF50;
    min-width: 30px;
    text-align: center;
}

.score-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

.vs {
    font-size: 1rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

/* Match Overlay Button - Hidden in Center - Enhanced */
.match-overlay-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 999 !important;
    pointer-events: none !important;
}

.match-card.enhanced:hover .match-overlay-btn,
.match-card:hover .match-overlay-btn {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.overlay-smart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    min-height: 50px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Overlay Button Variants */
.overlay-smart-btn.upcoming-btn {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9), rgba(25, 118, 210, 0.9));
    color: white;
}

.overlay-smart-btn.upcoming-btn:hover {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(33, 150, 243, 0.4);
}

.overlay-smart-btn.live-btn {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.9), rgba(211, 47, 47, 0.9));
    color: white;
    animation: live-glow-overlay 2s infinite;
}

.overlay-smart-btn.live-btn:hover {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(244, 67, 54, 0.5);
}

.overlay-smart-btn.finished-btn {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.9), rgba(123, 31, 162, 0.9));
    color: white;
}

.overlay-smart-btn.finished-btn:hover {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.4);
}

.overlay-smart-btn.default-btn {
    background: linear-gradient(135deg, rgba(96, 125, 139, 0.9), rgba(69, 90, 100, 0.9));
    color: white;
}

.overlay-smart-btn.default-btn:hover {
    background: linear-gradient(135deg, #607D8B, #455A64);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(96, 125, 139, 0.4);
}

/* Overlay Button Animations */
@keyframes live-glow-overlay {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(244, 67, 54, 0.3);
    }
    50% {
        box-shadow: 0 8px 32px rgba(244, 67, 54, 0.6), 0 0 30px rgba(244, 67, 54, 0.4);
    }
}

.overlay-smart-btn:hover .btn-icon {
    transform: scale(1.2);
}

.overlay-smart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.overlay-smart-btn:hover::before {
    left: 100%;
}

/* Enhanced Match Card for Overlay */
.match-card.enhanced {
    position: relative;
}

.match-card.enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 175, 80, 0.3);
}

.match-card.enhanced:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    z-index: 5;
}

/* Match Actions */
.match-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.details-btn,
.watch-btn,
.remind-btn,
.highlights-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.details-btn {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.details-btn:hover {
    background: #2196F3;
    color: white;
    transform: translateY(-2px);
}

.btn-icon {
    margin-left: 0.3rem;
    font-size: 0.9rem;
}

/* Smart Button Styles */
.smart-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 70px;
    flex: 1;
    margin-right: 0.5rem;
}

.smart-btn .btn-icon {
    font-size: 1.2rem;
    margin: 0 0 0.3rem 0;
    transition: transform 0.3s ease;
}

.smart-btn .btn-text {
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
    text-align: center;
    line-height: 1.2;
}

.smart-btn .btn-status {
    font-size: 0.6rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Smart Button Variants */
.upcoming-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: 2px solid rgba(33, 150, 243, 0.3);
}

.upcoming-btn:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.live-btn {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border: 2px solid rgba(244, 67, 54, 0.3);
    animation: live-glow 2s infinite;
}

.live-btn:hover {
    background: linear-gradient(135deg, #d32f2f, #c62828);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.5);
}

.finished-btn {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
    border: 2px solid rgba(156, 39, 176, 0.3);
}

.finished-btn:hover {
    background: linear-gradient(135deg, #7B1FA2, #6A1B9A);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

.default-btn {
    background: linear-gradient(135deg, #607D8B, #455A64);
    color: white;
    border: 2px solid rgba(96, 125, 139, 0.3);
}

.default-btn:hover {
    background: linear-gradient(135deg, #455A64, #37474F);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(96, 125, 139, 0.4);
}

/* Live Pulse Animation */
.live-pulse {
    animation: pulse-icon 1.5s infinite;
}

/* Secondary Action Button */
.action-btn.secondary {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.action-btn.secondary .btn-icon {
    margin: 0;
    font-size: 1rem;
}

/* Smart Button Animations */
@keyframes live-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(244, 67, 54, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(244, 67, 54, 0.8), 0 0 30px rgba(244, 67, 54, 0.4);
    }
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Smart Button Hover Effects */
.smart-btn:hover .btn-icon {
    transform: scale(1.2);
}

.smart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.smart-btn:hover::before {
    left: 100%;
}

/* Responsive Smart Buttons */
@media (max-width: 768px) {
    .smart-btn {
        min-height: 60px;
        padding: 0.6rem 0.8rem;
        margin-right: 0.3rem;
    }
    
    .smart-btn .btn-icon {
        font-size: 1rem;
    }
    
    .smart-btn .btn-text {
        font-size: 0.7rem;
    }
    
    .smart-btn .btn-status {
        font-size: 0.55rem;
    }
    
    .action-btn.secondary {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .match-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .smart-btn {
        margin-right: 0;
        min-height: 50px;
        flex-direction: row;
        text-align: right;
    }
    
    .smart-btn .btn-icon {
        margin: 0 0.5rem 0 0;
        font-size: 1.2rem;
    }
    
    .smart-btn .btn-text {
        flex: 1;
        text-align: right;
        margin-bottom: 0;
    }
    
    .smart-btn .btn-status {
        position: absolute;
        top: 0.3rem;
        left: 0.5rem;
        font-size: 0.5rem;
    }
    
    .action-btn.secondary {
        align-self: center;
        margin-top: 0.5rem;
    }
}

.watch-btn.live {
    background: linear-gradient(45deg, #f44336, #ff5722);
    color: white;
    animation: glow 2s infinite;
}

.watch-btn.live:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

.remind-btn {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.remind-btn:hover {
    background: #FFC107;
    color: #333;
    transform: translateY(-2px);
}

.highlights-btn {
    background: rgba(156, 39, 176, 0.2);
    color: #9C27B0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.highlights-btn:hover {
    background: #9C27B0;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .match-card.enhanced {
        padding: 1rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    .match-time-status {
        margin-bottom: 0.8rem;
    }
    
    .match-time {
        text-align: right;
    }
    
    .match-date {
        font-size: 0.65rem;
        margin-bottom: 0.1rem;
    }
    
    .match-time-hour {
        font-size: 0.8rem;
    }
    
    .match-status {
        padding: 0.2rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .teams-container {
        margin: 0.8rem 0;
        gap: 0.5rem;
    }
    
    .team {
        gap: 0.3rem;
    }
    
    .team-logo {
        width: 35px;
        height: 35px;
    }
    
    .team-name {
        font-size: 0.65rem;
        max-width: 70px;
        line-height: 1.1;
    }
    
    .match-score {
        margin: 0 0.5rem;
    }
    
    .score {
        font-size: 1.1rem;
        gap: 0.3rem;
    }
    
    .vs {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .match-info {
        gap: 0.3rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .match-venue,
    .match-channel,
    .match-commentator {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
        border-radius: 3px;
    }
    
    .venue-icon,
    .channel-icon,
    .commentator-icon {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .match-card.enhanced {
        padding: 0.6rem 0.5rem;
        border-radius: 8px;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .match-time-status {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.4rem;
    }
    
    .match-time {
        text-align: right;
        flex-shrink: 0;
    }
    
    .match-date {
        font-size: 0.55rem;
        margin-bottom: 0.1rem;
    }
    
    .match-time-hour {
        font-size: 0.7rem;
        font-weight: bold;
    }
    
    .match-status {
        padding: 0.1rem 0.4rem;
        font-size: 0.55rem;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .teams-container {
        margin: 0.4rem 0;
        align-items: center;
        flex: 1;
        display: flex;
        justify-content: space-between;
    }
    
    .team {
        flex: 1;
        gap: 0.2rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        max-width: 35%;
    }
    
    .team-home {
        justify-content: flex-start;
    }
    
    .team-away {
        justify-content: flex-end;
        flex-direction: row-reverse;
    }
    
    .team-logo {
        width: 25px;
        height: 25px;
        flex-shrink: 0;
    }
    
    .team-name {
        font-size: 0.55rem;
        max-width: 50px;
        text-align: center;
        line-height: 1.1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .match-score {
        margin: 0;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 60px;
    }
    
    .score {
        font-size: 0.9rem;
        gap: 0.2rem;
    }
    
    .score-home,
    .score-away {
        min-width: 18px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .score-separator {
        font-size: 0.8rem;
    }
    
    .vs {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
        border-radius: 8px;
    }
    
    .match-info {
        gap: 0.15rem;
        margin-top: 0.3rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .match-venue,
    .match-channel,
    .match-commentator {
        font-size: 0.5rem;
        padding: 0.08rem 0.2rem;
        border-radius: 2px;
    }
    
    .venue-icon,
    .channel-icon,
    .commentator-icon {
        font-size: 0.55rem;
    }
    
    /* الحفاظ على الشبكة الأفقية */
    .matches-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .league-section {
        padding: 0.8rem 0.6rem;
        margin-bottom: 1.2rem;
    }
    
    /* الحفاظ على رأس البطولة أفقي */
    .league-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.8rem;
        padding-bottom: 0.6rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .league-info {
        gap: 0.6rem;
        flex: 1;
        min-width: 0;
    }
    
    .league-logo {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
    
    .league-name {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .league-meta {
        gap: 0.4rem;
        font-size: 0.65rem;
    }
    
    .view-all-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        flex-shrink: 0;
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 360px) {
    .match-card.enhanced {
        padding: 0.6rem 0.5rem;
    }
    
    .team-name {
        font-size: 0.55rem;
        max-width: 50px;
    }
    
    .match-venue,
    .match-channel,
    .match-commentator {
        font-size: 0.5rem;
        padding: 0.08rem 0.2rem;
    }
    
    .league-section {
        padding: 0.8rem 0.6rem;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(244, 67, 54, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(244, 67, 54, 0.8);
    }
}

/* League Section Styles */
.league-section {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.league-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.league-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.league-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.league-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-league-logo {
    font-size: 1.5rem;
}

.league-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #4CAF50;
    margin: 0 0 0.3rem 0;
}

.league-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.view-all-btn {
    padding: 0.5rem 1rem;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-btn:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

/* Quick Filters */
.quick-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: bold;
}

.filter-tab:hover,
.filter-tab.active {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

.date-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.date-input {
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
}

.today-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: bold;
}

.today-btn:hover {
    background: #4CAF50;
    color: white;
}

/* No Matches State */
.no-matches-today {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-matches-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-matches-today h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.no-matches-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}
