.bot-hero {
    position: relative;
    padding: 76px 0 50px;
    overflow: hidden;
    border-bottom: 1px solid rgba(109, 125, 255, 0.16);
    background:
        radial-gradient(circle at 82% 10%, rgba(86, 101, 242, 0.27), transparent 31%),
        radial-gradient(circle at 11% 85%, rgba(72, 79, 205, 0.15), transparent 28%),
        linear-gradient(to bottom, rgba(13, 16, 48, 0.68), rgba(8, 7, 13, 0.08));
}

.bot-hero::before {
    position: absolute;
    width: 430px;
    height: 260px;
    content: "";
    top: -105px;
    right: 7%;
    border: 1px solid rgba(149, 160, 255, 0.14);
    border-radius: 22px;
    transform: rotate(11deg);
    box-shadow:
        0 0 0 42px rgba(99, 113, 255, 0.02),
        0 0 0 84px rgba(99, 113, 255, 0.012);
    pointer-events: none;
}

.bot-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #9da7ff;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.bot-back-link:hover {
    color: #e3e5ff;
    transform: translateX(-4px);
}

.bot-back-link span {
    font-size: 19px;
}

.bot-hero-layout {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 43px;
    margin-top: 41px;
}

.bot-hero h1,
.bot-page-heading h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: -2px;
}

.bot-hero h1 {
    margin-top: 8px;
    font-size: clamp(39px, 5vw, 57px);
    line-height: 1;
}

.bot-hero h1 span,
.bot-page-heading h2 span {
    background: linear-gradient(100deg, #6674ff, #b1baff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bot-hero p {
    max-width: 630px;
    margin-top: 16px;
    color: #a7aac8;
    font-size: 14px;
    line-height: 1.75;
}

.bot-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.bot-hero-pills span {
    padding: 7px 10px;
    color: #c5caff;
    background: rgba(95, 108, 243, 0.11);
    border: 1px solid rgba(151, 160, 255, 0.16);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
}

.bot-preview-window {
    position: relative;
    width: min(100%, 410px);
    justify-self: end;
    overflow: hidden;
    background: #1e1f22;
    border: 1px solid rgba(157, 166, 255, 0.32);
    border-radius: 14px;
    box-shadow:
        0 23px 48px rgba(0, 0, 0, 0.35),
        0 0 42px rgba(88, 101, 242, 0.14);
    transform: perspective(800px) rotateY(-6deg) rotateX(2deg);
}

.bot-preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #25262a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-preview-server {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bot-server-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    background: linear-gradient(135deg, #7b3eff, #5865f2);
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 900;
}

.bot-preview-server strong,
.bot-preview-server small {
    display: block;
}

.bot-preview-server strong {
    color: #f4f4f5;
    font-size: 10px;
}

.bot-preview-server small {
    margin-top: 2px;
    color: #94959b;
    font-size: 8px;
}

.bot-online-status {
    color: #5ddb91;
    font-size: 9px;
    font-weight: 800;
}

.bot-preview-body {
    display: grid;
    grid-template-columns: 91px 1fr;
    min-height: 172px;
}

.bot-preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 6px;
    background: #2b2d31;
    color: #9b9ca2;
    font-size: 8px;
    font-weight: 700;
}

.bot-preview-sidebar span {
    padding: 6px;
    border-radius: 4px;
}

.bot-preview-sidebar .sidebar-active {
    color: #f5f5f5;
    background: #41434a;
}

.bot-preview-chat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 13px;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.chat-avatar {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: white;
    font-size: 9px;
    font-weight: 900;
}

.bot-avatar {
    background: linear-gradient(135deg, #7b3eff, #5865f2);
}

.user-avatar {
    background: #dd7b42;
}

.chat-message strong {
    color: #eeeeef;
    font-size: 9px;
}

.chat-message strong i {
    margin-left: 3px;
    padding: 1px 3px;
    background: #5865f2;
    border-radius: 2px;
    font-size: 6px;
    font-style: normal;
}

.chat-message p {
    margin-top: 3px;
    color: #c4c5c8;
    font-size: 8px;
    line-height: 1.4;
}

.ticket-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 30px;
    padding: 7px;
    background: rgba(88, 101, 242, 0.16);
    border: 1px solid rgba(122, 134, 255, 0.21);
    border-radius: 5px;
}

