/* Play Store Theme */
:root {
    --play-green: #00875a;
    --play-green-hover: #006644;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --bg-light: #f8f9fa;
    --border-color: #dadce0;
    --star-gold: #ffb300;
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: #f1f3f4;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.store-container {
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    min-height: calc(100vh - 100px);
    margin-top: 74px;
    margin-bottom: 56px;
    padding: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.status-bar {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 480px;
    height: 24px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.status-bar .icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icon {
    width: 14px;
    height: 14px;
}

.battery-text {
    font-size: 11px;
}

.battery-icon {
    width: 18px;
    height: 10px;
    border: 1px solid #000;
    border-radius: 2px;
    position: relative;
}

.battery-icon::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 1px;
    right: 7px;
    background-color: #000;
}

.app-header-bar {
    position: fixed;
    top: 24px;
    width: 100%;
    max-width: 480px;
    height: 50px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    z-index: 999;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.1), 0 2px 6px 2px rgba(60,64,67,0.05);
}

.back-btn, .menu-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn svg, .menu-btn svg {
    width: 24px;
    height: 24px;
}

.header-search-mock {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f1f3f4;
    border-radius: 8px;
    margin: 0 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.search-icon {
    width: 18px;
    height: 18px;
}

.app-identity-section {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    margin-top: 8px;
}

.app-icon-container {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.app-title-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 2px;
}

.developer-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--play-green);
    margin-bottom: 2px;
}

.in-app-purchases {
    font-size: 11px;
    color: var(--text-secondary);
}

.app-stats-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.stat-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 2px;
}

.star-mini {
    color: var(--text-primary);
    font-size: 12px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-badge {
    border: 1px solid var(--text-primary);
    border-radius: 3px;
    padding: 1px 4px;
    font-size: 11px;
    font-weight: 700;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

.install-action-section {
    margin-bottom: 16px;
}

.btn-install {
    position: relative;
    width: 100%;
    height: 48px;
    background-color: var(--play-green);
    border: none;
    border-radius: 24px;
    color: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.2s, transform 0.1s;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-install:active {
    transform: scale(0.98);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.lightning-icon {
    width: 18px;
    height: 18px;
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-main-text {
    font-size: 15px;
    font-weight: 700;
}

.btn-sub-text {
    font-size: 10px;
    opacity: 0.9;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--play-green-hover);
    z-index: 1;
    transition: width 0.1s linear;
}

.utility-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.utility-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    border: 1px solid var(--border-color);
    background: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--play-green);
    cursor: pointer;
}

.utility-icon {
    width: 16px;
    height: 16px;
}

.screenshots-section {
    margin-bottom: 24px;
}

.screenshots-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.screenshots-container::-webkit-scrollbar {
    display: none;
}

.screenshot-img {
    width: 150px;
    height: auto;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
}

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

.section-header h2 {
    font-size: 16px;
    font-weight: 700;
}

.arrow-right-icon {
    width: 20px;
    height: 20px;
}

.about-section {
    margin-bottom: 24px;
}

.about-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.genre-tag {
    font-size: 12px;
    color: var(--text-secondary);
    background-color: var(--bg-light);
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.reviews-section {
    margin-bottom: 24px;
}

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

.big-rating-num {
    font-size: 48px;
    font-weight: 700;
}

.rating-stars-bar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stars-row {
    color: var(--star-gold);
    font-size: 11px;
    letter-spacing: 1px;
}

.progress-bar-mock-container {
    height: 8px;
    background-color: #e8eaed;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-mock-fill {
    height: 100%;
    background-color: var(--play-green);
}

.stars-row-count {
    font-size: 11px;
    color: var(--text-secondary);
}

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

.review-card {
    border-bottom: 1px solid #f1f3f4;
    padding-bottom: 16px;
}

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

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

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.user-name-meta {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 13px;
    font-weight: 600;
}

.stars-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars-active {
    color: var(--star-gold);
    font-size: 10px;
}

.review-date {
    font-size: 10px;
    color: var(--text-secondary);
}

.review-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.review-helpful {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.helpful-actions {
    display: flex;
    gap: 8px;
}

.helpful-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3px 12px;
    font-size: 11px;
    cursor: pointer;
}

.bottom-nav-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: 56px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 10px;
    gap: 4px;
    flex: 1;
}

.nav-icon {
    width: 20px;
    height: 20px;
}

.nav-item.active {
    color: var(--play-green);
}

@media (min-width: 481px) {
    .status-bar, .app-header-bar, .bottom-nav-bar {
        left: 50%;
        transform: translateX(-50%);
    }
}
