@font-face {
    font-family: "Minecraftia";
    src: url("assets/fonts/minecraftia/Minecraftia.ttf") format("truetype");
}

* {
    font-family: "Minecraftia", sans-serif;
}

.hidden {
    display: none;
}

html {
    min-height: 100%;
}

body {
    margin: 0;

    background-color: #1e1e1e;
    color: white;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

#site-footer {
    margin-top: auto;
}


/*--------------------------------------------------*/
/*--Header--*/
/*--------------------------------------------------*/

.site-header {
    display: flex;
    align-items: center;

    position: relative;

    padding: 15px 30px;

    justify-content: space-between;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.main-nav,
.secondary-nav {
    display: flex;
    align-items: center;

    gap: 50px;
}

.main-nav {
    position: absolute;

    left: 50%;
    transform: translateX(-50%);
}

.site-header a {
    color: white;

    text-decoration: none;

    transition: 0.15s;
}

.main-nav a:hover {
    color: #c79cff;

    text-shadow:
        0 0 6px rgba(199, 156, 255, 0.6);
}

.secondary-nav {
    font-size: 14px;
}

.secondary-nav a {
    color: #9c9c9c;
}

.secondary-nav a:hover {
    color: white;
}

.brand a {
    font-size: 24px;

    color: #b84cff;
}

.brand a:hover {
    color: #d17aff;

    text-shadow:
        0 0 10px rgba(209, 122, 255, 0.7),
        0 0 20px rgba(209, 122, 255, 0.35);
}


/*--------------------------------------------------*/
/*--Main Layout--*/
/*--------------------------------------------------*/

.main-card {
    padding: 40px 0 60px;
}


/*--------------------------------------------------*/
/*--Homepage Hero--*/
/*--------------------------------------------------*/

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 1000px;

    margin: 0 auto;
    padding: 90px 24px 70px 24px;

    text-align: center;
}

.hero .title {
    margin: 0;

    font-size: 48px;

    color: #b84cff;

    text-shadow:
        0 0 10px rgba(184, 76, 255, 0.55),
        0 0 22px rgba(184, 76, 255, 0.25);
}

.hero .description {
    max-width: 700px;

    margin-top: 18px;
    margin-bottom: 34px;

    color: #b8b8b8;

    font-size: 18px;
    line-height: 1.6;
}


/*--------------------------------------------------*/
/*--Main Search--*/
/*--------------------------------------------------*/

.main-search-container {
    position: relative;

    width: min(100%, 700px);

    margin: 0 auto;

    z-index: 10;

    transition:
        filter 0.18s ease;
}


/*--Search Container When Open--*/

.main-search-container:has(.main-search-results:not(:empty)) {
    z-index: 100;

    filter:
        drop-shadow(0 0 5px rgba(184, 76, 255, 0.55))
        drop-shadow(0 0 12px rgba(184, 76, 255, 0.28));
}


/*--Search Bar--*/

.search-bar {
    position: relative;

    box-sizing: border-box;

    width: 100%;

    padding: 16px 18px;

    background-color: #2b2b2b;
    color: white;

    border: 1px solid #555;
    border-radius: 12px;

    font-size: 16px;

    outline: none;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.25);

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        border-radius 0.18s ease,
        box-shadow 0.18s ease;

    z-index: 2;
}

.search-bar::placeholder {
    color: #888;
}

.search-bar:hover {
    border-color: #76508d;
}

.search-bar:focus {
    background-color: #303030;

    border-color: #b84cff;

    box-shadow:
        0 0 8px rgba(184, 76, 255, 0.4),
        0 6px 18px rgba(0, 0, 0, 0.3);
}


/*--Search Bar When Results Are Open--*/

.main-search-container:has(.main-search-results:not(:empty)) .search-bar {
    background-color: #303030;

    border-color: #b84cff;
    border-bottom-color: rgba(184, 76, 255, 0.35);

    border-radius: 12px 12px 0 0;

    box-shadow: none;
}


/*--------------------------------------------------*/
/*--Search Results Panel--*/
/*--------------------------------------------------*/

.main-search-results {
    position: absolute;

    top: calc(100% - 1px);
    left: 0;
    right: 0;

    z-index: 1;

    box-sizing: border-box;

    width: 100%;
    max-height: 420px;

    background-color: #1f1f1f;

    border: 1px solid #b84cff;
    border-top: 1px solid rgba(184, 76, 255, 0.35);

    border-radius: 0 0 12px 12px;

    overflow-x: hidden;
    overflow-y: auto;

    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.48);

    overscroll-behavior: contain;
}


/*--Hide Results Panel When Empty--*/

.main-search-results:empty {
    display: none;
}


/*--------------------------------------------------*/
/*--Search Result Rows--*/
/*--------------------------------------------------*/

.search-result {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 12px 14px;

    color: inherit;
    text-decoration: none;

    text-align: left;

    transition:
        background-color 0.16s ease,
        box-shadow 0.16s ease;
}

.search-result:hover {
    background-color: #292929;
}

.search-result + .search-result {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/*--Search Result Image--*/

.search-result-image {
    width: 34px;
    height: 34px;

    object-fit: contain;

    flex-shrink: 0;
}


/*--Search Result Text--*/

.search-result-content {
    min-width: 0;
}

.search-result-content h3 {
    margin: 0 0 3px 0;

    color: #f3f3f3;

    font-size: 13px;
    font-weight: normal;
}

.search-result-content p {
    margin: 0;

    color: #999;

    font-size: 11px;
    line-height: 1.4;
}


/*--------------------------------------------------*/
/*--Search Scrollbar--*/
/*--------------------------------------------------*/

.main-search-results {
    scrollbar-width: thin;

    scrollbar-color:
        #76508d
        #1f1f1f;
}

.main-search-results::-webkit-scrollbar {
    width: 8px;
}

.main-search-results::-webkit-scrollbar-track {
    background-color: #1f1f1f;
}

.main-search-results::-webkit-scrollbar-thumb {
    background-color: #76508d;

    border: 2px solid #1f1f1f;
    border-radius: 999px;
}

.main-search-results::-webkit-scrollbar-thumb:hover {
    background-color: #b84cff;
}


/*--------------------------------------------------*/
/*--Search Sections--*/
/*--------------------------------------------------*/

.search-section + .search-section {
    margin-top: 4px;
}

.search-section-title {
    margin: 0;

    padding: 10px 14px;

    background-color: rgba(184, 76, 255, 0.16);

    color: #d7b4ff;

    border-top: 1px solid rgba(184, 76, 255, 0.35);
    border-bottom: 1px solid rgba(184, 76, 255, 0.35);

    font-size: 11px;
    font-weight: normal;

    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.8px;

    text-shadow:
        0 0 5px rgba(184, 76, 255, 0.25);
}

.search-section:first-child .search-section-title {
    border-top: none;
}

.search-section .search-result + .search-result {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result.selected {
    background-color: rgba(184, 76, 255, 0.14);

    box-shadow:
        inset 3px 0 0 #b84cff;
}

.search-result.selected .search-result-content h3 {
    color: #ffffff;
}


/*--------------------------------------------------*/
/*--Search Highlight--*/
/*--------------------------------------------------*/

.search-highlight {
    color: #d79cff;

    text-shadow:
        0 0 5px rgba(184, 76, 255, 0.35);
}


/*--------------------------------------------------*/
/*--No Search Results--*/
/*--------------------------------------------------*/

.search-no-results {
    padding: 24px 16px;

    color: #888;

    font-size: 12px;
    text-align: center;
}


/*--------------------------------------------------*/
/*--Mobile Search--*/
/*--------------------------------------------------*/

@media (max-width: 700px) {

    .main-card {
        padding-top: 28px;
    }

    .hero {
        padding:
            65px
            18px
            50px
            18px;
    }

    .hero .title {
        font-size: 36px;
    }

    .hero .description {
        font-size: 16px;
    }

    .search-bar {
        padding: 14px 15px;

        font-size: 16px;
    }

    .main-search-results {
        max-height: 340px;
    }

    .search-result {
        gap: 12px;

        padding: 11px 12px;
    }

    .search-result-image {
        width: 30px;
        height: 30px;
    }

    .search-result-content h3 {
        font-size: 12px;
    }

    .search-result-content p {
        font-size: 10px;
    }
}

@media (max-width: 350px) {

    .secondary-nav {
        display: none;
    }

    .site-header {
        justify-content: center;
    }

    .brand {
        margin: 0;
    }
}


/*--------------------------------------------------*/
/*--Popular Tools--*/
/*--------------------------------------------------*/

.popular-tools {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 1000px;

    margin: 0 auto;
    padding: 40px 24px 70px 24px;

    text-align: center;
}

.popular-tools .subtitle {
    margin: 0;

    font-size: 30px;

    color: white;
}

.popular-tools .description {
    margin-top: 12px;
    margin-bottom: 30px;

    font-size: 14px;

    color: #999;
}


/*--Tool Card Holder--*/

.tool-card-holder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    width: 100%;
}


/*--Shared Tool Card Styles--*/

.tool-card {
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    min-height: 280px;

    padding: 28px 25px;

    color: white;

    border: 2px solid;
    border-radius: 12px;

    text-decoration: none;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.3);

    cursor: pointer;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}