.ticket-message > span {
    font-size: 15px;
}

.ticket-message strong,
.ticket-message small {
    display: block;
}

.ticket-message strong {
    color: #dfe2ff;
    font-size: 8px;
}

.ticket-message small {
    max-width: 145px;
    margin-top: 2px;
    color: #aeb3d8;
    font-size: 7px;
    line-height: 1.3;
}

.bot-category-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.bot-category-stats > div {
    display: flex;
    flex: 1 1 155px;
    flex-direction: column;
    gap: 5px;
    min-width: 140px;
    padding: 15px 18px;
    background: rgba(18, 21, 48, 0.61);
    border: 1px solid rgba(123, 137, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.bot-category-stats strong {
    color: #c8ceff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
}

.bot-category-stats span {
    color: #8b91b3;
    font-size: 10px;
    font-weight: 700;
}

.bot-resources-section {
    padding: 73px 0 95px;
}

.bot-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 29px;
}

.bot-page-heading h2 {
    margin-top: 9px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

.bot-page-heading > p {
    color: #8e95b5;
    font-size: 13px;
}

.bot-toolbar {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto auto;
    gap: 12px;
    margin-bottom: 25px;
}

.bot-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    background: rgba(20, 22, 42, 0.86);
    border: 1px solid rgba(124, 137, 255, 0.16);
    border-radius: 11px;
}

.bot-search-wrap:focus-within {
    border-color: rgba(115, 129, 255, 0.65);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.12);
}

.bot-search-wrap svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #98a3ff;
}

.bot-search-wrap input {
    width: 100%;
    height: 45px;
    outline: none;
    color: #f0f1ff;
    background: transparent;
    border: 0;
    font-size: 12px;
}

.bot-search-wrap input::placeholder {
    color: #686f94;
}

.bot-filter-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: rgba(20, 22, 42, 0.86);
    border: 1px solid rgba(124, 137, 255, 0.16);
    border-radius: 11px;
}

.bot-filter-button {
    min-height: 36px;
    padding: 0 12px;
    color: #8f96b8;
    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;
}

.bot-filter-button:hover {
    color: #e2e5ff;
}

