.plugin-hero {
    position: relative;
    padding: 76px 0 50px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 118, 194, 0.12);
    background:
        radial-gradient(circle at 84% 10%, rgba(229, 37, 151, 0.22), transparent 31%),
        radial-gradient(circle at 11% 85%, rgba(111, 22, 255, 0.17), transparent 28%),
        linear-gradient(to bottom, rgba(26, 8, 25, 0.62), rgba(8, 7, 13, 0.08));
}

.plugin-hero::after {
    position: absolute;
    width: 380px;
    height: 380px;
    content: "";
    top: -155px;
    right: 11%;
    border: 1px solid rgba(255, 133, 204, 0.15);
    border-radius: 50%;
    box-shadow:
        0 0 0 46px rgba(255, 110, 196, 0.025),
        0 0 0 92px rgba(255, 110, 196, 0.018);
    pointer-events: none;
}

.plugin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #f08dce;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.plugin-back-link:hover {
    color: #ffe1f3;
    transform: translateX(-4px);
}

.plugin-back-link span {
    font-size: 19px;
}

.plugin-hero-content {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 41px;
}

.plugin-hero-icon {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 90px;
    height: 90px;
    color: #ffd1ed;
    background: linear-gradient(135deg, rgba(225, 40, 151, 0.52), rgba(100, 9, 71, 0.52));
    border: 1px solid rgba(255, 172, 222, 0.31);
    border-radius: 25px;
    box-shadow: 0 17px 38px rgba(191, 15, 121, 0.32);
    font-family: "Space Grotesk", sans-serif;
    font-size: 40px;
    font-weight: 700;
}

.plugin-hero-icon::after {
    position: absolute;
    inset: 7px;
    content: "";
    border: 1px solid rgba(255, 229, 244, 0.18);
    border-radius: 19px;
}

.plugin-hero h1,
.plugin-page-heading h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: -2px;
}

.plugin-hero h1 {
    margin-top: 8px;
    font-size: clamp(39px, 5vw, 57px);
    line-height: 1;
}

.plugin-hero h1 span,
.plugin-page-heading h2 span {
    background: linear-gradient(100deg, #e83cc1, #ffacdf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plugin-hero p {
    max-width: 635px;
    margin-top: 14px;
    color: #b3a0b2;
    font-size: 14px;
    line-height: 1.75;
}

.plugin-category-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.plugin-category-stats > div {
    display: flex;
    flex: 1 1 155px;
    flex-direction: column;
    gap: 5px;
    min-width: 140px;
    padding: 15px 18px;
    background: rgba(31, 16, 33, 0.58);
    border: 1px solid rgba(255, 150, 211, 0.13);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.plugin-category-stats strong {
    color: #ffd2ed;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
}

.plugin-category-stats span {
    color: #a48d9f;
    font-size: 10px;
    font-weight: 700;
}

.plugin-resources-section {
    padding: 73px 0 95px;
}

.plugin-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 29px;
}

.plugin-page-heading h2 {
    margin-top: 9px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

.plugin-page-heading > p {
    color: #9b8796;
    font-size: 13px;
}

.plugin-toolbar {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto auto;
    gap: 12px;
    margin-bottom: 25px;
}

.plugin-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    background: rgba(25, 16, 28, 0.84);
    border: 1px solid rgba(255, 143, 208, 0.15);
    border-radius: 11px;
}

.plugin-search-wrap:focus-within {
    border-color: rgba(237, 83, 178, 0.62);
    box-shadow: 0 0 0 3px rgba(222, 37, 159, 0.12);
}

.plugin-search-wrap svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #ed72bd;
}

.plugin-search-wrap input {
    width: 100%;
    height: 45px;
    outline: none;
    color: #fff0fa;
    background: transparent;
    border: 0;
    font-size: 12px;
}

.plugin-search-wrap input::placeholder {
    color: #7f6676;
}

.plugin-filter-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: rgba(25, 16, 28, 0.84);
    border: 1px solid rgba(255, 143, 208, 0.15);
    border-radius: 11px;
}

