 /* App Detail Page Styles */

/* App Hero Section */
.app-hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.app-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.app-hero-section .container {
    position: relative;
    z-index: 2;
}

.app-icon-large {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.2);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.app-icon-large i {
    font-size: 4rem;
    color: white;
}

.app-header-info {
    padding-left: 2rem;
}

.app-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.app-developer {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.app-rating-info {
    margin-bottom: 2rem;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.rating-stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

.rating-text {
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.app-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.stat-item i {
    color: rgba(255,255,255,0.7);
}

.app-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Screenshots Section */
.app-screenshots {
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
}

.screenshot-card {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-screenshot:hover {
    transform: scale(1.05);
}

/* App Description */
.app-description {
    padding: 80px 0;
}

.app-description-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.app-description-content h3 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.app-description-content h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.app-description-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.strategy-tips {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.strategy-list {
    list-style: none;
    padding: 0;
}

.strategy-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.strategy-list li:last-child {
    border-bottom: none;
}

.strategy-list li strong {
    color: var(--primary-color);
}

/* App Info Sidebar */
.app-info-sidebar {
    position: sticky;
    top: 100px;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.info-card h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
}

.info-value {
    color: var(--text-light);
    font-weight: 500;
}

.safety-list {
    list-style: none;
    padding: 0;
}

.safety-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

/* More Apps Section */
.more-apps {
    background: #f8f9fa;
}

.more-app-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.more-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.more-app-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.more-app-info h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.more-app-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .app-title {
        font-size: 2.5rem;
    }
    
    .app-header-info {
        padding-left: 0;
        margin-top: 2rem;
        text-align: center;
    }
    
    .app-stats {
        justify-content: center;
    }
    
    .app-actions {
        justify-content: center;
    }
    
    .app-info-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .app-hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .app-icon-large {
        width: 120px;
        height: 120px;
    }
    
    .app-icon-large i {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .app-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .strategy-tips {
        padding: 1.5rem;
    }
    
    .more-app-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .app-hero-section {
        padding: 80px 0 40px;
    }
    
    .app-title {
        font-size: 1.8rem;
    }
    
    .app-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .app-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .screenshot-card {
        margin-bottom: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .more-app-card {
        padding: 1.5rem;
    }
}

/* Animation enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-description-content h4 {
    animation: fadeInUp 0.6s ease forwards;
}

.screenshot-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom scrollbar for description */
.app-description-content {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.app-description-content::-webkit-scrollbar {
    width: 6px;
}

.app-description-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.app-description-content::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 3px;
}

.app-description-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}