body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
    /* 保持链接与文本的颜色一致 */
}

a:hover {
    color: #ff6a6a;
    /* 悬停时改变文字颜色 */
    text-decoration: none;
}

.logo a {
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title_shop a {
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

mi-shop a {
    color: #3bbf6;
}

header {
    background-color: #ffffff;
    color: #333333;
    padding: 10px 20px;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.r_title {
    display: flex;
    align-items: right;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2.5px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 38px;
    margin-right: 10px;
    vertical-align: middle;
}

.logo span {
    letter-spacing: 2px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

main {
    padding: 20px;
}

.domain-section {
    margin-bottom: 30px;
}

.domain-list {
    display: flex;
    flex-wrap: wrap;
    /* 设置元素之间的间距 */
    justify-content: flex-start;
    gap: 10px;
    /* 确保元素从左到右对齐 */
}

.domain-item {
    background-color: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    flex-shrink: 0;
    /* 不允许缩小 */
}

.nomal-section .domain-item {
    position: relative;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

.nomal-section .domain-item:after {
    position: absolute;
    content: "";
    height: 2px;
    width: 0;
    left: 0;
    bottom: 0;
    background: -webkit-linear-gradient(45deg, #FF5D4A, #f99157, #fac863, #4FC277, #5fb3b3) !important;
    background: linear-gradient(45deg, #FF5D4A, #f99157, #fac863, #4FC277, #5fb3b3) !important;
    box-sizing: inherit;
    transition: width 0.5s;
    -moz-transition: width 0.5s !important;
    -webkit-transition: width 0.5s !important;
    -o-transition: width 0.5s !important;
}

.nomal-section .domain-item:hover::after {
    width: 100%;
}

@keyframes clippath {
    0%,
    100% {
        clip-path: inset(0 0 96% 0);
        filter: hue-rotate(0deg);
    }
    25% {
        clip-path: inset(0 96% 0 0);
    }
    50% {
        clip-path: inset(96% 0 0 0);
        filter: hue-rotate(360deg);
    }
    75% {
        clip-path: inset(0 0 0 96%);
    }
}

.domain-item:hover {
    z-index: 2;
    -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
    -webkit-transform: translate3d(0, -2px, 0);
    transform: translate3d(0, -2px, 0);
    cursor: pointer;
}


/*如果不要动态边框，把这里删除了*/

.recommended {
    position: relative;
    &:hover {
        filter: contrast(1.1);
    }
    &:active {
        filter: contrast(0.9);
    }
    &::before,
    &::after {
        content: "";
        border: 2px solid;
        border-image: linear-gradient(45deg, gold, deeppink) 1;
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        animation: clippath 20s infinite;
    }
    &::before {
        animation: clippath 20s infinite -10s linear;
    }
}


/*如果不要动态边框，把这里删除了*/

.domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.domain-name {
    font-weight: bold;
    font-size: 20px;
}

.domain-price {
    color: #ff5722;
    font-weight: bold;
}

.domain-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.domain-desc {
    font-size: 14px;
    color: #757575;
}

.domain-link img {
    height: 20px;
    width: 20px;
    cursor: pointer;
}


/* 大屏幕（桌面显示器）：每行显示5个域名 */

@media (min-width: 1200px) {
    .domain-item {
        flex: 0 0 calc(20% - 10px);
        /* 每行显示5个，不会加宽 */
    }
}


/* 中等屏幕（平板电脑）：每行显示3个域名 */

@media (min-width: 768px) and (max-width: 1199px) {
    .domain-item {
        flex: 0 0 calc(33.33% - 10px);
        /* 每行显示3个，不会加宽 */
    }
}


/* 小屏幕（手机）：每行显示1个域名 */

@media (max-width: 767px) {
    .domain-item {
        flex: 0 0 calc(100% - 10px);
        /* 每行显示1个，不会加宽 */
    }
    .domain-list {
        justify-content: center;
        gap: 0;
    }
    .footer-info {
        flex-direction: column;
        gap: 10px;
    }
    .ym-box{padding-bottom:30px;}
}

footer {
    background-color: #fff;
    color: #333;
    padding: 10px 0;
    text-align: center;
    /* 居中对齐 */
    position: fixed;
    width: 100%;
    bottom: 0;
}

.frend-link {
    margin-bottom: 10px;
}

.frend-link a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    margin: 0 10px;
    display: inline-block;
    background-color: #fff;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

.frend-link a:after {
    position: absolute;
    content: "";
    height: 2px;
    width: 0;
    left: 0;
    bottom: 0;
    background: -webkit-linear-gradient(45deg, #FF5D4A, #f99157, #fac863, #4FC277, #5fb3b3) !important;
    background: linear-gradient(45deg, #FF5D4A, #f99157, #fac863, #4FC277, #5fb3b3) !important;
    box-sizing: inherit;
    transition: width 0.5s;
    -moz-transition: width 0.5s !important;
    -webkit-transition: width 0.5s !important;
    -o-transition: width 0.5s !important;
}

.frend-link:hover::after {
    width: 100%;
}

.frend-link a:hover {
    text-decoration: none;
    background-color: rgba(82, 145, 252, 0.5);
    color: #ffffff;
}

.footer-info {
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-shop-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
}

.contact span {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}

.contact {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.contact img {
    margin-right: 8px;
    height: 20px;
}

.mi-shop a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    margin-left: 15px;
}

.mi-shop a:hover {
    color: #ff5722;
}


/* Medium screens (Tablets) */

@media (max-width: 768px) {
    .contact-shop-wrapper {
        justify-content: center;
        /* Center content on medium screens */
    }
    .mi-shop {
        flex-basis: 100%;
        /* Full width for each section */
        text-align: center;
        margin-bottom: 10px;
        /* Spacing between contact and shop sections */
    }
    .mi-shop a {
        display: block;
        /* Stack links vertically */
        margin-left: 0;
        margin-bottom: 10px;
    }
}


/* Small screens (Phones) */

@media (max-width: 480px) {
    .mi-shop a {
        margin-bottom: 8px;
    }
}