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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* 面包屑导航样式 */
.breadcrumb {
    padding: 15px 0;
    margin-bottom: 20px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: bold;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb li:last-child span {
    color: white;
    font-weight: 500;
}

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

/* 开发者信息区域 */
.developer-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* 语言切换器样式 */
.language-switcher {
    position: relative;
    z-index: 1000;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.language-btn:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a42a0);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 0.75rem 1rem;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.language-option:hover {
    background-color: #f5f5f5;
}

.language-option.active {
    background-color: #007AFF;
    color: white;
}

.developer-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.developer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-details h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.developer-details p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.developer-stats {
    display: flex;
    gap: 20px;
}

.developer-stats span {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 应用列表区域 */
.apps-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 搜索功能样式 */
.search-container {
    margin: 30px 0;
    text-align: center;
}

.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px 0 0 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: #007AFF;
}

.search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #0056CC, #4A47A3);
}

.search-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    font-size: 1rem;
}

.search-tag {
    padding: 10px 18px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: linear-gradient(135deg, #0056CC, #4A47A3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.search-tag.active {
    background: linear-gradient(135deg, #FF3B30, #FF9500);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
}

/* SEO内容区域样式 */
.seo-content {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.developer-intro {
    margin-bottom: 40px;
    text-align: center;
}

.developer-intro h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.developer-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.app-categories h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.category-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-item h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.category-item strong {
    color: #007AFF;
    font-weight: 600;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* 应用卡片样式 */
.app-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #f0f0f0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.app-info .app-category {
    color: #666;
    font-size: 0.9rem;
}

.app-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.app-platforms {
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-icon {
    font-size: 1.2rem;
    padding: 4px 6px;
    border-radius: 6px;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
    transition: all 0.3s ease;
    cursor: help;
}

.platform-icon:hover {
    background: rgba(0, 122, 255, 0.2);
    transform: scale(1.1);
}

.platform-icon.iphone {
    background: rgba(0, 122, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.3);
    font-size: 1.1rem;
}

.platform-icon.ipad {
    background: rgba(255, 149, 0, 0.1);
    border-color: rgba(255, 149, 0, 0.3);
    font-size: 1.4rem;
    padding: 3px 5px;
}

.platform-icon.mac {
    background: rgba(88, 86, 214, 0.1);
    border-color: rgba(88, 86, 214, 0.3);
}

.platform-icon.universal {
    background: rgba(52, 199, 89, 0.1);
    border-color: rgba(52, 199, 89, 0.3);
}

.app-price {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.app-price.free {
    background: linear-gradient(45deg, #4CAF50, #45a049);
}

/* 应用占位符样式 */
.app-placeholder {
    opacity: 0.7;
    pointer-events: none;
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    animation: shimmer 1.5s infinite;
}

.placeholder-title {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 8px;
    animation: shimmer 1.5s infinite;
}

.placeholder-category {
    height: 16px;
    width: 80%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: shimmer 1.5s infinite;
}

.placeholder-description {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin: 15px 0;
    animation: shimmer 1.5s infinite;
}

.placeholder-platforms {
    height: 20px;
    width: 100px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    animation: shimmer 1.5s infinite;
}

.placeholder-price {
    height: 20px;
    width: 60px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* 联系方式样式 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item .icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contact-item span,
.contact-item a {
    color: #ecf0f1;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3498db;
}

/* 社交媒体样式 */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    transform: translateX(5px);
}

.social-link .icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* 支持链接样式 */
.support-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.support-link {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.support-link:hover {
    color: #3498db;
    padding-left: 10px;
}

.support-link:last-child {
    border-bottom: none;
}

/* 开发者介绍样式 */
.developer-bio {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.app-store-badge {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.app-store-badge span {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

/* 页脚底部样式 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding: 1.5rem 2rem 0;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    margin: 0.5rem 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-note {
    color: #95a5a6;
    font-size: 0.8rem !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .contact-info,
    .social-links,
    .support-links {
        align-items: center;
    }
    
    .social-link:hover {
        transform: none;
    }
    
    .support-link:hover {
        padding-left: 0;
    }
    
    .seo-content {
        margin: 20px 0;
        padding: 20px;
    }
    
    .developer-intro h3 {
        font-size: 1.5rem;
    }
    
    .developer-intro p {
        font-size: 1rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-item {
        padding: 20px;
    }
    
    .category-item h4 {
        font-size: 1.2rem;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-tags {
        justify-content: center;
    }
    
    .tag-label {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .developer-header {
        padding: 25px;
    }
    
    .developer-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .developer-avatar {
        width: 100px;
        height: 100px;
    }
    
    .developer-details h1 {
        font-size: 2rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .developer-stats {
        justify-content: center;
    }
}

/* 错误状态 */
.error-message {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: #e74c3c;
    margin: 20px 0;
}

/* 空状态 */
.empty-state {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 1rem;
    opacity: 0.8;
}