* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cm-sporty-fixture-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding: 20px;
}

.cm-sporty-fixture-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.cm-sporty-fixture-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    overflow: hidden;
    animation: cm-sporty-fadeIn 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cm-sporty-fixture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

@keyframes cm-sporty-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cm-sporty-league-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
}

.cm-sporty-league-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cm-sporty-league-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.cm-sporty-league-name {
    font-size: 1.1em;
    font-weight: bold;
}

.cm-sporty-league-details {
    font-size: 0.8em;
    opacity: 0.9;
    margin-top: 3px;
}

.cm-sporty-match-container {
    padding: 20px;
}

.cm-sporty-status-badge {
    background: #10b981;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.cm-sporty-status-badge.not-started {
    background: #10b981;
}

.cm-sporty-status-badge.live {
    background: #ef4444;
    animation: cm-sporty-pulse 2s infinite;
}

.cm-sporty-status-badge.finished {
    background: #6b7280;
}

@keyframes cm-sporty-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.cm-sporty-teams-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.cm-sporty-team {
    text-align: center;
    flex: 1;
}

.cm-sporty-team-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.cm-sporty-team:hover .cm-sporty-team-logo {
    transform: scale(1.1);
}

.cm-sporty-team-name {
    font-size: 0.95em;
    font-weight: 600;
    color: #1f2937;
    word-wrap: break-word;
}

.cm-sporty-vs-separator {
    font-size: 1.2em;
    font-weight: bold;
    color: #6b7280;
    padding: 0 15px;
}

.cm-sporty-match-details {
    background: #f3f4f6;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.cm-sporty-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid #e5e7eb;
}

.cm-sporty-detail-row:last-child {
    border-bottom: none;
}

.cm-sporty-detail-label {
    color: #6b7280;
    font-size: 0.85em;
    flex: 1;
}

.cm-sporty-detail-value {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.85em;
    text-align: right;
    flex: 1;
    word-wrap: break-word;
}

.cm-sporty-icon {
    margin-right: 6px;
}

.cm-sporty-no-data {
    text-align: center;
    padding: 40px 20px;
    color: white;
    font-size: 1.5em;
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cm-sporty-fixture-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .cm-sporty-fixture-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cm-sporty-fixture-wrapper {
        padding: 15px;
    }
    
    .cm-sporty-teams-display {
        flex-direction: column;
        gap: 15px;
    }

    .cm-sporty-vs-separator {
        transform: rotate(90deg);
        padding: 8px 0;
    }

    .cm-sporty-team-logo {
        width: 50px;
        height: 50px;
    }
    
    .cm-sporty-league-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .cm-sporty-detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .cm-sporty-detail-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .cm-sporty-fixture-wrapper {
        padding: 10px;
    }
    
    .cm-sporty-match-container {
        padding: 15px;
    }
    
    .cm-sporty-league-header {
        padding: 12px 15px;
    }
    
    .cm-sporty-league-name {
        font-size: 1em;
    }
    
    .cm-sporty-team-name {
        font-size: 0.9em;
    }
}

/* Loading state animation */
.cm-sporty-fixture-wrapper.cm-sporty-loading {
    opacity: 0.7;
}

.cm-sporty-fixture-wrapper.cm-sporty-loading::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #ffffff;
    border-radius: 50%;
    animation: cm-sporty-spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

@keyframes cm-sporty-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}