
/* =====================================
   1. GLOBAL SETTINGS
===================================== */
* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}


/* =====================================
   APP ZONE — CRESCENT & STAR BACKGROUND
===================================== */

html {
    min-height: 100%;
    background-color: #080D18;
}

body {
    position: relative;
    isolation: isolate;

    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;

    color: #ffffff;
    background: #080D18;
}

/* Background stays behind the page while scrolling */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background-color: #080D18;
    background-image: url("app-zone-crescent.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Keep content transparent */
.main-content,
.page-background,
.main-content section,
.main-content article,
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6,
.main-content p {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Sidebar stays above the background */
#sidebar.sidebar,
.sidebar {
    z-index: 1002;
}

/* Mobile compatibility */
@media (max-width: 600px) {
    body::before {
        background-position: center center;
        background-size: cover;
    }
}

/* =====================================
   2. TRANSPARENT PAGE CONTENT
   Keep the original wallpaper visible
===================================== */
.main-content {
    min-width: 0;
    min-height: 100vh;
    margin-left: 80px;
    width: calc(100% - 80px);
    padding: clamp(12px, 2vw, 28px);

    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none;
}

/* Transparent headings and paragraphs */
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6,
.main-content p {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    max-width: 100%;
}

/* Transparent content sections */
.main-content section,
.main-content article {
    background: transparent !important;
    background-color: transparent !important;
}

/* Keep the wallpaper on the body, not a second layer */
.page-background {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* =====================================
   3. LEFT SIDEBAR
===================================== */
#sidebar.sidebar,
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;

    background: #111114;
    z-index: 1002;
    transition: width 0.25s ease;
}

/* Expanded sidebar */
#sidebar.sidebar.active,
.sidebar.active,
#sidebar.sidebar.open,
.sidebar.open,
body.sidebar-open #sidebar.sidebar,
body.sidebar-open .sidebar {
    width: 250px;
}

/* Navigation list */
.sidebar ul,
#sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar a,
#sidebar a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* =====================================
   4. DARK OVERLAY WHEN SIDEBAR OPENS
===================================== */
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1001;
    transition: opacity 0.25s ease;
}

body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Content stays in its original position */
.main-content {
    position: relative;
    z-index: 1;
}

/* =====================================
   5. FLEXIBLE CONTENT
===================================== */
.container,
.content,
.page-container {
    max-width: 100%;
    min-width: 0;
}

.row,
.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cards,
.card-grid,
.content-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 16px;
}

.card {
    min-width: 0;
    max-width: 100%;
}

img,
video,
iframe {
    max-width: 100%;
}

/* =====================================
   6. FORMS AND BUTTONS
===================================== */
input,
select,
textarea {
    max-width: 100%;
}

textarea {
    resize: vertical;
}

button {
    cursor: pointer;
}

/* =====================================
   7. TABLES
===================================== */
.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    max-width: 100%;
    border-collapse: collapse;
}

/* =====================================
   8. TABLET
===================================== */
@media (max-width: 900px) {
    .main-content {
        padding: 16px;
    }

    #sidebar.sidebar.active,
    .sidebar.active,
    #sidebar.sidebar.open,
    .sidebar.open,
    body.sidebar-open #sidebar.sidebar,
    body.sidebar-open .sidebar {
        width: 230px;
    }
}

/* =====================================
   9. MOBILE
===================================== */
@media (max-width: 600px) {
    #sidebar.sidebar,
    .sidebar {
        width: 58px;
    }

    .main-content {
        margin-left: 58px;
        width: calc(100% - 58px);
        padding: 12px;
    }

    #sidebar.sidebar.active,
    .sidebar.active,
    #sidebar.sidebar.open,
    .sidebar.open,
    body.sidebar-open #sidebar.sidebar,
    body.sidebar-open .sidebar {
        width: min(260px, 85vw);
    }

    .row,
    .flex-row {
        gap: 10px;
    }
}

/* =====================================
   10. REDUCE ANIMATIONS IF REQUESTED
===================================== */
@media (prefers-reduced-motion: reduce) {
    #sidebar.sidebar,
    .sidebar,
    .sidebar-backdrop {
        transition: none;
    }
}

/* APP ZONE — FIX SIDEBAR NAVIGATION TEXT */

/* Navigation links */
#sidebar .menu li a,
.sidebar .menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff !important;
    text-decoration: none;
}

/* Navigation names */
#sidebar .menu li a .text,
.sidebar .menu li a .text {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
}

