#bottomPageSection {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: top;
    justify-self: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 25%;
    margin-bottom: 60px;
    padding: 10px;
    box-sizing: border-box;
}

#topAppsSection {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: top;
    justify-self: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 25%;
    margin-bottom: 60px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background: #70b5e6;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.375), inset 0 0 10px rgba(0, 0, 0, 0.45);
}

#topAppsBackdrop {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: top;
    justify-self: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 25%;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background: #479dda;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.375), inset 0 0 10px rgba(0, 0, 0, 0.45);
}

#topAppsTitle {
    cursor: pointer;
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: top;
    justify-self: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 25%;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background: whitesmoke;
    box-sizing: border-box;
    font-size: 2.45em;
    font-weight: bold;
    text-align: center;
    -webkit-user-select: none !important;
    user-select: none;
    -webkit-usser-drag: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.375), inset 0 0 42.5px rgba(0, 238, 255, 0.45);
    transition: all 0.3s;
}

#topAppsTitle:hover {
    transform: scale(1.015);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.375), inset 0 0 60px rgba(0, 238, 255, 0.45);
}

.appTrayPreviewImage {
    position: relative;
    border: 2px solid #ccc;
    border-radius: 15px;
    background: #60a9dd;
    padding: 2.5px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.375), inset 0 0 10px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
    max-height: 255px;
    max-width: 255px;
}

#searcherApp {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: top;
    justify-self: start !important;
    justify-content: center !important;
    width: 100%;
    max-width: 100% !important;
    min-width: 15% !important;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background: #80b5db;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.375), inset 0 0 10px rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease;
}

#gamesApp {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: top;
    justify-self: start !important;
    justify-content: center !important;
    width: 100%;
    max-width: 100% !important;
    min-width: 15% !important;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background: #80b5db;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.375), inset 0 0 10px rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease;
}

#resourcesApp {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: top;
    justify-self: start !important;
    justify-content: center !important;
    width: 100%;
    max-width: 100% !important;
    min-width: 15% !important;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background: #80b5db;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.375), inset 0 0 10px rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease;
}

#appsTrayContent {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    transition: all 0.3s;
}

#appTray {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transition: all 0.3s;
    gap: 20px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    place-items: center;
}

#searcherApp, #gamesApp, #resourcesApp {
    width: 100%;
    aspect-ratio: 4/3;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transition: transform 0.3s ease;
    padding: 25px;
    background: #80b5db;
    border: 2px solid #ccc;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.375), inset 0 0 10px rgba(0, 0, 0, 0.45);
}

#searcherApp:hover, #gamesApp:hover, #resourcesApp:hover {
    transform: translateY(-5px);
}

.appTrayPreviewImage:hover {
    transform: translateY(-3.5px);
}

.appTrayPreviewImage {
    display: flex;
    align-items: center;
    justify-content: center !important;
    width: 45%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: 15px;
    transition: all 0.3s !important;
}

.app-description {
    width: 100%;
    text-align: center;
    margin: 15px 0;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    #appTray {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 25px;
    }
    
    #searcherApp, #gamesApp, #resourcesApp {
        min-width: 280px;
        max-width: 65% !important;
        aspect-ratio: 3/4;  /* Adjusted for better vertical layout */
        padding: 20px;
    }
    
    .appTrayPreviewImage {
        width: 60%;  /* Increased from 45% */
        min-height: 180px;  /* Set minimum height */
        max-height: 200px;  /* Set maximum height */
        margin-bottom: 20px;
    }
}
