* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f5f5;
    -webkit-tap-highlight-color: transparent;
    scrollbar-width: none;
}
body::-webkit-scrollbar {
    display: none;
}

.app {
    max-width: 750px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    position: relative;
    scrollbar-width: none;
}
.app::-webkit-scrollbar {
    display: none;
}

.navbar {
    height: 1rem;
    background-color: #0068B7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.3rem;
    position: sticky;
    top: 0;
    z-index: 20;
    flex-shrink: 0;
}

.logo {
    height: 1rem;
    width: auto;
    background-image: url('../img/top-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    aspect-ratio: 2 / 1;
    min-width: 1.6rem;
}

.menu-btn {
    width: 0.6rem;
    height: 0.6rem;
    background-image: url('../img/top-menu.png');
    background-size: contain;
    cursor: pointer;
}

/* 下拉菜单 fixed 定位，始终固定在导航栏下方 */
.dropdown-menu {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    width: 100%;
    max-width: 750px;
    background-color: rgba(0, 104, 183, 0.85);
    z-index: 19;
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.2);
    padding: 0;
}

.dropdown-menu.show {
    transform: translateX(-50%) scaleY(1);
}

.dropdown-menu ul {
    list-style: none;
    padding: 0 0.3rem 0.5rem 0.3rem;
}

.dropdown-menu li {
    height: 0.9rem;
    line-height: 0.9rem;
    border-bottom: 1px solid #CFA972;
    font-size: 0.3rem;
    color: white;
    padding-left: 0;
    cursor: pointer;
}
.dropdown-menu li:last-child {
    border-bottom: 1px solid #CFA972;
}

.dropdown-menu li a {
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    font-size: 0.3rem;
    line-height: 0.9rem;
    padding-left: 0.2rem;
    box-sizing: border-box;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    position: relative;
    scrollbar-width: none;
}
.main-content::-webkit-scrollbar {
    display: none;
}

.content-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 10;
    pointer-events: auto;
}

.content-overlay.active {
    display: block;
}

.carousel-section {
    background: #eee;
    padding: 0;
    margin: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
}
.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    height: 3.8rem;
    background-size: cover;
    background-position: center;
    background-color: #ccc;
}

.banner1 { background-image: url('../img/banner1.png'); }
.banner2 { background-image: url('../img/banner2.png'); }
.banner3 { background-image: url('../img/banner3.png'); }

.carousel-indicators {
    position: absolute;
    bottom: 0.1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.15rem;
    background-color: rgba(0,0,0,0.3);
    padding: 0.05rem 0.12rem;
    border-radius: 0.2rem;
    z-index: 2;
}

.indicator {
    width: 0.15rem;
    height: 0.15rem;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    cursor: pointer;
}

.indicator.active {
    background-color: #0068B7;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.card {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    height: 2.5rem;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    color: white;
    padding: 0.2rem 0.2rem 0.2rem 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    /*will-change: height;*/
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.card:active {
    background-color: transparent;
    opacity: 1;
}

.card:last-child {
    border-bottom: none;
}

.card.expanded {
    height: 4rem;
}
.card-intro {
    height: auto !important;
    min-height: 4rem;
    padding: 0.2rem 35% 0.2rem 0.8rem;
    cursor: default;
}
.card-intro .card-desc {
    text-indent: 0;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    max-width: 100%;
    white-space: normal;
    font-size: 0.25rem;
    letter-spacing: 0.02rem;
    line-height: 1.6;
    font-weight: 300;
}
.card-intro .card-more {
    display: block;
    text-align: right;
}
.card-intro .card-more img {
    width: 1.6rem;
    height: auto;
    vertical-align: middle;
    margin-right: 0.4rem;
    margin-top: 0.05rem;
}

.card-dj .card-title,
.card-dj .card-desc,
.card-dj .card-more {
    color: #C00000;
}

.card-jt, .card-yw, .card-xw, .card-xx, .card-join {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-jt {will-change: transform; background-image: linear-gradient(0deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1)), url('../img/jt.png'); }
.card-dj {will-change: transform; background-image: linear-gradient(0deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1)), url('../img/dj.png'); }
.card-yw {will-change: transform; background-image: linear-gradient(0deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1)), url('../img/yw.png'); }
.card-xw {will-change: transform; background-image: linear-gradient(0deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1)), url('../img/xw.png'); }
.card-xx {will-change: transform; background-image: linear-gradient(0deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1)), url('../img/xx.png'); }
.card-join {will-change: transform; background-image: linear-gradient(0deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1)), url('../img/join.png'); }