/* Icons */
#sidebar .menu li a .icon,
.sidebar .menu li a .icon {
    min-width: 28px;
    text-align: center;
    font-size: 23px;
}

/* Hover */
#sidebar .menu li a:hover,
.sidebar .menu li a:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff !important;
    border-radius: 8px;
}

/* Selected item */
#sidebar .menu li a.active,
.sidebar .menu li a.active {
    background: #29292e;
    color: #ffffff !important;
    border-radius: 8px;
}

/* Expanded sidebar: show navigation names */
#sidebar.active .menu li a .text,
.sidebar.active .menu li a .text,
body.sidebar-open #sidebar .menu li a .text {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ALIGN ALL SIDEBAR NAVIGATION ITEMS */

#sidebar .menu {
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
}

#sidebar .menu li {
    width: 100%;
    margin: 0 0 8px 0;
    padding: 0;
    box-sizing: border-box;
}

#sidebar .menu li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 60px;
    padding: 10px 12px;
    gap: 14px;
    box-sizing: border-box;
    border-radius: 10px;
    text-decoration: none;
    color: white !important;
}

#sidebar .menu li a .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    flex-shrink: 0;
    font-size: 25px;
}

#sidebar .menu li a .text {
    display: inline-block;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    color: white !important;
}

/* COMPACT SPACING WHEN SIDEBAR IS CLOSED */
#sidebar:not(.active) .menu {
    padding: 8px 6px;
}

#sidebar:not(.active) .menu li {
    margin: 0 0 4px 0;
}

#sidebar:not(.active) .menu li a {
    min-height: 48px;
    height: 48px;
    padding: 6px 0;
    justify-content: center;
    gap: 0;
}

#sidebar:not(.active) .menu li a .icon {
    width: 36px;
    min-width: 36px;
    font-size: 23px;
}

#sidebar:not(.active) .menu li a .text {
    display: none !important;
}

/* KEEP COMFORTABLE SPACING WHEN SIDEBAR IS OPEN */
#sidebar.active .menu li {
    margin-bottom: 8px;
}

#sidebar.active .menu li a {
    min-height: 60px;
    padding: 10px 12px;
    justify-content: flex-start;
    gap: 14px;
}

#sidebar.active .menu li a .text {
    display: inline-block !important;
}

/* APP ZONE — FULL-PAGE DARK BACKGROUND */

html {
    min-height: 100%;
    background-color: #080B14;
}

body {
    min-height: 100vh;
    margin: 0;
    background-color: #080B14;
    color: #F1F5F9;
    background-image:
        radial-gradient(
            ellipse at top right,
            rgba(36, 57, 100, 0.35),
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #080B14 0%,
            #0D1220 50%,
            #080B14 100%
        );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: scroll;
}

/* Let the page grow naturally when scrolling */
body,
main,
.main-content,
.content {
    box-sizing: border-box;
}

/* Mobile and tablet support */
@media (max-width: 768px) {
    body {
        min-height: 100vh;
        background-attachment: scroll;
    }
}


/* Keep the three-dots button properly positioned */
#sidebar .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 12px 12px;
}

/* Hover and selected item */
#sidebar .menu li a:hover,
#sidebar .menu li a.active {
    background-color: #29292e;
}

/* =================================
   APP ZONE - MIDDLE CONTENT
================================= */

.app-zone {
    width: 100%;
    min-width: 0;
    padding: 24px;
    color: #fff;
}

/* Featured banner arrangement */

.featured-apps {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: repeat(2, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 35px;
}

.featured-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    min-height: 170px;
    overflow: hidden;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    background: #252a35;
}

.featured-main {
    grid-row: span 2;
    min-height: 340px;
}

.featured-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.featured-card:hover img {
    transform: scale(1.04);
}

.featured-info {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 22px;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, .88)
    );
}

.featured-info h2,
.featured-info h3,
.featured-info p {
    margin: 8px 0;
}

.featured-info h2 {
    font-size: clamp(22px, 3vw, 36px);
}

/* Section headings */

.app-section {
    margin-bottom: 36px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #373b45;
}

.section-heading h2 {
    margin: 0;
    font-size: 21px;
}

.section-heading a {
    color: #83baff;
    text-decoration: none;
    white-space: nowrap;
}

/* App cards */

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #353945;
    border-radius: 12px;
    background: rgba(30, 33, 42, .9);
    color: #fff;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.app-card:hover {
    background: #343947;
    transform: translateY(-3px);
}

