* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
}

.pc-qr-container {
    display: none;
    min-height: 100vh;
    background: #4facfe;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.pc-qr-content {
    background: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pc-qr-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.pc-qr-box {
    width: 280px;
    height: 280px;
    background: #f0f0f0;
    margin: 0 auto 30px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #999;
    border: 2px dashed #ddd;
}

.pc-qr-text {
    font-size: 16px;
    color: #666;
}

.mobile-container {
    display: none;
    min-height: 100vh;
    background: #f5f5f5;
}

.banner {
    background: #4facfe;
    padding: 10px;
    color: white;
}

.banner-title {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.carousel {
    margin: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-item {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: 500;
}

.search-container {
    padding: 0 15px 15px;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.search-input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background: #4facfe;
    color: white;
    border: none;
    padding: 0 25px;
    font-size: 14px;
    cursor: pointer;
}

.category-tabs {
    display: flex;
    background: white;
    margin: 0 15px 15px;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.category-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.category-tab.active {
    background: #4facfe;
    color: white;
    font-weight: 500;
}

.app-list {
    padding: 0 15px 20px;
}

.app-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.app-item:active {
    transform: scale(0.98);
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #4facfe;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    margin-right: 15px;
}

.app-info {
    flex: 1;
}

.app-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.app-download {
    padding: 8px 20px;
    background: #4facfe;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}

.layer-content {
    padding: 20px;
}

.layer-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
}

.download-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.search-engine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.search-engine-item {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-engine-item:hover {
    background: #e8e8e8;
}

.search-engine-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.search-engine-name {
    font-size: 14px;
    color: #333;
}

.download-links-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-link-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #4facfe;
    color: white;
    text-align: left;
    border-radius: 8px;
    text-decoration: none;
}

.download-link-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 4px;
}

.download-link-item span {
    flex: 1;
}

.no-download-link {
    text-align: center;
    color: #999;
    padding: 20px;
}

.app-store-link-box {
    background: #f8f8f8;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    word-break: break-all;
    font-size: 13px;
    color: #333;
}

.copy-btn {
    width: 100%;
    padding: 10px;
    background: #f8f8f8;
    color: #333;
    border: none;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
}

.app-store-download-btn {
    display: block;
    padding: 12px;
    background: #4facfe;
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
}

@media (min-width: 768px) {
    .pc-qr-container {
        display: flex;
    }
}

@media (max-width: 767px) {
    .mobile-container {
        display: block;
    }
}