.bot-filter-button.active {
    color: white;
    background: linear-gradient(135deg, #6876ff, #4b55cd);
    box-shadow: 0 5px 14px rgba(79, 91, 220, 0.3);
}

.bot-sort-select {
    min-height: 46px;
    padding: 0 33px 0 13px;
    outline: none;
    color: #d4d8f1;
    background: #15172b;
    border: 1px solid rgba(124, 137, 255, 0.16);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.bot-sort-select:focus {
    border-color: rgba(115, 129, 255, 0.65);
}

.bot-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.bot-resource-card {
    overflow: hidden;
    background: linear-gradient(145deg, rgba(19, 21, 36, 0.98), rgba(11, 12, 22, 0.98));
    border: 1px solid rgba(126, 138, 255, 0.13);
    border-radius: 18px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bot-resource-card:hover {
    transform: translateY(-7px);
    border-color: rgba(130, 144, 255, 0.46);
    box-shadow: 0 22px 35px rgba(0, 0, 0, 0.27);
}

.bot-card-visual {
    position: relative;
    height: 166px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.visual-ticket {
    background: linear-gradient(135deg, #27317e, #5966d8);
}

.visual-verify {
    background: linear-gradient(135deg, #164d65, #278ab1);
}

.visual-minecraft {
    background: linear-gradient(135deg, #27513a, #50a862);
}

.visual-moderation {
    background: linear-gradient(135deg, #61243c, #bc4965);
}

.visual-giveaway {
    background: linear-gradient(135deg, #6a3a17, #d98a31);
}

.visual-leveling {
    background: linear-gradient(135deg, #46256a, #8b59c7);
}

.bot-card-type {
    position: absolute;
    z-index: 3;
    bottom: 13px;
    left: 15px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.ticket-visual-card,
.verify-visual-card,
.giveaway-visual-card {
    display: flex;
    width: 194px;
    flex-direction: column;
    align-items: center;
    padding: 13px;
    background: rgba(20, 22, 41, 0.57);
    border: 1px solid rgba(220, 224, 255, 0.23);
    border-radius: 9px;
    text-align: center;
}

.ticket-visual-card {
    display: grid;
    grid-template-columns: 27px 1fr;
    align-items: center;
    gap: 7px;
    text-align: left;
}

.ticket-visual-icon {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    background: rgba(118, 130, 255, 0.3);
    border-radius: 7px;
    font-size: 15px;
}

.ticket-visual-card strong,
.ticket-visual-card small {
    display: block;
}

.ticket-visual-card strong {
    color: #f3f4ff;
    font-size: 9px;
}

.ticket-visual-card small {
    margin-top: 3px;
    color: #c1c6ec;
    font-size: 7px;
}

.ticket-visual-card button {
    grid-column: 1 / -1;
    margin-top: 5px;
    padding: 6px;
    color: #fff;
    background: #6472f4;
    border: 0;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 800;
}

.verify-shield {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    background: rgba(83, 217, 255, 0.23);
    border: 1px solid rgba(183, 251, 255, 0.35);
    border-radius: 10px;
    color: #c7fbff;
    font-size: 16px;
    font-weight: 900;
}

.verify-visual-card strong {
    margin-top: 7px;
    color: #ecfdff;
    font-size: 9px;
}

.verify-visual-card small {
    margin-top: 3px;
    color: #c1e9f2;
    font-size: 7px;
}

.verify-button {
    margin-top: 8px;
    padding: 6px 12px;
    background: #37b9d1;
    border-radius: 4px;
    color: white;
    font-size: 8px;
    font-weight: 800;
}

.mc-status-card {
    width: 194px;
    padding: 12px;
    background: rgba(13, 38, 23, 0.68);
    border: 1px solid rgba(210, 255, 218, 0.23);
    border-radius: 9px;
}

.mc-server-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mc-block {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    background: #5aaf62;
    border-radius: 5px;
    color: #dfffe1;
}

.mc-server-row strong,
.mc-server-row small {
    display: block;
}

.mc-server-row strong {
    color: #effff0;
    font-size: 9px;
}

.mc-server-row small {
    margin-top: 3px;
    color: #b7e9bd;
    font-size: 7px;
}

.mc-progress {
    height: 6px;
    margin-top: 10px;
    overflow: hidden;
    background: rgba(213, 255, 218, 0.15);
    border-radius: 50px;
}

.mc-progress span {
    display: block;
    width: 48%;
    height: 100%;
    background: #6ce37d;
    border-radius: inherit;
}

.mc-status-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
    color: #b8e6bd;
    font-size: 7px;
    font-weight: 700;
}

.mod-visual-card {
    display: flex;
    width: 185px;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 12px;
    background: rgba(51, 13, 24, 0.56);
    border: 1px solid rgba(255, 211, 220, 0.21);
    border-radius: 9px;
}

.mod-hammer {
    color: #ffd6df;
    font-size: 27px;
}

.mod-actions {
    display: flex;
    gap: 5px;
}

.mod-actions span {
    padding: 4px 6px;
    background: rgba(238, 89, 120, 0.36);
    border: 1px solid rgba(255, 207, 218, 0.2);
    border-radius: 3px;
    color: #ffe6ec;
    font-size: 7px;
    font-weight: 900;
}

.mod-visual-card small {
    color: #ffbecd;
    font-size: 8px;
}

.gift-box {
    font-size: 28px;
}

.giveaway-visual-card strong {
    margin-top: 4px;
    color: #fff4dd;
    font-size: 10px;
}

.giveaway-visual-card small {
    margin-top: 3px;
    color: #ffe1ae;
    font-size: 8px;
}

.giveaway-enter {
    margin-top: 8px;
    padding: 6px 10px;
    background: #e29533;
    border-radius: 4px;
    color: white;
    font-size: 8px;
    font-weight: 800;
}

.level-visual-card {
    position: relative;
    display: grid;
    width: 193px;
    grid-template-columns: 37px 1fr;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(45, 20, 65, 0.6);
    border: 1px solid rgba(238, 211, 255, 0.23);
    border-radius: 9px;
}

.level-number {
    display: grid;
    width: 37px;
    height: 37px;
    grid-row: span 2;
    place-items: center;
    background: linear-gradient(135deg, #a76bed, #7753cf);
    border-radius: 50%;
    color: white;
    font-size: 14px;
    font-weight: 900;
}

.level-visual-card strong,
.level-visual-card small {
    display: block;
}

.level-visual-card strong {
    color: #fbf2ff;
    font-size: 9px;
}

.level-visual-card small {
    margin-top: 3px;
    color: #efb8ff;
    font-size: 8px;
    font-weight: 900;
}

.level-bar {
    grid-column: 2;
    height: 5px;
    overflow: hidden;
    background: rgba(255, 231, 255, 0.16);
    border-radius: 50px;
}

.level-bar span {
    display: block;
    width: 72%;
    height: 100%;
    background: #cb78ff;
    border-radius: inherit;
}

.bot-card-content {
    padding: 19px;
}

.bot-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}

.bot-card-meta > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.python-label {
    color: #a9caff;
    background: rgba(61, 131, 255, 0.16);
}

.javascript-label {
    color: #ffdf7a;
    background: rgba(255, 190, 38, 0.14);
}

.bot-premium-label {
    padding: 5px 9px;
    color: #ffda7f;
    background: rgba(255, 181, 24, 0.12);
    border-radius: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.bot-rating {
    color: #ffc968;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.bot-card-content h3 {
    margin-top: 15px;
    color: #f2f3ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.bot-card-content > p {
    min-height: 57px;
    margin-top: 8px;
    color: #9ca2ba;
    font-size: 12px;
    line-height: 1.58;
}

.bot-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 15px;
}

.bot-card-tags span {
    padding: 5px 8px;
    color: #b2b8d5;
    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;
}

.bot-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: #8188a5;
    font-size: 10px;
    font-weight: 700;
}

.bot-open-link {
    color: #9da7ff;
    font-size: 11px;
    font-weight: 800;
}

.bot-open-link span {
    padding-left: 3px;
    font-size: 14px;
    transition: padding 0.2s ease;
}

.bot-open-link:hover span {
    padding-left: 7px;
}

.no-bot-results {
    display: none;
    padding: 60px 20px;
    color: #8c93b0;
    border: 1px dashed rgba(126, 140, 255, 0.24);
    border-radius: 17px;
    text-align: center;
}

.no-bot-results.show {
    display: block;
}

.no-bot-results > span {
    display: block;
    margin-bottom: 12px;
    color: #9da7ff;
    font-size: 34px;
}

.no-bot-results h3 {
    color: #e6e8ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
}

.no-bot-results p {
    margin-top: 7px;
    font-size: 12px;
}

@media (max-width: 1050px) {
    .bot-hero-layout {
        grid-template-columns: 1fr;
    }

    .bot-preview-window {
        justify-self: start;
    }

    .bot-resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bot-toolbar {
        grid-template-columns: 1fr auto;
    }

    .bot-search-wrap {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .bot-hero {
        padding: 49px 0 35px;
    }

    .bot-hero-layout {
        gap: 28px;
        margin-top: 30px;
    }

    .bot-hero h1 {
        font-size: 39px;
    }

    .bot-hero p {
        font-size: 13px;
    }

    .bot-preview-window {
        width: 100%;
        transform: none;
    }

    .bot-preview-body {
        grid-template-columns: 77px 1fr;
    }

    .bot-preview-sidebar {
        font-size: 7px;
    }

    .bot-category-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .bot-category-stats > div {
        min-width: 0;
        padding: 13px;
    }

    .bot-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .bot-toolbar {
        grid-template-columns: 1fr;
    }

    .bot-filter-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .bot-filter-button {
        flex: 1;
        padding: 0 7px;
    }

    .bot-sort-select {
        width: 100%;
    }

    .bot-resource-grid {
        grid-template-columns: 1fr;
    }

    .bot-card-content > p {
        min-height: auto;
    }
}