html,
body {
    margin: 0;
    background: #127dab;
    color: white;
    font-family: Arial, sans-serif;
    padding: 0;
}

a {
    text-decoration: unset;
    color: white;
}

#page-base {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    padding: 0.5rem;
}

.categorize-box {
    border-radius: 15px;
    margin: 10px auto;
    position: relative;
}

.categorize-img {
    width: 100%;
    height: 100%;
    border-radius: 0 40px;
    min-height: 8rem;
    display: block;
    position: relative;
    z-index: 0;
}

.categorize-dec {
    font-size: 1rem;
    padding: 0.5rem;
    text-align: center;
    line-height: 1.5rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(30, 30, 30, 0.7) 100%);
    z-index: 1;
    margin: 0;
    box-sizing: border-box;
    border-radius: 0 40px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.categorize-info {
    width: 58.33333333%;
    text-align: left;
    padding: 0 0.4rem;
}

.float {
    position: fixed;
    bottom: 50px;
    right: 15px;
    z-index: 1000;
    display: none;
}

.top-button {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(78, 140, 255, 0.3);
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.carousel-container {
    position: relative;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.carousel-item {
    flex: 0 0 auto;
    margin: 0 8px;
}

.carousel-item img {

    height: 240px;
    object-fit: cover;
    border-radius: 8px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.nav-btn:hover {
    opacity: 1;
}

.prev-btn {
    left: 8px;
}

.next-btn {
    right: 8px;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

.hidden {
    display: none;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    margin: 0.2rem 0.1rem;
}

.video-container {
    width: 90%;
    margin: 1rem;
}

/* 设置图片容器的样式 */
.slider {
    width: 100%;
    height: 16rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* 设置图片的样式 */
.slider img {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 15px;
}

/* 显示当前图片 */
.slider img.active {
    opacity: 1;
}

/* 设置按钮的样式 */
.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* 左按钮的位置 */
.slider .prev {
    left: 10px;
}

/* 右按钮的位置 */
.slider .next {
    right: 10px;
}

/* 设置点标记容器的样式 */
.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

/* 设置点标记的样式 */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
}

/* 当前激活的点标记样式 */
.dot.active {
    background-color: white;
}