.cos-home-forum-showcase {
    margin: 42px 0 78px;
    padding: 0 5vw;
    display: grid;
    gap: 148px;
}

.cos-home-forum-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.cos-home-forum-shell {
    width: 100%;
    padding: 28px clamp(24px, 3vw, 36px) 30px;
    background: transparent;
    border: 1px solid rgba(223, 188, 135, 0.12);
    border-radius: 28px;
}

.cos-home-forum-title {
    margin: 0 0 14px;
    color: #f1e4d1;
    font-family: "Libre Baskerville", sans-serif;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.cos-home-arena-description {
    margin: 10px 0 0;
    color: rgba(241, 228, 209, 0.72);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.45;
    text-align: center;
}

.cos-home-arena-list,
.cos-home-forum-secondary-list {
    display: grid;
    gap: 20px;
}

.cos-home-arena-list {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
}

.cos-home-arena-item,
.cos-home-forum-secondary-item {
    color: inherit;
    text-decoration: none;
}

.cos-home-arena-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 18px 0 2px;
    border-top: 0;
}

.cos-home-arena-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 108px;
    height: 1px;
    background: rgba(223, 188, 135, 0.18);
    transform: translateX(-50%);
}

.cos-home-arena-item-title {
    color: #f4eadc;
    font-size: clamp(19px, 1.55vw, 25px);
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -0.025em;
    text-align: center;
    transition: color 180ms ease;
}

.cos-home-arena-scoreboard-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
}

.cos-home-arena-score-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #f6eee1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.cos-home-arena-score-label strong {
    font-size: 13px;
    letter-spacing: 0;
}

.cos-home-arena-score-label-defend {
    justify-content: flex-start;
}

.cos-home-arena-score-label-attack {
    justify-content: flex-end;
}

.cos-home-arena-score-symbol {
    color: #f0dec1;
    font-size: 14px;
    line-height: 1;
}

.cos-home-arena-scorebar {
    position: relative;
    display: flex;
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(201, 152, 88, 0.16);
    background:
        linear-gradient(180deg, rgba(20, 18, 15, 0.98), rgba(12, 11, 10, 0.99)),
        rgba(14, 12, 10, 0.98);
    box-shadow:
        inset 0 1px 0 rgba(255, 241, 219, 0.06),
        inset 0 -8px 14px rgba(0, 0, 0, 0.22);
}

.cos-home-arena-scorebar-defend,
.cos-home-arena-scorebar-attack {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    height: 100%;
}

.cos-home-arena-scorebar-attack {
    width: var(--cos-home-arena-defend-pct, 50%);
    background:
        linear-gradient(180deg, rgba(157, 231, 161, 0.16), rgba(157, 231, 161, 0) 56%),
        linear-gradient(90deg, #4da66d 0%, #69cf8a 48%, #8ce7a7 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -4px 8px rgba(0, 0, 0, 0.14);
    border-radius: 999px 0 0 999px;
}

.cos-home-arena-scorebar-defend {
    width: var(--cos-home-arena-attack-pct, 50%);
    background:
        linear-gradient(180deg, rgba(255, 197, 170, 0.14), rgba(255, 197, 170, 0) 56%),
        linear-gradient(90deg, #ea8260 0%, #d15947 48%, #a53c34 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -4px 8px rgba(0, 0, 0, 0.16);
    border-radius: 0 999px 999px 0;
}

.cos-home-arena-scorebar-divider {
    display: none;
}

.cos-home-arena-scorebar-spark {
    position: absolute;
    top: 50%;
    left: var(--cos-home-arena-defend-pct, 50%);
    z-index: 4;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cos-home-arena-scorebar-spark::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 18px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 249, 237, 0), rgba(255, 248, 234, 0.96) 18%, rgba(255, 213, 118, 0.98) 50%, rgba(255, 166, 61, 0.68) 82%, rgba(255, 249, 237, 0));
    box-shadow:
        0 0 10px rgba(255, 226, 148, 0.92),
        0 0 18px rgba(255, 177, 84, 0.54);
}

