@charset "utf-8";
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 根元素字体大小设置，用于rem单位计算 设计稿 rem 40px */
html {
    font-size: 16px;
}

/* 移动端字体大小调整 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 20rem;
    padding: 0 1rem;
    margin: 0 auto;
}

/* 头部样式 */
.header {
    padding: .8rem 0 .8rem;
    margin-bottom: .8rem;
    background: #fff;
    border-bottom: 1px solid #DADADA;
}

.app-info {
    display: flex;
    flex-direction: row;
    animation: fadeIn 1s ease-out forwards;

}

.app-icon {
    width: 3rem;
    height: 3rem;
    background: #000 url(./img/logo.png) center/2rem auto no-repeat ;
    border-radius:  .7rem;
    align-items: center;
    justify-content: center;

}

.app-icon-text {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

.app-title {
    text-align: left;
    padding: 0.1rem 0 0 0.95rem;
}

.app-name {
    font-weight: normal;
    font-size: .7rem;
    color: #000;
    margin: 0;
    line-height: 1rem;
    padding-bottom: .1rem;
}

.app-subtitle {
    font-size: .5rem;
    color: #727276;
}

.app-tagline {
    font-size: 0.875rem;
    color: #999;
    margin: 0;
}

/* 主要内容区域 */
.main-content {
    width: 100%;
}
.section-wrap{
    width: 100%;
    overflow: auto;
}
.section-content{
    display: flex;
    flex-direction: row;
}

/* 区域通用样式 */
.section {
    width: 9rem;
    height: 18.5rem;
    display: flex;
    justify-content: center;
    /* padding: 0.9rem 0; */
    position: relative;
    transition: all 0.5s linear;
    /* 添加卡片落下和淡入动画 */
    animation: cardDropIn 1s linear forwards;
    opacity: 0;
    /* transform: translateY(-50px); */
}

/* 卡片落下和淡入动画 */
@keyframes cardDropIn {
    0% {
        opacity: 0;
        transform: translateY(-1rem);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-.5rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 卡片落下和淡入动画 */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* 为不同的 section 添加延迟，创造错落有致的效果 */
.hot-trends {
    animation-delay: 0.1s;
}

.ip-creation {
    animation-delay: 0.3s;
}

.digital-art {
    animation-delay: 0.5s;
}

.section-wrapper {
    /* max-width: 80rem; */
    /* width: 100%; */
    width: 28.5rem;
    /* width:69rem; */
    overflow: auto;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
   justify-content: space-between;

}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
    display: none;
}

.section-title {
    font-size: 0.6rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.3rem;
}

.section-subtitle {
    font-size: 0.35rem;
    color: #fff;
    margin: 0;
}

.section-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* 热门潮玩区域 */
.hot-trends {
    /* background: linear-gradient(135deg, #2c3e50, #34495e); */
    background: url(./img/1@3x.png) top/contain no-repeat  ;
    color: #fff;
}

/* IP创作区域 */
.ip-creation {
    /* background: linear-gradient(135deg, #667eea, #764ba2); */
    background: url(./img/2@3x.png) top/contain no-repeat  ;
    color: #fff;
}

/* 数字艺术区域 */
.digital-art {
    /* background: linear-gradient(135deg, #1e3c72, #2a5298); */
    background: url(./img/3@3x.png) top/contain no-repeat  ;
    color: #fff;
}

.cyber-container {
    width: 100%;
    max-width: 40rem;
    position: relative;
    height: 12rem;
}

.cyber-character {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 4rem;
    z-index: 2;
}

.cyber-hair {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 1.5rem;
    background: #fff;
    border-radius: 50% 50% 0 0;
}

.cyber-face {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2rem;
    background: #ffdbac;
    border-radius: 50%;
}

.cyber-eyes {
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 0.375rem;
    background: #ff0000;
    border-radius: 0.1875rem;
    box-shadow: 0 0 1rem #ff0000;
}

.cyber-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
}

.building {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(5px);
}

.building-1 {
    top: 20%;
    right: 20%;
}

.building-2 {
    top: 40%;
    right: 40%;
}

.highway {
    position: absolute;
    bottom: 25%;
    left: 0;
    right: 0;
    height: 0.375rem;
    background: rgba(255, 255, 255, 0.3);
}

.cars {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    height: 0.75rem;
}

.cars::before,
.cars::after {
    content: '';
    position: absolute;
    width: 0.75rem;
    height: 0.375rem;
    background: #fff;
    border-radius: 0.1875rem;
}

.cars::before {
    left: 20%;
    animation: car-move 3s infinite linear;
}

.cars::after {
    left: 60%;
    animation: car-move 3s infinite linear 1.5s;
}

@keyframes car-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* 描述文字样式 */
.description {
    margin-top: .8rem;
    padding: .8rem 0;
    animation: fadeIn 1s ease-out forwards;
    border-top: 1px solid #DADADA;
}

.description p {
    font-size: .65rem;
    color: #282828;
    line-height: .95rem;
    margin: 0;
    max-width: 60rem;
    margin: 0 auto;
}

/* 下载按钮样式 */
.download-section {
    text-align: center;
    padding-bottom: 3rem;
    background: #fff;
    animation: fadeIn 1s ease-out forwards;
}

.download-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    width: 11.78rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 1rem;
    text-decoration: none;
    font-size: .73rem;
    transition: all 0.3s ease;
    /* box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2); */
}

