* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #f5f3f7;
    color: #333;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 480px;
    height: 60px;
    background: rgba(0, 0, 0, .25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: #484F58;
    border-bottom: 1px solid rgb(255 255 255 / 75%);
}

.header.scrolled {
    background: #62B796;
}
.nav-logo{
	display: flex;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    height: 42px;
    margin-top: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.download-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.menu-btn {
    padding: 6px 12px;
    background: #F9950A;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.menu-line {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.dropdown-menu {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: linear-gradient(180deg, #62b79696, rgba(30, 4, 57, .5) 80%, rgba(30, 4, 57, .1));
    padding: 20px;
    display: none;
    z-index: 999;
    height: 100%;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu ul {
    list-style: none;
    margin-top: 20px;
}

.dropdown-menu li {
    margin-bottom: 15px;
    padding: 20px;
    background: #fff;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
}

.dropdown-menu ul li a{
    color: red;
}

.dropdown-menu h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.download-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.android-btn {
    background-color: #F9950A;
    color: white;
}

.h5-btn {
    background-color: white;
    color: #F9950A !important;
    border: 2px solid #F9950A; 
    padding: 10px 20px; 
    text-decoration: none; 
    position: relative; 
    color: white; 
}

.h5-btn::before {
    content: "";
    position: absolute;
    top: -2px; 
    left: -2px; 
    right: -2px; 
    bottom: -2px; 
    border: 2px solid #F9950A;
    pointer-events: none;
    z-index: -1; 
} 


.download-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.ios-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.ios-note a {
    color: #2196F3;
    text-decoration: none;
    font-weight: bold;
}

.ios-note a:hover {
    text-decoration: underline;
}

.small-text {
    font-size: 0.8rem;
    opacity: 0.8;
}
.dropdown-bg{
    background-color: #fffffffa;
    padding: 30px;
}
/* 在style2.css中添加以下样式 */
.dropdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    z-index: -10; /* 确保覆盖在内容之上 */
}

.close-btn {
    position: absolute;
    top: 24px;
    right: 30px;
    font-size: 20px;
    cursor: pointer;
    color: #000000;
    z-index: 2;
}

@media (max-width: 480px) {
    .dropdown-menu h2 {
		font-size: 1.3rem;
        text-align: center;
    }
}
.logo-n {
    width: 100px;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}
/* Banner轮播 */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
	padding-top: 20px;
}

.banner-container {
    display: flex;
    width: 600%;
    height: 100%;
    transition: transform 0.5s ease;
}

.banner-slide {
    width: 16.6667%;
    height: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主体内容 */
.main {
    padding: 20px;
    margin-top: 20px;
}

.title-section {
    text-align: center;
    margin-bottom: 30px;
}

.title-section h1 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1e0439;
}

.title-section p {
    font-size: 16px;
    color: #666;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.content-item {
    text-align: center;
}

.content-img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.content-title {
    font-size: 14px;
    color: #333;
}

/* 底部模块 */
.footer-module {
    padding: 30px 20px;
    background: #f0eaf5;
    text-align: center;
}

.download-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.download-section a {
    color: #a19ba3;
    text-decoration: none;
    font-size: 14px;
}
.copyright p a{color: #a19ba3;}

.footer-logo {
    height: 60px;
    margin: 0 auto;
}

.copyright {
    margin-top: 20px;
}

.copyright p {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner {
        height: 380px;
    }
    
    body {
        max-width: 480px;
        margin: 0 auto;
        background: #f5f3f7;
    }
}
.thumbnail-nav {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.2);
	padding: 10px 0;
	z-index: 10;
}
.thumb-container {
	display: flex;
	align-items: center;
	overflow: hidden;
	width: 80%;
	margin: 0 10px;
	min-height: 70px;
}
.thumb-item {
	flex: 0 0 16%;
	margin: 0 2%;
	transition: all 0.3s;
	border: 2px solid white;
	box-sizing: border-box;
	cursor: pointer;
}
.thumb-item img {
	width: 100%;
	height: auto;
	display: block;
}
.thumb-item.active {
	flex: 0 0 20%;
	transform: scale(1.1);
	z-index: 2;
	height: auto;
}
.thumb-arrow {
	font-size: 24px;
	cursor: pointer;
	user-select: none;
	color: #fff;
}
/* 右下角订单信息 */
.order-info {
	position: fixed;
	right: 20px;
	bottom: 20px;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 15px;
	border-radius: 5px;
	font-size: 14px;
	max-width: 300px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* 左上角弹幕区域 */
.barrage-container {
	position: fixed;
	left: 20px;
	top: 20px;
	width: 300px;
	height: 200px;
	overflow: hidden;
}

.barrage-item {
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 8px 12px;
	border-radius: 4px;
	margin-bottom: 10px;
	font-size: 13px;
	opacity: 1;
	transition: opacity 0.5s, transform 0.5s;
	transform: translateY(0);
}