.cos-home-arena-scorebar-spark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38px;
    height: 20px;
    transform: translate(-50%, -50%);
    background:
        linear-gradient(90deg, rgba(255, 195, 102, 0) 0%, rgba(255, 207, 126, 0) 18%, rgba(255, 225, 159, 0.18) 34%, rgba(255, 239, 197, 0.88) 74%, rgba(255, 247, 226, 0.98) 100%) left center / 48% 100% no-repeat,
        linear-gradient(270deg, rgba(255, 195, 102, 0) 0%, rgba(255, 207, 126, 0) 18%, rgba(255, 225, 159, 0.18) 34%, rgba(255, 239, 197, 0.88) 74%, rgba(255, 247, 226, 0.98) 100%) right center / 48% 100% no-repeat,
        radial-gradient(ellipse at 50% 50%, rgba(255, 234, 182, 0.48), rgba(255, 181, 78, 0.16) 44%, transparent 74%) center / 100% 100% no-repeat;
    opacity: 0.98;
    filter: drop-shadow(0 0 10px rgba(255, 203, 109, 0.30));
}

.cos-home-arena-item:hover .cos-home-arena-item-title,
.cos-home-arena-item:focus-visible .cos-home-arena-item-title,
.cos-home-forum-secondary-item:hover .cos-home-forum-secondary-title,
.cos-home-forum-secondary-item:focus-visible .cos-home-forum-secondary-title {
    color: var(--cos-forum-accent-soft, #dfbc87);
}

.cos-home-forum-secondary {
    margin-top: 18px;
    padding-top: 0;
    border-top: 0;
}

.cos-home-forum-secondary-label {
    margin: 0 0 14px;
    color: rgba(223, 208, 188, 0.56);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
}

.cos-home-forum-secondary-list {
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: stretch;
}

.cos-home-forum-secondary-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 24px;
    align-items: center;
    width: 100%;
    padding: 14px 0;
    border-top: 1px solid rgba(223, 188, 135, 0.12);
    text-align: left;
}

.cos-home-forum-secondary-title {
    color: #f0e3cf;
    font-size: clamp(17px, 1.3vw, 20px);
    font-weight: 500;
    line-height: 1.34;
    letter-spacing: -0.02em;
    transition: color 180ms ease;
}

.cos-home-forum-secondary-meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: rgba(223, 208, 188, 0.62);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}

.cos-home-forum-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.cos-home-forum-actions--forum,
.cos-home-forum-actions--arena {
    margin-top: 18px;
}

.cos-home-forum-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid rgba(223, 188, 135, 0.18);
    border-radius: 999px;
    background: rgba(18, 14, 11, 0.56);
    color: #f1e4d1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease,
        transform 180ms ease, box-shadow 180ms ease;
}

.cos-home-forum-link:hover,
.cos-home-forum-link:focus-visible {
    border-color: rgba(223, 188, 135, 0.34);
    background: rgba(26, 20, 16, 0.72);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    color: var(--cos-forum-accent-soft, #dfbc87);
    transform: translateY(-1px);
}

@media (max-width: 860px) {
    .cos-home-forum-showcase {
        margin: 36px 0 68px;
        gap: 138px;
    }

    .cos-home-arena-list,
    .cos-home-forum-secondary-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cos-home-forum-secondary-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .cos-home-forum-secondary-meta {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .cos-home-forum-showcase {
        margin: 30px 0 54px;
        padding: 0 18px;
        gap: 94px;
    }

    .cos-home-forum-title {
        margin-bottom: 12px;
        font-size: 28px;
    }

    .cos-home-forum-shell {
        padding: 24px 20px 24px;
        border-radius: 24px;
    }

    .cos-home-arena-description {
        margin-top: 8px;
        font-size: 14px;
    }

    .cos-home-arena-list {
        margin-top: 20px;
    }

    .cos-home-arena-scoreboard-head {
        gap: 10px;
    }

    .cos-home-arena-score-label {
        gap: 7px;
        font-size: 10px;
    }

    .cos-home-arena-score-label strong {
        font-size: 12px;
    }

    .cos-home-arena-note {
        margin-top: 10px;
        font-size: 14px;
        white-space: normal;
    }

    .cos-home-forum-secondary {
        margin-top: 20px;
        padding-top: 0;
    }

    .cos-home-forum-actions {
        margin-top: 24px;
    }
}