.download-btn:hover {
    background: #333;
    transform: translateY(-0.125rem);
    /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3); */
}

.download-btn:active {
    transform: translateY(0);
    /* box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2); */
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .section {
       
        /* padding: 1.5rem 0.5rem; */
    }
    
    .section-title {
        /* font-size: 1.75rem; */
    }
    
    .characters-container {
        gap: 2rem;
    }
    
    .character {
        width: 5rem;
        height: 6.5rem;
    }
}

@media (min-width: 768px) {
    .header{
        padding: .5rem 0;
        margin-bottom: .5rem;
        
    }
    .app-title {
        padding: 0.1rem 0 0 0.315rem;
    }
    .app-icon{
        width: 3rem;
        height: 3rem;
        padding:0;
        background-size: 2.2rem;
        border-radius: .5rem
    }
    .app-name{
        font-size: .7rem;
        line-height: .9rem;
        padding-bottom: .3rem;
    }
    .app-subtitle {
        font-size: .36rem;
    }
    .section-wrapper{
        width: 100%;
    }
    .section {
        width: 5.38rem;
        height: 11.6rem;
        padding: 0.45rem 0;
    }
    .description{
        margin-top: .8rem;
        padding: 0.3rem 0 0;
        
    }
    .description p{
        font-size: 0.45rem;
    }
    .download-btn{
        width: 10rem;
        height: 1.2rem;
        font-size: 0.5rem;
        line-height: 1.2rem;
        border-radius: 0.6rem;
    }
    .section-title {
        /* font-size: 1.5rem; */
    }
    
    .section-subtitle {
        /* font-size: 0.875rem; */
    }
    
    .characters-container {
        gap: 1.5rem;
    }
    
    .character {
        width: 4rem;
        height: 5.5rem;
    }
    
    .search-container {
        max-width: 25rem;
    }
    
    .artwork-container,
    .cyber-container {
        max-width: 30rem;
    }
    
    .artwork,
    .cyber-container {
        height: 10rem;
    }
    
    .download-btn {
        /* padding: 1rem 3rem; */
        /* font-size: 1.25rem; */
    }
}

@media (max-width: 480px) {
    .app-info {
        
    }
    
    .app-title {
    }
    
    .section {
        
      
    }
    
    .section-title {
        /* font-size: 1.25rem; */
    }
    
    .characters-container {
        gap: 1rem;
    }
    
    .character {
        width: 3.5rem;
        height: 4.5rem;
    }
    
    .search-container {
        max-width: 20rem;
    }
    
    .artwork-container,
    .cyber-container {
        max-width: 25rem;
    }
    
    .artwork,
    .cyber-container {
        height: 8rem;
    }
    
    .description p {
    }
    
    .download-btn {
        /* padding: 0.875rem 2.5rem;
        font-size: 1.125rem; */
    }
}

/* 禁用双击缩放 */
@media (max-width: 768px) {
    body {
        touch-action: manipulation;
    }
} 