html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
    font-family: system-ui;
    font-size: 1rem;
    color: #000;
    padding-top: env(safe-area-inset-top); 
    padding-left: env(safe-area-inset-left); 
    padding-right: env(safe-area-inset-right); 
    padding-bottom: env(safe-area-inset-bottom); 
}
/* fixed scroll header */
.scroll-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.scroll-header {
    display: none;
}
.scroll-header.visible {
    display: flex;
}
.scroll-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 8px;
}
/* Install container */
.install-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.game-info {
    flex: 1;
}
.game-icon {
    width: 114px;
    height: auto;
    margin-right: 20px;
    border-radius: 20%;
}
.title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 5px 0;
}
.subtitle {
    margin: 0 0 10px 0;
    color: #636366;
}
.install-btn {
    font-size: 1.125rem;
    padding: 5px 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    z-index: 1000;
    text-transform: uppercase;
    font-weight: bold;
}
/* app INFO */
.ios-info,
.android-info {
    display: none; 
}
.ios-info {
    border-top: 1px solid #bababa;
    padding-top: 20px;
}
.appInfo {
    margin: 0 20px 20px 20px;
}
.info-panel {
    display: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color:  #bababa;    
}
.info-divider {
    width: 1px;
    height: 50px;
    background: #bababa;
    margin: 0 20px;
}
.info-col {
    text-align: center;
    flex: 1 1 0px;    
}
.info-col .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.info-col .value {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
    color: #929292;    
}
.info-col .stars {
    color: #929292;
    margin-top: 4px;
    font-size: .75rem;
}
.info-col .sub {
    font-size: 0.75rem;
    color: #bababa;
    margin-top: 4px;    
}
.android-info .value.large {
    font-size: 1rem;
    color: #474747;
    font-weight: normal;    
}
.android-info .sub {
    margin-top: 4px;
    font-size: 0.75rem;
    color: #474747;
}
/* Screenshots */
.appScreenshots {
    margin: 20px 0 20px 20px;
}
.swiper {
    width: 100%;
    padding: 10px 0;
    margin-left: 0;
    margin-right: 0;    
}
.swiper-slide {
    width: auto;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}
.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
/* app description */
.appDescription {
    margin: 0 20px 30px 20px;
}
.headerDescription {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 500;
}
.arrow {
    cursor: pointer;
}
.appTags span {
    color: #bababa;
    border: 1px solid #bababa;
    border-radius: 4px;
    padding: 5px;
    margin: 0 10px 0 0;
}
.fullDescriptionOverlay {
    position: fixed;
    top: 0; 
    left: 100%;
    width: 100vw; 
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    z-index: 10000;
    overflow-y: auto;    
}
.fullDescriptionOverlay.open {
    left: 0;
}
.fullDescriptionContent {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.content {
    flex: 1;
    padding: 20px;
}
.contentTitle {
    font-weight: 600;
    font-size: 1.125rem;
}
.closeFullDescription {
    position: absolute;
    top: 10px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #000;
    cursor: pointer;
}
/* overlay navbar */
.navbar {
    display: flex;
    align-items: center;
    padding: 5px;
    background-color: #ffffff;
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #bababa;
}
.navbar .title {
    font-size: 1.25rem;
    font-weight: bold;
}
.navbar .subtitle {
    color: #636366; 
    margin: 0;
    font-size: 1rem;
}
.navbar img.game-icon {
    width: 50px;
}
.backArrow {
    transform: rotate(180deg);
    transform-origin: center;    
    cursor: pointer;
    margin-right: 12px;
}
/* overlay footer */
.infoTitle {
    font-weight: 600;
    font-size: 1rem;
}
.footer {
    color: #708090;
    padding: 16px 0;
    border-top: 1px solid #bababa;
    text-align: left;
    font-size: 0.875rem;
    padding: 10px 20px 20px 20px;    
}
.footerColumns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footerColumn {
    flex: 1;
}
.footerLabel {
    text-align: left;
}
.footerValue {
    text-align: right;
}
.footerColumn p {
    margin: 10px 0;
}
/* reviewsSection*/
.reviewsSection {
    margin: 0 20px 30px 20px;
}
.ratingsTable {
    display: flex;
    gap: 20px;
    margin-top: 20px;    
}
.ratingsTableLeft {
    display: flex;
    flex-direction: column;
}
.ratings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.average {
    font-size: 2.5rem;
    font-weight: bold;
}
.stars {
    font-size: 1rem;
    color: #007bff;
    position: relative;
}
.stars .count {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}
.bars {
    width: 100%;
}
.bar-row {
    display: flex;
    align-items: center;
    margin: 4px 0;
}
.bar-row span {
    width: 16px;
    font-size: 0.9rem;
}
.bar {
    flex: 1;
    height: 8px;
    background: #eee;
    margin-left: 8px;
    border-radius: 4px;
    overflow: hidden;
}
.bar div {
    height: 100%;
    background: #007bff;
}
.allReviewsBtn {
    color: #007bff;
    text-decoration: underline;
    padding-bottom: 20px;
    cursor: pointer;
}
/* Reviews overlay */
.reviews-overlay {
    position: fixed;
    top: 0; left: 100%;
    width: 100vw; height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    z-index: 10000;
}
.reviews-overlay.open {
    left: 0;
}
/* Reviews list */
.reviews-overlay.open .reviews-list {
    padding: 20px;
}
.reviews-list {
    overflow-y: auto;
    flex: 1;
    padding-top: 20px;
}
.review {
    margin-bottom: 16px;
}
.review .star {
    color: #007bff;
    margin-bottom: 4px;
}
.review p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
}
.review-card {
    margin-bottom: 24px;
    cursor: pointer;
}
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}
.reviewer-info .name {
    font-weight: bold;
    font-size: 1rem;
}
.reviewer-info .meta {
    font-size: 0.875rem;
    color: #666;
    margin-top: 2px;
}
.reviewer-info .stars {
    color: #007bff;
    margin-right: 8px;
}
.review-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
}
/* ios install message overlay */
.ios-overlay-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999; 
}
.ios-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: .5rem .5rem 0 0;
    background: #eee;
    padding: 40px 20px 20px 20px;
    text-align: center;
    z-index: 1000;
}
.iosInstructionsTitle {
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 10px;
}
.ios-overlay p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.ios-overlay p span {
    padding: 0 3px;
    font-weight: 800;
}
.ios-overlay p svg {
    padding-left: 5px;
}
.close-btn {
    background: none;
    border: none;
    color: #007bff;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    position: absolute;
    right: 5px;
    top: 10px;
}