/* CSS AYNI - DEĞİŞİKLİK YOK */
body {
    margin: 0;
    padding: 20px;
}

.main-wrapper-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    max-height: 380px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 10px 0;
    position: relative;
    border: 1px solid #e2e8f0;
}

.match-section-wrapper {
    position: relative;
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
}

.match-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 5px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.match-container::-webkit-scrollbar {
    display: none;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #1e293b;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 5px;
}

.next-btn {
    right: 5px;
}

.m-card {
    flex: 0 0 200px;
    background: var(--backround-1);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 160px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.m-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.m-card.is-live-card {
    border: 2px solid var(--border);
    background: var(--backround-1);
}

.status-badge-absolute {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 12px;
    border-radius: 0 0 10px 10px;
    background: var(--backround-1);
    color: #64748b;
    text-transform: uppercase;
    z-index: 2;
}

.live-mode {
    background: var(--backround-1);
    color: var(--backround-1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.card-content-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
}

.team-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 35%;
    text-align: center;
}

.team-logo-lg {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 50%;
    padding: 5px;
    margin-bottom: 5px;
}

.team-name-display {
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.center-info-col {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.score-display {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    white-space: nowrap;
}

.date-display-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-large {
    font-size: 18px;
    font-weight: 800;
    color: #334155;
}

.date-full {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 2px;
}

.footer-info {
    margin-top: auto;
    padding-top: 8px;
    font-size: 9px;
    color: #cbd5e1;
}

#detail-wrapper {
    margin-top: 25px;
    min-height: 250px;
}

.blink-anim {
    animation: pulse 1s infinite;
}