.card-title {
    font-size: 0.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.card-arrow-icon {
    width: 0.32rem;
    height: 0.32rem;
    object-fit: contain;
    vertical-align: middle;
}

.card-desc {
    font-size: 0.28rem;
    margin-top: 0.1rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card.expanded .card-desc {
    -webkit-line-clamp: 4;
}

.card-more {
    margin-top: 0.15rem;
    font-size: 0.24rem;
    color: #ffd966;
    display: none;
}

.card.expanded .card-more {
    display: block;
}

.footer-info {
    background-image: url('../img/bottom-bg.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 0.4rem 0.3rem 0.4rem 0.6rem;
    color: #333;
    line-height: 1.6;
    flex-shrink: 0;
    text-align: left;
}

.phone-number {
    color: white;
    font-size: 0.44rem;
    font-weight: 600;
}

.secondary-text {
    color: #999999;
    font-size: 0.29rem;
}

.email-address {
    color: white;
    font-size: 0.29rem;
}

.wechat-label {
    color: #999999;
    text-align: center;
    font-size: 0.23rem;
    margin-top: 0.1rem;
}

.footer-extra {
    margin-top: 0;
    font-size: 0.25rem;
    color: #CFA972;
}

.footer-left .contact-item:nth-child(2) {
    margin-bottom: 0.05rem;
}
.footer-left .contact-item:nth-child(4) {
    margin-bottom: 0rem;
}
.footer-left .contact-item:last-child {
    margin-bottom: 0;
}

.hotline-text {
    color: #CFA972;
    font-size: 0.25rem;
    margin-bottom: 0.1rem;
}

.icon-tel {
    width: 0.4rem;
    height: 0.4rem;
    background-image: url('../img/bottom-tel.png');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    animation: breathe 2s ease-in-out infinite;
}

.footer-row {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0.2rem;
}

.footer-left {
    flex: 1;
}

.footer-right {
    width: 1.5rem;
    margin-left: 0.1rem;
}

.qr-code {
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../img/bottom-code.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-divider {
    display: block;
    width: 100%;
    height: auto;
    margin: 0.2rem 0;
}

@keyframes breathe {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.8; transform: scale(1); }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-bottom: 0.15rem;
    flex-wrap: wrap;
}

.icon-ga {
    width: 0.4rem;
    height: 0.4rem;
    background-image: url('../img/bottom-ga.png');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.copyright-group {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-wrap: wrap;
    color: #CFA972;
    margin-bottom: 0.1rem;
}

.beian-police {
    display: flex;
    align-items: center;
    gap: 0.05rem;
    color: #CFA972;
}

.beian-police .icon-ga {
    margin-right: 0.02rem;
}

.text-bold {
    font-weight: 600;
}

.carousel-item {
    position: relative;
    overflow: hidden;
}

.carousel-text {
    position: absolute;
    bottom: 2.4rem;
    left: 5%;
    width: 90%;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
    pointer-events: none;
}

.carousel-text.show {
    opacity: 1;
    transform: translateY(0);
}

.text1 {
    will-change: transform;
    background-image: url('../img/banner1-text.png');
    background-position: left bottom;
}

.text2 {
    will-change: transform;
    background-image: url('../img/banner2-text.png');
}

.text3 {
    will-change: transform;
    background-image: url('../img/banner3-text.png');
    width: 90%;
}

.carousel-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 15%;
    transform: translateX(-50%);
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 0.1rem;
    font-size: 0.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 3;
}

.carousel-item.show-btn .carousel-btn {
    opacity: 1;
    pointer-events: auto;
}

a {
    text-decoration: none
}

.pagination {border-radius: 4px;padding-top: 30px}
.pagination>li {display: inline-block;}
.pagination>li>a,.pagination>li>span {position: relative;float: left;padding: 6px 12px;line-height: 1.42857;text-decoration: none;color: #40aae2;background-color: #fff;border: 1px solid #ddd;margin-left: -1px;}
.pagination>li:first-child>a,.pagination>li:first-child>span {margin-left: 0;border-bottom-left-radius: 4px;border-top-left-radius: 4px;}
.pagination>li:last-child>a,.pagination>li:last-child>span {border-bottom-right-radius: 4px;border-top-right-radius: 4px;}
.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover {z-index: 2;color: #23527c;background-color: #eee;border-color: #ddd;}
.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover {z-index: 3;color: #fff;background-color: #40aae2;border-color: #40aae2;cursor: default;}
.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover {color: #777;background-color: #fff;border-color: #ddd;cursor: not-allowed;}
.pagination-lg>li>a,.pagination-lg>li>span {padding: 10px 16px;font-size: 18px;line-height: 1.33333;}
.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span {border-bottom-left-radius: 6px;border-top-left-radius: 6px;}
.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span {border-bottom-right-radius: 6px;border-top-right-radius: 6px;}
.pagination-sm>li>a,.pagination-sm>li>span {padding: 5px 10px;font-size: 12px;line-height: 1.5;}
.badge,.label {line-height: 1;white-space: nowrap;}
.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span {border-bottom-left-radius: 3px;border-top-left-radius: 3px;}
.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span {border-bottom-right-radius: 3px;border-top-right-radius: 3px;}
.search-pagination>.pagination>li>a {margin: 0 3px;}
.search-pagination {text-align: center;}
.search-pagination>.pagination>.page-active>a {background-color: #40aae2;color: #fff;}
.pagination>li>a,.pagination>li>span {color: #000;}
.pagination>li>a:hover {cursor: pointer;color: #23527c;}