.app-card img {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 10px;
}

.app-card h3 {
    margin: 0 0 6px;
    font-size: 15px;
}

.app-card p {
    margin: 0 0 10px;
    color: #b9bdc8;
    font-size: 12px;
}

.app-action {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 5px;
    background: #2778d4;
    color: white;
    font-size: 12px;
}

/* Responsive layout */

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .app-zone {
        padding: 12px;
    }

    .featured-apps {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 150px;
        gap: 10px;
    }

    .featured-main {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 0;
    }

    .featured-small {
        min-height: 150px;
    }

    .featured-info {
        padding: 12px;
    }

    .app-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ===========================
   GAMES PAGE
=========================== */

.games-content {
    min-width: 0;
    padding: 24px;
    color: #fff;
}

.games-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.games-heading h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.games-heading p {
    margin: 0;
    color: #b9b9b9;
}

#gameSearch {
    width: min(280px, 100%);
    padding: 12px 15px;
    border: 1px solid #454545;
    border-radius: 9px;
    outline: none;
    background: #292929;
    color: white;
}

#gameSearch:focus {
    border-color: #559cff;
}

.game-section {
    margin-bottom: 35px;
}

.game-section h2 {
    margin-bottom: 18px;
    font-size: 21px;
}

.game-row {
    display: grid;
    grid-auto-columns: 145px;
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #555 #242424;
}

.game-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #3a3a3a;
    border-radius: 9px;
    background: #292929;
    color: white;
    text-decoration: none;
    transition: transform .2s, border-color .2s;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: #6caaff;
}

.game-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #383838;
}

.game-info {
    padding: 10px;
}

.game-info h3 {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
}

.game-info span {
    color: #bdbdbd;
    font-size: 11px;
}

.game-info p {
    display: table;
    margin: 10px 0 0 auto;
    padding: 4px 7px;
    border-radius: 4px;
    background: #414141;
    font-size: 11px;
}

@media (max-width: 600px) {
    .games-content {
        padding: 14px;
    }

    .games-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .games-heading h1 {
        font-size: 24px;
    }

    #gameSearch {
        width: 100%;
    }

    .game-row {
        grid-auto-columns: 125px;
    }
}

/* Offline games notice */
.offline-notice {
    color: #ff3333;
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0 25px;
    padding: 12px 16px;
    background: rgba(255, 0, 0, 0.08);
    border-left: 4px solid #ff3333;
    border-radius: 5px;
}

.offline-notice strong {
    color: #ff3333;
}

/* =========================================
   APP ZONE — INDIVIDUAL APP DETAIL PAGE
========================================= */

.app-detail-page {
    width: min(100% - 40px, 1250px);
    margin: 30px auto 60px;
    color: #f5f7fb;
}

/* HERO */

.app-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
        radial-gradient(
            ellipse at 90% 10%,
            rgba(36, 178, 204, 0.22),
            transparent 42%
        ),
        radial-gradient(
            ellipse at 0% 100%,
            rgba(96, 73, 180, 0.19),
            transparent 45%
        ),
        linear-gradient(135deg, #172936, #101820 75%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.app-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.app-heading {
    display: flex;
    align-items: center;
    gap: 24px;
}

.app-main-icon {
    width: clamp(95px, 13vw, 145px);
    aspect-ratio: 1;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.app-category,
.section-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #76d8f0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.app-title-info h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.app-publisher {
    margin: 9px 0 12px;
    color: #b6c8d5;
    font-size: 15px;
}

.app-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #b5c3d0;
    font-size: 13px;
}

.app-rating span:first-child {
    color: #ffd477;
    font-weight: 800;
}

.app-rating span + span {
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.app-short-description {
    max-width: 620px;
    margin: 27px 0 23px;
    color: #d0dbe4;
    font-size: 15px;
    line-height: 1.8;
}

.app-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

.app-install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 210px;
    min-height: 54px;
    padding: 14px 24px;
    border: 1px solid #8ce7f8;
    border-radius: 12px;
    background: linear-gradient(135deg, #91e7f6, #55c8e8);
    color: #09202b;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(72, 200, 232, 0.17);
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-install-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(72, 200, 232, 0.3);
}

.app-share-button {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: 25px;
    cursor: pointer;
    transition: background 0.2s;
}

.app-share-button:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* FEATURE DETAILS */

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 32px;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 11px;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(130, 220, 244, 0.2);
    border-radius: 12px;
    background: rgba(100, 205, 232, 0.09);
    color: #86e2f5;
}

