/* Single Match Type Detail */

.single-match-type-container {
    max-width: 1400px;
    margin: 0rem auto 4rem;
    padding: 0 1.25rem;
    color: #E9ECF2;
    font-family: 'sofia-sans', sans-serif;
}

.single-match-type-error {
    text-align: center;
    padding: 4rem 1rem;
    color: #A0A6BC;
    font-style: italic;
}

/* Breadcrumb */
.single-match-type-breadcrumb {
    font-size: 0.9rem;
    color: #A0A6BC;
    margin-bottom: 1.5rem;
}
.single-match-type-breadcrumb a {
    color: #8A96C7;
    text-decoration: none;
    transition: color 0.2s ease;
}
.single-match-type-breadcrumb a:hover { color: #E6C97F; }
.single-match-type-breadcrumb-sep { margin: 0 0.5rem; color: rgba(160,166,188,0.5); }
.single-match-type-breadcrumb-current { color: #E9ECF2; }

/* Header */
.single-match-type-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(230, 201, 127, 0.18);
}

.single-match-type-title {
    font-family: 'khand', sans-serif;
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    color: #E6C97F;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
    line-height: 1.05;
}

.single-match-type-description {
    color: #C5CAD8;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto 1.5rem;
}

/* Stat strip */
.single-match-type-stat-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 1.25rem;
}

.single-match-type-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.single-match-type-stat-value {
    font-family: 'khand', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #E9ECF2;
    line-height: 1;
}

.single-match-type-stat-label {
    font-size: 0.75rem;
    color: #A0A6BC;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Section titles */
.single-match-type-section-title {
    font-family: 'khand', sans-serif;
    font-size: 1.5rem !important;
    color: #E9ECF2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1.25rem 0;
    font-weight: 600;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(230, 201, 127, 0.18);
}

/* Leaderboards */
.single-match-type-leaderboards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.single-match-type-leaderboard {
    background: linear-gradient(135deg, rgba(26, 36, 46, 0.6) 0%, rgba(18, 25, 33, 0.6) 100%);
    border: 1px solid rgba(230, 201, 127, 0.18);
    border-radius: 12px;
    padding: 1.5rem;
}

.single-match-type-leader-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.single-match-type-leader-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 0.75rem;
    background: rgba(10, 14, 19, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(160, 166, 188, 0.12);
    transition: border-color 0.2s ease;
}

.single-match-type-leader-item:hover {
    border-color: rgba(230, 201, 127, 0.35);
}

.single-match-type-leader-rank {
    font-family: 'khand', sans-serif;
    font-size: 1.3rem;
    color: #E6C97F;
    font-weight: 700;
    min-width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.single-match-type-leader-image,
.single-match-type-leader-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    background: #1A242E;
    border: 1px solid rgba(230, 201, 127, 0.3);
}

.single-match-type-leader-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'khand', sans-serif;
    font-size: 1.4rem;
    color: #E6C97F;
    font-weight: 700;
}

.single-match-type-leader-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.single-match-type-leader-name {
    color: #E9ECF2;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.single-match-type-leader-name:hover { color: #E6C97F; }

.single-match-type-leader-count {
    color: #A0A6BC;
    font-size: 0.85rem;
}

/* Promotion breakdown */
.single-match-type-promotions {
    margin-bottom: 2.5rem;
}

.single-match-type-promo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.single-match-type-promo-item {
    display: grid;
    grid-template-columns: minmax(140px, 22%) 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0.85rem;
    background: rgba(10, 14, 19, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(160, 166, 188, 0.12);
}

.single-match-type-promo-name {
    color: #E6C97F;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.single-match-type-promo-name:hover { color: #8A96C7; }

.single-match-type-promo-bar {
    height: 8px;
    background: rgba(160, 166, 188, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.single-match-type-promo-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #E6C97F 0%, #BFA45B 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.single-match-type-promo-count {
    font-family: 'khand', sans-serif;
    font-size: 1.15rem;
    color: #E9ECF2;
    font-weight: 700;
    min-width: 2.5rem;
    text-align: right;
}

/* Recent matches */
.single-match-type-matches {
    margin-bottom: 2.5rem;
}

.single-match-type-match-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.single-match-type-match-row {
    background: rgba(10, 14, 19, 0.5);
    border: 1px solid rgba(160, 166, 188, 0.12);
    border-radius: 8px;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.single-match-type-match-row:hover {
    border-color: rgba(230, 201, 127, 0.45);
    transform: translateX(2px);
}

.single-match-type-match-link {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    color: #E9ECF2;
    text-decoration: none;
}

.single-match-type-match-date {
    font-family: 'khand', sans-serif;
    font-size: 1rem;
    color: #E6C97F;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-match-type-match-participants {
    color: #E9ECF2;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.3;
}

.single-match-type-match-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 0.82rem;
    color: #A0A6BC;
    text-align: right;
}

.single-match-type-match-event { color: #C5CAD8; text-transform:uppercase; font-size:.9rem }
.single-match-type-match-promotion { color: #8A96C7; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.72rem; }

/* Load more */
.single-match-type-load-more-wrap {
    text-align: center;
    margin-top: 1.5rem;
}

.single-match-type-load-more {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #E6C97F 0%, #BFA45B 100%);
    color: #0A0E13;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    font-family: 'sofia-sans', sans-serif;
}

.single-match-type-load-more:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 201, 127, 0.25);
}

.single-match-type-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.single-match-type-load-status {
    display: inline-block;
    margin-left: 0.75rem;
    font-size: 0.85rem;
    color: #A0A6BC;
}

/* Responsive */
@media (max-width: 900px) {
    .single-match-type-leaderboards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .single-match-type-promo-item {
        grid-template-columns: 1fr auto;
        gap: 0.5rem;
    }
    .single-match-type-promo-bar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .single-match-type-stat-strip { gap: 1.5rem; }
    .single-match-type-stat-value { font-size: 1.9rem; }
    .single-match-type-match-link {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
    .single-match-type-match-date {
        font-size: 0.85rem;
    }
    .single-match-type-match-meta {
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
