* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.back-btn, .menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #667eea;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.back-btn:hover, .menu-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-content {
    padding: 30px 0;
}

.app-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.app-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.app-icon {
    flex-shrink: 0;
}

.app-icon img {
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.app-details {
    flex: 1;
}

.app-name {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.stars {
    color: #f39c12;
    font-size: 18px;
}

.rating-text {
    color: #7f8c8d;
    font-size: 14px;
}

.app-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    color: #7f8c8d;
    font-size: 14px;
}

.app-meta span {
    position: relative;
}

.app-meta span:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -8px;
    color: #bdc3c7;
}

.app-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.tag.safe {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.tag.ad-free {
    background: linear-gradient(45deg, #3498db, #5dade2);
}

.tag.free {
    background: linear-gradient(45deg, #e74c3c, #ec7063);
}

.download-section {
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.btn-download {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 140px;
    display: inline-block;
}

.btn-download.primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-download.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.btn-download.secondary {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-download.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.6);
}

.download-note {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: 10px;
    padding: 10px 15px;
    margin-top: 15px;
}

.note-text {
    color: #27ae60;
    font-size: 13px;
    margin: 0;
}

.screenshots {
    margin-bottom: 30px;
}

.screenshot-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.screenshot-gallery::-webkit-scrollbar {
    height: 6px;
}

.screenshot-gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.6);
    border-radius: 3px;
}

.screenshot-item {
    flex-shrink: 0;
    width: 200px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

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

.app-description {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.content-block {
    margin-bottom: 30px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h3 {
    color: #667eea;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.content-block h4 {
    color: #764ba2;
    font-size: 16px;
    margin: 20px 0 10px;
}

.content-block p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.8;
}

.content-block ul, .content-block ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-block li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.feature-image {
    text-align: center;
    margin: 20px 0;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-apps, .recommended-apps {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.related-apps h3, .recommended-apps h3 {
    color: #667eea;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

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

.app-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.app-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.app-item img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-info {
    flex: 1;
}

.app-title {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.download-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.footer {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 30px 0;
    backdrop-filter: blur(10px);
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.footer-content a {
    color: #667eea;
    text-decoration: none;
}

.footer-content a:hover {
    color: #764ba2;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .app-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .app-icon {
        align-self: center;
    }
    
    .app-meta {
        justify-content: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-download {
        width: 100%;
        max-width: 280px;
    }
    
    .screenshot-item {
        width: 160px;
        height: 280px;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .app-info, .app-description, .related-apps, .recommended-apps {
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 18px;
    }
    
    .app-name {
        font-size: 18px;
    }
    
    .screenshot-item {
        width: 140px;
        height: 240px;
    }
    
    .content-block h3 {
        font-size: 18px;
    }