.plugin-filter-button {
    min-height: 36px;
    padding: 0 12px;
    color: #a58c9d;
    background: transparent;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.plugin-filter-button:hover {
    color: #ffe5f5;
}

.plugin-filter-button.active {
    color: #fff;
    background: linear-gradient(135deg, #e23aa8, #9f126f);
    box-shadow: 0 5px 14px rgba(187, 20, 122, 0.33);
}

.plugin-sort-select {
    min-height: 46px;
    padding: 0 33px 0 13px;
    outline: none;
    color: #ead5e3;
    background: #19101d;
    border: 1px solid rgba(255, 143, 208, 0.15);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.plugin-sort-select:focus {
    border-color: rgba(237, 83, 178, 0.62);
}

.plugin-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.plugin-resource-card {
    overflow: hidden;
    background: linear-gradient(145deg, rgba(28, 17, 31, 0.98), rgba(14, 10, 21, 0.98));
    border: 1px solid rgba(255, 145, 211, 0.12);
    border-radius: 18px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.plugin-resource-card:hover {
    transform: translateY(-7px);
    border-color: rgba(249, 115, 196, 0.43);
    box-shadow: 0 22px 35px rgba(0, 0, 0, 0.25);
}

.plugin-card-visual {
    position: relative;
    height: 166px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.visual-boatrace {
    background: linear-gradient(135deg, #12385a, #1c9eb3);
}

.visual-combat {
    background: linear-gradient(135deg, #5c102c, #c12458);
}

.visual-crates {
    background: linear-gradient(135deg, #64320e, #e68625);
}

.visual-party {
    background: linear-gradient(135deg, #35215f, #8555d2);
}

.visual-survival {
    background: linear-gradient(135deg, #174a32, #35a66b);
}

.visual-messages {
    background: linear-gradient(135deg, #462660, #aa5ac0);
}

.plugin-card-symbol {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 59px;
    font-weight: 700;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.plugin-card-type {
    position: absolute;
    z-index: 3;
    bottom: 13px;
    left: 15px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.water-wave {
    position: absolute;
    width: 210px;
    height: 45px;
    border: 2px solid rgba(190, 245, 255, 0.33);
    border-top: 0;
    border-right: 0;
    border-radius: 0 0 0 80%;
    transform: rotate(-7deg);
}

.wave-one {
    left: -30px;
    bottom: 30px;
}

.wave-two {
    right: -45px;
    bottom: 15px;
    opacity: 0.55;
}

.combat-slash {
    position: absolute;
    width: 190px;
    height: 15px;
    background: rgba(255, 198, 215, 0.25);
    transform: rotate(-43deg);
}

.slash-one {
    top: 43px;
    left: -35px;
}

.slash-two {
    right: -42px;
    bottom: 38px;
}

.crate-shape {
    position: absolute;
    border: 1px solid rgba(255, 232, 186, 0.37);
    transform: rotate(27deg);
}

.crate-one {
    width: 142px;
    height: 142px;
    top: -55px;
    left: -25px;
}

.crate-two {
    width: 105px;
    height: 105px;
    right: -23px;
    bottom: -46px;
}

.party-dot {
    position: absolute;
    width: 53px;
    height: 53px;
    border: 1px solid rgba(234, 217, 255, 0.37);
    border-radius: 50%;
}

.dot-one {
    top: 25px;
    left: 40px;
}

.dot-two {
    right: 40px;
    bottom: 27px;
}

.dot-three {
    width: 130px;
    height: 130px;
    border-style: dashed;
}

.mountain {
    position: absolute;
    width: 0;
    height: 0;
    border-right: 80px solid transparent;
    border-bottom: 0;
    border-left: 80px solid transparent;
}

.mountain-one {
    bottom: -20px;
    left: -20px;
    border-bottom: 130px solid rgba(190, 255, 216, 0.24);
}

.mountain-two {
    right: -30px;
    bottom: -26px;
    border-right-width: 90px;
    border-left-width: 90px;
    border-bottom: 155px solid rgba(190, 255, 216, 0.15);
}

.message-box {
    position: absolute;
    border: 1px solid rgba(248, 216, 255, 0.37);
    border-radius: 14px;
}

.message-one {
    width: 131px;
    height: 63px;
    top: 26px;
    left: 29px;
    transform: rotate(-10deg);
}

.message-two {
    width: 106px;
    height: 52px;
    right: 29px;
    bottom: 24px;
    transform: rotate(8deg);
}

.plugin-card-content {
    padding: 19px;
}

.plugin-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}

.plugin-card-meta > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.plugin-premium-label {
    padding: 5px 9px;
    color: #ffda7e;
    background: rgba(255, 183, 27, 0.12);
    border-radius: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.plugin-rating {
    color: #ffc968;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.plugin-card-content h3 {
    margin-top: 15px;
    color: #f7f0f6;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.plugin-card-content > p {
    min-height: 57px;
    margin-top: 8px;
    color: #a996a4;
    font-size: 12px;
    line-height: 1.58;
}

.plugin-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 15px;
}

.plugin-card-tags span {
    padding: 5px 8px;
    color: #c8adbe;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
}

.plugin-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    color: #887582;
    font-size: 10px;
    font-weight: 700;
}

.plugin-open-link {
    color: #f187c8;
    font-size: 11px;
    font-weight: 800;
}

.plugin-open-link span {
    padding-left: 3px;
    font-size: 14px;
    transition: padding 0.2s ease;
}

.plugin-open-link:hover span {
    padding-left: 7px;
}

.no-plugin-results {
    display: none;
    padding: 60px 20px;
    color: #9a8897;
    border: 1px dashed rgba(255, 144, 208, 0.22);
    border-radius: 17px;
    text-align: center;
}

.no-plugin-results.show {
    display: block;
}

.no-plugin-results > span {
    display: block;
    margin-bottom: 12px;
    color: #ee76bc;
    font-size: 34px;
}

.no-plugin-results h3 {
    color: #f1dfe9;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
}

.no-plugin-results p {
    margin-top: 7px;
    font-size: 12px;
}

@media (max-width: 1050px) {
    .plugin-resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plugin-toolbar {
        grid-template-columns: 1fr auto;
    }

    .plugin-search-wrap {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .plugin-hero {
        padding: 49px 0 35px;
    }

    .plugin-hero-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        margin-top: 30px;
    }

    .plugin-hero-icon {
        width: 69px;
        height: 69px;
        border-radius: 20px;
        font-size: 31px;
    }

    .plugin-hero h1 {
        font-size: 39px;
    }

    .plugin-hero p {
        font-size: 13px;
    }

    .plugin-category-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .plugin-category-stats > div {
        min-width: 0;
        padding: 13px;
    }

    .plugin-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .plugin-toolbar {
        grid-template-columns: 1fr;
    }

    .plugin-filter-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .plugin-filter-button {
        flex: 1;
        padding: 0 7px;
    }

    .plugin-sort-select {
        width: 100%;
    }

    .plugin-resource-grid {
        grid-template-columns: 1fr;
    }

    .plugin-card-content > p {
        min-height: auto;
    }
}