/*--------------------------------------------------*/
/*--Nether Coordinate Calculator Card--*/
/*--------------------------------------------------*/

.nether-tool {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 9% 18%, #7a642f 0 1px, transparent 2px),
        radial-gradient(circle at 34% 82%, #665125 0 1px, transparent 2px),
        radial-gradient(circle at 67% 21%, #715b2a 0 1px, transparent 2px),
        radial-gradient(circle at 91% 72%, #594921 0 1px, transparent 2px),
        radial-gradient(circle at 58% 47%, #4e3e1e 0 1px, transparent 2px),

        radial-gradient(circle at 18% 64%, #80451f 0 2px, transparent 3px),
        radial-gradient(circle at 47% 30%, #6e391b 0 1px, transparent 2px),
        radial-gradient(circle at 76% 54%, #78401d 0 2px, transparent 3px),
        radial-gradient(circle at 84% 24%, #623018 0 1px, transparent 2px),
        radial-gradient(circle at 55% 88%, #70401d 0 1px, transparent 2px),
        radial-gradient(circle at 38% 58%, #633619 0 1px, transparent 2px),

        radial-gradient(circle at 27% 34%, #712c20 0 2px, transparent 3px),
        radial-gradient(circle at 61% 67%, #5d251e 0 2px, transparent 3px),
        radial-gradient(circle at 94% 42%, #64251b 0 1px, transparent 2px),
        radial-gradient(circle at 12% 86%, #4f211c 0 1px, transparent 2px),
        radial-gradient(circle at 43% 74%, #59241b 0 1px, transparent 2px),

        linear-gradient(
            135deg,
            #3b2026,
            #28191d 55%,
            #171315
        );

    border-color: #8f3c4e;
}


/*--Nether Smoke Layer--*/

.nether-smoke {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}

.nether-smoke .smoke {
    position: absolute;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(205, 195, 195, 0.48) 0%,
            rgba(165, 150, 150, 0.36) 30%,
            rgba(115, 100, 100, 0.22) 55%,
            rgba(75, 65, 65, 0.10) 70%,
            transparent 82%
        );

    filter: blur(2px);

    animation: none;
}


/*--Left Smoke Column--*/

.smoke-1 {
    left: 6%;
    bottom: -22px;

    width: 72px;
    height: 50px;

    opacity: 0.34;
}

.smoke-2 {
    left: 8%;
    bottom: 4px;

    width: 68px;
    height: 48px;

    opacity: 0.33;
}

.smoke-3 {
    left: 5%;
    bottom: 30px;

    width: 64px;
    height: 46px;

    opacity: 0.30;
}

.smoke-4 {
    left: 9%;
    bottom: 55px;

    width: 60px;
    height: 43px;

    opacity: 0.27;
}

.smoke-5 {
    left: 6%;
    bottom: 79px;

    width: 56px;
    height: 40px;

    opacity: 0.23;
}


/*--Right Smoke Column--*/

.smoke-6 {
    left: 72%;
    bottom: -24px;

    width: 78px;
    height: 54px;

    opacity: 0.35;
}

.smoke-7 {
    left: 75%;
    bottom: 5px;

    width: 72px;
    height: 50px;

    opacity: 0.33;
}

.smoke-8 {
    left: 71%;
    bottom: 33px;

    width: 68px;
    height: 47px;

    opacity: 0.30;
}

.smoke-9 {
    left: 76%;
    bottom: 59px;

    width: 62px;
    height: 44px;

    opacity: 0.27;
}

.smoke-10 {
    left: 73%;
    bottom: 84px;

    width: 56px;
    height: 40px;

    opacity: 0.22;
}


/*--Keep Card Content Above Effects--*/

.nether-tool > .card-image,
.nether-tool > .card-name,
.nether-tool > .card-description {
    position: relative;

    z-index: 2;
}


/*--Nether Card Name--*/

.nether-tool .card-name {
    color: #ff6f87;

    text-shadow:
        0 0 6px rgba(255, 111, 135, 0.35);
}


/*--Nether Hover--*/

.nether-tool:hover {
    background:
        radial-gradient(circle at 9% 18%, rgba(255, 250, 140, 0.90) 0 1px, transparent 2px),
        radial-gradient(circle at 34% 82%, rgba(255, 230, 80, 0.78) 0 1px, transparent 2px),
        radial-gradient(circle at 67% 21%, rgba(255, 240, 105, 0.75) 0 1px, transparent 2px),
        radial-gradient(circle at 91% 72%, rgba(255, 245, 130, 0.68) 0 1px, transparent 2px),
        radial-gradient(circle at 58% 47%, rgba(255, 235, 90, 0.62) 0 1px, transparent 2px),

        radial-gradient(circle at 18% 64%, rgba(255, 185, 55, 0.82) 0 2px, transparent 3px),
        radial-gradient(circle at 47% 30%, rgba(255, 150, 40, 0.72) 0 1px, transparent 2px),
        radial-gradient(circle at 76% 54%, rgba(255, 170, 50, 0.76) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 24%, rgba(255, 135, 35, 0.68) 0 1px, transparent 2px),
        radial-gradient(circle at 55% 88%, rgba(255, 200, 60, 0.64) 0 1px, transparent 2px),
        radial-gradient(circle at 38% 58%, rgba(255, 160, 45, 0.68) 0 1px, transparent 2px),

        radial-gradient(circle at 27% 34%, rgba(255, 90, 45, 0.72) 0 2px, transparent 3px),
        radial-gradient(circle at 61% 67%, rgba(240, 65, 35, 0.66) 0 2px, transparent 3px),
        radial-gradient(circle at 94% 42%, rgba(255, 80, 35, 0.64) 0 1px, transparent 2px),
        radial-gradient(circle at 12% 86%, rgba(230, 55, 35, 0.60) 0 1px, transparent 2px),
        radial-gradient(circle at 43% 74%, rgba(250, 75, 35, 0.60) 0 1px, transparent 2px),

        linear-gradient(
            135deg,
            #4a252d,
            #311c21 55%,
            #1e1518
        );

    border-color: #d74b73;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(215, 75, 115, 0.3);
}


/*--Reduced Motion--*/

@media (prefers-reduced-motion: reduce) {

    .nether-tool:hover .smoke {
        animation: none;
    }
}


/*--------------------------------------------------*/
/*--End Portal Calculator Card--*/
/*--------------------------------------------------*/

.endportal-tool {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(rgba(85, 215, 205, 0.38), rgba(85, 215, 205, 0.38))
            12% 19% / 3px 3px no-repeat,

        linear-gradient(rgba(57, 165, 160, 0.30), rgba(57, 165, 160, 0.30))
            82% 15% / 5px 5px no-repeat,

        linear-gradient(rgba(110, 235, 220, 0.28), rgba(110, 235, 220, 0.28))
            91% 48% / 2px 4px no-repeat,

        linear-gradient(rgba(64, 190, 182, 0.32), rgba(64, 190, 182, 0.32))
            71% 76% / 4px 4px no-repeat,

        linear-gradient(rgba(88, 220, 210, 0.22), rgba(88, 220, 210, 0.22))
            25% 82% / 3px 5px no-repeat,

        linear-gradient(rgba(47, 145, 143, 0.30), rgba(47, 145, 143, 0.30))
            8% 61% / 5px 2px no-repeat,

        linear-gradient(rgba(120, 240, 225, 0.20), rgba(120, 240, 225, 0.20))
            47% 16% / 2px 2px no-repeat,

        linear-gradient(rgba(70, 195, 188, 0.24), rgba(70, 195, 188, 0.24))
            56% 87% / 4px 3px no-repeat,

        linear-gradient(rgba(105, 230, 215, 0.18), rgba(105, 230, 215, 0.18))
            34% 47% / 2px 3px no-repeat,

        linear-gradient(
            135deg,
            #171d1d,
            #0f1313
        );

    border-color: #397d79;
}

.endportal-tool .card-name {
    color: #72d5ce;

    text-shadow:
        0 0 6px rgba(114, 213, 206, 0.35);
}

.endportal-tool:hover {
    background:
        linear-gradient(rgba(100, 235, 220, 0.65), rgba(100, 235, 220, 0.65))
            12% 19% / 3px 3px no-repeat,

        linear-gradient(rgba(70, 190, 180, 0.52), rgba(70, 190, 180, 0.52))
            82% 15% / 5px 5px no-repeat,

        linear-gradient(rgba(130, 255, 235, 0.55), rgba(130, 255, 235, 0.55))
            91% 48% / 2px 4px no-repeat,

        linear-gradient(rgba(75, 215, 200, 0.55), rgba(75, 215, 200, 0.55))
            71% 76% / 4px 4px no-repeat,

        linear-gradient(rgba(105, 240, 225, 0.45), rgba(105, 240, 225, 0.45))
            25% 82% / 3px 5px no-repeat,

        linear-gradient(rgba(60, 175, 170, 0.50), rgba(60, 175, 170, 0.50))
            8% 61% / 5px 2px no-repeat,

        linear-gradient(rgba(140, 255, 240, 0.48), rgba(140, 255, 240, 0.48))
            47% 16% / 2px 2px no-repeat,

        linear-gradient(rgba(85, 220, 210, 0.48), rgba(85, 220, 210, 0.48))
            56% 87% / 4px 3px no-repeat,

        linear-gradient(rgba(120, 245, 230, 0.40), rgba(120, 245, 230, 0.40))
            34% 47% / 2px 3px no-repeat,

        linear-gradient(
            135deg,
            #1a2222,
            #111717
        );

    border-color: #53bdb5;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(83, 189, 181, 0.28);
}


/*--------------------------------------------------*/
/*--Enchantment Helper Card--*/
/*--------------------------------------------------*/

.enchantment-tool {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #38283f,
            #241d2b
        );

    border-color: #76508d;
}


/*--Enchantment Runes--*/

.enchantment-runes {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}

.enchantment-runes .rune {
    position: absolute;

    color: rgba(255, 255, 255, 0.10);

    font-family: serif;

    user-select: none;

    text-shadow:
        0 0 4px rgba(255, 255, 255, 0.06);

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}


/*--Rune Positions--*/

.rune-1 {
    top: 8%;
    left: 8%;
    font-size: 14px;
    transform: rotate(-18deg);
}

.rune-2 {
    top: 15%;
    left: 72%;
    font-size: 20px;
    transform: rotate(12deg);
}

.rune-3 {
    top: 30%;
    left: 18%;
    font-size: 17px;
    transform: rotate(24deg);
}

.rune-4 {
    top: 42%;
    left: 84%;
    font-size: 13px;
    transform: rotate(-13deg);
}

.rune-5 {
    top: 67%;
    left: 7%;
    font-size: 21px;
    transform: rotate(9deg);
}

.rune-6 {
    top: 78%;
    left: 67%;
    font-size: 16px;
    transform: rotate(-24deg);
}

.rune-7 {
    top: 87%;
    left: 89%;
    font-size: 12px;
    transform: rotate(18deg);
}

.rune-8 {
    top: 5%;
    left: 43%;
    font-size: 12px;
    transform: rotate(-8deg);
}

.rune-9 {
    top: 53%;
    left: 31%;
    font-size: 15px;
    transform: rotate(15deg);
}

.rune-10 {
    top: 72%;
    left: 44%;
    font-size: 11px;
    transform: rotate(-20deg);
}

.rune-11 {
    top: 37%;
    left: 59%;
    font-size: 19px;
    transform: rotate(7deg);
}

.rune-12 {
    top: 91%;
    left: 25%;
    font-size: 14px;
    transform: rotate(21deg);
}

.rune-13 {
    top: 23%;
    left: 92%;
    font-size: 11px;
    transform: rotate(-27deg);
}

.rune-14 {
    top: 58%;
    left: 75%;
    font-size: 17px;
    transform: rotate(28deg);
}

.rune-15 {
    top: 12%;
    left: 27%;
    font-size: 10px;
    transform: rotate(16deg);
}

.rune-16 {
    top: 48%;
    left: 9%;
    font-size: 13px;
    transform: rotate(-11deg);
}

.rune-17 {
    top: 83%;
    left: 52%;
    font-size: 18px;
    transform: rotate(13deg);
}

.rune-18 {
    top: 62%;
    left: 91%;
    font-size: 10px;
    transform: rotate(-19deg);
}


/*--Keep Enchantment Content Above Decorations--*/

.enchantment-tool > .card-image,
.enchantment-tool > .card-name,
.enchantment-tool > .card-description {
    position: relative;

    z-index: 2;
}


/*--Enchantment Card Name--*/

.enchantment-tool .card-name {
    color: #c79cff;

    text-shadow:
        0 0 6px rgba(199, 156, 255, 0.4);
}


/*--Enchantment Hover--*/

.enchantment-tool:hover {
    background:
        linear-gradient(
            135deg,
            #473252,
            #302339
        );

    border-color: #a96bd8;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(169, 107, 216, 0.3);
}

.enchantment-tool:hover .enchantment-runes .rune {
    color: rgba(255, 255, 255, 0.88);

    text-shadow:
        0 0 4px rgba(255, 255, 255, 0.85),
        0 0 9px rgba(255, 255, 255, 0.55),
        0 0 14px rgba(210, 180, 255, 0.35);
}


/*--------------------------------------------------*/
/*--Villager Helper Card--*/
/*--------------------------------------------------*/

.villager-tool {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 110%,
            rgba(55, 170, 90, 0.10),
            transparent 60%
        ),
        linear-gradient(
            135deg,
            #263b2d,
            #18271e
        );

    border-color: #3f8f5b;
}


/*--Emerald Decorations--*/

.villager-emeralds {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}

.villager-emeralds .emerald {
    position: absolute;

    width: 8px;
    height: 13px;

    background:
        linear-gradient(
            135deg,
            #74e89a 0 20%,
            #42bd6b 21% 52%,
            #24894a 53% 78%,
            #176536 79%
        );

    clip-path: polygon(
        30% 0,
        70% 0,
        100% 25%,
        100% 75%,
        70% 100%,
        30% 100%,
        0 75%,
        0 25%
    );

    opacity: 0.24;

    filter:
        brightness(0.75)
        saturate(0.85);

    transition:
        opacity 0.25s ease,
        filter 0.25s ease;
}


/*--Emerald Positions--*/

.emerald-1 {
    top: 11%;
    left: 10%;
    transform: rotate(-15deg);
}

.emerald-2 {
    top: 20%;
    left: 82%;
    transform: rotate(13deg) scale(0.8);
}

.emerald-3 {
    top: 44%;
    left: 7%;
    transform: rotate(17deg) scale(0.7);
}

.emerald-4 {
    top: 57%;
    left: 88%;
    transform: rotate(-11deg);
}

.emerald-5 {
    top: 79%;
    left: 17%;
    transform: rotate(9deg) scale(0.85);
}

.emerald-6 {
    top: 84%;
    left: 76%;
    transform: rotate(-18deg) scale(0.65);
}

.emerald-7 {
    top: 31%;
    left: 68%;
    transform: rotate(21deg) scale(0.6);
}

.emerald-8 {
    top: 68%;
    left: 43%;
    transform: rotate(-8deg) scale(0.65);
}

.emerald-9 {
    top: 8%;
    left: 46%;
    transform: rotate(11deg) scale(0.55);
}


/*--Keep Villager Content Above Decorations--*/

.villager-tool > .card-image,
.villager-tool > .card-name,
.villager-tool > .card-description {
    position: relative;

    z-index: 2;
}


/*--Villager Card Name--*/

.villager-tool .card-name {
    color: #6fdd91;

    text-shadow:
        0 0 6px rgba(111, 221, 145, 0.35);
}


/*--Villager Hover--*/

.villager-tool:hover {
    background:
        radial-gradient(
            ellipse at 50% 110%,
            rgba(70, 210, 110, 0.18),
            transparent 60%
        ),
        linear-gradient(
            135deg,
            #30513b,
            #1d3225
        );

    border-color: #4bd477;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(75, 212, 119, 0.3);
}


/*--Emeralds Light Up On Hover--*/

.villager-tool:hover .emerald {
    opacity: 0.82;

    filter:
        brightness(1.25)
        saturate(1.1)
        drop-shadow(0 0 4px rgba(90, 240, 130, 0.5));
}


/*--------------------------------------------------*/
/*--Material Planner Card--*/
/*--------------------------------------------------*/

.material-tool {
    position: relative;
    overflow: hidden;

    background-color: #202a31;

    background-image:
        linear-gradient(rgba(47, 159, 232, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 159, 232, 0.05) 1px, transparent 1px);

    background-size: 18px 18px;

    border-color: #356f94;
}


/*--Blueprint Decorations--*/

.material-blocks {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}

.material-block {
    position: absolute;

    width: 9px;
    height: 9px;

    background-color: transparent;

    border: 1px solid rgba(101, 186, 240, 0.34);

    opacity: 0.5;

    transition:
        opacity 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/*--Blueprint Decoration Positions--*/

.block-1 {
    top: 13%;
    left: 10%;
}

.block-2 {
    top: 22%;
    right: 12%;

    width: 12px;
    height: 7px;
}

.block-3 {
    top: 43%;
    left: 6%;

    width: 7px;
    height: 12px;
}

.block-4 {
    top: 52%;
    right: 8%;
}

.block-5 {
    bottom: 14%;
    left: 17%;

    width: 13px;
    height: 8px;
}

.block-6 {
    bottom: 10%;
    right: 19%;

    width: 8px;
    height: 12px;
}

.block-7 {
    top: 9%;
    left: 48%;

    width: 7px;
    height: 7px;
}

.block-8 {
    bottom: 27%;
    left: 46%;

    width: 11px;
    height: 7px;
}


/*--Blueprint Corner Marks--*/

.material-tool::before,
.material-tool::after {
    content: "";

    position: absolute;

    width: 24px;
    height: 24px;

    opacity: 0.55;

    pointer-events: none;

    z-index: 1;
}

.material-tool::before {
    top: 10px;
    right: 10px;

    border-top: 2px solid #2f9fe8;
    border-right: 2px solid #2f9fe8;
}

.material-tool::after {
    bottom: 10px;
    left: 10px;

    border-bottom: 2px solid #2f9fe8;
    border-left: 2px solid #2f9fe8;
}


/*--Keep Material Planner Content Above Decorations--*/

.material-tool > .card-image,
.material-tool > .card-name,
.material-tool > .card-description {
    position: relative;

    z-index: 2;
}


/*--Material Planner Card Name--*/

.material-tool .card-name {
    color: #7bc7f5;

    text-shadow:
        0 0 6px rgba(47, 159, 232, 0.28);
}


/*--Material Planner Hover--*/

.material-tool:hover {
    background-color: #24343e;

    border-color: #65baf0;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(47, 159, 232, 0.24);
}

.material-tool:hover .material-block {
    opacity: 0.9;

    border-color: rgba(123, 199, 245, 0.75);

    box-shadow:
        0 0 5px rgba(47, 159, 232, 0.18);
}


/*--------------------------------------------------*/
/*--Circle Generator Card--*/
/*--------------------------------------------------*/

.circle-tool {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #332326,
            #20191b
        );

    border-color: #87454e;
}


/*--Pixel Circle Decorations--*/

.circle-pattern {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}

.pixel-circle {
    position: absolute;

    width: 60px;
    height: 60px;

    background-color: rgba(185, 77, 92, 0.24);

    clip-path: polygon(
        33% 0%,
        67% 0%,
        67% 5%,
        80% 5%,
        80% 12%,
        88% 12%,
        88% 20%,
        95% 20%,
        95% 33%,
        100% 33%,
        100% 67%,
        95% 67%,
        95% 80%,
        88% 80%,
        88% 88%,
        80% 88%,
        80% 95%,
        67% 95%,
        67% 100%,
        33% 100%,
        33% 95%,
        20% 95%,
        20% 88%,
        12% 88%,
        12% 80%,
        5% 80%,
        5% 67%,
        0% 67%,
        0% 33%,
        5% 33%,
        5% 20%,
        12% 20%,
        12% 12%,
        20% 12%,
        20% 5%,
        33% 5%
    );

    opacity: 0.7;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        background-color 0.2s ease;
}


/*--Cut Out Center To Create Thin Outline--*/

.pixel-circle::after {
    content: "";

    position: absolute;

    inset: 5px;

    background-color: #281c1f;

    clip-path: inherit;
}


/*--Random Placement--*/

.circle-1 {
    top: -7%;
    left: 5%;

    transform: scale(0.55);
}

.circle-2 {
    top: 8%;
    left: 68%;

    transform: scale(0.82);
}

.circle-3 {
    top: 80%;
    left: 5%;

    transform: scale(0.72);
}

.circle-4 {
    top: 38%;
    left: 76%;

    transform: scale(0);
}

.circle-5 {
    top: 39%;
    left: 30%;

    transform: scale(0.9);
}

.circle-6 {
    top: 74%;
    left: 73%;

    transform: scale(0.66);
}

.circle-7 {
    top: 19%;
    left: 39%;

    transform: scale(0);

    opacity: 0.35;
}


/*--Keep Content Above Decorations--*/

.circle-tool > .card-image,
.circle-tool > .card-name,
.circle-tool > .card-description {
    position: relative;

    z-index: 2;
}


/*--Circle Generator Card Name--*/

.circle-tool .card-name {
    color: #ed8794;

    text-shadow:
        0 0 6px rgba(237, 135, 148, 0.35);
}


/*--Circle Generator Hover--*/

.circle-tool:hover {
    background:
        linear-gradient(
            135deg,
            #42292e,
            #291d20
        );

    border-color: #d26070;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(210, 96, 112, 0.28);
}


/*--Pixel Circles Light Up--*/

.circle-tool:hover .pixel-circle {
    opacity: 0.9;

    background-color: rgba(230, 105, 122, 0.52);
}

.circle-tool:hover .circle-1 {
    transform: scale(0.59);
}

.circle-tool:hover .circle-2 {
    transform: scale(0.86);
}

.circle-tool:hover .circle-3 {
    transform: scale(0.76);
}

.circle-tool:hover .circle-5 {
    transform: scale(0.94);
}

.circle-tool:hover .circle-6 {
    transform: scale(0.70);
}


/*--------------------------------------------------*/
/*--Tool Card Content--*/
/*--------------------------------------------------*/

.card-image {
    width: 64px;
    height: 64px;

    margin-bottom: 20px;

    object-fit: contain;

    image-rendering: pixelated;
}


/*--Tool Card Image Bounce--*/

.tool-card:hover .card-image {
    animation: card-image-bounce 0.45s ease;
}

@keyframes card-image-bounce {

    0% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(-10px);
    }

    65% {
        transform: translateY(3px);
    }

    100% {
        transform: translateY(0);
    }
}


/*--Tool Card Text--*/

.card-name {
    margin: 0 0 14px 0;

    font-size: 18px;
}

.card-description {
    margin: 0;

    max-width: 280px;

    font-size: 13px;
    line-height: 1.7;

    color: #b8b8b8;
}


/*--Shared Tool Card Hover--*/

.tool-card:hover {
    transform: translateY(-5px);
}


/*--Smaller Screens--*/

@media (max-width: 800px) {

    .popular-tools {
        padding: 35px 18px 55px 18px;
    }

    .tool-card-holder {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .tool-card {
        display: grid;
        grid-template-columns: 55px 1fr;

        width: min(100%, 400px);
        min-height: 0;

        padding: 18px 20px;

        text-align: left;
    }

    .card-image {
        grid-row: 1 / 3;

        width: 48px;
        height: 48px;

        margin: 0;

        align-self: center;
        justify-self: start;
    }

    .card-name {
        margin: 0 0 7px 14px;

        font-size: 14px;
    }

    .card-description {
        margin-left: 14px;

        font-size: 10px;
        line-height: 1.6;
    }
}


/*--------------------------------------------------*/
/*--Browse MinecraftHelper--*/
/*--------------------------------------------------*/

.browse-selection {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 1000px;

    margin: 0 auto;
    padding: 30px 24px 70px 24px;

    text-align: center;
}

.browse-selection .subtitle {
    margin: 0;

    font-size: 30px;

    color: white;
}

.browse-selection > .description {
    margin-top: 12px;
    margin-bottom: 30px;

    font-size: 14px;

    color: #999;
}


/*--Browse Card Holder--*/

.browse-card-holder {
    display: flex;
    flex-direction: column;

    gap: 16px;

    width: 100%;
}


/*--Shared Browse Cards--*/

.browse-card {
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 220px 1fr 40px;
    align-items: center;

    width: 100%;

    padding: 20px 24px;

    background-color: #252525;
    color: white;

    border: 2px solid;
    border-radius: 12px;

    text-decoration: none;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.25);

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


/*--Browse Card Titles--*/

.browse-card .title {
    display: flex;
    align-items: center;

    gap: 16px;

    margin: 0;
}

.browse-card .card-image {
    width: 52px;
    height: 52px;

    margin: 0;

    object-fit: contain;

    image-rendering: pixelated;

    transition:
        transform 0.2s ease;
}

.browse-card .name {
    margin: 0;

    font-size: 20px;
}


/*--Browse Card Summaries--*/

.browse-card .summary {
    display: contents;
}

.browse-card .summary .description {
    margin: 0;

    padding: 0 25px;

    text-align: center;

    font-size: 13px;
    line-height: 1.6;

    color: #aaa;
}


/*--Browse Card Arrows--*/

.arrow-right {
    width: 24px;
    height: 24px;

    justify-self: center;

    object-fit: contain;

    image-rendering: pixelated;

    transition:
        transform 0.18s ease;
}


/*--Tools Card--*/

.tools-card {
    background:
        linear-gradient(
            90deg,
            rgba(51, 91, 60, 0.35),
            #252525 38%
        );

    border-color: #416d4b;
}

.tools-card .name {
    color: #78d489;
}

.tools-card:hover {
    background:
        linear-gradient(
            90deg,
            rgba(58, 115, 72, 0.5),
            #292929 42%
        );

    border-color: #6ac77d;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(106, 199, 125, 0.2);
}


/*--Guides Card--*/

.guides-card {
    background:
        linear-gradient(
            90deg,
            rgba(106, 80, 39, 0.35),
            #252525 38%
        );

    border-color: #78603b;
}

.guides-card .name {
    color: #ddb86d;
}

.guides-card:hover {
    background:
        linear-gradient(
            90deg,
            rgba(128, 96, 43, 0.5),
            #292929 42%
        );

    border-color: #d1a85c;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(209, 168, 92, 0.2);
}


/*--Reference Card--*/

.reference-card {
    background:
        linear-gradient(
            90deg,
            rgba(42, 82, 100, 0.35),
            #252525 38%
        );

    border-color: #426b7d;
}

.reference-card .name {
    color: #72c5e5;
}

.reference-card:hover {
    background:
        linear-gradient(
            90deg,
            rgba(44, 102, 127, 0.5),
            #292929 42%
        );

    border-color: #64b9da;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(100, 185, 218, 0.2);
}


/*--Shared Browse Card Hover--*/

.browse-card:hover {
    transform: translateY(-3px);
}

.browse-card:hover .card-image {
    transform: scale(1.08);
}

.browse-card:hover .arrow-right {
    transform: translateX(4px);
}


/*--Smaller Screens--*/

@media (max-width: 750px) {

    .browse-selection {
        padding: 30px 18px 55px 18px;
    }

    .browse-card {
        grid-template-columns: 1fr 32px;

        padding: 18px;
    }

    .browse-card .title {
        grid-column: 1;
    }

    .browse-card .summary {
        display: contents;
    }

    .browse-card .summary .description {
        display: none;
    }

    .arrow-right {
        grid-column: 2;
        grid-row: 1;

        justify-self: end;
    }

    .browse-card .card-image {
        width: 44px;
        height: 44px;
    }

    .browse-card .name {
        font-size: 18px;
    }
}


/*--------------------------------------------------*/
/*--What's New--*/
/*--------------------------------------------------*/

.whats-new {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 1000px;

    margin: 0 auto;
    padding: 30px 24px 80px 24px;

    text-align: center;
}

.whats-new .subtitle {
    margin: 0;

    font-size: 30px;

    color: white;
}

.whats-new > .description {
    margin-top: 12px;
    margin-bottom: 30px;

    font-size: 14px;

    color: #999;
}


/*--Update Card--*/

.update-card {
    box-sizing: border-box;

    width: 100%;

    padding: 25px 28px;

    background:
        linear-gradient(
            135deg,
            #2d2435,
            #242126
        );

    border: 1px solid #644878;
    border-radius: 12px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.3);

    text-align: left;
}


/*--Update Header--*/

.update-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.update-version {
    margin: 0;

    font-size: 20px;

    color: #c79cff;

    text-shadow:
        0 0 6px rgba(199, 156, 255, 0.3);
}

.update-name {
    margin-top: 7px;
    margin-bottom: 0;

    font-size: 12px;

    color: #999;
}

.update-date {
    font-size: 12px;

    color: #888;
}


/*--Scrollable Update List--*/

.update-list {
    display: flex;
    flex-direction: column;

    gap: 24px;

    max-height: 280px;

    margin-top: 22px;
    padding-right: 12px;
    padding-bottom: 6px;

    overflow-y: auto;
}


/*--Update Categories--*/

.update-category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin: 0 12px;
    padding-bottom: 22px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.update-category:last-child {
    padding-bottom: 0;

    border-bottom: none;
}


/*--Update Type Tags--*/

.update-type {
    box-sizing: border-box;

    min-width: 55px;

    margin-bottom: 12px;

    padding: 6px 8px;

    border: 1px solid;
    border-radius: 6px;

    text-align: center;

    font-size: 10px;
}


/*--New Tag--*/

.update-type.new {
    background-color: rgba(68, 145, 83, 0.18);

    color: #78d489;

    border-color: #4f8d5b;
}


/*--UI Tag--*/

.update-type.ui {
    background-color: rgba(143, 83, 180, 0.18);

    color: #c79cff;

    border-color: #76508d;
}


/*--Fix Tag--*/

.update-type.fix {
    background-color: rgba(183, 73, 91, 0.18);

    color: #ee8294;

    border-color: #914958;
}


/*--Update Changes--*/

.update-changes {
    display: flex;
    flex-direction: column;

    gap: 10px;

    width: 100%;
}

.update-changes p {
    position: relative;

    margin: 0;

    padding-left: 28px;

    font-size: 13px;
    line-height: 1.6;

    color: #bbb;
}

.update-changes p::before {
    content: "•";

    position: absolute;

    left: 12px;

    color: #777;
}


/*--Update Scrollbar--*/

.update-list::-webkit-scrollbar {
    width: 8px;
}

.update-list::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.15);

    border-radius: 8px;
}

.update-list::-webkit-scrollbar-thumb {
    background-color: #68447f;

    border-radius: 8px;
}

.update-list::-webkit-scrollbar-thumb:hover {
    background-color: #8d5bac;
}


/*--Changelog Link--*/

.changelog-link {
    display: flex;
    align-items: center;

    gap: 10px;

    width: fit-content;

    margin-left: auto;
    margin-top: 22px;

    color: #b98add;

    font-size: 12px;

    text-decoration: none;

    transition:
        color 0.18s ease,
        text-shadow 0.18s ease;
}

.changelog-arrow {
    width: 18px;
    height: 18px;

    object-fit: contain;

    image-rendering: pixelated;

    transition:
        transform 0.18s ease,
        filter 0.18s ease;
}

.changelog-link:hover .changelog-arrow {
    transform: translateX(4px);

    filter:
        drop-shadow(0 0 4px rgba(184, 76, 255, 0.8))
        drop-shadow(0 0 7px rgba(184, 76, 255, 0.45));
}


/*--Smaller Screens--*/

@media (max-width: 700px) {

    .whats-new {
        padding: 30px 18px 60px 18px;
    }

    .update-card {
        padding: 22px 18px;
    }

    .update-header {
        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }

    .update-list {
        max-height: 320px;
    }

    .update-category {
        gap: 0;
    }
}


/*--------------------------------------------------*/
/*--Site Footer--*/
/*--------------------------------------------------*/

.site-footer {
    margin-top: 40px;

    padding: 45px 30px 24px 30px;

    background:
        linear-gradient(
            180deg,
            #181818,
            #121212
        );

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 -6px 18px rgba(0, 0, 0, 0.25);
}


/*--Main Footer Layout--*/

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 24px;

    max-width: 900px;

    margin: 0 auto;
    padding-bottom: 30px;

    text-align: center;
}


/*--Footer Brand--*/

.footer-brand {
    width: auto;
}

.footer-brand .brand {
    margin-top: 0;
    margin-bottom: 10px;

    font-size: 22px;

    color: #b84cff;

    text-shadow:
        0 0 8px rgba(184, 76, 255, 0.35);
}

.footer-brand .blurb {
    max-width: 420px;

    margin: 0 auto;

    text-align: center;

    font-size: 11px;
    line-height: 1.7;

    color: #777;
}


/*--Footer Middle--*/

.footer-middle {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;
}

.footer-links a {
    color: #aaa;

    font-size: 12px;

    text-decoration: none;

    transition:
        color 0.18s ease,
        transform 0.18s ease,
        text-shadow 0.18s ease;
}

.footer-links a:hover {
    color: #c79cff;

    transform: translateY(-2px);

    text-shadow:
        0 0 6px rgba(199, 156, 255, 0.35);
}


/*--Credits & Licenses--*/

.legal-text {
    display: flex;
    justify-content: center;

    gap: 18px;
}

.legal-text a {
    color: #5f5f5f;

    font-size: 9px;

    text-decoration: none;

    transition:
        color 0.18s ease,
        text-shadow 0.18s ease;
}

.legal-text a:hover {
    color: #b98add;

    text-shadow:
        0 0 5px rgba(185, 138, 221, 0.3);
}


/*--Support MinecraftHelper--*/

.footer-support {
    text-align: center;
}

.support-title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 8px;
}

.support-text {
    margin: 0;

    font-size: 13px;

    color: #d6b5eb;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.heart {
    width: 22px;
    height: 22px;

    object-fit: contain;

    image-rendering: pixelated;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.support-link-list {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;
}

.kofi-logo,
.patreon-logo {
    max-width: 110px;
    height: 50px;

    object-fit: contain;
}

.support-link {
    transition:
        transform 0.18s ease,
        filter 0.18s ease;
}

.support-link:hover {
    transform: translateY(-3px);

    filter:
        drop-shadow(0 0 5px rgba(184, 76, 255, 0.6))
        drop-shadow(0 0 8px rgba(184, 76, 255, 0.25));
}

.support-title:hover .heart,
.footer-support:has(.support-link:hover) .heart {
    transform: scale(1.18);

    filter:
        drop-shadow(0 0 4px rgba(255, 70, 90, 0.75))
        drop-shadow(0 0 7px rgba(255, 70, 90, 0.4));
}

.support-title:hover .support-text,
.footer-support:has(.support-link:hover) .support-text {
    color: #e7c8fa;

    text-shadow:
        0 0 7px rgba(199, 156, 255, 0.6);
}

.discord-note {
    margin-top: 6px;
    margin-bottom: 0;

    font-size: 9px;

    color: #666;
}


/*--Footer Legal--*/

.footer-legal {
    max-width: 900px;

    margin: 0 auto;
    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    text-align: center;
}

.minecraft-disclaimer {
    max-width: 700px;

    margin: 0 auto;

    text-align: center;

    font-size: 10px;
    line-height: 1.7;
    font-weight: normal;

    color: #5a5a5a;
}


/*--Copyright--*/

.copyright {
    margin-top: 15px;
    margin-bottom: 0;

    text-align: center;

    font-size: 9px;

    color: #4f4f4f;
}


/*--------------------------------------------------*/
/*--Responsive Header--*/
/*--------------------------------------------------*/

@media (max-width: 1100px) {

    .main-nav {
        display: none;
    }

    .site-header {
        padding: 14px 18px;
    }

    .brand a {
        font-size: 20px;
    }

    .secondary-nav {
        gap: 20px;

        font-size: 11px;
    }
}


/*--------------------------------------------------*/
/*--Page Header--*/
/*--------------------------------------------------*/

.page-header {
    margin-bottom: 32px;

    text-align: center;
}

.page-header .tool-title {
    font-size: 2rem;
}

.tool-description {
    margin: 0;

    color: #b9b9b9;

    line-height: 1.5;
}


/*--------------------------------------------------*/
/*--Global Images--*/
/*--------------------------------------------------*/

img {
    image-rendering: pixelated;
}


/*--------------------------------------------------*/
/*--Special Footer Spacing--*/
/*--------------------------------------------------*/

body:has(.coming-soon-page) .site-footer,
body:has(.error-page) .site-footer {
    margin-top: 0;
}



/* =========================
   Mobile Navigation
========================= */

.mobile-menu-button,
.mobile-nav {
    display: none;
}


@media (max-width: 1100px) {

    .site-header {
        position: relative;
    }

    .main-nav,
    .secondary-nav {
        display: none;
    }


    /* =========================
       Menu Button
    ========================= */

    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        width: 42px;
        height: 42px;

        margin-left: auto;
        padding: 0;

        background-color: #242424;

        border: 1px solid #454545;
        border-radius: 8px;

        cursor: pointer;

        transition:
            background-color 0.18s ease,
            border-color 0.18s ease;
    }

    .mobile-menu-button:hover {
        background-color: #2c2630;
        border-color: #76508d;
    }

    .mobile-menu-button:focus-visible {
        outline: 2px solid #b84cff;
        outline-offset: 3px;
    }

    .mobile-menu-button span {
        width: 20px;
        height: 2px;

        background-color: #eeeeee;

        border-radius: 999px;

        transition:
            transform 0.2s ease,
            opacity 0.2s ease,
            background-color 0.2s ease;
    }

    .mobile-menu-button.open span {
        background-color: #d7b4ef;
    }

    .mobile-menu-button.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-button.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* =========================
       Menu Panel
    ========================= */

    .mobile-nav {
        position: absolute;
        z-index: 1000;

        top: calc(100% + 8px);
        right: 12px;

        display: flex;
        flex-direction: column;

        width: min(360px, calc(100vw - 24px));

        box-sizing: border-box;

        padding: 8px;

        background-color: #202020;

        border: 1px solid #444444;
        border-radius: 10px;

        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.48);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-8px);

        pointer-events: none;

        transition:
            opacity 0.18s ease,
            visibility 0.18s ease,
            transform 0.18s ease;
    }

    .mobile-nav.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }


    /* =========================
       Navigation Rows
    ========================= */

    .mobile-nav-link {
        display: flex;
        align-items: center;

        gap: 13px;

        min-height: 52px;

        padding: 9px 11px;

        box-sizing: border-box;

        color: #e6e6e6;
        background-color: transparent;

        border: none;
        border-bottom: 1px solid #383838;

        border-radius: 0;

        font-size: 12px;

        text-decoration: none;

        transition:
            background-color 0.18s ease,
            color 0.18s ease;
    }

    .mobile-nav-link:first-child {
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
    }

    .mobile-nav-link:focus-visible {
        position: relative;
        z-index: 2;

        outline: 2px solid #b84cff;
        outline-offset: -2px;
    }


    /* =========================
       Minecraft Item Icons
    ========================= */

    .mobile-nav-link img {
        box-sizing: border-box;

        width: 38px;
        height: 38px;

        padding: 5px;

        flex-shrink: 0;

        background-color: #191919;

        border: 1px solid #3d3d3d;
        border-radius: 6px;

        object-fit: contain;

        transition:
            background-color 0.18s ease,
            border-color 0.18s ease,
            transform 0.18s ease;
    }

    .mobile-nav-link:hover img {
        transform: scale(1.05);
    }


    /* =========================
       Tools
    ========================= */

    .mobile-nav-link[href="/tools/"]:hover {
        color: #79d98a;
        background-color: rgba(76, 160, 91, 0.10);
    }

    .mobile-nav-link[href="/tools/"]:hover img {
        background-color: rgba(76, 160, 91, 0.10);
        border-color: #477d58;
    }


    /* =========================
       Guides
    ========================= */

    .mobile-nav-link[href="/guides/"]:hover {
        color: #e0c45c;
        background-color: rgba(208, 165, 67, 0.10);
    }

    .mobile-nav-link[href="/guides/"]:hover img {
        background-color: rgba(208, 165, 67, 0.10);
        border-color: #8c7436;
    }


    /* =========================
       References
    ========================= */

    .mobile-nav-link[href="/coming-soon/"]:hover {
        color: #79b8ef;
        background-color: rgba(78, 142, 205, 0.10);
    }

    .mobile-nav-link[href="/coming-soon/"]:hover img {
        background-color: rgba(78, 142, 205, 0.10);
        border-color: #456f97;
    }


    /* =========================
       Changelog
    ========================= */

    .mobile-nav-link[href="/changelog/index.html"]:hover {
        color: #c79cff;
        background-color: rgba(184, 76, 255, 0.08);
    }

    .mobile-nav-link[href="/changelog/index.html"]:hover img {
        background-color: rgba(184, 76, 255, 0.08);
        border-color: #76508d;
    }

    /* =========================
       About
    ========================= */

    .mobile-nav-divider + .mobile-nav-link {
        border-top: none;
    }

    .mobile-nav-link[href="/about/index.html"]:hover {
        color: #c79cff;
        background-color: rgba(184, 76, 255, 0.08);
    }

    .mobile-nav-link[href="/about/index.html"]:hover img {
        background-color: rgba(184, 76, 255, 0.08);
        border-color: #76508d;
    }


    /* =========================
       Discord
    ========================= */

    .mobile-discord-link {
        justify-content: space-between;

        border-bottom: none;

        border-bottom-left-radius: 7px;
        border-bottom-right-radius: 7px;

        color: #bcbcbc;
    }

    .mobile-discord-link:hover {
        color: #ffffff;
        background-color: #292929;
    }

    .mobile-external-arrow {
        margin-left: auto;

        color: #777777;

        font-size: 18px;

        transition:
            color 0.18s ease,
            transform 0.18s ease;
    }

    .mobile-discord-link:hover .mobile-external-arrow {
        color: #c79cff;

        transform: translateX(3px);
    }
}


@media (max-width: 500px) {

    .mobile-nav {
        top: calc(100% + 6px);
        right: 8px;

        width: calc(100vw - 16px);

        padding: 7px;
    }

    .mobile-nav-link {
        min-height: 50px;

        padding: 8px 9px;
    }

    .mobile-nav-link img {
        width: 36px;
        height: 36px;
    }
}


/* =========================
   Header Stacking
========================= */

#site-header {
    position: relative;
    z-index: 2000;
}

.site-header {
    position: relative;
    z-index: 2000;
}


/* =========================
   Desktop Navigation Dropdowns
========================= */

.nav-dropdown {
    position: relative;
}


/* =========================
   Dropdown Button
========================= */

.nav-dropdown-button {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0;

    color: white;
    background: none;

    border: none;

    font: inherit;

    cursor: pointer;

    transition:
        color 0.15s ease,
        text-shadow 0.15s ease;
}

.nav-dropdown-button:hover,
.nav-dropdown.open .nav-dropdown-button {
    color: #c79cff;

    text-shadow:
        0 0 6px rgba(199, 156, 255, 0.6);
}


/* =========================
   Dropdown Arrow
========================= */

.nav-dropdown-arrow {
    display: inline-block;

    color: #cfcfcf;

    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1;

    transform-origin: center;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
    color: #c79cff;

    transform: rotate(180deg);
}


/* =========================
   Hover Bridge
========================= */

.nav-dropdown::after {
    content: "";

    position: absolute;

    top: 100%;
    left: -30px;

    width: calc(100% + 60px);
    height: 20px;
}


/* =========================
   Dropdown Panel
========================= */

.nav-dropdown-menu {
    position: absolute;
    z-index: 2100;

    top: calc(100% + 11px);
    left: 50%;

    width: 350px;

    box-sizing: border-box;

    padding: 10px;

    background-color: #1e1e1e;

    border: 1px solid #454545;
    border-radius: 11px;

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.52),
        0 0 16px rgba(184, 76, 255, 0.05);

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-50%)
        translateY(-6px);

    pointer-events: none;

    transition:
        opacity 0.16s ease,
        visibility 0.16s ease,
        transform 0.16s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);

    pointer-events: auto;
}


