.displayer {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.mod-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    width: 70%;
}

.support-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    width: 25%;
    min-height: 10px;
}

.mod-card {
    display: flex;
    align-items: center;
    background-color: var(--darkcolor);
    border-radius: 12px;
    overflow: hidden;
    padding: 0.8rem;
    box-shadow: 0 0 10px rgba(0, 224, 198, 0.1);
    border: 1px solid rgba(0, 224, 198, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mod-card:hover {
    transform: scale(1.02);
    box-shadow:
        0 0 5px var(--main-color),
        0 0 10px var(--main-color),
        0 0 15px var(--main-color);
}

.mod-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-right: 1rem;
    background-color: #111;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.mod-info {
    flex-grow: 1;
    padding-right: 10px;
}

.mod-info h3 {
    margin: 0;
    font-size: 18px;
    color: var(--main-color);
    text-shadow:
        0 0 3px var(--main-color);
}

.mod-info p {
    margin-top: 0.3rem;
    font-size: 15px;
    color: #ccc;
}

.download-btn {
    background-color: var(--main-color);
    border: none;
    color: #000;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow:
        0 0 6px var(--main-color),
        0 0 10px var(--main-color);
    transition: background-color 0.2s ease, transform 0.2s;
    flex-shrink: 0;
}

.download-btn:hover {
    background-color: #00fff0;
    transform: scale(1.1);
}

.wiki-btn {
    background-color: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow:
        0 0 5px rgba(0, 224, 198, 0.3);
    flex-shrink: 0;
}

.wiki-btn:hover {
    background-color: var(--main-color);
    color: #000;
    box-shadow:
        0 0 8px var(--main-color),
        0 0 12px var(--main-color);
}

.line {
    width: 3px;
    background-color: var(--main-color);
    margin: 1rem;
    align-self: stretch;
}

.mod-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.install-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-install {
    background: var(--main-color);
    color: var(--darkcolor);
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    text-decoration: none;
    box-shadow: 0 0 10px var(--main-color);
    transition: all 0.2s ease-in-out;
    text-align: center;
    border: 3px var(--darkcolor) solid;
    width: 30%;
}

.btn-install:hover {
    transform: scale(1.05);
    background: var(--main-color);
    box-shadow: 0 0 15px var(--main-color);
}

.btn-install.auto::before {
    content: "⚙️ ";
}

.btn-install.manual::before {
    content: "📦 ";
}

.setup-mods {
    font-size: 28px;
}

.setup {
    width: 25%;
    height: 100%;
    text-align: center;
}

.forgesetup {
    padding-top: 25px;
    display: flex;
    justify-content: space-around;
}

.btn-forge {
    background: linear-gradient(135deg, #2c2c2c, #1b1b1b);
    color: #ffa500;
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    text-decoration: none;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
    transition: all 0.2s ease-in-out;
    text-align: center;
    border: 3px solid #ffa500;
    width: 30%;
}

.btn-forge:hover {
    background: #ffa500;
    color: #000;
    box-shadow: 0 0 12px #ffa500, 0 0 18px #ffa500;
}

.btn-install b {
    font-size: clamp(0.7rem, 1.9vw, 0.9rem);
    color: var(--darkcolor);
}

.btn-forge b {
    font-size: clamp(0.7rem, 1.9vw, 0.9rem);
    color: inherit;
}

.support-list.custom,
.mod-list.custom {
    display: flex !important;
    text-align: center;
    justify-content: space-around;
    color: var(--main-color);
    font-size: 36px;
    padding: 0;
    margin: 20px auto;
    text-shadow:
        0 0 3px var(--main-color),
        0 0 6px var(--main-color);
}

@media (max-width: 768px) {
    a b{
        display: none !important;
    }

    .forgesetup{
        flex-direction: column;
        justify-content: space-around;
    }

    .btn-install, .btn-forge{
        display: flex !important;
        align-items: center !important;
        width: 80vw;
        margin: 5px auto;
    }

    .line{
        display: none;
    }

    .mod-list.custom, .support-list.custom{
        display: none !important;
    }

    .displayer{
        flex-direction: column;
    }

    .mod-list{
        grid-template-columns: repeat(1, 1fr);
        width: 90%;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .support-list{
        width: 90%;
        padding-top: 1rem;
        margin-top: 0;
    }
}
