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

body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.5;
    overflow-x: hidden
}

#app {
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 72px
}

.header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: #0a0a0a;
    z-index: 100
}

.back-btn,
.menu-btn {
    background: none;
    border: none;
    color: #e0e0e0;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s
}

.back-btn:hover,
.menu-btn:hover {
    opacity: .7
}

.main-content {
    flex: 1;
    padding: 0 16px 24px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%
}

.app-header {
    display: flex;
    gap: 16px;
    margin-bottom: 24px
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.app-icon img {
    width: 100%;
    border-radius: 16px;
}

.app-info {
    flex: 1
}

.app-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px
}

.verified-badge {
    flex-shrink: 0
}

.app-developer {
    color: #4a9eff;
    font-size: 14px;
    margin-bottom: 4px
}

.app-tagline {
    font-size: 12px;
    color: #999
}

.app-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch
}

.app-stats::-webkit-scrollbar {
    display: none
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: fit-content
}

.stat-value {
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0
}

.stat-label {
    font-size: 11px;
    color: #999;
    text-align: center
}

.stat-icon {
    color: #e0e0e0;
    margin-bottom: 4px
}

.stat-badge {
    background-color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px
}

.stat-divider {
    width: 1px;
    height: 32px;
    background-color: #333
}

.install-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    background: linear-gradient(90deg, #7cb9e8, #a7d8f0);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 24px;
    transition: opacity .2s
}

.install-btn:hover {
    opacity: .9
}

.screenshots {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-bottom: 32px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch
}

.screenshots::-webkit-scrollbar {
    height: 4px
}

.screenshots::-webkit-scrollbar-track {
    background: #1a1a1a
}

.screenshots::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px
}

.screenshot {
    flex-shrink: 0;
    width: 180px;
    height: 320px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px
}

.info-section {
    margin-bottom: 32px;
    position: relative
}

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

.section-title.collapsible {
    cursor: pointer
}

.chevron {
    color: #999;
    transition: transform .3s
}

.section-text {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 12px
}

.section-arrow {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    transition: opacity .2s
}

.section-arrow:hover {
    opacity: .7
}

.data-safety-info {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px
}

.safety-item {
    display: flex;
    gap: 12px;
    padding: 12px 0
}

.safety-item:not(:last-child) {
    border-bottom: 1px solid #2a2a2a
}

.safety-icon {
    color: #e0e0e0;
    flex-shrink: 0;
    margin-top: 4px
}

.safety-text {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 4px
}

.safety-link {
    color: #4a9eff;
    text-decoration: none
}

.details-btn,
.view-all-btn {
    background: none;
    border: 1px solid #333;
    color: #4a9eff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s
}

.details-btn:hover,
.view-all-btn:hover {
    background-color: #1a1a1a
}

.view-all-btn {
    display: block;
    margin: 24px auto 0
}

.reviews-section {
    margin-bottom: 32px
}

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

.reviews-subtitle {
    font-size: 12px;
    color: #999;
    margin-bottom: 24px
}

.rating-overview {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: center
}

.rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.score-number {
    font-size: 48px;
    font-weight: 500;
    line-height: 1
}

.score-stars {
    font-size: 12px;
    color: gold;
    letter-spacing: 2px
}

.score-count {
    font-size: 12px;
    color: #999
}

.rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 12px
}

.bar-label {
    font-size: 12px;
    color: #999;
    width: 12px
}

.bar-track {
    flex: 1;
    height: 8px;
    background-color: #2a2a2a;
    border-radius: 4px;
    overflow: hidden
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a9eff, #7cb9e8);
    border-radius: 4px;
    transition: width .3s
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.review-item {
    padding: 16px 0;
    border-bottom: 1px solid #1a1a1a
}

.review-header {
    display: flex;
    gap: 12px;
    margin-bottom: 8px
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #555, #888);
    flex-shrink: 0
}

.reviewer-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.reviewer-name {
    font-size: 14px;
    font-weight: 500
}

.review-menu {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 20px;
    padding: 0 8px
}

.review-stars {
    font-size: 12px;
    color: gold;
    margin-bottom: 4px;
    letter-spacing: 2px
}

.review-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px
}

.review-text {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 12px
}

.review-helpful {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px
}

.review-question {
    font-size: 13px;
    color: #b0b0b0;
    margin-bottom: 12px
}

.review-actions {
    display: flex;
    gap: 12px
}

.action-btn {
    background: none;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s
}

.action-btn:hover {
    background-color: #1a1a1a
}

.app-support {
    margin-bottom: 32px
}

.support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px
}

.support-icon {
    color: #4a9eff;
    flex-shrink: 0
}

.support-text {
    font-size: 13px;
    color: #999
}

.bottom-nav {
    position: fixed;
    bottom: -1px;
    left: 0;
    right: 0;
    display: flex;
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    padding: 8px 0;
    z-index: 100
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    transition: color .2s
}

.nav-item:hover {
    color: #b0b0b0
}

.nav-item.active {
    color: #4a9eff
}

.nav-item span {
    font-size: 12px
}

@media (max-width: 640px) {
    .main-content {
        padding: 0 12px 24px
    }

    .app-title {
        font-size: 20px
    }

    .rating-overview {
        flex-direction: column;
        align-items: flex-start
    }

    .rating-bars {
        width: 100%
    }
}