/* Base Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* App Header Card */
.app-header-card {
    position: relative;
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 50px 30px 30px;
    margin: 20px 0;
    align-items: flex-start;
}

.app-header-card .breadcrumbs {
    position: absolute;
    top: 15px;
    left: 30px;
    font-size: 14px;
    color: #666;
}

.app-header-card .breadcrumbs a {
    color: #4CAF50;
    text-decoration: none;
}

.app-header-card .breadcrumbs a:hover {
    text-decoration: underline;
}

.app-logo {
    flex: 0 0 120px;
}

.app-logo img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.app-info {
    flex: 1;
}

.app-info h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: #333;
}

.app-info h1 .version {
    font-size: 18px;
    color: #666;
    font-weight: normal;
}

.description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.divider {
    color: #ccc;
}

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

.stars {
    color: #ffc107;
}

.download-count {
    font-size: 14px;
    color: #666;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-download:hover {
    background: #3d8b40;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Details Card */
.details-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin: 20px 0;
}

.details-card h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.details-card h2 i {
    margin-right: 10px;
    color: #4CAF50;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.detail-label {
    font-weight: 600;
    color: #555;
    min-width: 120px;
}

.detail-label i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: #4CAF50;
}

.detail-value {
    color: #333;
}

/* FAQ Card */
.faq-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin: 20px 0;
}

.faq-card h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.faq-card h2 i {
    margin-right: 10px;
    color: #4CAF50;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.faq-item h3 i {
    margin-right: 10px;
    color: #666;
}

.faq-item p, .faq-item ol {
    color: #555;
    line-height: 1.6;
    margin-left: 20px;
}

.faq-item p i {
    margin-right: 8px;
}

.faq-item ol {
    padding-left: 20px;
}

.faq-item ol li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.faq-item ol li i {
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.text-success {
    color: #4CAF50;
}

.text-warning {
    color: #ffc107;
}

.text-info {
    color: #17a2b8;
}

/* Related Card */
.related-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin: 20px 0;
}

.related-card h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.related-card h2 i {
    margin-right: 10px;
    color: #4CAF50;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #f5f5f5;
    padding: 10px;
}

.related-item h3 {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    color: #333;
    flex-grow: 1;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px;
    font-size: 12px;
    color: #666;
}

.related-meta i {
    margin-right: 5px;
}

/* Screenshots Card */
.screenshots-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin: 20px 0;
}

.screenshots-card h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.screenshots-card h2 i {
    margin-right: 10px;
    color: #4CAF50;
}

.screenshots-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 #f1f1f1;
}

.screenshots-container::-webkit-scrollbar {
    height: 8px;
}

.screenshots-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.screenshots-container::-webkit-scrollbar-thumb {
    background-color: #4CAF50;
    border-radius: 10px;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 200px;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.screenshot-item:hover {
    transform: scale(1.03);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .app-header-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .app-logo {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
    
    .meta-info {
        justify-content: center;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshot-item {
        width: 150px;
        height: 260px;
    }
    
    .download-main {
        padding-top: 0;
        margin-top: 0;
    }

    .container {
        padding-top: 0;
    }
}