body {
    font-family: 'Google Sans', sans-serif;
    color: #202124;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    overflow-x: hidden;
    max-width: 100%;
}

.material-symbols-outlined.active_nav {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* App indicator (underline for navigation) */
.app-indicator {
    height: 3px;
    width: 100%;
    background-color: transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 10rem 10rem 0 0;
    transition: background-color 0.2s ease;
}

.app-indicator.active {
    background-color: #01875f;
}

/* Rating bar styling */
.rating-bar {
    height: 8px;
    border-radius: 4px;
    background-color: #e6e6e6;
}

.rating-bar-filled {
    height: 100%;
    border-radius: 4px;
    background-color: #01875f;
}

/* Section headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
    cursor: pointer;
}

.section-header h2 {
    margin-right: 8px;
    font-weight: 500;
}

.chevron-icon {
    color: #5f6368;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.section-header:hover .chevron-icon {
    color: #01875f;
}

/* App pill (tags) styling */
.app-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 6px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #dadce0;
    background-color: #f8f9fa;
    font-size: 0.875rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.app-pill:hover {
    background-color: #e8f5e9;
    border-color: #01875f;
}

.header-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Improved scrolling for screenshots */
#screenshot-container::-webkit-scrollbar {
    display: none;
}

#screenshot-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 12px;
    width: 100%;
    max-width: 100vw;
}

/* Button styling */
button {
    transition: background-color 0.2s ease, transform 0.1s ease;
}

button:active {
    transform: scale(0.98);
}

/* Main content area fixes */
main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Mobile layout fix */
.mobile-layout {
    overflow-x: hidden;
    width: 100%;
}

/* Fix for ratings section */
#ratings-section {
    width: 100%;
    max-width: 100%;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: grid;
    }
    
    .desktop-sidebar {
        display: none;
    }
    
    .mobile-layout {
        margin-top: 0;
        padding-bottom: 72px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
    
    main {
        padding-top: 24px;
    }
    
    /* Hover effects for desktop */
    a:hover {
        color: #01875f;
    }
    
    button.bg-green-700:hover {
        background-color: #016b4a;
    }
}

/* Animations for better UX */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#app-icon, #app-icon-mobile {
    animation: fadeIn 0.5s ease;
}

/* Footer improvements */
footer {
    background-color: #fff;
    margin-top: 48px;
}

footer a {
    color: #5f6368;
    text-decoration: none;
}

footer a:hover {
    color: #01875f;
}