.app-feature strong,
.app-feature small {
    display: block;
}

.app-feature strong {
    font-size: 13px;
}

.app-feature small {
    margin-top: 4px;
    color: #a7b7c4;
    font-size: 11px;
}

/* DECORATIVE HERO DETAILS */

.app-hero-decoration {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration-orb {
    position: absolute;
    display: block;
    width: 230px;
    aspect-ratio: 1;
    border: 1px solid rgba(110, 218, 241, 0.12);
    border-radius: 50%;
    background: rgba(85, 205, 230, 0.035);
}

.orb-one {
    top: -115px;
    right: -40px;
}

.orb-two {
    right: 115px;
    bottom: -190px;
    width: 310px;
}

.decoration-star {
    position: absolute;
    top: 24%;
    right: 15%;
    color: rgba(105, 220, 244, 0.28);
    font-size: 36px;
}

.star-two {
    top: 65%;
    right: 7%;
    font-size: 25px;
}

/* SHARED SECTIONS */

.app-section {
    margin-top: 42px;
}

.app-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.app-section-heading h2,
.about-app h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(21px, 3vw, 28px);
    letter-spacing: -0.5px;
}

.section-eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
}

.section-caption {
    color: #a6b7c5;
    font-size: 12px;
}

/* SCREENSHOTS */

.app-screenshots {
    display: grid;
    grid-auto-columns: minmax(210px, 1fr);
    grid-auto-flow: column;
    gap: 17px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #476271 transparent;
}

.app-screenshots img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    background: #192631;
    scroll-snap-align: start;
    transition: transform 0.2s;
}

.app-screenshots img:hover {
    transform: translateY(-3px);
}

/* ABOUT */

.about-app {
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.about-app p {
    max-width: 850px;
    margin: 16px 0 20px;
    color: #c0cbd5;
    font-size: 14px;
    line-height: 1.9;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.app-tags span {
    padding: 8px 13px;
    border: 1px solid rgba(117, 215, 241, 0.15);
    border-radius: 30px;
    background: rgba(117, 215, 241, 0.06);
    color: #b9eaf4;
    font-size: 12px;
}

/* INFORMATION GRID */

.app-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.app-info-item {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.app-info-item span {
    color: #9db0bf;
    font-size: 12px;
}

.app-info-item strong {
    overflow-wrap: anywhere;
    color: #f4f7fa;
    font-size: 14px;
}

/* RELATED APPS */

.related-apps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.related-app-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.035);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.related-app-card:hover {
    transform: translateY(-3px);
    border-color: rgba(113, 220, 244, 0.4);
}

.related-app-card img {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 13px;
    background: #192631;
}

.related-app-card div {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.related-app-card strong {
    overflow-wrap: anywhere;
    font-size: 14px;
}

.related-app-card div span {
    color: #a7b8c5;
    font-size: 12px;
}

.related-arrow {
    margin-left: auto;
    color: #81d9ee;
    font-size: 20px;
}

/* RESPONSIVE */

@media (max-width: 700px) {
    .app-detail-page {
        width: calc(100% - 24px);
        margin-top: 18px;
    }

    .app-hero {
        padding: 23px 18px;
        border-radius: 18px;
    }

    .app-heading {
        align-items: flex-start;
        gap: 15px;
    }

    .app-main-icon {
        width: 86px;
        border-radius: 17px;
    }

    .app-title-info h1 {
        font-size: 25px;
        overflow-wrap: anywhere;
    }

    .app-publisher {
        font-size: 13px;
    }

    .app-rating {
        gap: 7px;
        font-size: 11px;
    }

    .app-rating span + span {
        padding-left: 7px;
    }

    .app-short-description {
        margin-top: 23px;
        font-size: 14px;
    }

    .app-install-button {
        flex: 1;
        min-width: 0;
    }

    .app-features {
        gap: 19px;
    }

    .app-section {
        margin-top: 32px;
    }

    .app-screenshots {
        grid-auto-columns: 78%;
    }

    .about-app {
        padding: 21px 17px;
    }

    .app-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .app-info-item {
        padding: 14px 12px;
    }

    .related-apps {
        grid-template-columns: 1fr;
    }

    .decoration-star {
        right: 5%;
    }
}

@media (max-width: 380px) {
    .app-heading {
        flex-direction: column;
    }

    .app-info-grid {
        grid-template-columns: 1fr;
    }

    .app-features {
        gap: 14px;
    }
}