/* =========================
   All Tools / All Guides
========================= */

.dropdown-all-link {
    display: flex;
    flex-direction: column;

    gap: 5px;

    box-sizing: border-box;

    margin-bottom: 11px;
    padding: 14px 15px;

    border: 1px solid;
    border-radius: 8px;

    text-decoration: none;

    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.dropdown-all-link:hover {
    transform: translateY(-1px);
}

.dropdown-all-link strong {
    font-size: 12px;
    font-weight: normal;
}

.dropdown-all-link span {
    font-size: 9px;
    line-height: 1.5;
}


/* All Tools */

.tools-dropdown .dropdown-all-link {
    background-color: rgba(76, 160, 91, 0.14);

    border-color: #477d58;
}

.tools-dropdown .dropdown-all-link strong {
    color: #79d98a;
}

.tools-dropdown .dropdown-all-link span {
    color: #8cae93;
}

.tools-dropdown .dropdown-all-link:hover {
    background-color: rgba(76, 160, 91, 0.20);

    border-color: #5da66d;

    box-shadow:
        0 0 9px rgba(76, 160, 91, 0.12);
}


/* All Guides */

.guides-dropdown .dropdown-all-link {
    background-color: rgba(208, 165, 67, 0.14);

    border-color: #8c7436;
}

.guides-dropdown .dropdown-all-link strong {
    color: #e0c45c;
}

.guides-dropdown .dropdown-all-link span {
    color: #ad9d69;
}

.guides-dropdown .dropdown-all-link:hover {
    background-color: rgba(208, 165, 67, 0.20);

    border-color: #aa8b3f;

    box-shadow:
        0 0 9px rgba(208, 165, 67, 0.12);
}


/* =========================
   Normal Tool Rows
========================= */

.nav-dropdown-menu > a:not(.dropdown-all-link) {
    display: flex;
    align-items: center;

    min-height: 44px;

    box-sizing: border-box;

    padding: 11px 14px;

    color: #dddddd;
    background-color: transparent;

    border-bottom: 1px solid #363636;

    font-size: 11px;
    line-height: 1.4;

    text-decoration: none;

    transition:
        color 0.16s ease,
        background-color 0.16s ease,
        padding-left 0.16s ease;
}

.nav-dropdown-menu > a:not(.dropdown-all-link):last-child {
    border-bottom: none;
}

.tools-dropdown .nav-dropdown-menu > a:not(.dropdown-all-link):hover {
    padding-left: 18px;

    color: #79d98a;

    background-color: rgba(76, 160, 91, 0.10);
}


/* =========================
   Dropdown Identity
========================= */

.tools-dropdown .nav-dropdown-menu {
    border-top: 2px solid #55b879;
}

.guides-dropdown .nav-dropdown-menu {
    border-top: 2px solid #c89b43;
}


/* =========================
   Guide Groups
========================= */

.guide-dropdown-group {
    overflow: hidden;

    background-color: #242424;

    border: 1px solid #424242;
    border-radius: 8px;
}

.guide-dropdown-group + .guide-dropdown-group {
    margin-top: 10px;
}


/* =========================
   Guide Parent
========================= */

.guide-parent-link {
    display: flex;
    flex-direction: column;

    gap: 5px;

    padding: 13px 14px;

    background-color: #242424;

    text-decoration: none;

    transition:
        background-color 0.16s ease,
        padding-left 0.16s ease;
}

.guide-parent-link:hover {
    padding-left: 17px;

    background-color: #292929;
}

.guide-parent-title {
    font-size: 11px;
}

.guide-parent-description {
    color: #888888;

    font-size: 8px;
    line-height: 1.5;
}


/* =========================
   Guide Children
========================= */

.guide-child-list {
    background-color: #242424;
}

.guide-child-link {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 42px;

    box-sizing: border-box;

    padding: 10px 14px 10px 31px;

    color: #c9c9c9;
    background-color: #242424;

    border-top: 1px solid #3b3b3b;

    font-size: 10px;
    line-height: 1.4;

    text-decoration: none;

    transition:
        color 0.16s ease,
        background-color 0.16s ease,
        padding-left 0.16s ease;
}

.guide-child-link::before {
    content: "";

    position: absolute;

    left: 16px;
    top: 50%;

    width: 7px;
    height: 1px;

    background-color: #626262;
}

.guide-child-link:hover {
    padding-left: 35px;

    background-color: #292929;
}


/* =========================
   Tool Guides
========================= */

.tool-guide-group .guide-parent-title {
    color: #c59a54;
}

.tool-guide-group .guide-parent-link:hover .guide-parent-title {
    color: #d7ad67;
}

.tool-guide-group .guide-child-link:hover {
    color: #d7ad67;
}

.tool-guide-group .guide-child-link::before {
    background-color: #8e7042;
}


/* =========================
   Learn Minecraft
========================= */

.minecraft-guide-group .guide-parent-title {
    color: #e0c45c;
}

.minecraft-guide-group .guide-parent-link:hover .guide-parent-title {
    color: #edd56d;
}

.minecraft-guide-group .guide-child-link:hover {
    color: #edd56d;
}

.minecraft-guide-group .guide-child-link::before {
    background-color: #aa9147;
}


/* =========================
   Focus
========================= */

.nav-dropdown-button:focus-visible,
.dropdown-all-link:focus-visible,
.nav-dropdown-menu a:focus-visible {
    outline: 2px solid #b84cff;
    outline-offset: 2px;
}


/* =========================
   Hide Desktop Dropdowns
   On Mobile
========================= */

@media (max-width: 1100px) {

    .nav-dropdown {
        display: none;
    }
}