.content-hero {
    margin-bottom: 24px;
}

.content-hero__inner {
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 34%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 34%),
        rgba(12, 16, 24, 0.96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.content-hero__inner h1 {
    margin: 10px 0 12px;
    font-size: 34px;
    line-height: 1.1;
}

.content-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.content-mini-stat {
    min-width: 140px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.content-mini-stat strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
}

.content-mini-stat span {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.content-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.content-toolbar--stack {
    flex-wrap: wrap;
}

.content-toolbar__left,
.content-toolbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.content-search-input {
    min-width: 280px;
    width: 100%;
    max-width: 420px;
    height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    outline: none;
    background: rgba(255,255,255,0.05);
    color: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.content-search-input::placeholder {
    color: rgba(255,255,255,0.42);
}

.content-search-input:focus {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    background: rgba(255,255,255,0.07);
}

.content-filter-btn {
    height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: #dbe4ff;
    cursor: pointer;
    font-weight: 700;
    transition: .2s ease;
}

.content-filter-btn:hover,
.content-filter-btn.is-active {
    background: rgba(99, 102, 241, 0.16);
    border-color: rgba(99, 102, 241, 0.35);
    color: #fff;
}

.news-grid,
.mods-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.content-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(12, 16, 24, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.content-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.content-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.content-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    flex: 1;
}

.content-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.56);
}

.content-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #8ae6c0;
    font-size: 12px;
    font-weight: 700;
}

.content-card__body h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    color: #fff;
}

.content-card__text {
    margin: 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
}

.content-card__footer-note {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.48);
    font-size: 13px;
    line-height: 1.6;
}

.rules-list {
    display: grid;
    gap: 18px;
}

.rules-card {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.rules-card__number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 24px 18px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.16), rgba(16, 185, 129, 0.08));
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.rules-card__content {
    padding: 24px;
    flex: 1;
}

.rules-card__content h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #fff;
}

.rules-card__text {
    color: rgba(255,255,255,0.74);
    line-height: 1.75;
}

.team-card {
    padding: 20px;
}

.team-card__top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.team-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    overflow: hidden;
    flex: 0 0 72px;
}

.team-card__avatar--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__avatar--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #10b981);
    color: #fff;
    font-weight: 900;
    font-size: 28px;
}

.team-card__identity h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #fff;
}

.team-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.24);
    color: #cfd4ff;
    font-size: 12px;
    font-weight: 700;
}

.team-card__description {
    margin: 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
}

.mod-card__media img {
    object-fit: cover;
}

.mod-card__footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mod-card__note {
    color: rgba(255,255,255,0.46);
    font-size: 13px;
}

.content-empty {
    padding: 48px 24px;
    text-align: center;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(12, 16, 24, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.content-empty--small {
    margin-top: 16px;
    padding: 28px 18px;
}

.content-empty__icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.content-empty h2 {
    margin: 0 0 10px;
    color: #fff;
}

@media (max-width: 1180px) {
    .news-grid,
    .mods-grid,
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .content-hero__inner {
        padding: 22px;
    }

    .content-hero__inner h1 {
        font-size: 28px;
    }

    .content-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .content-toolbar__left,
    .content-toolbar__right {
        width: 100%;
    }

    .content-search-input {
        min-width: 0;
        max-width: none;
    }

    .news-grid,
    .mods-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .rules-card {
        flex-direction: column;
    }

    .rules-card__number {
        min-width: 0;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
}
