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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.4;
}

.container {
    max-width: 428px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.app-info {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.app-details h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.developer {
    color: #007AFF;
    font-size: 16px;
    margin-bottom: 4px;
}

.category {
    color: #666;
    font-size: 14px;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.stars {
    color: #007AFF;
}

.install-btn {
    background: #00A86B;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    margin-bottom: 15px;
    cursor: pointer;
}

.install-btn:hover {
    background: #008f5a;
}

.action-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.share-link, .wishlist-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #007AFF;
    text-decoration: none;
    font-size: 14px;
}

.device-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.content {
    padding: 20px;
}

.game-preview {
    margin-bottom: 30px;
}

.game-carousel {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    background: #000;
}

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

.carousel-slides {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    width: 20%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 20px 10px 10px;
    border-radius: 0 0 12px 12px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-indicator.active {
    background: white;
}

/* 触摸滑动支持 */
.carousel-container {
    touch-action: pan-y;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-arrow {
    color: #666;
    font-size: 20px;
}

.description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.app-description {
    margin-bottom: 20px;
}

.update-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tag {
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    color: #333;
}

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

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px 0;
}

.security-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.security-text {
    flex: 1;
}

.security-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.security-desc {
    color: #666;
    font-size: 14px;
}

.learn-more {
    color: #007AFF;
    text-decoration: none;
    font-size: 14px;
}

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

.rating-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rating-score {
    font-size: 48px;
    font-weight: 300;
}

.rating-bars {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.bar-number {
    font-size: 12px;
    color: #666;
    width: 8px;
}

.bar-fill {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill.filled {
    background: #00A86B;
}

.review {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.reviewer-name {
    flex: 1;
    font-weight: 600;
}

.review-menu {
    color: #666;
    font-size: 20px;
    cursor: pointer;
}

.review-text {
    margin-bottom: 15px;
    line-height: 1.5;
}

.review-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.helpful-buttons {
    display: flex;
    gap: 10px;
}

.helpful-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 428px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.nav-item.active {
    color: #007AFF;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.devices {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.device {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.device.active {
    background: #e8f5e8;
    color: #00A86B;
}

.device.inactive {
    background: #f0f0f0;
    color: #666;
}

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

.support-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.support-tag {
    background: #f8f8f8;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.footer-link {
    color: #007AFF;
    text-decoration: none;
} 