.main-intro-content {
    margin: 0 12rem;
}

.domain-profile-data {
    border-top: .1rem solid var(--color-separator-border);
    border-radius: 0 0 1rem 1rem;
    padding: 3rem;
    background: var(--color-background);
    box-shadow: 0 1.5rem 1.8rem .1rem var(--color-separator-border);
    display: grid;
    gap: 2rem;
}

.profile-data-heading-text {
    color: var(--blue-2);
    font-size: 2rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
    word-break: break-all;
}

.domain-profile {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.profile-header-icon {
    width: 2rem;
    height: 2rem;
}

.profile-box {
    padding: 1.5rem;
    border-radius: .5rem;
    min-width: min-content;
    border: .05rem solid var(--color-separator-border);
    width: 100%;
    box-sizing: border-box;
    display: grid;
    gap: 1rem;
}

.profile-box-list {
    list-style-type: none;
    padding: 0;
    margin: 0;

    li {
        display: flex;
        margin-bottom: 1rem;
        font-weight: lighter;
        gap: .625rem;
        justify-content: space-between;

        span, a {
            font-size: .875rem;
        }

        span:last-child {
            font-weight: bold;
        }
    }

    li:last-child {
        margin-bottom: 0;
    }
}

.information-link {
    color: var(--blue-2);
    font-weight: 500;
}

.coloured {
    color: var(--red-1);
}

.profile-box-heading {
    font-weight: 600;
    color: var(--blue-2);
    height: fit-content;
    width: fit-content;
    font-size: 1.5rem;
}

.flex-layout {
    display: flex;
    gap: 1rem;
}

.layout-class {
    display: flex;
    gap: 2rem;
}

.grid-layout {
    display: grid;
    gap: 1rem;
    height: fit-content;
}

.screenshot-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: fit-content;
    width: 50%;
}

.tags-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: fit-content;
    width: 50%;
}

.image-container {
    width: 100%;
    height: 25rem;
    overflow-y: scroll;
}

.image-container img {
    width: 100%;
    height: auto;
}

.tag-section {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag {
    padding: .7rem;
    border: .08rem solid var(--color-separator-border);
    border-radius: 90rem;
    color: var(--blue-2);
    height: fit-content;
    width: fit-content;
}

.domain-list {
    display: grid;
    gap: 1rem;
}

.domain-list-header {
    display: flex;
    justify-content: flex-start;
    font-weight: bold;
}

.domain-list-header-price {
    display: flex;
    justify-content: flex-end;
    font-weight: bold;
    margin-right: 11.8rem;
}

.domain-list-row {
    display: grid;
    grid-template-columns: 1fr max-content max-content;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.domain-list-row .price {
    color: var(--blue-2);
    font-weight: 500;
    text-align: right;
}

.domain-list-bid-btn {
    border: .1rem solid var(--green-4);
    color: var(--green-4);
    text-decoration: none;
    gap: 1rem;
    background: var(--color-background);
    border-radius: .6rem;
    padding: .6rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    text-wrap-mode: nowrap;
    width: fit-content;

    svg {
        fill: var(--green-4);
        width: 1.5rem;
        height: 1.5rem;
    }
}

.domain-list-bid-btn:hover {
    transform: scale(1.05);
}

.load-more {
    margin-top: 1rem;
    padding: .75rem 1.7rem;
    border: .1rem solid var(--green-4);
    border-radius: .6rem;
    color: var(--green-4);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    display: none;
    justify-content: center;
}

.load-more:hover {
    transform: scale(1.03);
}


@media (width < 1400px) {
    .main-intro-content {
        margin: 0 2rem;
    }
}

@media (width < 1200px) {
    .main-intro-content {
        margin: 0 1rem;
    }

    .profile-data-heading-text {
        display: none;
    }

    .domain-profile-data {
        padding: 0;
        box-shadow: none;
        background: transparent;
        border: none;
    }

    .domain-profile, .layout-class {
        gap: 1rem;
    }

    .profile-box {
        background: var(--color-background);
    }

    .domain-list-row {
        grid-template-columns: 1fr 1fr;
        align-items: flex-start;
        gap: .5rem;
        margin-bottom: .5rem;
    }

    .domain-list-bid-btn {
        grid-column: span 2;
        width: inherit;
        display: flex;
        justify-content: center;
    }

    .domain-list-header-price {
        margin-right: 0;
    }

    .screenshot-content, .tags-content {
        width: 100%;
    }

    .tag-section {
        position: relative;
        overflow: hidden;
        max-height: 10rem;
        transition: max-height 0.5s ease;
    }

    .load-more {
        width: auto;
        display: flex;
        justify-content: center;
    }

    .tag-section::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 5rem;
        background: linear-gradient(to top, var(--color-background), transparent);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .tag-section.expanded {
        max-height: max-content;
    }

    .tag-section.expanded::after {
        opacity: 0;
    }
}


@media (width < 576px) {
    .domain-list-row .domain,
    .domain-list-row .price {
        word-break: break-all;
    }

    .bid-btn {
        width: 100%;
        justify-content: center;
    }

    .features-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-data-heading-text {
        font-size: 1.5rem;
    }

    .tag {
        font-size: .75rem;
    }
}